[syslog-ng] Syslog-ng not restarting

Balazs Scheidler bazsi at balabit.hu
Wed May 28 17:41:21 CEST 2008


On Wed, 2008-05-28 at 17:08 +0200, Francisco Javier Lizarán Vilches
wrote:
> I have installed syslog-ng-premium-edition-2.1.10a-1.i386.rpm for RHEL-5.
> 
> These are some commands and its outputs:
> -Stop ok.
> # /etc/init.d/syslog-ng stop
> Shutting down syslog-ng:                                   [  OK  ]
> 
> -Start doesn't work.
> # /etc/init.d/syslog-ng start
> Starting syslog-ng: /bin/bash: line 1: 20231 Abortado                /sbin/syslog-ng
>                                                            [FALLÃ]
> -Status ok.
> # /etc/init.d/syslog-ng status
> syslog-ng está parado
> 
> After that (and after the system booting) I have to execute syslog-ng manually:
> # syslog-ng -f /etc/syslog-ng/syslog-ng.conf &
> [1] 20350
> 
> # /etc/init.d/syslog-ng status
> Se está ejecutando syslog-ng (pid 20351)...
> [1]+  Done                    syslog-ng -f /etc/syslog-ng/syslog-ng.conf
> 
> -Restart doesn't work.
> # /etc/init.d/syslog-ng restart
> Restarting syslog-ng: /etc/init.d/syslog-ng: line 41: 20493 Abortado                $binary --syntax-only
> 
> Apart from that, syslog-ng operation is normal.

As it seems syslog-ng aborts on syntax check for some reason. I haven't
seen this on other platforms though.

I come back if I have problems reproducing it. Thanks for the report.

-- 
Bazsi



More information about the syslog-ng mailing list