Re: rpcinfo problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





Ashley M. Kirchner wrote:

I just rebuild another system, from scratch, with FC10. rpcinfo has decided to give me some grief and I'm hoping someone can decipher this:

   $ cat /etc/hosts
   # Do not remove the following line, or various programs
   # that require network functionality will fail.
   127.0.0.1       localhost.localdomain localhost
   [ snipped a long list of other hosts ]

   $ service rpcbind status
   rpcbind (pid 2352) is running...

   $ service nfslock status
   rpc.statd (pid  2369) is running...

   $ rpcinfo -p localhost
   rpcinfo: can't contact portmapper: RPC: Unknown host

   If I don't tack the 'localhost' I get the expected result:

   $ 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
   100024    1   udp  33977  status
   100024    1   tcp  57425  status

Why won't it work with 'localhost' tacked on? I have another FC10 machine where that works just fine.

For the record: SElinux isn't installed, iptables is disabled, and nmap shows the port listening. Why won't it work?

rpcinfo seems to exhibit similar behavior if ANY hostname is used with the -p flag. That seems to be true in earlier versions of FC as well so you may be mistaken about the -p option working correctly on other systems. As far as I can tell it won't even work with an IP address instead of a hostname so it isn't a problem resolving hostnames.

--

John Cornelius

"I may not be totally perfect, but parts of me are excellent."
Ashleigh Brilliant, 1979

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux