Package: bacula-fd
Version: 5.2.6+dfsg-1
Severity: normal

Dear Maintainer,

bacula-fd does not start when I boot my machine. I am not sure which upgrade stopped bacula-fd, but it hasn't been working for a while.

My machine used to use ifup/ifdown to manage initializing eth1 and initiating
DHCP to get the IP address etc. Some upgrade switched it to use
NetworkManager to initiate DHCP.

This is the error message flashes on the screen during boot up.

[....] Starting Bacula File daemon...:28-Jun 20:20 bacula-fd: ERROR TERMINATION
at address_conf.c:521
Config error: can't add port (faerun.epperly.home) to (can't resolve hostname(fa
erun.epperly.home) Non-authoritative for host not found, or ServerFail.)
            : line 49, col 33 of file /etc/bacula/bacula-fd.conf
  FDAddress = faerun.epperly.home

 failed!

This happens no my home desktop, and it also happens on my Ubuntu
laptop at work.

I tried adding $network to the Required-Start for the init.d/bacula-fd
script, but it didn't fix the problem.

I can "service bacula-fd start" just fine from a terminal window once the network is initialized.

Tom

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages bacula-fd depends on:
ii  bacula-common  5.2.6+dfsg-1
ii  libacl1        2.2.51-8
ii  libc6          2.13-33
ii  libgcc1        1:4.7.1-1
ii  libpython2.7   2.7.3-1
ii  libssl1.0.0    1.0.1c-3
ii  libstdc++6     4.7.1-1
ii  libwrap0       7.6.q-23
ii  lsb-base       4.1+Debian7
ii  ucf            3.0025+nmu3
ii  zlib1g         1:1.2.7.dfsg-11

bacula-fd recommends no packages.

Versions of packages bacula-fd suggests:
ii  bacula-traymonitor  5.2.6+dfsg-1

-- Configuration Files:
/etc/init.d/bacula-fd changed:
set -e
PATH=/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=/usr/sbin/bacula-fd
NAME="bacula-fd"
PORT=9102
DESC="Bacula File daemon"
test -f $DAEMON || exit 0
if [ -n "`getent services bacula-fd`" ]; then
PORT=`getent services bacula-fd | awk '{ gsub("/tcp","",$2); print $2; }
'`
fi
. /lib/lsb/init-functions
. /usr/share/bacula-common/common-functions.init
if [ -r /etc/default/$NAME ]; then
    . /etc/default/$NAME
fi
CONFIG="${CONFIG:-/etc/bacula/$NAME.conf}"
create_var_run_dir
PIDFILE=/var/run/bacula/$NAME.$PORT.pid
do_start()
{
        start-stop-daemon --start --quiet --pidfile $PIDFILE \
        --oknodo --exec $DAEMON -- -c $CONFIG $ARGS
}
do_stop()
{
        start-stop-daemon --oknodo --stop --quiet --pidfile $PIDFILE \
        --exec $DAEMON -- -c $CONFIG $ARGS
}
case "$1" in
  start)
        if [ "$ENABLED" = "no" ]; then
log_failure_msg "Not starting $DESC: disabled via /etc/default/$
NAME"
                exit 0
        fi
        log_daemon_msg "Starting $DESC..."
        if do_start ; then
                log_end_msg 0
        else
                log_end_msg 1
        fi
        ;;
  stop)
        log_daemon_msg "Stopping $DESC..."
        if do_stop ; then
                log_end_msg 0
        else
                log_end_msg 1
        fi
        ;;
  restart|force-reload)
        $0 stop
        sleep 1
        $0 start
        ;;
  status)
    status_of_proc -p $PIDFILE $DAEMON $NAME
    ;;
  *)
    N=/etc/init.d/$NAME
    echo "Usage: $N {start|stop|restart|force-reload|status}" >&2
    exit 1
    ;;
esac
exit 0


-- no debconf information




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to