Subject: Re: [vserver] syslog-ng not starting in guest...
From: Jarry <mr.jarry@gmail.com>
Date: Tue, 23 Jun 2009 20:27:54 +0200

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.