Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!uunet!super!jfenne From: jfenne@super.ORG (Jack N. Fenner) Newsgroups: comp.unix.aix Subject: Re: Portmapper problems Message-ID: <44466@super.ORG> Date: 6 Mar 91 14:25:50 GMT References: <1991Feb27.145926.14813@ccu1.aukuni.ac.nz> Sender: news@super.ORG Organization: Supercomputing Research Center, Bowie, Md. Lines: 39 In article <1991Feb27.145926.14813@ccu1.aukuni.ac.nz> gmoff@ccu1.aukuni.ac.nz (Moffat) writes: >Could someone give me a clue as to what's wrong here - when NFS is started >on our 730 I get the following at regular intervals: > Cannot register service: RPC: Timed out > rpc.statd: unable to register (SM_PROG, SM_VERS, udp) > Cannot register service: RPC: Timed out > unable to register (NLM_PROG, NLM_VERS, tcp) >The command 'rpcinfo -p' produces: > Cant contact portmapper: RPC: Remote system error - No route to host >which is the same as when portmap is not even running! [rest of note deleted] I had these exact symptoms on my machine. The problem was that the "local" RPC host lo0 was out of sync with my machine. That is, an attempt to send an RPC message to the portmap on the local machine fails. To solve the problem: 1) Make sure that your /etc/hosts file contains an entry for the local host. A typical entry looks like "127.0.0.1 localhost loopback". 2) Make sure that the ifconfig line in /etc/rc.net for lo0 is uncommented and uses the correct name. A typical entry looks like "/etc/ifconfig lo0 inet localhost up >> $LOGFILE 2>&1". 3) Reboot the machine. Note that in the above, "localhost" must NOT be your regular host name, such as is returned by the hostname command. You should be able to ping localhost if lo0 is working. By the way, if you've been getting the RPC messages for a long time, you probably want to clean them out of your error log. Enter "smit error" to clean it. Regards, -- Jack Fenner IBM Federal Sector Division Advanced Programs Temporarily assigned to Supercomputing Research Center All opinions expressed are my own, not my company's