Hi guys, i am putting this problem again please help me out..
The RPC problem is appearing on the screen while starting the portmap service,take a look of the real..
[root@kickstart-server ~]#/etc/init.d/portmap restart
Stopping portmap: [ OK ]
Starting portmap: [ OK ]
Cannot register service: RPC: Timed out
not registered: 100000 2 tcp 111 portmapper
And network is also is appearing wrong..
Please help me out
[root@kickstart-server ~]# /etc/init.d/network restart
Shutting down interface eth0: [ OK ]
Shutting down loopback interface: [ OK ]
do_ypcall: clnt_call: RPC: Unable to send; errno = Invalid argument
do_ypcall: clnt_call: RPC: Unable to send; errno = Invalid argument
do_ypcall: clnt_call: RPC: Unable to send; errno = Invalid argument
Setting network parameters: [ OK ]
Bringing up loopback interface: [ OK ]
Bringing up interface eth0:
portmap is not working properly. Make sure /etc/rpc is there and has a valid portmapper line. Also check if you have any firewall rules preventing localhost from connecting. All the errors are resulting from this.
The /etc/init.d/portmap script tries to run portmap and then load portmap with its last-known-state. If portmap isn't running, you'll get the RPC/timeout errors.
You don't really need portmap unless you intend to run NFS or NIS on a LAN.
Actually all thing are working fine but while restarting the portmap and network service this error coming.
[root@kickstart-server ~]# service portmap restart
Stopping portmap: [ OK ]
Starting portmap: [ OK ]
Cannot register service: RPC: Timed out
not registered: 100000 2 tcp 111 portmapper
[root@kickstart-server ~]#
[root@kickstart-server ~]# service network restart
Shutting down interface eth0: [ OK ]
Shutting down loopback interface: [ OK ]
do_ypcall: clnt_call: RPC: Unable to send; errno = Network is unreachable
do_ypcall: clnt_call: RPC: Unable to send; errno = Network is unreachable
do_ypcall: clnt_call: RPC: Unable to send; errno = Network is unreachable
Setting network parameters: [ OK ]
Bringing up loopback interface: [ OK ]
Bringing up interface eth0: [ OK ]
[root@kickstart-server ~]#
If you get a connection refused or some such, check your networking and firewall settings again. If you get connected, close the connection and we'll go to the next step.
That's CORRECT behavior for telnet (step 3) in this set of circumstances.
Edit /etc/init.d/portmap so that the second line reads:
set -x
It would be nice if you post the output as an attachment. It will be quite lengthy. In the web form for this board, click "Go Advanced" and then "Manage Attachments" to see how to upload a text file.