Here is the log from forked-daapd
[2014-09-26 07:01:52] main: Forked Media Server Version 21.0 taking off
[2014-09-26 07:01:53] main: mDNS init
[2014-09-26 07:03:44] main: Forked Media Server Version 21.0 taking off
[2014-09-26 07:03:44] main: mDNS init
[2014-09-26 07:03:44] mdns: Avahi state change: Client running
[2014-09-26 07:03:49] scan: Bulk library scan completed in 1 sec
[2014-09-26 08:11:04] main: Got SIGHUP
Here is bootlog
Fri Sep 26 07:01:51 2014: Starting DAAP/DACP (iTunes) server, support for AirPlay and Spotify : forked-daapd main: Forked Media Server Version 21.0 taking off
Fri Sep 26 07:01:53 2014: .
Fri Sep 26 07:01:56 2014: Starting pulseway : pulseway.
Fri Sep 26 07:01:57 2014: Starting PHP5 FastCGI Process Manager: php5-fpm[26-Sep-2014 07:01:56] NOTICE: configuration file /etc/php5/fpm/php-fpm.conf test is successful
Fri Sep 26 07:01:57 2014:
Fri Sep 26 07:01:57 2014: .
Fri Sep 26 07:01:57 2014: Starting Headphones:Starting rpcbind daemon...Already running..
Fri Sep 26 07:02:00 2014: Starting RRDtool data caching daemon: rrdcached.
Fri Sep 26 07:02:00 2014: Starting enhanced syslogd: rsyslogd.
Fri Sep 26 07:02:00 2014: Starting OpenBSD Secure Shell server: sshd.
Fri Sep 26 07:02:00 2014: Loading ACPI kernel modules....
Fri Sep 26 07:02:00 2014: Starting ACPI services....
Fri Sep 26 07:02:00 2014: Starting anac(h)ronistic cron: anacron.
Fri Sep 26 07:02:01 2014: Starting deferred execution scheduler: atd.
Fri Sep 26 07:02:01 2014: Starting statistics collection and monitoring daemon: collectd.
Fri Sep 26 07:02:01 2014: Starting CouchPotato
Fri Sep 26 07:02:04 2014: /etc/environment has been deprecated for locale information; use /etc/default/locale for LANG=en_US.UTF-8 instead ... (warning).
Fri Sep 26 07:02:04 2014: /etc/environment has been deprecated for locale information; use /etc/default/locale for LC_ALL=en_US.UTF-8 instead ... (warning).
Fri Sep 26 07:02:04 2014: Starting periodic command scheduler: cron.
Fri Sep 26 07:02:04 2014: Starting system message bus: dbus.
Fri Sep 26 07:02:05 2014: Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
Fri Sep 26 07:02:07 2014: Starting Deluge Daemon: deluged.
Fri Sep 26 07:02:20 2014: .
Fri Sep 26 07:02:20 2014: Starting Common Unix Printing System: cupsdStarting disk temperature monitoring daemon: hddtemp: /dev/sda /dev/sdb /dev/sdc.
Fri Sep 26 07:02:25 2014: .
Fri Sep 26 07:02:25 2014: Starting MD monitoring service: mdadm --monitor.
Fri Sep 26 07:02:26 2014: Starting nginx: nginx.
Fri Sep 26 07:02:26 2014: Exporting directories for NFS kernel daemon...exportfs: /etc/exports [1]: Neither 'subtree_check' or 'no_subtree_check' specified for export "10.10.10.0/24:/export/videos".
Fri Sep 26 07:02:26 2014: Assuming default behaviour ('no_subtree_check').
Fri Sep 26 07:02:26 2014: NOTE: this default has changed since nfs-utils version 1.0.x
Fri Sep 26 07:02:26 2014:
Fri Sep 26 07:02:26 2014: .
Fri Sep 26 07:02:26 2014: Starting NFS kernel daemon: nfsd mountd.
Fri Sep 26 07:02:26 2014: Starting MySQL database server: mysqldStarting NTP server: ntpd.
Fri Sep 26 07:02:30 2014: Starting OpenMediaVault engine daemon: omv-engined.
Fri Sep 26 07:02:30 2014: . . ..
Fri Sep 26 07:02:32 2014: Checking for tables which need an upgrade, are corrupt or were
Fri Sep 26 07:02:32 2014: not closed cleanly..
Fri Sep 26 07:02:33 2014: Starting Plex Media Server: done
Fri Sep 26 07:02:33 2014: Starting ftp server: proftpd.
Fri Sep 26 07:02:41 2014: Starting Postfix Mail Transport Agent: postfixStarting rsync daemon: rsync.
Fri Sep 26 07:02:43 2014: Starting quota service: rpc.rquotad.
Fri Sep 26 07:02:56 2014: .
Fri Sep 26 07:02:56 2014: Starting SABnzbd+ binary newsgrabber:Starting Samba daemons: nmbd smbd.
Fri Sep 26 07:03:05 2014: Starting bittorrent daemon: transmission-daemon.
Fri Sep 26 07:03:05 2014: Starting Squid HTTP Proxy 3.x: squid3.
Fri Sep 26 07:03:06 2014: Starting input event daemon : thdDevice /dev/input/event2 not suitable.
Fri Sep 26 07:03:06 2014: .
Fri Sep 26 07:03:07 2014: Starting S.M.A.R.T. daemon: smartd.
Fri Sep 26 07:03:08 2014: .
Fri Sep 26 07:03:08 2014: Starting vnStat daemon: vnstatd.
Fri Sep 26 07:03:09 2014: Starting watchdog keepalive daemon: wd_keepalive.
Fri Sep 26 07:03:09 2014: Starting DLNA/UPnP-AV media server : minidlna.
Fri Sep 26 07:03:09 2014: Starting daemon monitor: monit.
Alles anzeigen
We can see that at 7:01:53 Daapd starts, then shows another start at 7:03:44 which is 40 seconds after monit starts as we can see in the last line at bootlog. Every time omv starts I get a monit alert service does exist, then another alert service exist for daapd.
I taken a look at the rc5 order, Daapd is one of the first services, monit is the last one, as I configured this way by overriding insserv. Anyone has any idea why the double start, does Daapd needs a dependency that hasn't been loaded at the first start attempt?
kind regards
update: I think it has to do with Avahi, daapd may be failing to start if mDNS is not running, i'll see if putting the daapd in between fixes that.
update2: it is avahi, daapd needs to start after the mDNS daemon. No more boot messages in my mail.