NFS Problem

Discussion in 'Server Operation' started by jeo_84, Mar 16, 2008.

  1. jeo_84

    jeo_84 New Member

    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
     
  2. topdog

    topdog New Member HowtoForge Supporter

    Do you have a firewall running ? Is selinux turned on ?
    whats the output of
    Code:
    sestatus
    Code:
    rpcinfo -p localhost
     
  3. jeo_84

    jeo_84 New Member

    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
     
  4. jeo_84

    jeo_84 New Member

    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
     
  5. chipsafts

    chipsafts New Member

    you need to check your firewall settings to see if port 111 is allowed to be accessed.
     
  6. jeo_84

    jeo_84 New Member

    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?
     
  7. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    What's the output of
    Code:
    iptables -L
    ?
     
  8. jeo_84

    jeo_84 New Member

    # 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 dpt:pop3
    tcp -- anywhere souler-srv-01.soul-ertechnologies.com tcp spt:pop3
    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
     
  9. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    Please switch off the firewall and try again.
     
  10. jeo_84

    jeo_84 New Member

    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
     
  11. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    Open the ports 111 (TCP and UDP) and 2049 (TCP and UDP) in your control panel.
     

Share This Page