problem with pmap_set (portmapper)


 
Thread Tools Search this Thread
Operating Systems Linux problem with pmap_set (portmapper)
# 1  
Old 10-27-2008
Question problem with pmap_set (portmapper)

Hi guys, i am putting this problem again please help me out..
The RPC problem is appearing on the screen while starting the portmap service,take a look of the real..

[root@kickstart-server ~]#/etc/init.d/portmap restart
Stopping portmap: [ OK ]
Starting portmap: [ OK ]
Cannot register service: RPC: Timed out
not registered: 100000 2 tcp 111 portmapper

And network is also is appearing wrong..

Please help me out

[root@kickstart-server ~]# /etc/init.d/network restart
Shutting down interface eth0: [ OK ]
Shutting down loopback interface: [ OK ]
do_ypcall: clnt_call: RPC: Unable to send; errno = Invalid argument
do_ypcall: clnt_call: RPC: Unable to send; errno = Invalid argument
do_ypcall: clnt_call: RPC: Unable to send; errno = Invalid argument
Setting network parameters: [ OK ]
Bringing up loopback interface: [ OK ]
Bringing up interface eth0:

Last edited by daya.pandit; 10-27-2008 at 02:28 AM..
# 2  
Old 10-28-2008
portmap is not working properly. Make sure /etc/rpc is there and has a valid portmapper line. Also check if you have any firewall rules preventing localhost from connecting. All the errors are resulting from this.

The /etc/init.d/portmap script tries to run portmap and then load portmap with its last-known-state. If portmap isn't running, you'll get the RPC/timeout errors.

You don't really need portmap unless you intend to run NFS or NIS on a LAN.
# 3  
Old 10-31-2008
thank you otheus for your assistance...
but actually i have disabled firewall setting and i am putting my /etc/rpc file just have a look of it..

#ident "@(#)rpc 1.11 95/07/14 SMI" /* SVr4.0 1.2 */
#
# rpc
#
portmapper 100000 portmap sunrpc rpcbind
rstatd 100001 rstat rup perfmeter rstat_svc
rusersd 100002 rusers
nfs 100003 nfsprog
ypserv 100004 ypprog
mountd 100005 mount showmount
ypbind 100007
walld 100008 rwall shutdown
yppasswdd 100009 yppasswd
etherstatd 100010 etherstat
rquotad 100011 rquotaprog quota rquota
sprayd 100012 spray
3270_mapper 100013
rje_mapper 100014
selection_svc 100015 selnsvc
database_svc 100016
rexd 100017 rex
alis 100018
sched 100019
llockmgr 100020
nlockmgr 100021
x25.inr 100022
statmon 100023
status 100024
bootparam 100026
ypupdated 100028 ypupdate
keyserv 100029 keyserver
sunlink_mapper 100033
tfsd 100037
nsed 100038
nsemntd 100039
showfhd 100043 showfh
ioadmd 100055 rpc.ioadmd
NETlicense 100062
sunisamd 100065
debug_svc 100066 dbsrv
ypxfrd 100069 rpc.ypxfrd
bugtraqd 100071
kerbd 100078
event 100101 na.event # SunNet Manager
logger 100102 na.logger # SunNet Manager
sync 100104 na.sync
hostperf 100107 na.hostperf
activity 100109 na.activity # SunNet Manager
hostmem 100112 na.hostmem
sample 100113 na.sample
x25 100114 na.x25
ping 100115 na.ping
rpcnfs 100116 na.rpcnfs
hostif 100117 na.hostif
etherif 100118 na.etherif
iproutes 100120 na.iproutes
layers 100121 na.layers
snmp 100122 na.snmp snmp-cmc snmp-synoptics snmp-unisys snmp-utk
traffic 100123 na.traffic
nfs_acl 100227
sadmind 100232
nisd 100300 rpc.nisd
nispasswd 100303 rpc.nispasswdd
ufsd 100233 ufsd
pcnfsd 150001 pcnfs
amd 300019 amq
sgi_fam 391002 fam
bwnfsd 545580417
fypxfrd 600100069 freebsd-ypxfrd


could you again assist me to fix it.
thanks
# 4  
Old 10-31-2008
Sorry, but I don't see a problem with the rpc file. The question is whether or not it existed.

send me the output of these commands (run as root):
Code:
/sbin/service portmap stop
ps auxww|grep port
netstat -anp |grep 100000	
/sbin/service portmap start
ps auxww|grep port
netstat -anp |grep 100000

# 5  
Old 10-31-2008
A glance of services..


[root@kickstart-server ~]# /etc/init.d/portmap stop
Stopping portmap: [ OK ]
[root@kickstart-server ~]# ps auxww |grep port
root 15356 0.3 2.7 18840 14288 pts/0 S 18:20 0:10 Xvnc :1 -desktop kickstart-server:1 (root) -httpd /usr/share/vnc/classes -auth /root/.xauths6dxs9 -geometry 1024x768 -depth 24 -rfbwait 30000 -rfbauth /root/.vnc/passwd -rfbport 5901 -pn
root 15983 0.0 0.1 5604 648 pts/0 R+ 19:18 0:00 grep port
[root@kickstart-server ~]# netstat -anp |grep 100000
[root@kickstart-server ~]#
[root@kickstart-server ~]# /etc/init.d/portmap start
Starting portmap: [ OK ]
[root@kickstart-server ~]# ps auxww |grep port
root 15356 0.3 2.7 18840 14288 pts/0 S 18:20 0:11 Xvnc :1 -desktop kickstart-server:1 (root) -httpd /usr/share/vnc/classes -auth /root/.xauths6dxs9 -geometry 1024x768 -depth 24 -rfbwait 30000 -rfbauth /root/.vnc/passwd -rfbport 5901 -pn
root 15998 0.0 0.1 3240 640 ? Ss 19:21 0:00 portmap
root 16002 0.0 0.1 5212 648 pts/0 R+ 19:22 0:00 grep port
[root@kickstart-server ~]# netstat -anp |grep 100000
[root@kickstart-server ~]#
# 6  
Old 10-31-2008
ok, good. But I don't see the warning/error that earlier accompanied the startup. Could it be it's working now?
# 7  
Old 10-31-2008
Actually all thing are working fine but while restarting the portmap and network service this error coming.


[root@kickstart-server ~]# service portmap restart
Stopping portmap: [ OK ]
Starting portmap: [ OK ]
Cannot register service: RPC: Timed out
not registered: 100000 2 tcp 111 portmapper
[root@kickstart-server ~]#


[root@kickstart-server ~]# service network restart
Shutting down interface eth0: [ OK ]
Shutting down loopback interface: [ OK ]
do_ypcall: clnt_call: RPC: Unable to send; errno = Network is unreachable
do_ypcall: clnt_call: RPC: Unable to send; errno = Network is unreachable
do_ypcall: clnt_call: RPC: Unable to send; errno = Network is unreachable
Setting network parameters: [ OK ]
Bringing up loopback interface: [ OK ]
Bringing up interface eth0: [ OK ]
[root@kickstart-server ~]#
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

sed Or Grep Problem OR Terminal Problem?

I don't know if you guys get this problem sometimes at Terminal but I had been having this problem since yesterday :( Maybe I overdid the Terminal. Even the codes that used to work doesn't work anymore. Here is what 's happening: * I wanted to remove lines containing digits so I used this... (25 Replies)
Discussion started by: Nexeu
25 Replies

2. Solaris

Rpcinfo: can't contact portmapper: RPC: Authentication error; why = Failed (unspecified error)

I have two servers with a fresh install of Solaris 11, and having problems when doing rpcinfo between them. There is no firewall involved, so everything should theoretically be getting through. Does anyone have any ideas? I did a lot of Google searches, and haven't found a working solution yet. ... (2 Replies)
Discussion started by: christr
2 Replies

3. SuSE

portmapper service

Hello, I've been asked to look this up and I'm having issue finding it. We are currently harding our servers and I'm new to SUSE 11. The security people at work want me to disable the portmapper service. How do you disable the portmapper service? Thanks ... (3 Replies)
Discussion started by: bitlord
3 Replies

4. IP Networking

Problem with forwarding emails (SPF problem)

Hi, This is rather a question from a "user" than from a sys admin, but I think this forum is apropriate for the question. I have an adress with automatic email forwarding and for some senders (two hietherto), emails are bouncing. This has really created a lot of problems those two time so I... (0 Replies)
Discussion started by: carwe
0 Replies

5. Red Hat

Mail Problem. Maybe, it is a DNS Problem!

Hi, i've a redhat linux 9 upadated by redhat from 7 version to 9 version. A couple of days ago i was a problem with my mail, in other words i'm not able to get any email nor to send any email. I've a proxy configuration and i tried to set iptables in order to verify the port. The 110,255 and 995... (1 Reply)
Discussion started by: pintalgi
1 Replies

6. AIX

user login problem & Files listing problem.

1) when user login to the server the session got colosed. How will resolve? 2) While firing the command ls -l we are not able to see the any files in the director. but over all view the file system using the command df -g it is showing 91% used. what will be the problem? Thanks in advance. (1 Reply)
Discussion started by: pernasivam
1 Replies

7. Shell Programming and Scripting

ssh script problem problem

Hi Please help me with the following problem with my script. The following block of code is not repeating in the while loop and exiting after searching for first message. input_file ========== host001-01 host001-02 2008-07-23 13:02:04,651 ConnectionFactory - Setting session state... (2 Replies)
Discussion started by: pcjandyala
2 Replies

8. Shell Programming and Scripting

problem with dd command or maybe AFS problem

Hi, folks. Sorry for bothering, but maybe someone could help me please. The problem is the following: there is some script that copies files from local file system to AFS. The copying is performed with dd command. The script copies data into some AFS volumes. The problem appeared with one... (0 Replies)
Discussion started by: Anta
0 Replies

9. UNIX for Dummies Questions & Answers

Portmapper not responding

Kindly When I start the server i have this error "portmapper on server 185.125.241.321 is not responding" let me also clarify that this is the old IP of the server and the new one 192.168.0.2 regards (1 Reply)
Discussion started by: sak900354
1 Replies

10. UNIX for Advanced & Expert Users

SSH Problem auth problem

Hi, Just recently we seem to be getting the following error message relating to SSH when we run the UNIX script in background mode: warning: You have no controlling tty. Cannot read confirmation.^M warning: Authentication failed.^M Disconnected; key exchange or algorithm negotiation... (1 Reply)
Discussion started by: budrito
1 Replies
Login or Register to Ask a Question