LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 11-10-2007, 09:00 AM   #1
rushadrenaline
Member
 
Registered: Nov 2006
Location: Bangalore,New delhi
Distribution: RHEL5, Kubuntu, Mandriva 2008
Posts: 69

Rep: Reputation: 15
"service nfs start " not working


i installed nfs on mandriva 2008,32bit


----i started portmapper,,,,and its running

--- then i did
>>>/etc/init.d/nfs-server start

---then
>>>[root@rusta mnt]# lsmod | grep nfsd
nfsd 208880 13
exportfs 5376 1 nfsd
lockd 59112 2 nfsd
nfs_acl 3744 1 nfsd
sunrpc 148892 10 nfsd,lockd,nfs_acl

---but dmesg gave following errors
>>>>RPC: failed to contact local rpcbind server (errno 5).
rpcbind: server localhost not responding, timed out
RPC: failed to contact local rpcbind server (errno 5).
rpcbind: server localhost not responding, timed out
RPC: failed to contact local rpcbind server (errno 5).
rpcbind: server localhost not responding, timed out
NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
NFSD: starting 90-second grace period


----but when i did service nfs start , it gave following errors
>>>>service nfs start
Cannot find nfs service
Usage: service -[Rfshv] SERVICE ARGUMENTS
-f|--full-restart: Do a fullrestart of the service.
-R|--full-restart-all: Do a fullrestart of all running services.
-s|--status-all: Print a status of all services.
-d|--debug: Launch with debug.
-h|--help: This help.

Pls help ,,ive bin working for last 18 hours,,,,but cudnt get it working,,,
Pls hlp as am an admin and need to solve it fast
Thanx in advance
 
Old 11-10-2007, 09:06 AM   #2
rushadrenaline
Member
 
Registered: Nov 2006
Location: Bangalore,New delhi
Distribution: RHEL5, Kubuntu, Mandriva 2008
Posts: 69

Original Poster
Rep: Reputation: 15
-----also
>>>> [root@rusta mnt]service -f nfs start
Cannot find /etc/init.d/nfs

-----and
>>>> [root@rusta mnt] which nfsd
which: no nfsd in (/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin:/usr/lib/qt3//bin)

---and
>>> [root@rusta mnt]# ls /etc/init.d/ | grep nfs
nfs-common*
nfs-server*
nfswatch*
 
Old 11-10-2007, 09:11 AM   #3
rushadrenaline
Member
 
Registered: Nov 2006
Location: Bangalore,New delhi
Distribution: RHEL5, Kubuntu, Mandriva 2008
Posts: 69

Original Poster
Rep: Reputation: 15
>>>>>[root@rusta Download]# cat /etc/hosts.allow
#
# hosts.allow This file describes the names of the hosts which are
# allowed to use the local INET services, as decided
# by the '/usr/sbin/tcpd' server.
#

portmap : 192.168.22.162

lockd : 192.168.22.162

mountd : 192.168.22.162

rquotad : 192.168.22,162

statd : 192.168.22.162

ftp : 192.168.22.162


>>>>> [root@rusta Download]# cat /etc/hosts.deny
#
# hosts.deny This file describes the names of the hosts which are
# *not* allowed to use the local INET services, as decided
# by the '/usr/sbin/tcpd' server.
#
# The portmap line is redundant, but it is left to remind you that
# the new secure portmap uses hosts.deny and hosts.allow. In particular
# you should know that NFS uses portmap!

portmap : ALL

lockd : ALL

mountd : ALL

rquotad : ALL

statd : ALL


>>>>>>[root@rusta Download]# cat /etc/exports
# /etc/exports: the access control list for filesystems which may be exported
# to NFS clients. See exports(5).
/home 192.168.22.162(rw)
 
Old 11-10-2007, 09:14 AM   #4
rushadrenaline
Member
 
Registered: Nov 2006
Location: Bangalore,New delhi
Distribution: RHEL5, Kubuntu, Mandriva 2008
Posts: 69

Original Poster
Rep: Reputation: 15
>>>>>[root@rusta mnt]exportfs -a
exportfs: /etc/exports [1]: Neither 'subtree_check' or 'no_subtree_check' specified for export "192.168.22.162:/home".
Assuming default behaviour ('no_subtree_check').
NOTE: this default has changed since nfs-utils version 1.0.x

>>>>> [root@rusta mnt]# /etc/init.d/nfs-common start
Starting NFS common utilities
Starting rpc.statd [ OK ]
Starting rpc.idmapd [ OK ]
 
Old 11-11-2007, 11:44 PM   #5
rushadrenaline
Member
 
Registered: Nov 2006
Location: Bangalore,New delhi
Distribution: RHEL5, Kubuntu, Mandriva 2008
Posts: 69

Original Poster
Rep: Reputation: 15
Please help this is very urgent....at least point out if u need sum extra info on this,,,,coz our project is stuck coz of this error.
So kindly look into the matter.
 
Old 11-12-2007, 11:27 AM   #6
guillomovitch
LQ Newbie
 
Registered: Nov 2007
Posts: 2

Rep: Reputation: 1
What about doing things in order ?
1) launch either portmap or rpcbind
service rpcbind start (or service portmap start)
2) launch service shared by client and server
service nfs-common start
3) launch server service
server nfs-server start

See http://wiki.mandriva.com/en/Releases...08.0/Notes#NFS, and /usr/share/doc/nfs-utils/README.1.1.0.upgrade.urpmi for details about the changes since Mandriva 2007.1.

BTW, using bash completion would avoid you painful error message for non-existing service scripts: try "service nfs<TAB>"
 
1 members found this post helpful.
Old 11-25-2007, 01:01 AM   #7
rushadrenaline
Member
 
Registered: Nov 2006
Location: Bangalore,New delhi
Distribution: RHEL5, Kubuntu, Mandriva 2008
Posts: 69

Original Poster
Rep: Reputation: 15
Hey i got it working with those 4 simple steps. Thans man
 
Old 12-20-2009, 02:34 AM   #8
Nivag
LQ Newbie
 
Registered: Dec 2009
Location: Auckland, New Zealand
Distribution: Fedora
Posts: 7

Rep: Reputation: 0
I had a similar problem with Fedora, but I did have the relevant services running. So this thread was useful indirectly.

In my case the problem was that the server firewall was blocking ports I needed. I unblocked port 111, but now I need to fix and unblock some other ports.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
"service __ restart" bash command isn't working case1984 Linux - Newbie 9 04-10-2008 02:35 PM
fdisk reports odd "Start "and "End" sectors on single partition eponymous Linux - Software 3 10-01-2007 03:41 PM
Logs filling up with "smbd/service.c:make_connection" - "couldn't find service" DumbTerminal Linux - Networking 14 07-16-2007 06:33 AM
can not "service mysqld start" dfw123 Linux - Newbie 7 05-03-2007 12:29 AM
I can't "service squid start" , and chkconfig squid on not working Niceman2005 Linux - Software 0 11-10-2004 08:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 10:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration