Re: [SLE] bind problem
Ronald Wiplinger wrote:
Aug 7 17:31:49 pegasus named: couldn't open pid file
'/usr/local/var/run/named.pid': No such file or directory
Aug 7 17:31:49 pegasus named: exiting (due to early fatal
I cannot find where the pid file is set to /usr/local/ instead of
That's done when you run the configure script - I think you need to set
maybe --datadir or --localdatadir or something like that.
/Per Jessen, Zürich
Check the headers for your unsubscription address
For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
Also check the archives at http://lists.suse.com
Please read the FAQs: suse-linux-e-faq@xxxxxxxx
- Re: rc.d shell script
... You don't need to check for an already running instance in the rc script, ... Have it create a pid file in /var/run/foo.pid when it starts, and also check if the pid file exists already. ... If the pid file exists, there is an already running instance, so you exit immediately from this new one. ...
- Re: Daemonize like fetchmail
... finds the PID file and kills the instance. ... In a sense, I'd like to combine the wrapper method given in the examples and the script it runs, but the wrapper example seems to absorb command-line options, and I want to call those functions from within Ruby instead. ... | all happiness comes from the desire for others to be happy. ...
- Re: Network traffic capture, and rotating files with compression
... >> writing to make it log to file, stop, compress then carry on in a new ... > First write a script that wraps up the starting and stopping of tcpdump. ... > should send a SIGINT to the process and remove the pid file. ...
- Re: restart a script in etc/rc.d
... I've below etc/rc.d bacula-fd and I copied it to bacula-fd2 because I ... only kill the PID listed in the pid file? ... Well that is certainly how it is supposed to work, and that script defines pidfile which should prevent it from doing what you're suggesting. ...
- Re: Read date from file and append new file
... You can use fso to read the pid file, ... If the last line matches the entry in the pid file, ... then nothing has changed, so exit your script. ...