[syslog-ng] Syslog_ng 3.0.7 issues running in Central server mode on AIX 7.1

Rakesh Rajasekharan rakesh.rajasekharan at gmail.com
Thu Nov 10 07:54:37 CET 2011


Hi,

I am facing some challenges configuring the syslog_ng( 3.0.7) for central
logging on AIX. The subsystem becomes in-operative while trying to set it
up for central logging.
But otherwise while tryng to log the messages on the same machine it runs
fine...

Below are the logs

1. Logging on the same host.

# /opt/soe/local/syslog_ng/etc/init.d/syslog-ng.d restart
0513-044 The syslog_ng Subsystem was requested to stop.
0513-059 The syslog_ng Subsystem has been started. Subsystem PID is 9043968.
# ^C
# lssrc -a |grep -i syslog
 syslog_ng        local            9043968      active
 syslogd          ras                           inoperative


Now ,after  I change the conf file to the central server one...
# cp syslog-ng.conf.server-sample syslog-ng.conf
# /opt/soe/local/syslog_ng/etc/init.d/syslog-ng.d restart
0513-044 The syslog_ng Subsystem was requested to stop.
0513-059 The syslog_ng Subsystem has been started. Subsystem PID is 3342368.
# lssrc -a |grep -i syslog
 syslogd          ras                           inoperative
 syslog_ng        local                         inoperative


Below is are the contents for myu conf file whiel trying to set up for
central logging.
# cat syslog-ng.conf.server-sample
@version: 3.0

source s_remote { tcp(); };
destination d_clients { file("/var/adm/messages-ng.$HOST.log"); };
log { source(s_remote); destination(d_clients); };
source s_local {
        internal();unix-dgram("/dev/log");
};
destination d_local {
        file("/var/log/syslog-ng.log" owner("root") group("adm")
perm(0640));
};
log {
        source(s_local);
        destination(d_local);
};
destination d_messages {
        file("/var/log/messages-ng" owner("root") group("adm") perm(0640));
};
log {
        source(s_local);
        destination(d_messages);
};

Please let me know if somehting in he conf file does not look fine and
might be causing the susbsytem to turn inoperative. Because If i revert
back to my old config file the subsystem again becomes active.


Regards,
Rakesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20111110/f50142d5/attachment.htm 


More information about the syslog-ng mailing list