Solved

Error start Nfs

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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
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…
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.:

772 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

15 Experts available now in Live!

Get 1:1 Help Now