Re: [vserver] syslog-ng not starting in guest...

From: Jarry <mr.jarry_at_gmail.com>
Date: Tue 23 Jun 2009 - 19:27:54 BST
Message-ID: <4A411EAA.8090801@gmail.com>

Olav Schwering wrote:
> Daniel Hokka Zakrisson wrote:
>>> web / # /etc/init.d/syslog-ng start
>>> * Starting syslog-ng...
>>> * Failed to start syslog-ng [ !! ]
>>> * ERROR: syslog-ng failed to start
>>
>> Does your syslog-ng configuration have /proc/kmsg in it?
>> Because that's not going to work.
>>
> take a look into /etc/init.d/syslog and get rid of all kernel logger
> entries:
> ...
> echo -n $"Starting kernel logger: "
> deamon klogd $KLOGD_OPTIONS
> echo

Bingo, that's it! In /etc/syslog-ng/syslog-ng.conf I have found:

source src {
     unix-stream("/dev/log" max-connections(256));
     internal();
     file("/proc/kmsg");
};

As soon as I removed that "/proc/kmsg" entry, all is working.
Some time ago, I updated syslog-ng and knowing I did not change
anything in its default config, I approved replacing the old
config file with the new one. And that's exactly where I made
mistake, because in original config there was no "/proc/kmsg".

Probably the one who prepared gentoo install template already
modified syslog-ng config according to vserver. In the future
I will have to make all updates more carefully.

Thanks for your help...
Jarry

-- 
_______________________________________________________________
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.
Received on Tue Jun 23 19:28:25 2009
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Tue 23 Jun 2009 - 19:28:26 BST by hypermail 2.1.8