RE: Script not terminating properly
Tony Langdon <[email protected]>
| Newsgroups | gmane.org.user-groups.mlug.main |
|---|---|
| Message-ID | <[email protected]> |
At 05:30 PM 11/3/2005, you wrote: >So the --stop part of the script successfully completes, then the >rsync, then the --start part to start the services again, then it >hangs and never hands the shell prompt back to the backup server. > >unfortunatley I tried your suggestion and it still hangs......... Hmm notice you're using SSH remotely. Are you putting the service in the background yourself, or is it a proper daemon? Reason I'm asking is I'm wondering if you're encountering that OpenSSH annoyance where the session can hang onm closing if a process is started in the background during the session. There's an explanation of exactly what the issue is on the OpenSSH site if I recall... 73 de VK3JED http://vkradio.com