problem with pmap_set (portmapper)


 
Thread Tools Search this Thread
Operating Systems Linux problem with pmap_set (portmapper)
# 8  
Old 11-01-2008
After restart, do this:

Code:
netstat -anp |grep portmap

You should see something like this:
Code:
tcp        0      0 0.0.0.0:111                 0.0.0.0:*                   LISTEN      1656/portmap
udp        0      0 0.0.0.0:111                 0.0.0.0:*                               1656/portmap

Then try to telnet port 111:
Code:
telnet localhost 111

If you get a connection refused or some such, check your networking and firewall settings again. If you get connected, close the connection and we'll go to the next step.
# 9  
Old 11-03-2008
Hi Otheus,
At first thanks for this much of help.
by the way i did these steps...

1): Restarted the portmap service
Code:
[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 ~]#

2): This step was OK as you assist :
[root@kickstart-server ~]# netstat -anp |grep portmap
Code:
tcp        0      0 0.0.0.0:111                 0.0.0.0:*                   LISTEN      9706/portmap
udp        0      0 0.0.0.0:111                 0.0.0.0:*                               9706/portmap

3): Telnet was being stuck after this with the err Connection closed by foreign host.
although i have disabled firewall setting.

[root@kickstart-server ~]# telnet localhost 111
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'
# 10  
Old 11-03-2008
That's CORRECT behavior for telnet (step 3) in this set of circumstances.


Edit /etc/init.d/portmap so that the second line reads:

Code:
set -x

It would be nice if you post the output as an attachment. It will be quite lengthy. In the web form for this board, click "Go Advanced" and then "Manage Attachments" to see how to upload a text file.
# 11  
Old 11-04-2008
find the portmap file attachment...
# 12  
Old 11-04-2008
Once again, add "set -x" to the top of the file, and re-run it. Paste the OUTPUT of the command as an attachment Smilie
# 13  
Old 11-04-2008
OKey..... i am pasting it here.

Last edited by daya.pandit; 11-04-2008 at 06:10 AM..
# 14  
Old 11-04-2008
the good news: that's what I expected. The bad news: I have no idea what's causing pmap_set to fail.
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