- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- nfs works fine but restart with an error
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-21-2006 06:09 AM
тАО04-21-2006 06:09 AM
nfs works fine but restart with an error
Nfs server is working just fine, but sometimes(not always) when i restart the nfs service I recieved the following output
# service nfs restart [ OK ]
Shutting down NFS mountd: [ OK ]
Shutting down NFS daemon: nfsd: last server has exited
nfsd: unexporting all filesystems
rpciod: active tasks at shutdown?!
RPC: failed to contact portmap (errno -5). [OK]
Shutting down NFS quotas: [ OK ]
Shutting down NFS services: [ OK ]
Starting NFS services: [ OK ]
Starting NFS quotas: [ OK ]
Starting NFS daemon: [ OK ]
Starting NFS mountd:
these two lines are prblm
rpciod: active tasks at shutdown?!
RPC: failed to contact portmap (errno -5). [OK]
I m also attaching the /var/log/messages output
Thanks n Regards
Maaz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-21-2006 08:17 AM
тАО04-21-2006 08:17 AM
Re: nfs works fine but restart with an error
Pls check if your portmap service is also running well.
chkconfig --list|grep portmap
use chkconfig to enable the portmap service and service portmap to start it.
take care of your SELinux option(/etc/sysconfig/selinux), disable it if you don't need.
Good Luck,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-21-2006 04:55 PM
тАО04-21-2006 04:55 PM
Re: nfs works fine but restart with an error
portmap is running and selinux is disabled.
I m pretty sure that if portmap is not running then nfs wont work. But in my case nfs server is working just fine. I can mount from client without any prblm. showmount -e nfs_server gives me the appropriate output.
and even the error I posted, is not a regular error message, but its rare.
To test the situation i restart nfs server continiously 7 times, and only when I was restarting 4th time it gives me the "RPC: failed to contact portmap (errno -5). [OK]
" message
Any Help will be highly appreciated ;)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-21-2006 08:51 PM
тАО04-21-2006 08:51 PM
Re: nfs works fine but restart with an error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-21-2006 09:20 PM
тАО04-21-2006 09:20 PM
Re: nfs works fine but restart with an error
Try to close the iptables service first (service iptables stop) and see if it gets better.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-22-2006 06:00 AM
тАО04-22-2006 06:00 AM
Re: nfs works fine but restart with an error
IPtables is stop
/etc/hosts.deny is empty(default)
and I m repeating NFS server is working fine.
I can mount nfs share from client.
and I receive this error aftr 3 or 4 restart of nfs server in a row
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-22-2006 08:42 AM
тАО04-22-2006 08:42 AM
Re: nfs works fine but restart with an error
Suggesting tcpdump to take a look at the network traffic.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-22-2006 06:52 PM
тАО04-22-2006 06:52 PM
Re: nfs works fine but restart with an error
Thanks for replies
Maaz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-24-2006 01:57 AM
тАО04-24-2006 01:57 AM
Re: nfs works fine but restart with an error
If so you should verify access from localhost
is allowed.
Iptables should be set to allow all traffic on
lo.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-24-2006 06:28 AM
тАО04-24-2006 06:28 AM
Re: nfs works fine but restart with an error
Iptables is stop.
hosts.allow and hosts.deny is empty(default).
nfs server is working just fine.
I can mount the nfs share from clients.
and the error only comes when I restat nfs server 4 or 5 times in a row.
Say e.g I restart nfs server 15 times in a row, then 5th 9th and 13th restart will produce the following error
service nfs restart [ OK ]
Shutting down NFS mountd: [ OK ]
Shutting down NFS daemon: nfsd: last server has exited
nfsd: unexporting all filesystems
rpciod: active tasks at shutdown?!
RPC: failed to contact portmap (errno -5). [OK]
Shutting down NFS quotas: [ OK ]
Shutting down NFS services: [ OK ]
Starting NFS services: [ OK ]
Starting NFS quotas: [ OK ]
Starting NFS daemon: [ OK ]
Starting NFS mountd:
Thanks n Regards
Maaz