1833159 Members
2961 Online
110051 Solutions
New Discussion

strange logs..

 
SOLVED
Go to solution
mw_4
Frequent Advisor

strange logs..

Aug 21 06:29:41 dwsvr inetd[9028]: chargen/tcp: Connection from localhost (127.0.0.1) at Wed
Aug 21 06:29:41 2002
Aug 21 06:29:41 dwsvr inetd[9027]: printer/tcp: Connection from localhost (127.0.0.1) at Wed
Aug 21 06:29:41 2002
Aug 21 06:29:41 dwsvr inetd[9029]: discard/tcp: Connection from localhost (127.0.0.1) at Wed
Aug 21 06:29:41 2002
Aug 21 06:30:19 dwsvr inetd[9037]: registrar/tcp: Connection from dwsvr (211.237.50.26) at We
d Aug 21 06:30:19 2002
Aug 21 06:32:19 dwsvr inetd[9127]: registrar/tcp: Connection from dwsvr (211.237.50.26) at We
d Aug 21 06:32:19 2002
Aug 21 06:34:19 dwsvr inetd[9161]: registrar/tcp: Connection from dwsvr (211.237.50.26) at We
d Aug 21 06:34:19 2002
Aug 21 06:34:45 dwsvr inetd[9167]: printer/tcp: Connection from localhost (127.0.0.1) at Wed
Aug 21 06:34:45 2002
Aug 21 06:34:45 dwsvr inetd[9168]: chargen/tcp: Connection from localhost (127.0.0.1) at Wed
Aug 21 06:34:45 2002
Aug 21 06:34:45 dwsvr inetd[9169]: discard/tcp: Connection from localhost (127.0.0.1) at Wed
Aug 21 06:34:45 2002

logs are logge like that.
any problem here?
ver: hp 11.00
Step by step
2 REPLIES 2
Michael Tully
Honored Contributor
Solution

Re: strange logs..

Hi,

These are all available services that run from the 'inetd' daemon. Most of them are actually not required for most systems. In fact on all of my servers, all of these services are turned off. To turn them off:

# cp /etc/inetd.conf /etc/inetd.conf.bak
vi inetd.conf
Place a # in front of these services:

printer stream tcp nowait root /usr/sbin/rlpdaemon rlpdaemon -i
daytime stream tcp nowait root internal
daytime dgram udp nowait root internal
time stream tcp nowait root internal
time dgram udp nowait root internal
echo stream tcp nowait root internal
echo dgram udp nowait root internal
discard stream tcp nowait root internal
discard dgram udp nowait root internal
chargen stream tcp nowait root internal
chargen dgram udp nowait root internal

registrar stream tcp nowait root /etc/opt/resmon/lbin/registrar /etc/opt/resmon/
lbin/registrar

Save the file, and run:
# inetd -c
This should remove the messages.

Anyone for a Mutiny ?
Tom Geudens
Honored Contributor

Re: strange logs..

Hi,
No problem there. Just looks like your inetd-daemon is running in "logging" mode. You can toggle this of by executing
#inetd -l

Also check the /sbin/init.d/inetd script. Remove the "-l" option from the inetd startup (if you want to turn logging of that is).

Regards,
Tom
A life ? Cool ! Where can I download one of those from ?