Operating System - HP-UX
1834447 Members
2387 Online
110067 Solutions
New Discussion

Re: strange behavious of inetd

 
SOLVED
Go to solution
Rajesh_60
Occasional Advisor

strange behavious of inetd

On HPUX 11i, when i tried "inetd -c" command to reread the configuration file, it responded with "inetd not running", but ps out put shows inetd.When the inetd process is killed and restarted again , it works fine.

here is the sequence of commands

bash-3.00# ps -aef | grep inetd
root 27429 1 0 Dec 15 ? 0:01 /usr/sbin/inetd
root 13290 13288 1 23:25:31 pts/ta 0:00 grep inetd
bash-3.00# /usr/sbin/inetd -c
inetd: There is no inetd running
bash-3.00# kill -9 27429
bash-3.00# /usr/sbin/inetd
bash-3.00# /usr/sbin/inetd -c
bash-3.00# echo $?
0

Any help is greatly appreciated.
3 REPLIES 3
Steven E. Protter
Exalted Contributor

Re: strange behavious of inetd

What is this bash stuff about?

Have you changed the root shell in /etc/passwd ??

CHANGE IT BACK!

Before something really bad happens.

Disregard this if this is a misplaced Linux thread.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Rajesh_60
Occasional Advisor

Re: strange behavious of inetd

It is a PA-RISC system, i have changed shell to bash.
Nguyen Anh Tien
Honored Contributor
Solution

Re: strange behavious of inetd

Try this solution.. it will be OK.
[trn0:/] /sbin/init.d/inetd stop
Internet Services stopped
[trn0:/] /sbin/init.d/inetd start
Internet Services started
[trn0:/]
HP is simple