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.
Reply
 
Thread Tools Display Modes
  #1  
Old 16th March 2008, 00:06
jeo_84 jeo_84 is offline
Junior Member
 
Join Date: Feb 2008
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default NFS Problem

Hi, I'm using a Centos 5.1 instaled in an IBM System x3550 and having problems with NFS could you help me?

# service portmap restart
pmap_getmaps rpc problem: RPC: Unable to receive; errno = Connection reset by peer
Stopping portmap: [FAILED]
Starting portmap: [ OK ]

# service nfs restart
Shutting down NFS mountd: [FAILED]
Shutting down NFS daemon: [FAILED]
Shutting down NFS quotas: [FAILED]
Shutting down NFS services: [FAILED]
Starting NFS services: [ OK ]
Starting NFS quotas: Cannot register service: RPC: Unable to receive; errno = Connection refused
rpc.rquotad: unable to register (RQUOTAPROG, RQUOTAVERS, udp).
[FAILED]

# vi /etc/hosts
::1 localhost6.localdomain6 localhost6
127.0.0.1 localhost.localdomain localhost
200.110.94.66 souler-srv-01.soul-ertechnologies.com souler-srv-01

# vi /etc/hosts.allow
ALL: ALL

# vi /etc/hosts.deny
blank
Reply With Quote
Sponsored Links
  #2  
Old 16th March 2008, 12:39
topdog topdog is offline
Senior Member
 
Join Date: Jan 2008
Location: South Africa
Posts: 1,352
Thanks: 0
Thanked 153 Times in 150 Posts
Default

Do you have a firewall running ? Is selinux turned on ?
whats the output of
Code:
sestatus
Code:
rpcinfo -p localhost
__________________
----
http://www.topdog.za.net - Got Linux problems ? - I can help.
http://www.baruwa.org - Try it.
Reply With Quote
  #3  
Old 17th March 2008, 05:27
jeo_84 jeo_84 is offline
Junior Member
 
Join Date: Feb 2008
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default NFS Problems

Thanks for answer me and try to help me.. This are the code that you request me

# sestatus
SELinux status: disabled
# rpcinfo -p localhost
rpcinfo: can't contact portmapper: rpcinfo: RPC: Unable to receive; errno = Connection reset by peer
Reply With Quote
  #4  
Old 17th March 2008, 16:57
jeo_84 jeo_84 is offline
Junior Member
 
Join Date: Feb 2008
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for answer me and try to help me.. This are the code that you request me

# sestatus
SELinux status: disabled
# rpcinfo -p localhost
rpcinfo: can't contact portmapper: rpcinfo: RPC: Unable to receive; errno = Connection reset by peer
Edit/Delete Message
Reply With Quote
  #5  
Old 17th March 2008, 17:07
chipsafts chipsafts is offline
Senior Member
 
Join Date: Nov 2007
Posts: 184
Thanks: 2
Thanked 6 Times in 6 Posts
Default

you need to check your firewall settings to see if port 111 is allowed to be accessed.
Reply With Quote
  #6  
Old 18th March 2008, 00:16
jeo_84 jeo_84 is offline
Junior Member
 
Join Date: Feb 2008
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for your post but i do not have any active firewall and you can see that the selinux is desable.. What else can i try..? any idea?
Reply With Quote
  #7  
Old 18th March 2008, 15:33
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

What's the output of
Code:
iptables -L
?
__________________
Falko
--
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
  #8  
Old 19th March 2008, 01:58
jeo_84 jeo_84 is offline
Junior Member
 
Join Date: Feb 2008
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
acctboth all -- anywhere anywhere

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination
acctboth all -- anywhere anywhere

Chain acctboth (2 references)
target prot opt source destination
tcp -- souler-srv-01.soul-ertechnologies.com anywhere tcp dpt:http
tcp -- anywhere souler-srv-01.soul-ertechnologies.com tcp spt:http
tcp -- souler-srv-01.soul-ertechnologies.com anywhere tcp dpt:smtp
tcp -- anywhere souler-srv-01.soul-ertechnologies.com tcp spt:smtp
tcp -- souler-srv-01.soul-ertechnologies.com anywhere tcp dptop3
tcp -- anywhere souler-srv-01.soul-ertechnologies.com tcp sptop3
icmp -- souler-srv-01.soul-ertechnologies.com anywhere
icmp -- anywhere souler-srv-01.soul-ertechnologies.com
tcp -- souler-srv-01.soul-ertechnologies.com anywhere
tcp -- anywhere souler-srv-01.soul-ertechnologies.com
udp -- souler-srv-01.soul-ertechnologies.com anywhere
udp -- anywhere souler-srv-01.soul-ertechnologies.com
all -- souler-srv-01.soul-ertechnologies.com anywhere
all -- anywhere souler-srv-01.soul-ertechnologies.com
all -- anywhere anywhere
Reply With Quote
  #9  
Old 19th March 2008, 15:39
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Please switch off the firewall and try again.
__________________
Falko
--
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
  #10  
Old 20th March 2008, 00:39
jeo_84 jeo_84 is offline
Junior Member
 
Join Date: Feb 2008
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Hi falko, thanks for your suggestion .. I guess that entry in the iptables was done by the control panel for hosting that I installed.. is it possible to just add any entry to the iptables to let me execute the portmap and nfs correctly?

Thanks for your help and time
Reply With Quote
Reply

Bookmarks

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
postfix problems with smtp linkdeb Server Operation 13 15th March 2014 17:58
sending e-mail using mail() function linuxuser1 HOWTO-Related Questions 38 21st April 2009 12:20
Samba/LDAP + NFS Implementation vibranze Server Operation 2 21st August 2006 15:02
Postfix+MySQL Problem jasutton Installation/Configuration 1 15th June 2006 16:06
NFS Locking Failure and Updating solderboy Installation/Configuration 0 29th September 2005 21:59


All times are GMT +2. The time now is 00:59.


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