Simpler Navigation coming for Servers and Operating Systems
Coming soon: a much simpler Servers and Operating Systems section of the Community. We will combine many of the older boards, and you won't have to click through so many levels to get at the information you need. If you are looking for an older board and do not find it, check the consolidated boards, as the posts are still there.
cancel
Showing results for 
Search instead for 
Did you mean: 

inetd logs & syslogs

inetd logs & syslogs

Hi ,

 

I have enabled the syslog and inetd logs on my hp-ux box and now i am continously seeing messages like:

 

inetd[9951]: mount cdrom/tcp: Connection from xxxxxx (xxx.xx.x.xx) at Thu Oct 18 11:22:02 2012

 

or

 

inetd[2150]: mount cdrom/tcp: Added service, server <some_directory_location>

 


Can any one suggest what does it means?

 

Regards

AbhishekJ

3 REPLIES

Re: inetd logs & syslogs

 

i found mount_cdrom is a file/script and also  I just found the following entry in /etc/inetd.conf

 

"mount_cdrom stream tcp nowait root <location of mount_cdrom script> mount_cdrom"

 

so question is  does mount_cdrom is runnig as a service/daemon on my box  as below logs meesages are the inetd logs

 

and the mount_cdrom entry in inetd.comf seems to be originator....????

 

Regards

AbhishekJ

 

Bill Hassell
Honored Contributor

Re: inetd logs & syslogs

Putting a script into inetd.conf (which typically manages network daemons) is a bad modification. Yes, the error messages are created by inetd. Comment or remove the line in /etc/inetd.conf and then run: inetd -c to get rid of the error. Mounting a cdrom should not be done with inetd.



Bill Hassell, sysadmin
Dennis Handly
Acclaimed Contributor

Re: inetd logs & syslogs

>Mounting a cdrom should not be done with inetd.

 

Right.  Why not put it into /etc/fstab?

Or later in some other rm(1m) script.  But still have an entry in fstab with noauto.