1829914 Members
1902 Online
109993 Solutions
New Discussion

Configure syslog.log

 
SOLVED
Go to solution
justin_83
Advisor

Configure syslog.log

I have two K460 running 11.0 one PROD and one DR.
DR is logging all of the:
inetd[5020]: BET3/tcp:
connections in the syslog and PROD is not.
they both have the same /etc/syslog.conf file and both have "syslogd -D" running.

I want them both to log the BET3/tcp connections.
3 REPLIES 3
Jeff Schussele
Honored Contributor
Solution

Re: Configure syslog.log

Hi Justin,

Appears the DR system had inetd logging turned up - by running inetd -l

You can set the system to always bring it up with connection logging enabled by editing
/sbin/init.d/inetd and adding
INETD_ARGS=-l
to the top of the file.
NOTE: This file is a candidate for overwrite on patch installs/upgrades, so you'd need to check it after patch installs.

Other option is to set up a cron entry to run inetd -l every day or so.

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Kent Ostby
Honored Contributor

Re: Configure syslog.log

More explanation to the last post.

If inetd is not running then "inetd -l" will start up inetd WITH transaction logging.

If inetd is running already then it will kill off inetd and toggle the connection state.

see man inetd for more details.

Best regards,

Kent M. Ostby
"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"
justin_83
Advisor

Re: Configure syslog.log

That worked. Thanks and max points to all....