How are you starting slashd? In my FreeBSD 4.3 installation I had to make a small change to the provided rc.d script (originally utils/slash) so slashd could start properly: I changed line 69 to:
su - $USERNAME -c "TZ=GMT $SLASHD $SERVER_NAME" &
Before it was something like:
su - $USERNAME "-c 'TZ=GMT $SLASHD $SERVER_NAME'"
I remember the rc script was giving me a PID just like you but it was crashing a couple of seconds later.
I was using the original line. Oddly enough, when I try yours, I get the error:
TZ=GMT: Command not found.
It seems to really want the extra level of quoting.
Have you tried this:
- su root
- cd to the sbin/ dir where $SLASHD is
- type in the command the starting script is supposed to run in the background. Something like :
./slashd
Normally you'll get traces if it goes wrong. For me, this way of running it has spelled some errs the starting script would hide elsewhere.
Re: slashd dies immediately on FreeBSD 4.4 (Score:1)
Re: slashd dies immediately on FreeBSD 4.4 (Score:1)
Re: slashd dies immediately on FreeBSD 4.4 (Score:2)
- su root
- cd to the sbin/ dir where $SLASHD is
- type in the command the starting script is supposed to run in the background. Something like :
./slashd
Normally you'll get traces if it goes wrong. For me, this way of running it has spelled some errs the starting script would hide elsewhere.
Parent
correction (wrong filter setting) (Score:2)