[syslog-ng] AIX 5.3 syslog-ng 3.0.7

Balazs Scheidler bazsi at balabit.hu
Wed Mar 9 18:29:33 CET 2011


On Wed, 2011-03-09 at 17:52 +0530, Rakesh Rajasekharan wrote:
> Hi,
>  
> I am facing a somewhat strange issue on AIX 5.3. I am unable to
> restart the daemon whenever i try to set it up as a central server.
>  
> On a a normal case it works fine .
>  
> After copying my syslog-ng.conf.server-sample as syslog-ng.conf., when
> i restart the daemon, it does not comlian about anything and gives me
> a PID as well.
> But the daemon does not seem to have started.
> Below are the logs.
>  
> Setting Up as A Central Server
> =======================
> cscaixlgg059:root:/opt/soe/local/syslog_ng/etc>cp
> syslog-ng.conf.server-sample syslog-ng.conf
> cscaixlgg059:root:/opt/soe/local/syslog_ng/etc>/opt/soe/local/syslog_ng/etc/init.d/syslog-ng.d  restart
> 0513-004 The Subsystem or Group, syslog_ng, is currently inoperative.
> 0513-059 The syslog_ng Subsystem has been started. Subsystem PID is
> 233502.
> cscaixlgg059:root:/opt/soe/local/syslog_ng/etc>ps -ef|grep -i syslog
> cscaixlgg059:root:/opt/soe/local/syslog_ng/etc>lssrc -a|grep -i syslog
>   syslog_ng        local                         inoperative
> 
>  But , otherwise as in a normal case or even as a client it wors
> perfectly fine.
>  
> cscaixlgg059:root:/opt/soe/local/syslog_ng/etc>cp syslog-ng.conf.bkp
> syslog-ng.conf
> cscaixlgg059:root:/opt/soe/local/syslog_ng/etc>/opt/soe/local/syslog_ng/etc/init.d/syslog-ng.d  restart
> 0513-004 The Subsystem or Group, syslog_ng, is currently inoperative.
> 0513-059 The syslog_ng Subsystem has been started. Subsystem PID is
> 155708.
> cscaixlgg059:root:/opt/soe/local/syslog_ng/etc>ps -ef|grep -i syslog
>     root 155708 139370   0 05:43:40      -
> 0:00 /opt/soe/local/syslog_ng/sbin/syslog-ng
> cscaixlgg059:root:/opt/soe/local/syslog_ng/etc>lssrc -a|grep -i syslog
>  syslog_ng        local            155708       active
> 
> I created the syslog_ng substem as below
> /bin/mkssys -s syslog_ng -p /opt/soe/local/syslog_ng/sbin/syslog-ng -a
> ' -F -f /opt/soe/local/syslog_ng/etc/syslog-ng.conf ' -u 0 -S -n 15 -f
> 9 -G local
>  
> Can someone please advice?

Well are you sure syslog-ng will be able to start if started
using /opt/soe/local/syslog_ng/sbin/syslog-ng ?

I mean are LD_LIBRARY_PATH and such set properly? Even under srcmstr?

We use this to register the syslog-ng service on AIX (in the PE
installer):

        if /usr/bin/mkssys -s ${AIXSRC} -p ${sbindir}/syslog-ng -u 0 \
            -a '-F' -R -d -Q -S -n 15 -f 9 -E 20 -G ras \
            >/dev/null 2>&1; then
            echo "SUCCESSFUL"
        else
            echo "FAILED"
        fi

-- 
Bazsi



More information about the syslog-ng mailing list