Loading...

freebsd-current@freebsd.org

[Prev] Thread [Next]  |  [Prev] Date [Next]

Re: Syslog doesn't start at boot Gavin Atkinson Wed Apr 29 03:00:27 2009

On Wed, 2009-04-29 at 11:56 +0930, Daniel O'Connor wrote:
> Hi,
> I have an odd problem with my 3 week old -current install - syslogd
> isn't started. Or rather, it is started before lo0 is up and it fails to 
> start, eg..

Odd.  What does "rcorder /etc/rc.d/*" show?

The rc.d REQUIRE lines should prevent this from happening: (this is on a
RELENG_7 system, but it should be similar on HEAD)

[EMAIL PROTECTED] grep REQUIRE /etc/rc.d/syslogd
# REQUIRE: mountcritremote cleanvar newsyslog

[EMAIL PROTECTED] grep REQUIRE /etc/rc.d/mountcritremote
# REQUIRE: NETWORKING FILESYSTEMS cleanvar ipsec

[EMAIL PROTECTED] grep REQUIRE /etc/rc.d/NETWORKING
# REQUIRE: netif netoptions routing network_ipv6 isdnd ppp
# REQUIRE: routed mrouted route6d mroute6d resolv

(I believe it's netif that configures the network interfaces)

Gavin


> Apr 29 11:13:05 inchoate kernel: /dev/ad0s3a: FILE SYSTEM CLEAN; SKIPPING 
> CHECKS
> Apr 29 11:13:05 inchoate kernel: /dev/ad0s3a: clean, 381721 free (3297 frags, 
> 47303 blocks, 0.7% fragmentation)
> Apr 29 11:13:05 inchoate kernel: /dev/ufs/inchoatevar: FILE SYSTEM CLEAN; 
> SKIPPING CHECKS
> Apr 29 11:13:05 inchoate kernel: /dev/ufs/inchoatevar: clean, 417071 free 
> (4815 frags, 51532 blocks, 1.0% fragmentation)
> Apr 29 11:13:05 inchoate kernel: /dev/ufs/inchoateusr: DEFER FOR BACKGROUND 
> CHECKING
> Apr 29 11:13:05 inchoate kernel: Apr 29 20:42:48  syslogd: bind: Can't assign 
> requested address
> Apr 29 11:13:05 inchoate kernel: Apr 29 20:42:48  syslogd: bind: Can't assign 
> requested address
> Apr 29 11:13:05 inchoate kernel: syslogd:
> Apr 29 11:13:05 inchoate kernel: child pid 285 exited with return code 1
> Apr 29 11:13:05 inchoate kernel:
> Apr 29 11:13:05 inchoate kernel: /etc/rc: WARNING: failed to start syslogd
> Apr 29 11:13:05 inchoate kernel: Additional ABI support:
> Apr 29 11:13:05 inchoate kernel: linux
> Apr 29 11:13:05 inchoate kernel: .
> Apr 29 11:13:05 inchoate kernel: Starting wpa_supplicant.
> Apr 29 11:13:05 inchoate kernel: Starting Network: lo0 bfe0.
> Apr 29 11:13:05 inchoate kernel: add net ::ffff:0.0.0.0: gateway ::1
> 
> I put '/etc/rc.d/syslogd restart' in rc.local but that's only a work around.
> 
> I ran mergemaster -s and it did find a few changes (worringly) but the
> rc.d ones were just removing 'noprofile' from the keyword line which I don't
> think would affect things.
> 
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"