Subj : Re: Synchronet for FreeBS To : Frank Reid From : Digital Man Date : Wed Aug 10 2005 02:41 pm Re: Re: Synchronet for FreeBS By: Frank Reid to Christine on Wed Aug 10 2005 08:04 am > Re: Re: Synchronet for FreeBS > By: Christine to alt.bbs.synchronet on Tue Aug 09 2005 22:41:00 > > > (considers) I think there have been some changes to /bin/sh since the > > version I'm using (4.9R), and there have also been changes to /bin/[ ( > > [ is a testing command), but I'm not certain if that would affect > > anything... can you do a cat of the file? It should be a single line, > > just a single pid....if it isn't you can try this : > > > > rm > > killall -15 sbbs > > > > then try sbbsctl start and sbbsctl status again.. > > > > If that doesn't help let me know, and I'll make the script more > > aggressive about finding the pid stuff... > > 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 forks to run as daemon, it creates the file /var/run/sbbs.pid with the correct PID in it for monitoring/controlling the process and all the child threads. digital man Snapple "Real Fact" #178: The first ballpoint pens were sold in 1945 for $12.00 .