View previous topic :: View next topic |
Author |
Message |
ktb n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 03 Oct 2002 Posts: 10
|
Posted: Tue Oct 29, 2002 2:53 pm Post subject: syslog-ng - init.d script problem |
|
|
I've had this happen several times. I'm working on configuring syslog-ng. If I have something in the conf file the program doesn't like, it belches and the program doesn't start, which is normal. Problem is a .pid is formed even though the program isn't running. Then if I try to start syslog-ng I get the message, "syslog-ng has already been started." If I try to stop the program though the init.d script I'm told, "failed to kill 6820: No such process." If I delete the .pid file in /var/run it makes no difference. The only way I can get out of this loop is to reboot the computer.
One thing is obvious the syslog-ng init.d script needs to be fixed so no .pid is formed, if the program doesn't start. I will look into that later but my question is why does the system continue to believe there is an instance of syslog-ng running when there isn't and how can I clear this out of the system without having to reboot?
Thanks,
kent |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
sa Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/19728461713e657e299555f.gif)
Joined: 10 Jun 2002 Posts: 450
|
Posted: Tue Oct 29, 2002 5:21 pm Post subject: |
|
|
have you tried /etc/init.d/syslog-ng zap ? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ktb n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 03 Oct 2002 Posts: 10
|
Posted: Tue Oct 29, 2002 5:53 pm Post subject: |
|
|
sa wrote: | have you tried /etc/init.d/syslog-ng zap ? |
Thanks that did the trick. I didn't realize gentoo rc scripts were so different. Time to do some reading:)
kent |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|