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

From: Nuno Milheiro <nunomilheiro_at_gmail.com>
Date: Wed 17 Jun 2009 - 20:34:17 BST
Message-ID: <5bf908720906171234j77abd0eaw877ccef6bce88eba@mail.gmail.com>

you should try syslog-ng with -F option in command line:
syslog-ng -Fe -f /etc/syslog-ng/syslog-ng.conf

You can even put -v and -d option
Have you checked the syslog-ng.conf syntax with syslog-ng -s ?

2009/6/17 Jarry <mr.jarry@gmail.com>

> Hi,
>
> I have just noticed that syslog-ng is (probably) not running
> in any of my guests! When I enter guest and issue "ps -e",
> I do not see syslog-ng running. The same with "vps" issued
> in host, it shows only one syslog-ng, running on host.
> So I entered guest, tried to start it manually, but I got
> this message:
>
> web / # /etc/init.d/syslog-ng start
> * WARNING: syslog-ng has already been started
>
> OK, so let's try to restart it (just to be sure):
> web / # /etc/init.d/syslog-ng stop
> * Stopping syslog-ng... [ ok ]
> web / # /etc/init.d/syslog-ng start
> * Starting syslog-ng...
> * Failed to start syslog-ng [ !! ]
> * ERROR: syslog-ng failed to start
>
> Of course, if there is no syslog, there are no new log
> messages in guest. The last entry guest's /var/log/messages
> (probably normal shutdown) is:
>
> Jun 3 17:55:54 web fcron[6345]: SIGTERM signal received
> Jun 3 17:55:54 web fcron[6345]: Exiting with code 0
> Jun 3 17:55:55 web syslog-ng[6308]: Termination requested
> via signal, terminating;
> Jun 3 17:55:55 web syslog-ng[6308]: syslog-ng shutting down;
> version='2.1.3'
>
> Since then, nothing more guets's messages. File is rotated,
> but empty. Concerning host's /var/log/messages, I have found
> only one strange entry:
>
> vxW: [xid #0] !!! limit: ffff8101373d2078[VM,9] = 33 on exit.
>
> I do not know what it means, and I'm not sure it has something
> to do with syslog-ng not being started in any of my guests
> (host and all guests are gentoo, stable and updated)...
>
> Jarry
>
> --
> _______________________________________________________________
> This mailbox accepts e-mails only from selected mailing-lists!
> Everything else is considered to be spam and therefore deleted.
>
>
>

-- 
Nuno Milheiro
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCM d+>! s: a C++++ ULAS++++$
P+ L+++$ E+++ W+ N o? K-> w--$ O? M-
V-- PS+++ PE- Y+ PGP++ t 5? X+ !R
tv- b++>+++ DI++ D+ G+ e>+++ h----
r+++ y++++>*
------END GEEK CODE BLOCK------
Received on Wed Jun 17 20:34:38 2009
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 17 Jun 2009 - 20:34:40 BST by hypermail 2.1.8