nfsd on geexbox?

Home Forums GeeXboX on ARM SoCs nfsd on geexbox?

Tagged: 

This topic contains 17 replies, has 3 voices, and was last updated by  Warped Rudi 6 months, 3 weeks ago.

Viewing 3 posts - 16 through 18 (of 18 total)
  • Author
    Posts
  • #12435

    grisu68
    Participant

    I have installed both files.
    Even after a reboot the rpcbind was not started by systemd.
    root@geexbox:~# systemctl status rpcbind.service -l
    ? rpcbind.service – RPC Bind
    Loaded: loaded (/usr/lib/systemd/system/rpcbind.service; enabled; vendor preset: enabled)
    Active: failed (Result: start-limit) since Mon 2018-10-29 17:19:59 GMT; 55s ago
    Docs: man:rpcbind(8)
    Process: 1043 ExecStart=/usr/sbin/rpcbind $RPCBIND_OPTIONS -w -f (code=exited, status=1/FAILURE)
    Main PID: 1043 (code=exited, status=1/FAILURE)

    Oct 29 17:19:59 geexbox rpcbind[1043]: usage: rpcbind [-adhilswf]
    Oct 29 17:19:59 geexbox systemd[1]: rpcbind.service: Main process exited, code=exited, status=1/FAILURE
    Oct 29 17:19:59 geexbox systemd[1]: Failed to start RPC Bind.
    Oct 29 17:19:59 geexbox systemd[1]: rpcbind.service: Unit entered failed state.
    Oct 29 17:19:59 geexbox systemd[1]: rpcbind.service: Failed with result ‘exit-code’.
    Oct 29 17:19:59 geexbox systemd[1]: rpcbind.service: Start request repeated too quickly.
    Oct 29 17:19:59 geexbox systemd[1]: Failed to start RPC Bind.
    Oct 29 17:19:59 geexbox systemd[1]: rpcbind.service: Failed with result ‘start-limit’.

    However rpcbind rpc.mountd and rpc.nfsd can be started manually.
    root@geexbox:/var/lib/nfs# ps | grep rpc
    42 root [rpciod]
    1397 root rpcbind
    1406 root rpc.mountd
    1468 root grep rpc

    root@geexbox:/usr/sbin# ps |grep nfs
    45 root [nfsiod]
    1454 root [nfsd4]
    1455 root [nfsd4_callbacks]
    1459 root [nfsd]
    1460 root [nfsd]
    1461 root [nfsd]
    1462 root [nfsd]
    1463 root [nfsd]
    1464 root [nfsd]
    1465 root [nfsd]
    1466 root [nfsd]
    1486 root grep nfs

    root@geexbox:/usr/sbin# rpcinfo
    program version netid address service owner
    100000 4 local /var/run/rpcbind.sock portmapper superuser
    100000 3 local /var/run/rpcbind.sock portmapper superuser

    The exports are announced but the client has no permission to access the files.
    The necessary packages for a NFS server seem to be working and I have to do now some configuration work …
    Thank you again for providing the packages.

    #12436

    grisu68
    Participant

    I am sorry for the late feedback, but I want to be sure that not a configuration error leads to the described issues.
    The option -w (warmstart) is not supported for rpcbind and is in contradiction to “usage: rpcbind [-adhilswf]” This has to be considered in the rpcbind.service file and is easy to solve.

    The severe issue is that mount requests from any client end always with a “segmentation fault” of rpc.mountd.

    The last lines of strace for rpc.mountd:

    socket(PF_FILE, SOCK_DGRAM|SOCK_CLOEXEC, 0) = 0
    connect(0, {sa_family=AF_FILE, path="/dev/log"}, 110) = 0
    send(0, "<29>Nov 26 22:49:48 rpc.mountd[4290]: Version 1.3.0 starting", 60, MSG_NOSIGNAL) = 60
    write(2, "rpc.mountd: ", 12rpc.mountd: )            = 12
    write(2, "Version 1.3.0 starting", 22Version 1.3.0 starting)  = 22
    write(2, "\n", 1
    )                       = 1
    select(1024, [3 4 5 6 7], NULL, NULL, NULL) = 1 (in [6])
    recvmsg(6, {msg_name(16)={sa_family=AF_INET, sin_port=htons(34681), sin_addr=inet_addr("192.168.110.123")}, msg_iov(1)=[{"I!\317e\0\0\0\0\0\0\0\2\0\1\206\245\0\0\0\3\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0mon\nomirr\t\t808/tcp\t\tomirrd\t\t# online mirror\nomirr\t\t808/udp\t\tomirrd\ncustoms\t\t1001/tcp\t\t\t# pmake customs server\ncustoms\t\t1001/udp\nskkserv\t\t1178/tcp\t\t\t# skk jisho server port\npredict\t\t1210/udp\t\t\t# predict -- satellite tracking\nrmtcfg\t\t1236/tcp\t\t\t# Gracilis Packeten remote config server\nwipld\t\t1300/tcp\t\t\t# Wipl network monitor\nxtel\t\t1313/tcp\t\t\t# french minitel\nxtelw\t\t1314/tcp\t\t\t# french minitel\nsupport\t\t1529/tcp\t\t\t# GNATS\ncfinger\t\t2003/tcp\t\t\t# GNU Finger\nfrox\t\t2121/tcp\t\t\t# frox: caching ftp proxy\nninstall\t2150/tcp\t\t\t# ninstall service\nninstall\t2150/udp\nzebrasrv\t2600/tcp\t\t\t# zebra service\nzebra\t\t2601/tcp\t\t\t# zebra vty\nripd\t\t2602/tcp\t\t\t# ripd vty (zebra)\nripngd\t\t2603/tcp\t\t\t# ripngd vty (zebra)\nospfd\t\t2604/tcp\t\t\t# ospfd vty (zebra)\nbgpd\t\t2605/tcp\t\t\t# bgpd vty (zebra)\nospf6d\t\t2606/tcp\t\t\t# ospf6d vty (zebra)\nospfapi\t\t2607/tcp\t\t\t# OSPF-API\nisisd\t\t2608/tcp\t\t\t# ISISd vty (zebra)\nafbackup\t2988/tcp\t\t\t# Afbackup system\nafbackup\t2988/udp\nafmbackup\t2989/tcp\t\t\t# "..., 8800}], msg_controllen=24, {cmsg_len=24, cmsg_level=SOL_IP, cmsg_type=, ...}, msg_flags=0}, 0) = 40
    sendmsg(6, {msg_name(16)={sa_family=AF_INET, sin_port=htons(34681), sin_addr=inet_addr("192.168.110.123")}, msg_iov(1)=[{"I!\317e\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 24}], msg_controllen=24, {cmsg_len=24, cmsg_level=SOL_IP, cmsg_type=, ...}, msg_flags=0}, 0) = 24
    select(1024, [3 4 5 6 7], NULL, NULL, NULL) = 1 (in [6])
    recvmsg(6, {msg_name(16)={sa_family=AF_INET, sin_port=htons(732), sin_addr=inet_addr("192.168.110.123")}, msg_iov(1)=[{"\5\221\344 \0\0\0\0\0\0\0\2\0\1\206\245\0\0\0\3\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0mon\nomirr\t\t808/tcp\t\tomirrd\t\t# online mirror\nomirr\t\t808/udp\t\tomirrd\ncustoms\t\t1001/tcp\t\t\t# pmake customs server\ncustoms\t\t1001/udp\nskkserv\t\t1178/tcp\t\t\t# skk jisho server port\npredict\t\t1210/udp\t\t\t# predict -- satellite tracking\nrmtcfg\t\t1236/tcp\t\t\t# Gracilis Packeten remote config server\nwipld\t\t1300/tcp\t\t\t# Wipl network monitor\nxtel\t\t1313/tcp\t\t\t# french minitel\nxtelw\t\t1314/tcp\t\t\t# french minitel\nsupport\t\t1529/tcp\t\t\t# GNATS\ncfinger\t\t2003/tcp\t\t\t# GNU Finger\nfrox\t\t2121/tcp\t\t\t# frox: caching ftp proxy\nninstall\t2150/tcp\t\t\t# ninstall service\nninstall\t2150/udp\nzebrasrv\t2600/tcp\t\t\t# zebra service\nzebra\t\t2601/tcp\t\t\t# zebra vty\nripd\t\t2602/tcp\t\t\t# ripd vty (zebra)\nripngd\t\t2603/tcp\t\t\t# ripngd vty (zebra)\nospfd\t\t2604/tcp\t\t\t# ospfd vty (zebra)\nbgpd\t\t2605/tcp\t\t\t# bgpd vty (zebra)\nospf6d\t\t2606/tcp\t\t\t# ospf6d vty (zebra)\nospfapi\t\t2607/tcp\t\t\t# OSPF-API\nisisd\t\t2608/tcp\t\t\t# ISISd vty (zebra)\nafbackup\t2988/tcp\t\t\t# Afbackup system\nafbackup\t2988/udp\nafmbackup\t2989/tcp\t\t\t# "..., 8800}], msg_controllen=24, {cmsg_len=24, cmsg_level=SOL_IP, cmsg_type=, ...}, msg_flags=0}, 0) = 40
    sendmsg(6, {msg_name(16)={sa_family=AF_INET, sin_port=htons(732), sin_addr=inet_addr("192.168.110.123")}, msg_iov(1)=[{"\5\221\344 \0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 24}], msg_controllen=24, {cmsg_len=24, cmsg_level=SOL_IP, cmsg_type=, ...}, msg_flags=0}, 0) = 24
    select(1024, [3 4 5 6 7], NULL, NULL, NULL) = 1 (in [6])
    recvmsg(6, {msg_name(16)={sa_family=AF_INET, sin_port=htons(732), sin_addr=inet_addr("192.168.110.123")}, msg_iov(1)=[{"\6\221\344 \0\0\0\0\0\0\0\2\0\1\206\245\0\0\0\3\0\0\0\1\0\0\0\1\0\0\0 \0\0Rj\0\0\0\7geexbox\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\n/mnt/test1\0\0r\t\t808/udp\t\tomirrd\ncustoms\t\t1001/tcp\t\t\t# pmake customs server\ncustoms\t\t1001/udp\nskkserv\t\t1178/tcp\t\t\t# skk jisho server port\npredict\t\t1210/udp\t\t\t# predict -- satellite tracking\nrmtcfg\t\t1236/tcp\t\t\t# Gracilis Packeten remote config server\nwipld\t\t1300/tcp\t\t\t# Wipl network monitor\nxtel\t\t1313/tcp\t\t\t# french minitel\nxtelw\t\t1314/tcp\t\t\t# french minitel\nsupport\t\t1529/tcp\t\t\t# GNATS\ncfinger\t\t2003/tcp\t\t\t# GNU Finger\nfrox\t\t2121/tcp\t\t\t# frox: caching ftp proxy\nninstall\t2150/tcp\t\t\t# ninstall service\nninstall\t2150/udp\nzebrasrv\t2600/tcp\t\t\t# zebra service\nzebra\t\t2601/tcp\t\t\t# zebra vty\nripd\t\t2602/tcp\t\t\t# ripd vty (zebra)\nripngd\t\t2603/tcp\t\t\t# ripngd vty (zebra)\nospfd\t\t2604/tcp\t\t\t# ospfd vty (zebra)\nbgpd\t\t2605/tcp\t\t\t# bgpd vty (zebra)\nospf6d\t\t2606/tcp\t\t\t# ospf6d vty (zebra)\nospfapi\t\t2607/tcp\t\t\t# OSPF-API\nisisd\t\t2608/tcp\t\t\t# ISISd vty (zebra)\nafbackup\t2988/tcp\t\t\t# Afbackup system\nafbackup\t2988/udp\nafmbackup\t2989/tcp\t\t\t# "..., 8800}], msg_controllen=24, {cmsg_len=24, cmsg_level=SOL_IP, cmsg_type=, ...}, msg_flags=0}, 0) = 88
    open("/var/lib/nfs/etab", O_RDONLY|O_LARGEFILE) = 9
    fstat64(9, {st_mode=S_IFREG|0644, st_size=223, ...}) = 0
    close(9)                                = 0
    lstat64("/mnt", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
    lstat64("/mnt/test1", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
    --- SIGSEGV (Segmentation fault) @ 0 (0) ---
    +++ killed by SIGSEGV +++
    Segmentation fault

    uname -a
    Linux geexbox 3.14.79 #1 SMP Wed Oct 17 04:05:39 IDT 2018 armv7l GNU/Linux
    lsmod | grep nfs
    nfsd 203440 8

    Any ideas?

    #12440

    Warped Rudi
    Keymaster

    To be honest, I’m not inclined to do further research on this. There are so many things I’m more interested in and currently I’m pretty much alone here :(. Also sorry for the late reply and a Happy New Year!

Viewing 3 posts - 16 through 18 (of 18 total)

You must be logged in to reply to this topic.