Never mind.  :-/  Adding more code to the routines:

        if (write(lockfd, pid_str, 11) == -1) {
                fprintf (stderr, "Cannot create lock: %s\n", strerror(errno));
        }

show that "No space left on device!".  Guess what?  Yup!  The /var
volume was maxed!

Why is it that you spend 2 hours looking for the solution and 5 minutes
after you post that you discover the solution?  :-/

Regards,

TomW

-- 
Tom Walsh - WN3L - Embedded Systems Consultant
http://openhardware.net, http://cyberiansoftware.com
"Windows? No thanks, I have work to do..."
----------------------------------------------------

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://wwww.mandrakestore.com

Reply via email to