PDA

View Full Version : Re: NRM fails to startup - Error initializing sockets, ccode = 0x62



booktrunk
28-Nov-2011, 11:06
Hey :)

Still works. I was in the same boat today, and this helped to fix it.

Thanks


--
booktrunk
------------------------------------------------------------------------
booktrunk's Profile: http://forums.novell.com/member.php?userid=38054
View this thread: http://forums.novell.com/showthread.php?t=217890

Rachelsdad
28-Nov-2011, 16:36
You're welcome!

It's funny how this pid mechanism has been around since the inception
of Unix (I think), and yet, it is still quite flawed, as there is no way
to tell via the presence of a small text file (using this method)
whether a process is alive and well, or whether it just quit
unexpectedly and the system left the pid file in place. There are ways
to check whether a pid is valid (e.g., Monit does this), but it must be
done at the application level (i.e., each executable must handle this
checking on its own). Shortsighted, indeed...

Anyway, glad my little snippet came in handy. Remember it for other
stubborn processes. ;-)


--
Lewis G Rosenthal, CNA, CLP, CLE, CWTS
Rosenthal & Rosenthal, LLC
www.2rosenthals.com
------------------------------------------------------------------------
Rachelsdad's Profile: http://forums.novell.com/member.php?userid=5435
View this thread: http://forums.novell.com/showthread.php?t=217890