I am experiencing a curious problem: occasionally some programs fail to
start at startup.
When I try to launch them manually, I get a message that that program is
already running as process XY. If I run TOP or Watchat to check it, I
see that process XY is actually running, but is occupied by a different
program!
If I kill that process, then launch the failing program, then again the
killed program, everything goes ok, but this is annoying, especially for
unattended reboots.
I moved all the programs from the startup folder to a startup.cmd file,
but in continues to happen (before, it was usually squid that failed,
now is samba).
Is there any way around this?
Is there a logical order from programs in the startup.cmd file?
Today samba thinks that it is running in the process occupied by
LPRPORTD (I have to use it because I could not make the samba print
services to work). Samba is the second program in startup.cmd, LPRPORTD
is the sixth.
And even assuming that some timing issues caused two programs to compete
for the same process number at startup, why in the hell should a program
still think it is running in that process days later?
thanks,
Piersante