[syslog-ng] Syslog-ng not restarting

Francisco Javier Lizarán Vilches flv at barik.es
Wed May 28 17:08:32 CEST 2008


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.

FJ
-----Mensaje original-----
De: syslog-ng-bounces at lists.balabit.hu [mailto:syslog-ng-bounces at lists.balabit.hu] En nombre de Balazs Scheidler
Enviado el: miércoles, 28 de mayo de 2008 16:31
Para: Syslog-ng users' and developers' mailing list
Asunto: Re: [syslog-ng] Syslog-ng not restarting

On Wed, 2008-05-28 at 15:58 +0200, Francisco Javier Lizarán Vilches
wrote:
>  
> 
> Hi all:
> 
>  
> 
>             Just installed and configured syslog-ng-pe rpm with mysql
> support on a Centos 5.1 system. When I try to restart syslog-ng
> issuing:
> 
> #/etc/init.d/syslog-ng restart
> 
> I get:
> 
> Restarting syslog-ng: /etc/init.d/syslog-ng: line 41: 18237
>                 $binary --syntax-only
> 
>  
> 
> Moreover, when I reboot the system the service fails too.
> 
>  

Hmm what version are you running? Do you have a longer output? if an
executed program gets a signal, then bash reports the received signal in
the next line.

In the meanwhile I have this tested on CentOS5.


-- 
Bazsi

______________________________________________________________________________
Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
FAQ: http://www.campin.net/syslog-ng/faq.html

___________________________________________________________________________

Este mensaje se dirige exclusivamente a su destinatario y puede contener información privilegiada o confidencial. Si no es vd. el destinatario indicado, queda notificado de que la utilización, divulgación y/o copia sin autorización está prohibida en virtud de la legislación vigente. Si ha recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente por esta misma vía y proceda a su destrucción.

This message is intended exclusively for its addressee and may contain information that is CONFIDENTIAL and protected by professional privilege. If you are not the intended recipient you are hereby notified that any dissemination, copy or disclosure of this communication is strictly prohibited by law. If this message has been received in error, please immediately notify us via e-mail and delete it.
___________________________________________________________________________


More information about the syslog-ng mailing list