Bacula-users

Re: [Bacula-users] Bacula-fd does not start on ubuntu 12.04 when computer starts on. When bacula-fd starts it does not write anything in syslog.

2013-10-23 05:02:46
Subject: Re: [Bacula-users] Bacula-fd does not start on ubuntu 12.04 when computer starts on. When bacula-fd starts it does not write anything in syslog.
From: Vladimir Skubriev <vladimir AT skubriev DOT ru>
To: bacula-users AT lists.sourceforge DOT net
Date: Wed, 23 Oct 2013 12:59:26 +0400
On 10/22/2013 07:57 PM, Jim Creason wrote:
That's an Ubuntu problem, not Bacula.  Run this:

sudo update-rc.d bacula-fd defaults


	--jim



Ok.
root@zeus:/var/lib#  ls -lR /etc/rc*.d
...
/etc/rc2.d:
total 4
-rw-r--r-- 1 root root 677 Jul 26  2012 README
lrwxrwxrwx 1 root root  17 Jul 21 12:47 S16openvpn -> ../init.d/openvpn
...
lrwxrwxrwx 1 root root  17 May 29 11:14 S91apache2 -> ../init.d/apache2
lrwxrwxrwx 1 root root  19 Aug  1 10:01 S91bacula-fd -> ../init.d/bacula-fd
lrwxrwxrwx 1 root root  18 Jul 21 15:59 S99fail2ban -> ../init.d/fail2ban
...
/etc/rc3.d:
...

Startup links exists already and before I do update-rc.d

I know about this command, but I can't understand how to force bacula-fd write to log - why it not starting.

root@zeus:/var/lib# update-rc.d bacula-fd defaults
 System start/stop links for /etc/init.d/bacula-fd already exist.

root@zeus:/var/lib# reboot

Nothing to change. Move on.

I added some debug echo's to init.d script bacula-fd and found that

do_start()
{
        start-stop-daemon --start --quiet --pidfile $PIDFILE \
        --exec $DAEMON -- $ARGS
}


Doesn't start a daemon.
I found a way to determine the reason why not start followed by:

http://stackoverflow.com/questions/8251933/how-can-i-log-the-stdout-of-a-process-started-by-start-stop-daemon

I found this bug and create a true /etc/hosts file for fix error
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=679479

-- 
С Уважением,
специалист по техническому и программному обеспечению,
системный администратор

Скубриев Владимир
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Россия, Ростовская область, г. Таганрог

тел. моб: +7 (918) 504 38 20
skype: v.skubriev
icq: 214-800-502
www: skubriev.ru 
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
<Prev in Thread] Current Thread [Next in Thread>