LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-18-2015, 07:04 PM   #1
luofeiyu
Member
 
Registered: Aug 2015
Posts: 237

Rep: Reputation: Disabled
How to close the rpc.statd in reboot,not to autorun?


My system is debian8.1.
The rpc.statd will autorun in reboot,and the port used by nfs is random.

Today after reboot .
root@pengsir:/home/debian8# sudo nmap localhost -p 0-65535

Starting Nmap 6.47 ( http://nmap.org ) at 2011-01-01 00:12 HKT
Nmap scan report for localhost (127.0.0.1)
Host is up (0.000013s latency).
Other addresses for localhost (not scanned): 127.0.0.1
Not shown: 65531 closed ports
PORT STATE SERVICE
25/tcp open smtp
80/tcp open http
111/tcp open rpcbind
3306/tcp open mysql
49997/tcp open unknown

Nmap done: 1 IP address (1 host up) scanned in 9.79 seconds
root@pengsir:/home/debian8# netstat -ntpl
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:49997 0.0.0.0:* LISTEN 532/rpc.statd
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 523/rpcbind
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 1490/exim4
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 1010/mysqld
tcp6 0 0 :::111 :::* LISTEN 523/rpcbind
tcp6 0 0 :::80 :::* LISTEN 1054/apache2
tcp6 0 0 :::43990 :::* LISTEN 532/rpc.statd
tcp6 0 0 ::1:25 :::* LISTEN 1490/exim4

Sometimes the port is 36994 or others.

How to close the rpc.statd in reboot,not to let it autorun in reboot?
 
Old 08-19-2015, 03:55 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
See https://www.debian.org/doc/manuals/s...#s-disableserv ?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] rpc.statd not running David the H. Linux - Networking 4 04-13-2012 01:37 AM
What are rpc.statd and portmap? abefroman Linux - Server 3 10-17-2009 11:00 AM
rpc.statd AUSanders79 Linux - Security 3 12-07-2007 04:11 PM
rpc.lockd & rpc.statd twantrd Linux - General 1 05-21-2005 09:24 AM
rpc.statd questions kgao Linux - Software 0 05-14-2005 04:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration