1 |
On 10/29/2013 10:47 PM, Jarry wrote: |
2 |
> Hi Gentoo-users, |
3 |
> I noticed strange message during boot-up of one of my servers: |
4 |
> ______________________________________________________________ |
5 |
> |
6 |
|
7 |
[snip] |
8 |
|
9 |
> |
10 |
> As you see, syslog-ng can not open conection to remote syslog |
11 |
> collector. Reason seems to be quite clear: at the time when |
12 |
> syslog-ng starts, enp3s0 interface is not up (only loopback). |
13 |
> I do not know how this happened, but I think it has something |
14 |
> to do with either sendmail, clamav, or dovecot. |
15 |
> |
16 |
|
17 |
[snip] |
18 |
|
19 |
> ______________________________________________________________ |
20 |
> |
21 |
> So how can I fix it on the 1st server, so that syslog-ng starts |
22 |
> after network interface is up? |
23 |
> |
24 |
> Jarry |
25 |
> |
26 |
|
27 |
disable explicit syslog-ng service startup from the runlevel (one would start anyway as a dependency) |
28 |
|
29 |
rc-update del syslog-ng |
30 |
|
31 |
does the trick |
32 |
|
33 |
victor |