Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
11-10-2007, 10:00 AM
|
#1
|
Member
Registered: Nov 2006
Location: Bangalore,New delhi
Distribution: RHEL5, Kubuntu, Mandriva 2008
Posts: 69
Rep:
|
"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
|
|
|
11-10-2007, 10:06 AM
|
#2
|
Member
Registered: Nov 2006
Location: Bangalore,New delhi
Distribution: RHEL5, Kubuntu, Mandriva 2008
Posts: 69
Original Poster
Rep:
|
-----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*
|
|
|
11-10-2007, 10:11 AM
|
#3
|
Member
Registered: Nov 2006
Location: Bangalore,New delhi
Distribution: RHEL5, Kubuntu, Mandriva 2008
Posts: 69
Original Poster
Rep:
|
>>>>>[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)
|
|
|
11-10-2007, 10:14 AM
|
#4
|
Member
Registered: Nov 2006
Location: Bangalore,New delhi
Distribution: RHEL5, Kubuntu, Mandriva 2008
Posts: 69
Original Poster
Rep:
|
>>>>>[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 ]
|
|
|
11-12-2007, 12:44 AM
|
#5
|
Member
Registered: Nov 2006
Location: Bangalore,New delhi
Distribution: RHEL5, Kubuntu, Mandriva 2008
Posts: 69
Original Poster
Rep:
|
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.
|
|
|
11-12-2007, 12:27 PM
|
#6
|
LQ Newbie
Registered: Nov 2007
Posts: 2
Rep:
|
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.
|
11-25-2007, 02:01 AM
|
#7
|
Member
Registered: Nov 2006
Location: Bangalore,New delhi
Distribution: RHEL5, Kubuntu, Mandriva 2008
Posts: 69
Original Poster
Rep:
|
Hey i got it working with those 4 simple steps. Thans man
|
|
|
12-20-2009, 03:34 AM
|
#8
|
LQ Newbie
Registered: Dec 2009
Location: Auckland, New Zealand
Distribution: Fedora
Posts: 7
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 10:21 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|