1820636 Members
1850 Online
109626 Solutions
New Discussion юеВ

How to stop bootps?

 
SOLVED
Go to solution
yc_2
Regular Advisor

How to stop bootps?

Hi,

I did a inetd -c after commented out the following in /etc/inetd.conf

#bootps dgram udp wait root /usr/lbin/bootpd bootpd

but the port is still listening:
# lsof -i udp:67
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
bootpd 4663 root 0u inet 0x4dd4d4c0 0t0 UDP *:bootps (Idle)
bootpd 4663 root 1u inet 0x4dd4d4c0 0t0 UDP *:bootps (Idle)
bootpd 4663 root 2u inet 0x4dd4d4c0 0t0 UDP *:bootps (Idle)

How to stop this service?


Thanks in advance,
YC
4 REPLIES 4
Biswajit Tripathy
Honored Contributor
Solution

Re: How to stop bootps?

"inetd -c" will reconfigure inetd not to start bootpd
again in future. But if bootpd is already running on
your system, it will still continue to run unless someone
kills it. So just "kill -9" bootpd process and inetd will
stop it from starting again.

- Biswajit
:-)
Steven E. Protter
Exalted Contributor

Re: How to stop bootps?

Note: you have taken the right steps but may need to kill the processes.

If you boot Ignite clients off this server, you need to have this service running. The fact that you have these processes running may indicate they are being used for something.

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
Nguyen Anh Tien
Honored Contributor

Re: How to stop bootps?

Let try this solution.
1, #vi /etc/services
#bootps 67/udp # Bootstrap Protocol Server
#bootpc 68/udp # Bootstrap Protocol Client

rem both line by (#)

2, find bootp deamon by
# ps -ef|grep boot
root 26586 1 0 Jan 27 ? 0:01 /usr/sbin/rbootd
root 27858 22879 0 10:25:32 pts/0 0:00 grep boot
3. Kill old process:
# kill -9 26586
That's all
HTH
Regard
tienna
HP is simple
Andrew Cowan
Honored Contributor

Re: How to stop bootps?

Hashing/commenting labels in "/etc/services" is like removing road signs, it doesn't stop you getting there, it simply makes it harder to see the route.

To stop a service you should comment it out from "/etc/inetd.conf" then refresh inetd.