Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[nfs-exportfs] problem vith nfs server start
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
DaviXX
n00b
n00b


Joined: 06 May 2005
Posts: 46

PostPosted: Fri May 13, 2005 8:18 am    Post subject: [nfs-exportfs] problem vith nfs server start Reply with quote

Hi,

A data serve use NFS to export directory. but THIS morning, he doesn't want to start :

Quote:
* Starting NFS statd... [ ok ]
* Exporting NFS directories...
/sbin/runscript.sh: line 532: 18666 Killed $exportfs -r 1>&2
* Error exporting NFS directories [ !! ]


i don't have modify anything on the configuration, and it runs since somes weeks, but not now.

i don't find where to search to solve the problem.

Thanks to help me.

David
Back to top
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Fri May 13, 2005 8:19 am    Post subject: Reply with quote

Read your log files.
_________________
>>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen
Back to top
View user's profile Send private message
DaviXX
n00b
n00b


Joined: 06 May 2005
Posts: 46

PostPosted: Fri May 13, 2005 8:26 am    Post subject: Reply with quote

adaptr wrote:
Read your log files.



I did :

syslog wrote:
May 13 10:09:37 [rpc.mountd] Caught signal 15, un-registering and exiting.
May 13 10:09:37 [kernel] nfsd: last server has exited
May 13 10:09:37 [rpc.statd] Caught signal 15, un-registering and exiting.
May 13 10:09:37 [rpc.statd] Version 1.0.6 Starting
May 13 10:10:07 [rc-scripts] Error exporting NFS directories
May 13 10:12:02 [kernel] svc: bad direction 65536, dropping request
May 13 10:12:30 [rpc.mountd] Caught signal 15, un-registering and exiting.
May 13 10:12:30 [kernel] nfsd: last server has exited
May 13 10:12:30 [rpc.statd] Caught signal 15, un-registering and exiting.
May 13 10:12:30 [rpc.statd] Version 1.0.6 Starting
May 13 10:13:00 [rc-scripts] Error exporting NFS directories


dmesg wrote:
svc: bad direction 65536, dropping request
svc: unknown version (3)
svc: unknown version (3)
nfsd: last server has exited
nfsd: unexporting all filesystems
svc: unknown version (3)
svc: unknown version (3)
svc: unknown version (3)
svc: unknown version (3)
nfsd: last server has exited
nfsd: unexporting all filesystems
svc: bad direction 65536, dropping request
svc: bad direction 65536, dropping request
nfsd: last server has exited
nfsd: unexporting all filesystems
svc: bad direction 65536, dropping request
nfsd: last server has exited
nfsd: unexporting all filesystems
nfsd: last server has exited
nfsd: unexporting all filesystems
svc: unknown version (3)
svc: unknown version (3)
svc: unknown version (3)
svc: unknown version (3)
svc: unknown version (3)
svc: unknown version (3)
svc: unknown version (3)
svc: unknown version (3)
svc: unknown version (3)
svc: unknown version (3)
svc: unknown version (3)
svc: unknown version (3)
svc: unknown version (3)
svc: unknown version (3)
svc: unknown version (3)
svc: unknown version (3)
svc: unknown version (3)
svc: unknown version (3)
svc: unknown version (3)
svc: unknown version (3)
Back to top
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Fri May 13, 2005 8:31 am    Post subject: Reply with quote

You have a NFS v3 server running but are trying to connect with a v4 client (or vice versa).
Re-enable v3 support in your kernel, or re-emerge the userland programs.
_________________
>>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen
Back to top
View user's profile Send private message
DaviXX
n00b
n00b


Joined: 06 May 2005
Posts: 46

PostPosted: Fri May 13, 2005 8:33 am    Post subject: Reply with quote

adaptr wrote:
You have a NFS v3 server running but are trying to connect with a v4 client (or vice versa).
Re-enable v3 support in your kernel, or re-emerge the userland programs.


It's explain some messages, but it's not explain why it doesn't want to start, because i use this configuration since some months.

Thanks.
Back to top
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Fri May 13, 2005 8:35 am    Post subject: Reply with quote

Have you tried stopping and restarting all related services ?
rpc.lockd, portmapper, etc.
_________________
>>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen
Back to top
View user's profile Send private message
DaviXX
n00b
n00b


Joined: 06 May 2005
Posts: 46

PostPosted: Fri May 13, 2005 8:38 am    Post subject: Reply with quote

adaptr wrote:
Have you tried stopping and restarting all related services ?
rpc.lockd, portmapper, etc.


Yes, i have also tried to restart the server, and the sames problem at restart.
Back to top
View user's profile Send private message
DaviXX
n00b
n00b


Joined: 06 May 2005
Posts: 46

PostPosted: Fri May 13, 2005 8:47 am    Post subject: Reply with quote

Solved ?

last minutes,
I' just try to make /etc/init.d/nfs restart

Failed,
Failed,
Failed,
...
Success....

What to think ?
Back to top
View user's profile Send private message
ehudokai
n00b
n00b


Joined: 27 Dec 2002
Posts: 53
Location: Southern Cal, USA

PostPosted: Fri Jun 17, 2005 4:18 pm    Post subject: Reply with quote

DaviXX wrote:
Solved ?

last minutes,
I' just try to make /etc/init.d/nfs restart

Failed,
Failed,
Failed,
...
Success....

What to think ?


I am having the same trouble now, did you ever figure out what caused the problem?
_________________
Linux saved my life and made me $1 million dollars over night... for only 19.95 it can all be yours :)
Back to top
View user's profile Send private message
DaviXX
n00b
n00b


Joined: 06 May 2005
Posts: 46

PostPosted: Sun Jun 19, 2005 2:31 pm    Post subject: Reply with quote

no idea.

beware to don't save your log files ie apache) on your nfs server

david
_________________
David CHANIAL
sdfrance.com - Location de serveurs dédiés infogérés
Serveurs sous Gentoo/Linux
Back to top
View user's profile Send private message
richardash1981
Tux's lil' helper
Tux's lil' helper


Joined: 08 Apr 2005
Posts: 94
Location: England

PostPosted: Fri Nov 11, 2005 9:54 pm    Post subject: Reply with quote

The nfs server needs to be able to do a reverse DNS lookup on each client IP that tries to connect to it,(even with IP addresses or masks in /etc/exports). If it can't, mount will often time out on the clients, and exportfs will take much longer.
Either add the nfs clients to the DNS or the server's hosts file.

This took me all this evening to find building a server farm over NFS
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