Operating System - Linux
1822549 Members
2933 Online
109642 Solutions
New Discussion юеВ

Re: NFS issue on Redhat Linux 9

 
SOLVED
Go to solution
logaraman
Regular Advisor

NFS issue on Redhat Linux 9

hi,

I get the below error while trying to start or stop the nf service on redhat linux 9.

" Shutting down NFS mountd: /etc/init.d/nfs: line 100: killproc: command not found

Shutting down NFS daemon: /etc/init.d/nfs: line 103: killproc: command not found

Shutting down NFS quotas: /etc/init.d/nfs: line 107: killproc: command not found

/etc/init.d/nfs: line 119: action: command not found"

any suggestions pls
11 REPLIES 11
Ivan Ferreira
Honored Contributor
Solution

Re: NFS issue on Redhat Linux 9

Check your startup script, verify that you have this line at the start of the /etc/init.d/nfs script:

# Source function library.
. /etc/init.d/functions


Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
logaraman
Regular Advisor

Re: NFS issue on Redhat Linux 9

hi,

The intimated line is present in the script.....
Ivan Ferreira
Honored Contributor

Re: NFS issue on Redhat Linux 9

Can you upload your /etc/init.d/nfs and /etc/init.d/functions files?
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
logaraman
Regular Advisor

Re: NFS issue on Redhat Linux 9

hi,

Pls find enclosed the files you had requested for.. Bow while staring the nfs ervice i get a new error

" [root@ipl002dor etc]# service nfs start
Starting NFS services: OK ]
Starting NFS quotas: Cannot register service: RPC: Unable to send; errno = Inval
d argument
rpc.rquotad: unable to register (RQUOTAPROG, RQUOTAVERS, udp).
FAILED]
Starting NFS daemon:"

Ivan Ferreira
Honored Contributor

Re: NFS issue on Redhat Linux 9

I also need the file /etc/rc.d/init.d/functions.

It looks like NFS is trying to start before the portmap service. Ensure that the portmap service is started before NFS services.

Edit your /etc/init.d/nfs file and change the chkconfig line:

# chkconfig: - 60 20

To look like this:

# chkconfig: - 90 20

Then run:

chkconfig portmap on
service portmap start
chkconfig nfs off
chkconfig nfs on
service nfs start
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
logaraman
Regular Advisor

Re: NFS issue on Redhat Linux 9

hi.

did as suggested but still the same issue.
Alexander Chuzhoy
Honored Contributor

Re: NFS issue on Redhat Linux 9

Your nfs file looks OK.

the killproc command is a function that resides in /etc/rc.d/init.d/functions file
can you post it here also?

You can also reinstall with force parameter the initscripts-7.14-1 RPM (comes on installation CD). This RPM installs the functions file.
Hope it helps.
Vitaly Karasik_1
Honored Contributor

Re: NFS issue on Redhat Linux 9

please check if portmap is running:

ps -ef|grep portm
logaraman
Regular Advisor

Re: NFS issue on Redhat Linux 9

hi All

Thanks the iussues has been solved
logaraman
Regular Advisor

Re: NFS issue on Redhat Linux 9

The call was closed on Ivan's suggestions
vijaya k ammula
New Member

Re: NFS issue on Redhat Linux 9

Can you mention what resolved your problem? Thanks.