Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The method of shutting down rpc.statd and hpiod Services on Linux system

2025-01-22 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

1. View the rpc.statd process path

# which rpc.statd/sbin/rpc.statd

1.1.The command to view rpc.statd is the documentation for the installation package.

# rpm-qf / sbin/rpc.statdnfs-utils-1.0.9-42.el5

1.2.Look at the beginning of nfs.

# ls / etc/init.d/nfs*/etc/init.d/nfs / etc/init.d/nfslock

1.3.View nfslock status

# service nfslock statusrpc.statd (pid 3524) is running...

1.4. stop the nfslock service

# service nfslock stop stop NFS statd: [OK]

1.5. Turn it off and start it on.

# chkconfig nfslock off # chkconfig-- list nfslocknfslock 0: close 1: close 2: close 3: close 4: close 5: close 6: close

2. View the process hpiod path

# which hpiod/usr/sbin/hpiod

2.1. the command to view hpiod is the documentation for the installation package.

# rpm-qf / usr/sbin/hpiodhplip-1.6.7-4.1.el5_2.4

2.2.Look at the beginning of hplip

# ls / etc/init.d/hplip / etc/init.d/hplip

2.3.Check hplip status and stop service

[root@test ~] # service hplip statushpiod (pid 3884) is running... hpssd (pid 3889) is running... # service hplip stop stop hpiod: [OK] stopping hpssd: [OK] # chkconfig hplip off# chkconfig-- list hpliphplip 0: off Close 1: close 2: close 3: close 4: close 5: close 6: close

3. Shut down portmap and cups services

# service cups stopcupsd stopped # chkconfig cups off# chkconfig-- list cupscups 0: close 1: close 2: close 3: close 4: close 5: close 6: close # service portmap stopportmap stopped # chkconfig portmap off# chkconfig-- list portmapportmap 0: close 1: close 2: close 3: close 4: close 5: close 6: close

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report