NFS server not running on M2008 - Mandriva

This is a discussion on NFS server not running on M2008 - Mandriva ; Hi, I'm having trouble setting up an NFS server on Mandriva 2008.0. During a fresh custom install on the test machine the server options were selected. I avoided using the Gui networking tools this time. The current stumbling block is ...

+ Reply to Thread
Results 1 to 9 of 9

Thread: NFS server not running on M2008

  1. NFS server not running on M2008

    Hi,

    I'm having trouble setting up an NFS server on Mandriva 2008.0.

    During a fresh custom install on the test machine the server
    options were selected. I avoided using the Gui networking
    tools this time.

    The current stumbling block is that the nfs-server daemon
    does not want to start.

    According to MCC -> System -> Manage system services by enabling or
    disabling them; nfs-server is stopped, despite "On boot" being
    checked. Clicking on Start gives;
    Stopping NFS kernel daemon
    Stopping rpc.mountd [FAILED]
    Stopping nfsd [FAILED]
    Unexporting directories for NFS kernel daemon...
    Exporting directories for NFS kernel daemon... exportfs: /etc screen>

    Any clues?


    --
    sig goes here...
    Peter D.

  2. Re: NFS server not running on M2008

    On Mon, 26 Nov 2007 12:47:14 +1100, Peter D. wrote:
    >
    > The current stumbling block is that the nfs-server daemon
    > does not want to start.
    >
    > Any clues?


    Only any clues found in /var/log/messages.

    What is contents of
    cat /etc/exports
    cat /etc/fstab
    cat /etc/hosts.allow
    cat /etc/hosts.deny

    chkconfig --list


  3. Re: NFS server not running on M2008

    Bit Twister wrote:

    > On Mon, 26 Nov 2007 12:47:14 +1100, Peter D. wrote:
    >>
    >> The current stumbling block is that the nfs-server daemon
    >> does not want to start.
    >>
    >> Any clues?

    >
    > Only any clues found in /var/log/messages.


    Good idea, but unfortunately I'm not cluey [spelling?] enough to
    reliably notice a clue even if it bites me. 8-(

    These look like candidates...


    Nov 26 11:52:58 x2 drakxservices[9596]: GP_LANG="UTF-8" service nfs-common
    restart

    Nov 26 11:52:59 x2 rpc.statd[9840]: statd running as root.
    chown /var/lib/nfs/sm to choose different user

    Nov 26 12:02:20 x2 exportfs[10227]: /etc/exports:1: syntax error: bad option
    list

    Who should own /var/lib/nfs/sm ? It is a directory, root owns it and
    I haven't touched it. As far as I can tell it is just as urpmi made it.
    BTW my msec security level is high.

    > What is contents of
    > cat /etc/exports
    > cat /etc/fstab
    > cat /etc/hosts.allow
    > cat /etc/hosts.deny
    >
    > chkconfig --list


    ,----[ /etc/exports ]
    | # /etc/exports: the access control list for filesystems which may be
    | # exported
    | # to NFS clients. See exports(5).
    | #/mnt/hd/2008.0 192.168.2.3(sync, no_root_squash, ro)
    | /mnt/hd 192.168.2.(sync, no_root_squash, ro)
    `----

    The commented out line did not work either (same error message).
    /mnt/hd is a mount point, /mnt/hd/2008.0 is not, but it is a
    directory.

    ,----[ /etc/fstab ]
    | /dev/sda5 / ext3 relatime 1 1
    | /dev/sda6 /home ext3 relatime 1 2
    | /dev/cdrom /media/cdrom auto
    | umask=0022,users,iocharset=utf8,noauto,ro,exec 0 0 /dev/fd0 /media/floppy
    | auto umask=0022,users,iocharset=utf8,noauto,exec,flush 0 0 /dev/sda3
    | /mnt/hd ext3 relatime 1 2 /dev/sda4 /mnt/test ext3 relatime 1 2
    | /dev/sda2 /mnt/tv reiserfs notail,relatime,user_xattr 1 2
    | none /proc proc defaults 0 0
    | /dev/sda9 /usr ext3 relatime 1 2
    | /dev/sda8 /var ext3 relatime 1 2
    | /dev/sda7 swap swap defaults 0 0
    `----

    ,----[ /etc/hosts.allow ]
    | # /etc/host.allow
    | # Peter, Sat Feb 1 12:54:41 EST 2003
    | #
    | # hosts.allow This file describes the names of the hosts which are
    | #allowed to use the local INET services, as decided
    | #by the '/usr/sbin/tcpd' server.
    | #
    | # See tcpd(8) and hosts_access(5) for a description.
    |
    | #(ALL EXCEPT in.fingerd) EXCEPT in.identd : ALL : (safe_finger -l @%h
    | #2>&1| \
    | # /bin/mail -s "%d-%h %u" root) &
    |
    | # leafnode : 127.0.0.1
    | # http-rman : 192.168.0.7
    | # portmap : 192.168.0.7
    | # lockd : 192.168.0.7
    | # mountd : 192.168.0.7
    | # rquotad : 192.168.0.7
    | # statd : 192.168.0.7
    | # ALL : 192.168.0.13, 192.168.0.7, 127.0.0.1
    | # Peter, Thu Apr 22 16:19:36 EST 2004
    | ALL : 127.0.0.1, 192.168.2.3
    | # nfsd : 192.168.2.3
    | # sshd : 192.168.2.3
    |
    `----

    ,----[ /etc/hosts.deny ]
    | # /etc/hosts.deny
    | # Peter, Sat Feb 1 12:55:03 EST 2003
    | #
    | # hosts.deny This file describes the names of the hosts which are
    | #*not* allowed to use the local INET services, as decided
    | #by the '/usr/sbin/tcpd' server.
    | #
    | # The portmap line is redundant, but it is left to remind you that
    | # the new secure portmap uses hosts.deny and hosts.allow. In particular
    | # you should know that NFS uses portmap!
    |
    | # See tcpd(8) and hosts_access(5) for a description.
    |
    | # http-rman : ALL EXCEPT LOCAL
    | # ALL : ALL EXCEPT LOCAL
    | # Peter, Sat Jul 13 20:10:59 EST 2002
    | ALL : ALL
    |
    | # leafnokde : ALL
    | # portmap : ALL
    | # lockd : ALL
    | # mountd : ALL
    | # rquotad : ALL
    | # statd : ALL
    | # ALL : ALL EXCEPT LOCAL
    |
    `----

    ,----[ /etc/hosts ]
    | #127.0.0.1 x2.test.invalid x2 localhost
    | 127.0.0.1 localhost
    | 192.168.2.2 x2.test.invalid x2
    | 192.168.2.1 nb5580.test.invalid nb5580
    | 192.168.2.3 card.test.invalid card
    `----

    Both computers (x2 and card) have Ethernet connections to the
    four port ADSL modem / router / firewall (nb5580).

    Both computers can ping each other.

    Which ports need to be open for nfs? The Drake GUI helper
    does not offer NFS as an option. Grepping /etc/services
    suggests 2049.

    [x2] /etc
    ->grep nfs services
    nfs 2049/tcp nfsd
    nfs 2049/udp nfsd
    [x2] /etc
    ->chkconfig --list
    acpi 0ff 1ff 2n 3n 4n 5n 6ff
    acpid 0ff 1ff 2ff 3n 4n 5n 6ff
    alsa 0ff 1ff 2n 3n 4n 5n 6ff
    anacron 0ff 1ff 2n 3n 4n 5n 6ff
    atd 0ff 1ff 2ff 3n 4n 5n 6ff
    avahi-daemon 0ff 1ff 2ff 3ff 4ff 5ff 6ff
    consolekit 0ff 1ff 2n 3n 4n 5n 6ff
    crond 0ff 1ff 2n 3n 4n 5n 6ff
    dm 0ff 1ff 2ff 3ff 4ff 5n 6ff
    haldaemon 0ff 1ff 2ff 3n 4n 5n 6ff
    harddrake 0ff 1ff 2ff 3n 4n 5n 6ff
    iptables 0ff 1ff 2n 3n 4n 5n 6ff
    keytable 0ff 1ff 2n 3n 4n 5n 6ff
    kheader 0ff 1ff 2n 3n 4ff 5n 6ff
    ksysguard 0ff 1ff 2ff 3ff 4ff 5ff 6ff
    lisa 0ff 1ff 2ff 3n 4n 5n 6ff
    lm_sensors 0ff 1ff 2n 3n 4n 5n 6ff
    mandi 0ff 1ff 2n 3n 4n 5n 6ff
    messagebus 0ff 1ff 2n 3n 4n 5n 6ff
    netconsole 0ff 1ff 2ff 3ff 4ff 5ff 6ff
    netfs 0ff 1ff 2ff 3n 4n 5n 6ff
    network 0ff 1ff 2n 3n 4n 5n 6ff
    network-up 0ff 1ff 2n 3n 4n 5n 6ff
    nfs-common 0ff 1ff 2ff 3n 4n 5n 6ff
    nfs-server 0ff 1ff 2ff 3n 4n 5n 6ff
    ntpd 0ff 1ff 2n 3n 4n 5n 6ff
    numlock 0ff 1ff 2ff 3n 4n 5n 6ff
    partmon 0ff 1ff 2ff 3n 4n 5n 6ff
    portmap 0ff 1ff 2ff 3n 4n 5n 6ff
    postfix 0ff 1ff 2n 3n 4n 5n 6ff
    resolvconf 0ff 1ff 2n 3n 4n 5n 6ff
    shorewall 0ff 1ff 2n 3n 4n 5n 6ff
    smartd 0ff 1ff 2n 3n 4n 5n 6ff
    smb 0ff 1ff 2ff 3ff 4ff 5ff 6ff
    sound 0ff 1ff 2n 3n 4n 5n 6ff
    sshd 0ff 1ff 2n 3n 4n 5n 6ff
    syslog 0ff 1ff 2n 3n 4n 5n 6ff
    xinetd 0ff 1ff 2ff 3n 4n 5n 6ff

    xinetd based services:
    cvs: off
    rsync: off
    sshd-xinetd: off
    [x2] /etc
    ->


    --
    sig goes here...
    Peter D.

  4. Re: NFS server not running on M2008

    On Mon, 26 Nov 2007 15:59:01 +1100, Peter D. wrote:
    > Bit Twister wrote:
    >>
    >> Only any clues found in /var/log/messages.

    >
    > Good idea, but unfortunately I'm not cluey [spelling?] enough to
    > reliably notice a clue even if it bites me. 8-(
    >
    > These look like candidates...
    >
    >
    > Nov 26 11:52:58 x2 drakxservices[9596]: GP_LANG="UTF-8" service nfs-common
    > restart
    >
    > Nov 26 11:52:59 x2 rpc.statd[9840]: statd running as root.
    > chown /var/lib/nfs/sm to choose different user
    >
    > Nov 26 12:02:20 x2 exportfs[10227]: /etc/exports:1: syntax error: bad option
    > list


    There is the first possible winner needing fixing.


    > Who should own /var/lib/nfs/sm ?


    root does on my system.

    > It is a directory, root owns it and
    > I haven't touched it. As far as I can tell it is just as urpmi made it.


    I find changing owners, group, permissions is not the first thing to
    be mucking around with.

    > BTW my msec security level is high.



    >
    >> What is contents of
    >> cat /etc/exports
    >> cat /etc/fstab
    >> cat /etc/hosts.allow
    >> cat /etc/hosts.deny
    >>
    >> chkconfig --list

    >
    > ,----[ /etc/exports ]
    > | # /etc/exports: the access control list for filesystems which may be
    > | # exported
    > | # to NFS clients. See exports(5).
    > | #/mnt/hd/2008.0 192.168.2.3(sync, no_root_squash, ro)
    > | /mnt/hd 192.168.2.(sync, no_root_squash, ro)
    > `----


    You need to spend a little time reading
    man exports
    man fstab
    man mount

    The first un-commented argument in exports sucks,
    not to mention 6'th line in /etc/fstab, the one above the /mnt/tv line.

    Hope you do not reboot your system.


    > The commented out line did not work either (same error message).
    > /mnt/hd is a mount point, /mnt/hd/2008.0 is not, but it is a directory.


    Not unless I can see a mount point tied to a partition in /etc/fstab
    You might want to look at working mount points and compare it to your
    /mnt entries.

    >
    > ,----[ /etc/fstab ]
    > | /dev/sda5 / ext3 relatime 1 1
    > | /dev/sda6 /home ext3 relatime 1 2
    > | /dev/cdrom /media/cdrom auto
    > | umask=0022,users,iocharset=utf8,noauto,ro,exec 0 0 /dev/fd0 /media/floppy
    > | auto umask=0022,users,iocharset=utf8,noauto,exec,flush 0 0 /dev/sda3
    > | /mnt/hd ext3 relatime 1 2 /dev/sda4 /mnt/test ext3 relatime 1 2
    > | /dev/sda2 /mnt/tv reiserfs notail,relatime,user_xattr 1 2
    > | none /proc proc defaults 0 0
    > | /dev/sda9 /usr ext3 relatime 1 2
    > | /dev/sda8 /var ext3 relatime 1 2
    > | /dev/sda7 swap swap defaults 0 0
    > `----
    >
    > ,----[ /etc/hosts.allow ]
    > | # /etc/host.allow
    > | # Peter, Sat Feb 1 12:54:41 EST 2003
    > | #
    > | # hosts.allow This file describes the names of the hosts which are
    > | #allowed to use the local INET services, as decided
    > | #by the '/usr/sbin/tcpd' server.
    > | #
    > | # See tcpd(8) and hosts_access(5) for a description.
    > |
    > | #(ALL EXCEPT in.fingerd) EXCEPT in.identd : ALL : (safe_finger -l @%h
    > | #2>&1| \
    > | # /bin/mail -s "%d-%h %u" root) &
    > |
    > | # leafnode : 127.0.0.1
    > | # http-rman : 192.168.0.7
    > | # portmap : 192.168.0.7
    > | # lockd : 192.168.0.7
    > | # mountd : 192.168.0.7
    > | # rquotad : 192.168.0.7
    > | # statd : 192.168.0.7
    > | # ALL : 192.168.0.13, 192.168.0.7, 127.0.0.1
    > | # Peter, Thu Apr 22 16:19:36 EST 2004
    > | ALL : 127.0.0.1, 192.168.2.3
    > | # nfsd : 192.168.2.3
    > | # sshd : 192.168.2.3
    > |
    > `----


    I'll suggest

    ALL: LOCAL, .test.invalid
    #*************** end hosts.allow ***********************


    >
    > ,----[ /etc/hosts.deny ]
    > | # /etc/hosts.deny
    > | # Peter, Sat Feb 1 12:55:03 EST 2003
    > | #
    > | # hosts.deny This file describes the names of the hosts which are
    > | #*not* allowed to use the local INET services, as decided
    > | #by the '/usr/sbin/tcpd' server.
    > | #
    > | # The portmap line is redundant, but it is left to remind you that
    > | # the new secure portmap uses hosts.deny and hosts.allow. In particular
    > | # you should know that NFS uses portmap!
    > |
    > | # See tcpd(8) and hosts_access(5) for a description.
    > |
    > | # http-rman : ALL EXCEPT LOCAL
    > | # ALL : ALL EXCEPT LOCAL
    > | # Peter, Sat Jul 13 20:10:59 EST 2002
    > | ALL : ALL
    > |
    > | # leafnokde : ALL
    > | # portmap : ALL
    > | # lockd : ALL
    > | # mountd : ALL
    > | # rquotad : ALL
    > | # statd : ALL
    > | # ALL : ALL EXCEPT LOCAL
    > |
    > `----


    I'll suggest


    ALL: ALL:\
    spawn ( \
    /bin/echo -e "\n\
    TCP Wrappers\: Connection Refused\n\
    By\: $(uname -n)\n\
    Process\: %d (pid %p)\n\
    \n\
    User\: %u\n\
    Host\: %c\n\
    Date\: $(date)\n\
    " | /bin/mail -s \"$(uname -n)\" root ) & : DENY

    #*************** end hosts.deny ***********************



    >
    > ,----[ /etc/hosts ]
    > | #127.0.0.1 x2.test.invalid x2 localhost
    > | 127.0.0.1 localhost
    > | 192.168.2.2 x2.test.invalid x2
    > | 192.168.2.1 nb5580.test.invalid nb5580
    > | 192.168.2.3 card.test.invalid card
    > `----
    >
    > Both computers (x2 and card) have Ethernet connections to the
    > four port ADSL modem / router / firewall (nb5580).
    >
    > Both computers can ping each other.
    >
    > Which ports need to be open for nfs? The Drake GUI helper
    > does not offer NFS as an option. Grepping /etc/services
    > suggests 2049.
    >
    > [x2] /etc
    > ->grep nfs services
    > nfs 2049/tcp nfsd
    > nfs 2049/udp nfsd


    Then I would take /etc/services word for it.


    > [x2] /etc
    > ->chkconfig --list
    > netfs 0ff 1ff 2ff 3n 4n 5n 6ff
    > network 0ff 1ff 2n 3n 4n 5n 6ff
    > network-up 0ff 1ff 2n 3n 4n 5n 6ff
    > nfs-common 0ff 1ff 2ff 3n 4n 5n 6ff
    > nfs-server 0ff 1ff 2ff 3n 4n 5n 6ff
    > portmap 0ff 1ff 2ff 3n 4n 5n 6ff


    Ok, I would accept those. I need to do a bit of research some because
    on 2007.x the daemon/services I knew needed to be running were netfs,
    nfslock, nfs, and portmap.


    Fix your fstab then exports, re-start those failed nfs servers.

    If you get stumped, there is http://groups.google.com/advanced_group_search
    nfs exports in the first box, bit twister in the author box.

    and check a few to

  5. Re: NFS server not running on M2008

    On Mon, 26 Nov 2007 06:00:08 GMT, Bit Twister wrote:
    >> ,----[ /etc/exports ]
    >> | # /etc/exports: the access control list for filesystems which may be
    >> | # exported
    >> | # to NFS clients. See exports(5).
    >> | #/mnt/hd/2008.0 192.168.2.3(sync, no_root_squash, ro)
    >> | /mnt/hd 192.168.2.(sync, no_root_squash, ro)
    >> `----

    >
    > You need to spend a little time reading
    > man exports
    > man fstab
    > man mount
    >
    > The first un-commented argument in exports sucks,
    > not to mention 6'th line in /etc/fstab, the one above the /mnt/tv line.


    Dang, nothing like hitting the send key, and noticing I needed to go
    back and remove the
    "The first un-commented argument in exports sucks, " line.

    You get fstab fixed and it may just work.


  6. Re: NFS server not running on M2008

    On Mon, 26 Nov 2007 06:19:55 +0000, Bit Twister wrote:

    > On Mon, 26 Nov 2007 06:00:08 GMT, Bit Twister wrote:
    >>> ,----[ /etc/exports ]
    >>> | # /etc/exports: the access control list for filesystems which may be
    >>> | # exported
    >>> | # to NFS clients. See exports(5).
    >>> | #/mnt/hd/2008.0 192.168.2.3(sync, no_root_squash, ro)
    >>> | /mnt/hd 192.168.2.(sync, no_root_squash, ro)
    >>> `----

    >>
    >> You need to spend a little time reading
    >> man exports
    >> man fstab
    >> man mount
    >>
    >> The first un-commented argument in exports sucks,
    >> not to mention 6'th line in /etc/fstab, the one above the /mnt/tv line.

    >
    > Dang, nothing like hitting the send key, and noticing I needed to go
    > back and remove the
    > "The first un-commented argument in exports sucks, " line.


    "192.168.2." looks like a syntax error to me. 192.168.2.0/24 maybe?

    http://linux.die.net/man/5/exports


    --


    --
    Posted via a free Usenet account from http://www.teranews.com


  7. Re: NFS server not running on M2008

    on Monday 26 November 2007 17:00
    in the Usenet newsgroup alt.os.linux.mandriva
    Bit Twister wrote:

    > On Mon, 26 Nov 2007 15:59:01 +1100, Peter D. wrote:
    >> Bit Twister wrote:


    [snip]
    >> Nov 26 11:52:59 x2 rpc.statd[9840]: statd running as root.
    >> chown /var/lib/nfs/sm to choose different user
    >>
    >> Nov 26 12:02:20 x2 exportfs[10227]: /etc/exports:1: syntax error: bad
    >> option list

    >
    > There is the first possible winner needing fixing.


    It is strange that it is complaining about the option list
    rather than the address. It failed with "192.168.2.3", which
    I believe is correct. It failed with "192.168.2.", which
    was a blind hope. I will try "192.168.2.0/24".

    I'll also remove the spaces from the option list.

    Back in the days when I was taught to type, a comma was always
    followed by white space. Anything else was just wrong.

    Clicking on "Start", it would appear that some programmers
    are ill educated geeks. NFS-server is now running. I can't
    find any reference to, "no white space in the option list",
    in the man pages. Although, the examples do have ugly
    formatting.

    >> Who should own /var/lib/nfs/sm ?

    >
    > root does on my system.
    >
    >> It is a directory, root owns it and
    >> I haven't touched it. As far as I can tell it is just as urpmi made it.

    >
    > I find changing owners, group, permissions is not the first thing to
    > be mucking around with.


    The error was suggestive, but I'll leave it alone.

    >> BTW my msec security level is high.

    >
    >
    >>
    >>> What is contents of
    >>> cat /etc/exports
    >>> cat /etc/fstab
    >>> cat /etc/hosts.allow
    >>> cat /etc/hosts.deny
    >>>
    >>> chkconfig --list

    >>
    >> ,----[ /etc/exports ]
    >> | # /etc/exports: the access control list for filesystems which may be
    >> | # exported
    >> | # to NFS clients. See exports(5).
    >> | #/mnt/hd/2008.0 192.168.2.3(sync, no_root_squash, ro)
    >> | /mnt/hd 192.168.2.(sync, no_root_squash, ro)
    >> `----

    >
    > You need to spend a little time reading
    > man exports
    > man fstab
    > man mount
    >
    > The first un-commented argument in exports sucks,


    "Sync"? Or the aesthetically necessary space between arguments?


    > not to mention 6'th line in /etc/fstab, the one above the /mnt/tv line.
    >
    > Hope you do not reboot your system.


    Every morning.

    >> The commented out line did not work either (same error message).
    >> /mnt/hd is a mount point, /mnt/hd/2008.0 is not, but it is a directory.

    >
    > Not unless I can see a mount point tied to a partition in /etc/fstab
    > You might want to look at working mount points and compare it to your
    > /mnt entries.
    >
    >>
    >> ,----[ /etc/fstab ]

    first
    >> | /dev/sda5 / ext3 relatime 1 1

    second
    >> | /dev/sda6 /home ext3 relatime 1 2

    third
    >> | /dev/cdrom /media/cdrom auto
    >> | umask=0022,users,iocharset=utf8,noauto,ro,exec 0 0 /dev/fd0


    Knode slipped in a line wrap. 8-(

    fourth
    >> | /media/floppy auto umask=0022,users,iocharset=utf8,noauto,exec,flush 0
    >> | 0


    Bloody Knode. A line wrap and a line join. 8-(((

    fifth
    >> | /dev/sda3 /mnt/hd ext3 relatime 1 2


    Bloody stupid Knode. 8-(((((

    sixth
    >> | /dev/sda4 /mnt/test ext3 relatime 1 2


    The sixth line (sans Knode mangling) is as Mandriva made it.

    >> | /dev/sda2 /mnt/tv reiserfs notail,relatime,user_xattr 1 2

    [snip]

    >> | ALL : 127.0.0.1, 192.168.2.3
    >> | # nfsd : 192.168.2.3
    >> | # sshd : 192.168.2.3
    >> |
    >> `----

    >
    > I'll suggest
    >
    > ALL: LOCAL, .test.invalid
    > #*************** end hosts.allow ***********************


    O.K. Should work either way.

    >> ,----[ /etc/hosts.deny ]

    [snip]

    > I'll suggest
    >
    >
    > ALL: ALL:\
    > spawn ( \

    [snip]

    I'll try it.

    > If you get stumped, there is
    > http://groups.google.com/advanced_group_search nfs exports in the first
    > box, bit twister in the author box.


    I saw "newbie networking" a few days ago.

    > and check a few to


    Missing half a sentence?

    After a bit of stuffing around, correcting a few spelling mistakes,
    and opening ports 2048, 111 and 33605 it works. How did 33605 get
    chosen? It is not obvious to me.

    Thank you for your help BT.


    --
    sig goes here...
    Peter D.

  8. Re: NFS server not running on M2008

    Peter D. wrote:
    > Hi,
    >
    > I'm having trouble setting up an NFS server on Mandriva 2008.0.
    >
    > During a fresh custom install on the test machine the server
    > options were selected. I avoided using the Gui networking
    > tools this time.
    >
    > The current stumbling block is that the nfs-server daemon
    > does not want to start.
    >
    > According to MCC -> System -> Manage system services by enabling or
    > disabling them; nfs-server is stopped, despite "On boot" being
    > checked. Clicking on Start gives;
    > Stopping NFS kernel daemon
    > Stopping rpc.mountd [FAILED]
    > Stopping nfsd [FAILED]
    > Unexporting directories for NFS kernel daemon...
    > Exporting directories for NFS kernel daemon... exportfs: /etc > screen>
    >
    > Any clues?
    >
    >

    '
    I had the most horrible time with 2008 setting and using shares with
    nfs, using MCC. Then I read that resolvconf can bork nsf and the writer
    had tried just turning it off. I have turned it and got some help
    then I notice that portmap wasn't starting!!

    Long / short I started it and
    put a check mark beside portmap in MCC-->System -->
    Services and my problems went away. Try that




  9. Re: NFS server not running on M2008

    On 2007-11-26, Peter D. wrote:
    > ...
    >
    > After a bit of stuffing around, correcting a few spelling mistakes,
    > and opening ports 2048, 111 and 33605 it works. How did 33605 get
    > chosen? It is not obvious to me.


    By default, NFS uses a random port for some functions. That
    makes it difficult to open the right ports in the
    firewalls. A few years ago, I had to adjust Snorewall every
    time the NFS server booted. In file /etc/sysconfig/nfs, you
    can set the MOUNTD, LOCKD, STATD, and STATD_OUTGOING ports
    to fixed numbers. (Make sure to make STATD_OUTGOING
    different from STATD.)

    HTH

    --
    Robert Riches
    spamtrap42@verizon.net
    (Yes, that is one of my email addresses.)

+ Reply to Thread