|
Home > Archive > Red Hat Networking > January 2004 > rpcinfo command unknown
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
rpcinfo command unknown
|
|
| Norm Hall 2004-01-23, 7:32 pm |
| I am trying to connect 3 computers together via nfs in order to be able
to share files among them. Two of the machines are laptops equipped
with pcmcia wireless adapters and have RH 9.0 installed. The third
computer is a desktop connected by cable to the router and has RH 8.0
installed. I have read through the literature, configured /etc/hosts,
/etc/host.allow and /etc/host.deny. From any one computer, I can "ping"
the other two. I have checked in various logs that the required services
are running and they are. All seems to be in order.
When I attempt to mount a directory on one of the laptops with the
mount command, I get a RPC error: "mount RPC Remote system error -
connection refused." At this point the troubleshooting guides indicate
I should retrieve any rpc information with the "rpcinfo -p" command and
here is my problem - bash does not recognize the rpcinfo command and
this is true for all three computers. Can someone suggest reasons why
rpcinfo command is not recognized.
Thanks,
| |
| Mike Iglesias 2004-01-23, 7:33 pm |
| rpcinfo is usually in /usr/sbin and is part of the glibc-common rpm so
it should be installed on your system.
Your connection refused message would indicate that you either don't
have portmap started on the system you want to be your NFS server (which
means that none of the NFS stuff is started either) or you have ipchains
(the Linux firewall) turned on and you did not allow packets for NFS
thru the firewall. In my experience, trying to get ipchains to let NFS
thru doesn't work very well, and it's easier to just turn it off (if you
don't have a cable/dsl router/firewall, you'd better think about twice
about turning it off however).
RH 7.3 has a program to configure services (NFS included) under the
Program -> System -> Service Configuration menu item. I'm sure RH 8/9
has the same thing. If you haven't done that yet, you need to start
there. Then you'll need to edit the /etc/exports file to export
filesystems to your clients.
Mike
Norm Hall wrote:quote:
> I am trying to connect 3 computers together via nfs in order to be
> able to share files among them. Two of the machines are laptops
> equipped with pcmcia wireless adapters and have RH 9.0 installed. The
> third computer is a desktop connected by cable to the router and has RH
> 8.0 installed. I have read through the literature, configured
> /etc/hosts, /etc/host.allow and /etc/host.deny. From any one computer,
> I can "ping" the other two. I have checked in various logs that the
> required services are running and they are. All seems to be in order.
> When I attempt to mount a directory on one of the laptops with the
> mount command, I get a RPC error: "mount RPC Remote system error -
> connection refused." At this point the troubleshooting guides indicate
> I should retrieve any rpc information with the "rpcinfo -p" command and
> here is my problem - bash does not recognize the rpcinfo command and
> this is true for all three computers. Can someone suggest reasons why
> rpcinfo command is not recognized.
> Thanks,
>
|
|
|
|
|