No reponse to 'service NFS start' command

Thread Tools Search this Thread
Operating Systems Linux Red Hat No reponse to 'service NFS start' command
# 1  
Old 02-27-2014
[Solved] No reponse to 'service NFS start' command


I have a newly kickstarted RHEL 6.4 server that I'm trying to set-up as a kickstart server. I have done this before on other machines, but I am encountering some strange behaviour in this one.

[root@kickstart ~]# service nfs status
rpc.svcgssd is stopped
rpc.mountd is stopped
nfsd is stopped
rpc.rquotad is stopped
[root@kickstart ~]# service nfs start
[root@kickstart ~]# service nfs restart
Shutting down NFS daemon:                                  [FAILED]
Shutting down NFS mountd:                                  [FAILED]
Shutting down NFS quotas:                                  [FAILED]
Shutting down NFS services:                                [  OK  ]
[root@kickstart ~]# service nfs status
rpc.svcgssd is stopped
rpc.mountd is stopped
nfsd is stopped
rpc.rquotad is stopped
[root@kickstart ~]# service nfs start
[root@kickstart ~]#

Each time I enter service * start, I get no response, just a newline. This happens with a number of services, not just nfs. I am wondering what is the best way to actually determine the root cause here?

I can see no logs in /var/log indicating a reason for the service not starting. All appropriate packages have been installed by yum. Where can I look to see log output from a failed 'service start' command like the above?

---------- Post updated at 06:50 PM ---------- Previous update was at 04:25 PM ----------

Hi, managed to solve this one so thought I'd post the answer here.

I eventually had to step through the /etc/init.d/nfs script to see where the script was failing, and it turns out that when I commented out the line:
        # Check that networking is up.
#        [ "${NETWORKING}" != "yes" ] && exit 6

NFS started succesfully.

My /etc/sysconfig/network file had the following:

But not the vital NETWORKING=yes

Yesterdy I was setting up bonding and VLANs so perhaps I deleted the NETWORKING line from that by mistake, but adding that line solved all issues with services not starting.

I still don't see logging from the 'service ### start' commands, is that actually possible, and would there have been any way to tell the problem without modifying the nfs script?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Homework & Coursework Questions

NFS service not started in Redhat Cluster

Hi All, Need your help to resolve below error in cluter. Sep 9 05:37:30 node2 rgmanager: Starting disabled service service:Prod_Service Sep 9 05:37:30 node2 rgmanager: HA LVM: Improper setup detected Sep 9 05:37:30 node2 rgmanager: * initrd image needs to be newer than lvm.conf... (3 Replies)
Discussion started by: nitinredekar
3 Replies

2. Red Hat

NFS does not start during boot process

Hello, I am facing some issues during boot process of rhel 6.2 It takes too long time (~10 min) for the node to come up... The boot process stuck while it trying to start NFS and does not continue until timeout. In the boot.log file i see Starting NFS quotas: Cannot register service:... (2 Replies)
Discussion started by: @dagio
2 Replies

3. UNIX for Dummies Questions & Answers

NFS as unix service?

Hi All I want to understand the difference between 'NFS as a unix service' vs 'NFS attached to NAS' for the purpose of identifying shared storage solution for my test RAC setup. Oracle support says that 'NFS as unix service (what I understand is a local PC/server disk mounted as NFS) is not... (2 Replies)
Discussion started by: jpsingh
2 Replies

4. Solaris

NFS client service restart

Can any one please tell me the command for NFS client service restart.This is to resolve, NFS mount slowness issue.Mount is very slow for both read and write operations.The below commands are not helping out in this situation. ---------- Post updated at 08:59 AM ---------- Previous update was... (1 Reply)
Discussion started by: ksvaisakh
1 Replies

5. Solaris

All dependicies of nfs service is online but nfs is offline

Hi all in my server all nfs dependices are online but nfs client is offline root@BIWAPP1 # svcs -a|grep nfs disabled Sep_05 svc:/network/nfs/server:default online Sep_05 svc:/network/nfs/rquota:default online Sep_05 svc:/network/nfs/mapid:default online ... (9 Replies)
Discussion started by: spandhan
9 Replies

6. Red Hat

bind nfs service to nic

Hello everyone, I am running a RHEL4 server. We have 4 nics, which are paired to create bond0 and bond1. BOND0 is on a vlan which can see our storage system. BOND1 cannot see the storage system. I would like to lock down the system, so that NFS share can only mounted via BOND0. Has anyone done... (2 Replies)
Discussion started by: vada010
2 Replies

7. AIX

Q: how to start a service when system start

As topic, assume we have a service called "blahservice" and we can start it by: startsrc -s blahservice what is the best practice to run such command when system start? - directly use mkitab to add it into /etc/inittab or - drop startup scripts in /etc/rc.d/rcX.d I know they... (4 Replies)
Discussion started by: acerlinux
4 Replies

8. Solaris

NFS service : offline after enabling it .

Hi all, i Followed these steps & still not able to get nfs service online ???:( bash-3.2# svcs -a | grep nfs disabled 17:48:02 svc:/network/nfs/cbd:default disabled 17:48:02 svc:/network/nfs/client:default disabled 20:56:06 svc:/network/nfs/status:default offline ... (4 Replies)
Discussion started by: saurabh84g
4 Replies

9. Shell Programming and Scripting

Start a service as user

Hi I need a service to be start as user after a reboot. My script in /etc/init.d contain the following: start() { su - $USER cd ${INSTALL_PATH}/bin ./MyApp -X exit return 0 } This function stops after su - $USER, I get user shell, and only if I manualy... (5 Replies)
Discussion started by: potro
5 Replies

10. UNIX for Dummies Questions & Answers

Can't start nfs server!

ok i am pretty new i am thinking this maybe a dns situatioan i dunno.... i am trying to start nfs server i get the followin error: mountd svc_tli create could not bind to requested address: address mismatch svc_create: svc_tli_create failed /usr/lib/nfs/nfsd : tli_bind to wrong address... (14 Replies)
Discussion started by: rmuhammad
14 Replies
Login or Register to Ask a Question