LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-03-2008, 09:55 PM   #1
whysyn
Member
 
Registered: Jun 2003
Location: Cleveburg, OH
Distribution: mostly Fedora
Posts: 154

Rep: Reputation: 30
rpcbind / portmap not actually reachable on the network?


I'm trying to set up NIS and NFS on a Fedora 8 server. The first step (or so I read) is to be running portmapper, which I gather is called rpcbind as of Fedora 8.

On my server machine, I used the standard /etc/init.d/rpcbind script to start the service. it runs without crashing, shows up in ps output and I can use rpcinfo to see it is running:
Code:
[root@sa01 ~]# rpcinfo -p
   program vers proto   port  service
    100000    4   tcp    111  portmapper
    100000    3   tcp    111  portmapper
    100000    2   tcp    111  portmapper
    100000    4   udp    111  portmapper
    100000    3   udp    111  portmapper
    100000    2   udp    111  portmapper
    100000    4     0    111  portmapper
    100000    3     0    111  portmapper
    100000    2     0    111  portmapper
If I try using rpcinfo from another machine on the subnet (also Fedora 8) I get an error:
Code:
[root@vm02 ~]# rpcinfo -p 111.222.33.44
rpcinfo: can't contact portmapper: RPC: Remote system error - Address family not supported by protocol
Likewise, if I try running rpcinfo on the server using the loopback instead of the socket, I get an (different) error:
Code:
[root@sa01 ~]# rpcinfo -p 127.0.0.1
rpcinfo: can't contact portmapper: RPC: Unknown host
Documentation seems entirely lacking for rpcbind... can anybody lend me some insight?

Thanks much!
 
Old 01-04-2008, 04:31 PM   #2
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,365

Rep: Reputation: 937Reputation: 937Reputation: 937Reputation: 937Reputation: 937Reputation: 937Reputation: 937Reputation: 937
According to the man page, you have to set up hosts.allow file before you can connect to the portmap service form a remote. Have you done so?

I'm also wondering why you have versions 2, 3 and 4 running? Are they all necessary?
 
Old 01-06-2008, 09:37 AM   #3
whysyn
Member
 
Registered: Jun 2003
Location: Cleveburg, OH
Distribution: mostly Fedora
Posts: 154

Original Poster
Rep: Reputation: 30
Versions 2, 3, & 4 run by default... I can't find any reference for configuration of rpcbind =(

For testing, since all of these hosts are behind a physical firewall, I have set up "ALL" in the hosts.allow file as well as disabled iptables.

Thanks!
 
  


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
Network was Reachable, But ..... _ AsiF Linux - Networking 1 06-25-2007 11:06 PM
111/tcp open rpcbind carcassonne Linux - Networking 1 07-23-2006 09:20 PM
how to run rpcbind? anuode Solaris / OpenSolaris 5 10-17-2005 09:14 AM
Getting a network not reachable in suse 8.1 TyrranzzX Linux - Networking 1 12-22-2003 09:59 AM
Samba server only reachable by IP address, not showing in Network Neighbourhood mdkelly069 Linux - Networking 14 11-10-2003 08:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:10 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