Solved

Error start Nfs

Posted on 2003-11-20
2
1,693 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

Backup Your Microsoft Windows Server®

Backup 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

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

863 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now