4c7 Subj : Re: Synchronet for FreeBS To : Digital Man From : Deuce Date : Wed Aug 10 2005 05:35 pm Re: Re: Synchronet for FreeBS By: Digital Man to Frank Reid on Wed Aug 10 2005 14:41:00 > > Well, I figured out what's happening, but not why. The pid listed in > > synchronet.pid is not actually the pid of the running process. > > It's probably the PID of the original thread (before forking). When sbbs for > to run as daemon, it creates the file /var/run/sbbs.pid with the correct PID > it for monitoring/controlling the process and all the child threads. Actually, what I think is more likely is that the process switches to the specified uid/gid *before* creating/updating the pid file. What this means is that you probobly ran sbbs as root once which created /var/run/sbbs.pid owned as root with 0600 permissions... sbbs simply cannot update that pid file at all. The user sbbs is running as needs to have write access to the sbbs.pid file in order to update the file correct... and write access to /var/run (or whatever) to create a new file. Simply doing a chown on the existing sbbs.pid file should fix you up. --- þ Synchronet þ ``Penguins make tasty snacks'' . 0