nfsserver fails to start after a recent update

After a recent update my nfs can’t be made to start.

systemctl status nfsserver:


  Job for nfsserver.service failed. See "systemctl status nfsserver.service" and "journalctl -xe" for details. 
thieh-local@suse-kde:~> systemctl status nfsserver 
**●** nfsserver.service - LSB: Start the kernel based NFS daemon 
   Loaded: loaded (/etc/init.d/nfsserver) 
   Active: **failed** (Result: exit-code) since Thu 2015-07-02 19:56:11 EDT; 1h 1min ago 
     Docs: man:systemd-sysv-generator(8) 
  Process: 4565 ExecStop=/etc/init.d/nfsserver stop (code=exited, status=0/SUCCESS) 
  Process: 6148 ExecStart=/etc/init.d/nfsserver start **(code=exited, status=7)**
   CGroup: /system.slice/nfsserver.service 
           └─4601 /usr/sbin/rpc.idmapd -p /var/lib/nfs/rpc_pipefs 

Jul 02 19:56:10 suse-kde systemd[1]: Starting LSB: Start the kernel based NFS daemon... 
Jul 02 19:56:11 suse-kde rpc.mountd[6169]: **Version 1.3.0 starting**
Jul 02 19:56:11 suse-kde nfsserver[6148]: Starting kernel based NFS server: idmapd mountd..failed 
Jul 02 19:56:11 suse-kde systemd[1]: **nfsserver.service: control process exited, code=exited status=7**
Jul 02 19:56:11 suse-kde systemd[1]: **Failed to start LSB: Start the kernel based NFS daemon.**
Jul 02 19:56:11 suse-kde systemd[1]: **Unit nfsserver.service entered failed state.**
Jul 02 19:56:11 suse-kde systemd[1]: **nfsserver.service failed.**




Note: it kind of stuck there until I press Ctrl-C

The output of systemctl --type=service :


  UNIT                               LOAD   ACTIVE SUB     DESCRIPTION 
  after-local.service                loaded active exited  /etc/init.d/after.local Compatibility 
  auditd.service                     loaded active running Security Auditing Service 
  avahi-daemon.service               loaded active running Avahi mDNS/DNS-SD Stack 
  cron.service                       loaded active running Command Scheduler 
  cups.service                       loaded active running CUPS Scheduler 
  dbus.service                       loaded active running D-Bus System Message Bus 
  display-manager.service            loaded active running X Display Manager 
  dm-event.service                   loaded active running Device-mapper event daemon 
  dracut-shutdown.service            loaded active exited  Restore /run/initramfs on shutdown 
  getty@tty1.service                 loaded active running Getty on tty1 
  haveged.service                    loaded active running Entropy Daemon based on the HAVEGE algorithm 
  irqbalance.service                 loaded active running irqbalance daemon 
  iscsi.service                      loaded active exited  Login and scanning of iSCSI devices 
  kmod-static-nodes.service          loaded active exited  Create list of required static device nodes for the current kernel 
  libvirtd.service                   loaded active running Virtualization daemon 
  mcelog.service                     loaded active running Machine Check Exception Logging Daemon 
  ModemManager.service               loaded active running Modem Manager                                                                       
**●****nfsserver.service                 ** loaded **failed failed ** LSB: Start the kernel based NFS daemon                                              
  nscd.service                       loaded active running Name Service Cache Daemon                                                           
  ntpd.service                       loaded active running NTP Server Daemon                                                                   
  polkit.service                     loaded active running Authorization Manager                                                               
  postfix.service                    loaded active running Postfix Mail Transport Agent                                                        
  rc-local.service                   loaded active exited  /etc/init.d/boot.local Compatibility                                                
  rpcbind.service                    loaded active running RPC Bind                                                                            
  sshd.service                       loaded active running OpenSSH Daemon                                                                      
  systemd-journal-flush.service      loaded active exited  Flush Journal to Persistent Storage                                                 
  systemd-journald.service           loaded active running Journal Service                                                                     
  systemd-logind.service             loaded active running Login Service                                                                       
  systemd-machined.service           loaded active running Virtual Machine and Container Registration Service                                  
  systemd-modules-load.service       loaded active exited  Load Kernel Modules                                                                 
  systemd-random-seed.service        loaded active exited  Load/Save Random Seed                                                               
  systemd-remount-fs.service         loaded active exited  Remount Root and Kernel File Systems                                                
  systemd-sysctl.service             loaded active exited  Apply Kernel Variables                                                              
  systemd-tmpfiles-setup-dev.service loaded active exited  Create Static Device Nodes in /dev                                                  
  systemd-tmpfiles-setup.service     loaded active exited  Create Volatile Files and Directories 
  systemd-udev-root-symlink.service  loaded active exited  Rule generator for /dev/root symlink 
  systemd-udev-settle.service        loaded active exited  udev Wait for Complete Device Initialization 
  systemd-udev-trigger.service       loaded active exited  udev Coldplug all Devices 
  systemd-udevd.service              loaded active running udev Kernel Device Manager 
  systemd-update-utmp.service        loaded active exited  Update UTMP about System Boot/Shutdown 
  systemd-user-sessions.service      loaded active exited  Permit User Sessions 
  systemd-vconsole-setup.service     loaded active exited  Setup Virtual Console 
  user@1000.service                  loaded active running User Manager for UID 1000 
  wicked.service                     loaded active exited  wicked managed network interfaces 
  wickedd-auto4.service              loaded active running wicked AutoIPv4 supplicant service 
  wickedd-dhcp4.service              loaded active running wicked DHCPv4 supplicant service 
  wickedd-dhcp6.service              loaded active running wicked DHCPv6 supplicant service 
  wickedd-nanny.service              loaded active running wicked network nanny service 
  wickedd.service                    loaded active running wicked network management service daemon 
  wpa_supplicant.service             loaded active running WPA Supplicant daemon 

LOAD   = Reflects whether the unit definition was properly loaded. 
ACTIVE = The high-level unit activation state, i.e. generalization of SUB. 
SUB    = The low-level unit activation state, values depend on unit type. 

**50 loaded units listed.** Pass --all to see loaded but inactive units, too.




The last few lines of

journalctl -xe -u nfsserver

gives


 Jul 02 18:40:03 suse-kde systemd[1]: Starting LSB: Start the kernel based NFS daemon... 
-- Subject: Unit nfsserver.service has begun start-up 
-- Defined-By: systemd 
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel 
--  
-- Unit nfsserver.service has begun starting up. 
Jul 02 18:40:03 suse-kde rpc.mountd[5515]: **Version 1.3.0 starting**
Jul 02 18:40:03 suse-kde nfsserver[5494]: Starting kernel based NFS server: idmapd mountd..failed 
Jul 02 18:40:03 suse-kde systemd[1]: **nfsserver.service: control process exited, code=exited status=7**
Jul 02 18:40:03 suse-kde systemd[1]: **Failed to start LSB: Start the kernel based NFS daemon.**
-- Subject: Unit nfsserver.service has failed 
-- Defined-By: systemd 
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel 
--  
-- Unit nfsserver.service has failed. 
--  
-- The result is failed. 
Jul 02 18:40:03 suse-kde systemd[1]: **Unit nfsserver.service entered failed state.**
Jul 02 18:40:03 suse-kde systemd[1]: **nfsserver.service failed.**
Jul 02 19:56:10 suse-kde systemd[1]: Starting LSB: Start the kernel based NFS daemon... 
-- Subject: Unit nfsserver.service has begun start-up 
-- Defined-By: systemd 
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel 
--  
-- Unit nfsserver.service has begun starting up. 
Jul 02 19:56:11 suse-kde rpc.mountd[6169]: **Version 1.3.0 starting**
Jul 02 19:56:11 suse-kde nfsserver[6148]: Starting kernel based NFS server: idmapd mountd..failed 
Jul 02 19:56:11 suse-kde systemd[1]: **nfsserver.service: control process exited, code=exited status=7**
Jul 02 19:56:11 suse-kde systemd[1]: **Failed to start LSB: Start the kernel based NFS daemon.**
-- Subject: Unit nfsserver.service has failed 
-- Defined-By: systemd 
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel 
--  
-- Unit nfsserver.service has failed. 
--  
-- The result is failed. 
Jul 02 19:56:11 suse-kde systemd[1]: **Unit nfsserver.service entered failed state.**
Jul 02 19:56:11 suse-kde systemd[1]: **nfsserver.service failed.**
Jul 02 21:58:38 suse-kde systemd[1]: Starting LSB: Start the kernel based NFS daemon... 
-- Subject: Unit nfsserver.service has begun start-up 
-- Defined-By: systemd 
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel 
--  
-- Unit nfsserver.service has begun starting up. 
Jul 02 21:58:38 suse-kde rpc.mountd[7250]: **Version 1.3.0 starting**
Jul 02 21:58:38 suse-kde nfsserver[7229]: Starting kernel based NFS server: idmapd mountd..failed 
Jul 02 21:58:38 suse-kde systemd[1]: **nfsserver.service: control process exited, code=exited status=7**
Jul 02 21:58:38 suse-kde systemd[1]: **Failed to start LSB: Start the kernel based NFS daemon.**
-- Subject: Unit nfsserver.service has failed 
-- Defined-By: systemd 
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel 
--  
-- Unit nfsserver.service has failed. 
--  
-- The result is failed. 
Jul 02 21:58:38 suse-kde systemd[1]: **Unit nfsserver.service entered failed state.**
Jul 02 21:58:38 suse-kde systemd[1]: **nfsserver.service failed.**


Anyone got ideas of how to get that to work? Thank you for your time.

On 2015-07-03 04:16, Thieh wrote:
>
> After a recent update my nfs can’t be made to start.

Recent means today? Or earlier?

It is important, today there has been a huge update with drastic changes.


Cheers / Saludos,

Carlos E. R.

(from 13.1 x86_64 “Bottle” (Minas Tirith))

Oh I meant today (last time I updated was last thursday-ish).

For some reason the NFS server in the new Tumbleweed does not properly call rpcbind, so you can get it to work with;


systemctl start rpcbind
systemctl start nfsserver

Enable both if you want them to autostart.