Solved

Error start Nfs

Posted on 2003-11-20
2
1,696 Views
Last Modified: 2012-08-14
hi
 i have RedHat linux 7.1 , Kernel 2.4.2-2smp , I was using NFS on it and it was working fine , recently I restarted the server and removed teh tape trive from it . after that i am getting the following error when i start NFS :
Starting NFS services:    OK  ]
Starting NFS quotas: Cannot register service: RPC: Unable to send; errno = Invalid argument
FAILED]
Starting NFS mountd: Cannot register service: RPC: Unable to send; errno = Invalid argument
FAILED]
Starting NFS daemon: nfssvc: Network is unreachable
FAILED]

also there is this error on the terminal :

kernel: RPC: sendmsg returned error 101
kernel: portmap: RPC call returned error 101

hope some one has seen this error and will be able to help me

regards

Anup
0
Comment
Question by:anupnellip
2 Comments
 
LVL 10

Author Comment

by:anupnellip
ID: 9786454
hii friends ,
  I solved this problem myself , actually my loopback network adapter was not being assined any loopback ip address ie 127.0.0.1 I assigned this Ip address to the lo network adpater and my problem was solved . now that brings me to another problem how can i assigne IP address to loopback adapter when the box starts up . do i need to put it somewhere ?
any help ??

Regards

Anup
0
 
LVL 3

Accepted Solution

by:
_tack earned 250 total points
ID: 9786656
on RH7.3 it's in this file:

/etc/sysconfig/network-scripts/ifcfg-lo  
DEVICE=lo
IPADDR=127.0.0.1
NETMASK=255.0.0.0
NETWORK=127.0.0.0
# If you're having problems with gated making 127.0.0.0/8 a martian,
# you can change this to something else (255.255.255.255, for example)
BROADCAST=127.255.255.255
ONBOOT=yes
NAME=loopback
0

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

792 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question