Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 5th November 2009, 10:52
iniwidi iniwidi is offline
Junior Member
Join Date: Nov 2008
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default nfs server didnt listen port 2049

I have installed nfs4 in my Debian Server with kernel, my problem is port 2049 didnt LISTEN so the client nfs didnt connect to the server, here the information :

ns2:/srv# rpcinfo -p
program vers proto port
100000 2 tcp 111 portmapper
100024 1 udp 33284 status
100024 1 tcp 39745 status
100000 2 udp 111 portmapper
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100021 1 udp 33325 nlockmgr
100021 3 udp 33325 nlockmgr
100021 4 udp 33325 nlockmgr
100005 1 udp 33326 mountd
100005 1 tcp 51781 mountd
100005 2 udp 33326 mountd
100005 2 tcp 51781 mountd
100005 3 udp 33326 mountd
100005 3 tcp 51781 mountd

At the above, it show that nfs is running ok

ns2:/srv# lsof -i:2049
it show nothing!
ns2:/srv# nmap localhost

Starting Nmap 4.62 ( http://nmap.org ) at 2009-11-05 07:43 UTC
Interesting ports on localhost (
Not shown: 1702 closed ports
21/tcp open ftp
22/tcp open ssh
25/tcp open smtp
53/tcp open domain
80/tcp open http
110/tcp open pop3
111/tcp open rpcbind
143/tcp open imap
443/tcp open https
953/tcp open rndc
993/tcp open imaps
995/tcp open pop3s
3306/tcp open mysql

I try to connet port 2049 via telnet

ns2:/srv# telnet localhost 2049
telnet: Unable to connect to remote host: Connection refused

ns2:/srv# /etc/init.d/nfs-kernel-server restart
Stopping NFS kernel daemon: mountd nfsd.
Unexporting directories for NFS kernel daemon....
Exporting directories for NFS kernel daemon....
Starting NFS kernel daemon: nfsd mountd.

And the /var/log said that :

ns2:~# tail -f /var/log/messages
Nov 5 06:52:21 ns3 kernel: nfsd: last server has exited
Nov 5 06:52:21 ns3 kernel: nfsd: unexporting all filesystems

Please help me!
Reply With Quote
Sponsored Links
Old 6th November 2009, 15:34
falko falko is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts

Are there any other errors in your logs?
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote



Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ftp problem, server has closed connection Eric Pinxteren Installation/Configuration 5 4th February 2012 20:05
slow request time on ISPConfig server torusturtle Installation/Configuration 12 16th August 2007 13:52
Core 4: Error Messages on Fresh Install re CTX/SSL jjw Installation/Configuration 30 6th September 2006 13:16
User & Email Kayov General 9 20th August 2006 20:46
bind9 and view unkn0wn Server Operation 8 22nd July 2006 16:50

All times are GMT +2. The time now is 16:27.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.