1827810 Members
2173 Online
109969 Solutions
New Discussion

Re: inetd logging enable

 
SOLVED
Go to solution
Victor_5
Trusted Contributor

inetd logging enable

I want to enable inetd logging by adding the -l argument to the "INETD_ARGS" environment variable in the /etc/rc.config.d/netdaemons. After that, do I need to restart the inetd daemon or reread the configuration file?

Thanks.
5 REPLIES 5
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: inetd logging enable

In order for a command line argument to be processed, a command must be re-executed. A simple inetd -c won't do the trick.
If it ain't broke, I can fix that.
Sandip Ghosh
Honored Contributor

Re: inetd logging enable

This will be activated from your next reboot. You can start logging now by giving the following command
# inetd -l

Sandip
Good Luck!!!
Jeff Schussele
Honored Contributor

Re: inetd logging enable

Victor,

You'll have to restart daemon as I believe that file is only read @ startup.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Helen French
Honored Contributor

Re: inetd logging enable

Hi Victor:

/etc/rc.config.d/netdaemons will be accessed when you stop and start the inetd daemon ( or during boot). It takes the command arguments from this file. If you edit this, you have to stop and start the inetd services.

The actual inetd configuration file is /etc/inetd.conf. If you make some changes to this, then 'inetd -c' will do the trick.

HTH,
Shiju
Life is a promise, fulfill it!
Victor_5
Trusted Contributor

Re: inetd logging enable

Thanks all!