LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 08-08-2007, 05:26 AM   #1
dimah
LQ Newbie
 
Registered: May 2006
Posts: 28

Rep: Reputation: 15
rpcinfo and portmapper


Hello, i've a problem with portmap.
I have a server and a local machine.
When i try #rpcinfo -p localhost on the server, everything is ok,
but if i try #rpcinfo -p server command on the local machine,
the system says me:
rpcinfo: can't contact portmapper: RPC: Remote system error - Connection refused.
iptables onthe server is open:
Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

What should i do with this???
 
Old 08-09-2007, 04:44 AM   #2
bakfupai
Member
 
Registered: Apr 2006
Location: Sweden
Distribution: CentOS, RHEL, SourceMage, OpenBSD
Posts: 40

Rep: Reputation: 15
Seems that portmap isn't listening on the interface whose IP resolves to server. If you run a debian or something similar, you can do:
dpkg-reconfigure portmap

And you can configure it there to listen on all interfaces. Otherwise, check your distro documentation.

[EDIT]I forgot to mention, you should do this on the server.[/EDIT]

Last edited by bakfupai; 08-09-2007 at 05:26 AM.
 
Old 08-10-2007, 04:14 AM   #3
dimah
LQ Newbie
 
Registered: May 2006
Posts: 28

Original Poster
Rep: Reputation: 15
Thank you, everything is ok now, because of you.
 
  


Reply



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
NIS on centos - Can't get correct rpcinfo reply hq4ever Linux - Networking 1 05-25-2006 03:34 AM
rpcinfo script Ljohan Programming 1 04-24-2004 06:39 PM
rpcinfo tmorton Linux - Networking 0 09-17-2003 02:13 PM
showmount fails but rpcinfo works? rindress Linux - Networking 0 06-20-2003 01:58 PM
Closing portmapper gwydian Linux - Newbie 0 11-21-2001 06:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 11:49 AM.

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