Operating System - HP-UX
1819681 Members
3665 Online
109605 Solutions
New Discussion юеВ

how to refresh /etc/inetd.conf file

 
mukkala
Advisor

how to refresh /etc/inetd.conf file

after edit the content of the ineted.conf file

how to refresh the file
8 REPLIES 8
A. Clay Stephenson
Acclaimed Contributor

Re: how to refresh /etc/inetd.conf file

inetd -c or send a kill -1 INETD_PID to the inetd process. Both of these are equivalent. Man inetd for details.
If it ain't broke, I can fix that.
Pete Randall
Outstanding Contributor

Re: how to refresh /etc/inetd.conf file

/usr/sbin/inetd [-c]


Pete

Pete
Pete Randall
Outstanding Contributor

Re: how to refresh /etc/inetd.conf file

Sorry, remove the brackets:

/usr/sbin/inetd -c


Pete

Pete
Jeff_Traigle
Honored Contributor

Re: how to refresh /etc/inetd.conf file

I had a few instances at my previous job where issuing "inetd -c" caused some things not to work (especially ftp). It was a bit strange. I had to kill inetd completely (-15, I think was sufficent... don't think I had to use -9 on it) before everything worked with my edited /etc/inetd.conf file. Something to keep in mind just in case.
--
Jeff Traigle
Jeff Schussele
Honored Contributor

Re: how to refresh /etc/inetd.conf file

Also you can check the /var/adm/syslog/syslog.log file after the inetd -c command. All changes to inetd (additions or removals) will be reflected in the log.

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Raj D.
Honored Contributor

Re: how to refresh /etc/inetd.conf file

Hi Mukkala ,

To refresg or re-read the entry in inetd.conf , Here is the command need to be use :

# inetd -c

After that check syslog.log for details:
tail -n 20 /var/adm/syslog/syslog.log


Cheers,
Raj.

" If u think u can , If u think u cannot , - You are always Right . "
Geoff Wild
Honored Contributor

Re: how to refresh /etc/inetd.conf file

Mukkala - as others have said, use inetd -c

Also have a look at:

http://forums1.itrc.hp.com/service/forums/pageList.do?userId=BR892123&listType=unassigned&forumId=1

Though points assignment is optional - it does assess a weight to the answers that are given to questions - that way when others do a search - they can see which answer had the highest relevance to solving a particular question.

Thanks...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Raj D.
Honored Contributor

Re: how to refresh /etc/inetd.conf file

Hi Mukkala ,

Hope you got some solution . And hence the next step is : To assign some points to those who responded to your query.

Your profile says:
"I have assigned points to 0 of 39 responses to my questions. "

Try to make it 39 of 39 , to get good response to your postings.

good day!
Cheers,

Raj.
" If u think u can , If u think u cannot , - You are always Right . "