Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi all,
We have an NFS server in our env. I was trying to start the service but the service wouldn't start. Later, the one my colleagues noticed it was due to networking=yes in /etc/sysconfig/network. Why would this be the cause? Isn't it a switch for activating network. How's that possible??
networking=yes does NOT prevent NFS from starting so your co-worker appears to be off.
You need to provide more detail such as:
1) Are you talking about NFS server or NFS client or both?
2) What command exactly did you run to "start NFS"?
3) What errors did you get when you ran the command?
Also are you saying removing the line "networking=yes" fixed the problem or is this just an observation he made that it has that?
My colleague just mailed saying "NETWORKING=yes entry was missing from the server" and adding the entry fixed it.
Details:
1. Talking about NFS server only.
2. i used "service nfs start" to start the service.
3. I got no errors when I ran the command, it just gave me no error on stdout; but the exit status 1
I need to try the same at home and check for myself. It doesn't make any sense to me as well.
[QUOTE=amit.kanade1983;5177929]My colleague just mailed saying "NETWORKING=yes entry was missing from the server" and adding the entry fixed it.
That makes more sense. Clearly if there is no "NETWORKING" then "NETWORK file system" (NFS) shouldn't start.
As the prior poster notes this is checked in the init script for nfs.
On one of my RHEL6 boxes on lines 27 &2 8 of the nfs init script I see:
# Source networking configuration.
[ -f /etc/sysconfig/network ] && . /etc/sysconfig/network
Then later it shows clearly it is checking for the value:
# Check that networking is up.
[ "${NETWORKING}" != "yes" ] && exit 6
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.