Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
NFS stop/start/restart problems
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
pgu
Guru
Guru


Joined: 30 Jul 2009
Posts: 467
Location: Oslo, Norway

PostPosted: Mon Aug 19, 2013 3:40 pm    Post subject: NFS stop/start/restart problems Reply with quote

I can't seem to stop or start NFS:

Code:
 # /etc/init.d/nfs stop
 * Stopping NFS mountd ...
 * start-stop-daemon: no matching processes found                         [ !! ]
 * Stopping NFS daemon ...
 * start-stop-daemon: no matching processes found                         [ !! ]
 * Unexporting NFS directories ...                                        [ ok ]
 * ERROR: nfs failed to stop


When I try to start it I get:

Code:
# /etc/init.d/nfs start
 * WARNING: nfs has already been started


How can I solve this, hopefully without a reboot?
Back to top
View user's profile Send private message
Jaglover
Advocate
Advocate


Joined: 29 May 2005
Posts: 4681
Location: Saint Amant, Acadiana

PostPosted: Tue Aug 20, 2013 12:56 am    Post subject: Reply with quote

Kill nfsd if it is still running (probably not) and rm pid file?
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
pgu
Guru
Guru


Joined: 30 Jul 2009
Posts: 467
Location: Oslo, Norway

PostPosted: Thu Jan 02, 2014 10:17 am    Post subject: Reply with quote

I'm having the same problem again (last time I did a reboot).

nfsd is not running and there is no pid file:

Code:
# ls -l /var/run/nfs*.pid
ls: cannot access /var/run/nfs*.pid: No such file or directory
Back to top
View user's profile Send private message
pgu
Guru
Guru


Joined: 30 Jul 2009
Posts: 467
Location: Oslo, Norway

PostPosted: Thu Jan 02, 2014 10:47 am    Post subject: Reply with quote

The nfs init scripts seem to be broken. Had to re-boot the server again.
Back to top
View user's profile Send private message
pgu
Guru
Guru


Joined: 30 Jul 2009
Posts: 467
Location: Oslo, Norway

PostPosted: Sun Jan 26, 2014 6:46 pm    Post subject: Reply with quote

Happened again. I'll have to ditch Gentoo as a NFS server.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum