NolanPL has asked for the wisdom of the Perl Monks concerning the following question:
I fork off a child process to run the background command, but when the main process continues running it must also run a remote command on the same machine that the previous one is already ssh'd into.
The command sent that is running in the background is:
nohup ./sleepwake 100 120 12 140 160 12 08:15:00 > sleepwake.out &
The next attempt to remote execute a command causess this error:
ProtoSocket: bind() error: Address already in use
mgen: ../common/protoSocket.cpp:2722: bool ProtoSocket::SetLoopback(bool): Assertion `IsOpen()' failed.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: ProtoSocket: bind() error: Address already in use
by moritz (Cardinal) on Aug 04, 2008 at 12:30 UTC | |
|
Re: ProtoSocket: bind() error: Address already in use
by Lawliet (Curate) on Aug 04, 2008 at 18:28 UTC |