9.0 i386 Sys V statd Startup Fail
by rsmereka from LinuxQuestions.org on (#4XCM7)
Happy New Year,
I am near the end of completing an LFS i386 build and I wanted to include NFS client only package. I followed the BLFS section NFS-Utils-2.4.1.
I checked the kernel '.config' file which already had the client prerequisites in place. Also the group 'nogroup' and the user 'nobody' were also already in place. Configure and compilation completed properly. I ignored the section on the server configuration as well as the server boot script and the server config file (/etc/sysconfig/nfs-server). I did run the NFS client bootscript. I also ran the 'install-netfs' bootscript. I did not put any nfs mount entries in 'fstab' as I wanted to test a mount from the command line first. I rebooted and the daemon 'statd' fails to start. The only log file I could find with anything in it is 'daemon.log'. Here it is:
Code:Nov 28 14:25:13 lfs init: Switching to runlevel: 0
Nov 30 18:06:34 lfs init: Switching to runlevel: 0
Dec 1 14:16:35 lfs init: Switching to runlevel: 0
Dec 1 18:08:56 lfs init: Switching to runlevel: 0
Dec 1 18:10:09 lfs init: Switching to runlevel: 0
Dec 7 14:56:52 lfs init: Switching to runlevel: 0
Dec 8 13:27:31 lfs init: Switching to runlevel: 0
Dec 8 13:58:50 lfs init: Switching to runlevel: 6
Dec 8 14:21:33 lfs init: Switching to runlevel: 0
Dec 8 17:22:33 lfs init: Switching to runlevel: 0
Dec 8 17:44:50 lfs init: Switching to runlevel: 0
Dec 29 14:43:38 lfs init: Switching to runlevel: 0
Dec 30 14:39:54 lfs init: Switching to runlevel: 0
Dec 31 14:44:21 lfs init: Switching to runlevel: 6
Dec 31 14:45:02 lfs init: Switching to runlevel: 0
Jan 1 14:12:27 lfs init: Switching to runlevel: 6
Jan 1 14:18:12 lfs init: Switching to runlevel: 6
Jan 1 14:48:28 lfs init: Switching to runlevel: 0
Jan 1 18:00:07 lfs init: Switching to runlevel: 6
Jan 1 18:00:32 lfs rpc.statd[519]: Version 2.3.4 starting
Jan 1 18:00:32 lfs rpc.statd[519]: Flags: TI-RPC
Jan 1 18:00:32 lfs rpc.statd[519]: Failed to read /var/lib/nfs/state: Success
Jan 1 18:00:32 lfs rpc.statd[519]: Initializing NSM state
Jan 1 18:00:32 lfs rpc.statd[519]: Failed to register (statd, 1, udp): svc_reg() err: RPC: Remote system error - Connection refused
Jan 1 18:00:32 lfs rpc.statd[519]: Failed to register (statd, 1, tcp): svc_reg() err: RPC: Remote system error - Connection refused
Jan 1 18:00:32 lfs rpc.statd[519]: Failed to register (statd, 1, udp6): svc_reg() err: RPC: Remote system error - Connection refused
Jan 1 18:00:32 lfs rpc.statd[519]: Failed to register (statd, 1, tcp6): svc_reg() err: RPC: Remote system error - Connection refused
Jan 1 18:00:32 lfs rpc.statd[519]: failed to create RPC listeners, exiting
Jan 1 18:03:07 lfs init: Switching to runlevel: 6
Jan 1 18:03:31 lfs rpc.statd[537]: Version 2.3.4 starting
Jan 1 18:03:31 lfs rpc.statd[537]: Flags: TI-RPC
Jan 1 18:03:31 lfs rpc.statd[537]: Failed to register (statd, 1, udp): svc_reg() err: RPC: Remote system error - Connection refused
Jan 1 18:03:31 lfs rpc.statd[537]: Failed to register (statd, 1, tcp): svc_reg() err: RPC: Remote system error - Connection refused
Jan 1 18:03:31 lfs rpc.statd[537]: Failed to register (statd, 1, udp6): svc_reg() err: RPC: Remote system error - Connection refused
Jan 1 18:03:31 lfs rpc.statd[537]: Failed to register (statd, 1, tcp6): svc_reg() err: RPC: Remote system error - Connection refused
Jan 1 18:03:31 lfs rpc.statd[537]: failed to create RPC listeners, exiting
Jan 1 18:12:32 lfs rpc.statd[958]: Version 2.3.4 starting
Jan 1 18:12:32 lfs rpc.statd[958]: Failed to register (statd, 1, udp): svc_reg() err: RPC: Remote system error - Connection refused
Jan 1 18:12:32 lfs rpc.statd[958]: Failed to register (statd, 1, tcp): svc_reg() err: RPC: Remote system error - Connection refused
Jan 1 18:12:32 lfs rpc.statd[958]: Failed to register (statd, 1, udp6): svc_reg() err: RPC: Remote system error - Connection refused
Jan 1 18:12:32 lfs rpc.statd[958]: Failed to register (statd, 1, tcp6): svc_reg() err: RPC: Remote system error - Connection refused
Jan 1 18:12:32 lfs rpc.statd[958]: failed to create RPC listeners, exitingI have included the time period outside of Jan 1 for completeness. Statd is failing with 'connection refused'. The nfs client should not be connecting with anything. I am not sure why statd is starting on a client only system but I guess it has to do with notifying other computers.
Suggestions anyone?
TIA


I am near the end of completing an LFS i386 build and I wanted to include NFS client only package. I followed the BLFS section NFS-Utils-2.4.1.
I checked the kernel '.config' file which already had the client prerequisites in place. Also the group 'nogroup' and the user 'nobody' were also already in place. Configure and compilation completed properly. I ignored the section on the server configuration as well as the server boot script and the server config file (/etc/sysconfig/nfs-server). I did run the NFS client bootscript. I also ran the 'install-netfs' bootscript. I did not put any nfs mount entries in 'fstab' as I wanted to test a mount from the command line first. I rebooted and the daemon 'statd' fails to start. The only log file I could find with anything in it is 'daemon.log'. Here it is:
Code:Nov 28 14:25:13 lfs init: Switching to runlevel: 0
Nov 30 18:06:34 lfs init: Switching to runlevel: 0
Dec 1 14:16:35 lfs init: Switching to runlevel: 0
Dec 1 18:08:56 lfs init: Switching to runlevel: 0
Dec 1 18:10:09 lfs init: Switching to runlevel: 0
Dec 7 14:56:52 lfs init: Switching to runlevel: 0
Dec 8 13:27:31 lfs init: Switching to runlevel: 0
Dec 8 13:58:50 lfs init: Switching to runlevel: 6
Dec 8 14:21:33 lfs init: Switching to runlevel: 0
Dec 8 17:22:33 lfs init: Switching to runlevel: 0
Dec 8 17:44:50 lfs init: Switching to runlevel: 0
Dec 29 14:43:38 lfs init: Switching to runlevel: 0
Dec 30 14:39:54 lfs init: Switching to runlevel: 0
Dec 31 14:44:21 lfs init: Switching to runlevel: 6
Dec 31 14:45:02 lfs init: Switching to runlevel: 0
Jan 1 14:12:27 lfs init: Switching to runlevel: 6
Jan 1 14:18:12 lfs init: Switching to runlevel: 6
Jan 1 14:48:28 lfs init: Switching to runlevel: 0
Jan 1 18:00:07 lfs init: Switching to runlevel: 6
Jan 1 18:00:32 lfs rpc.statd[519]: Version 2.3.4 starting
Jan 1 18:00:32 lfs rpc.statd[519]: Flags: TI-RPC
Jan 1 18:00:32 lfs rpc.statd[519]: Failed to read /var/lib/nfs/state: Success
Jan 1 18:00:32 lfs rpc.statd[519]: Initializing NSM state
Jan 1 18:00:32 lfs rpc.statd[519]: Failed to register (statd, 1, udp): svc_reg() err: RPC: Remote system error - Connection refused
Jan 1 18:00:32 lfs rpc.statd[519]: Failed to register (statd, 1, tcp): svc_reg() err: RPC: Remote system error - Connection refused
Jan 1 18:00:32 lfs rpc.statd[519]: Failed to register (statd, 1, udp6): svc_reg() err: RPC: Remote system error - Connection refused
Jan 1 18:00:32 lfs rpc.statd[519]: Failed to register (statd, 1, tcp6): svc_reg() err: RPC: Remote system error - Connection refused
Jan 1 18:00:32 lfs rpc.statd[519]: failed to create RPC listeners, exiting
Jan 1 18:03:07 lfs init: Switching to runlevel: 6
Jan 1 18:03:31 lfs rpc.statd[537]: Version 2.3.4 starting
Jan 1 18:03:31 lfs rpc.statd[537]: Flags: TI-RPC
Jan 1 18:03:31 lfs rpc.statd[537]: Failed to register (statd, 1, udp): svc_reg() err: RPC: Remote system error - Connection refused
Jan 1 18:03:31 lfs rpc.statd[537]: Failed to register (statd, 1, tcp): svc_reg() err: RPC: Remote system error - Connection refused
Jan 1 18:03:31 lfs rpc.statd[537]: Failed to register (statd, 1, udp6): svc_reg() err: RPC: Remote system error - Connection refused
Jan 1 18:03:31 lfs rpc.statd[537]: Failed to register (statd, 1, tcp6): svc_reg() err: RPC: Remote system error - Connection refused
Jan 1 18:03:31 lfs rpc.statd[537]: failed to create RPC listeners, exiting
Jan 1 18:12:32 lfs rpc.statd[958]: Version 2.3.4 starting
Jan 1 18:12:32 lfs rpc.statd[958]: Failed to register (statd, 1, udp): svc_reg() err: RPC: Remote system error - Connection refused
Jan 1 18:12:32 lfs rpc.statd[958]: Failed to register (statd, 1, tcp): svc_reg() err: RPC: Remote system error - Connection refused
Jan 1 18:12:32 lfs rpc.statd[958]: Failed to register (statd, 1, udp6): svc_reg() err: RPC: Remote system error - Connection refused
Jan 1 18:12:32 lfs rpc.statd[958]: Failed to register (statd, 1, tcp6): svc_reg() err: RPC: Remote system error - Connection refused
Jan 1 18:12:32 lfs rpc.statd[958]: failed to create RPC listeners, exitingI have included the time period outside of Jan 1 for completeness. Statd is failing with 'connection refused'. The nfs client should not be connecting with anything. I am not sure why statd is starting on a client only system but I guess it has to do with notifying other computers.
Suggestions anyone?
TIA