public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] How can I fix wrong boot order?
@ 2013-10-29 18:47 Jarry
  2013-10-29 18:51 ` the
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Jarry @ 2013-10-29 18:47 UTC (permalink / raw
  To: gentoo-user

Hi Gentoo-users,
I noticed strange message during boot-up of one of my servers:
______________________________________________________________

* Bringing up interface lo
*   127.0.0.1/8 ...                                        [ok]
*   Adding routes
*     127.0.0.0/8 via 127.0.0.1 ...                        [ok]
* Activating additional swap space ...                     [ok]
* setting up tmpfiles.d entries ...                        [ok]
* Initializing random number generator ...                 [ok]
INIT: Entering runlevel: 3
* Starting clamd ...                                       [ok]
* Starting freshclam ...                                   [ok]
* Checking your configfile (/etc/syslog-ng/syslog-ng.conf) [ok]
* Starting syslog-ng...
Connection failed; fd='10', server='AF_INET(10.0.0.171:514)',
local='AF_INET(0.0.0.0:0)', error='Network is unreachable (101)'
Initiating connection failed, reconnecting: time_reopen='60'
* Loading iptables state and starting firewall ...         [ok]
* Bringing up interface enp3s0
*   10.0.0.174 ...                                         [ok]
*   Adding routes
*     default via 10.0.0.138 ...                           [ok]
* Starting saslauthd ...                                   [ok]
* Starting dovecot ...                                     [ok]
* Starting monit ...                                       [ok]
______________________________________________________________

As you see, syslog-ng can not open conection to remote syslog
collector. Reason seems to be quite clear: at the time when
syslog-ng starts, enp3s0 interface is not up (only loopback).
I do not know how this happened, but I think it has something
to do with either sendmail, clamav, or dovecot.

This is boot-up of my other server (syslog-collector) where
neither sendmail nor clamav is installed. As you can see,
boot-up order is correct (network interface before syslog-ng):
______________________________________________________________

* Bringing up interface lo
*   127.0.0.1/8 ...                                        [ok]
*   Adding routes
*     127.0.0.0/8 via 127.0.0.1 ...                        [ok]
* Activating additional swap space ...                     [ok]
* setting up tmpfiles.d entries ...                        [ok]
* Initializing random number generator ...                 [ok]
INIT: Entering runlevel: 3
* Loading iptables state and starting firewall ...         [ok]
* Starting monit ...                                       [ok]
* Bringing up interface enp3s0
*   10.0.0.171 ...                                         [ok]
*   Adding routes
*     default via 10.0.0.138 ...                           [ok]
* Mounting network filesystems ...                         [ok]
* Checking your configfile (/etc/syslog-ng/syslog-ng.conf) [ok]
* Starting syslog-ng...                                    [ok]
* Starting sshd ...                                        [ok]
* Starting vixie-cron ...                                  [ok]
______________________________________________________________

So how can I fix it on the 1st server, so that syslog-ng starts
after network interface is up?

Jarry

-- 
_______________________________________________________________
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-10-31 17:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-29 18:47 [gentoo-user] How can I fix wrong boot order? Jarry
2013-10-29 18:51 ` the
2013-10-29 19:31 ` victor romanchuk
2013-10-30  1:49 ` Dustin C. Hatch
2013-10-31 17:42   ` Jarry

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox