restart a script in etc/rc.d

Doug Barton dougb at FreeBSD.org
Mon Mar 2 13:05:35 PST 2009


Oliver Lehmann wrote:
> Doug Barton writes:
>> You missed the bit where I said that this should come after the
>> assignment of the defaults below.
> 
> Ok, but...
>> Have you confirmed that the two pid files exist, and that they contain
>> the right information?
> 
> Yes they both exists (probably because I define the variable in rc.conf
> too). See my initial mail where I cat the contents of both files - they
> both contain the right PID for their specific process.
> So - where is the problem now?

Do this:
script bacula-fd2.log
sh -x /usr/local/etc/rc.d/bacula-fd2 restart

If the log is not too long, send it to the list. If it is, gzip it first.

Doug

-- 

    This .signature sanitized for your protection


More information about the freebsd-ports mailing list