AnsweredAssumed Answered

LS1046 NFS server Issue

Question asked by Andy Hsu on Jun 29, 2019
Latest reply on Jul 3, 2019 by Joan Xie

I tried to create NFS server on LS1046ARDB,

 

I send command: sudo apt-get install nfs-kernel-server

then, I got feedback: "Failed to start nfs-kernel-server, ignoring."

 

How can figure out it ?

 

 

root@MiWiFi-R1CM-srv:~# sudo apt-get install nfs-kernel-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
nfs-common rpcbind
Suggested packages:
open-iscsi
The following NEW packages will be installed:
nfs-common nfs-kernel-server rpcbind
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/305 kB of archives.
After this operation, 1197 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Selecting previously unselected package rpcbind.
(Reading database ... 57535 files and directories currently installed.)
Preparing to unpack .../rpcbind_0.2.3-0.6_arm64.deb ...
Unpacking rpcbind (0.2.3-0.6) ...
Selecting previously unselected package nfs-common.
Preparing to unpack .../nfs-common_1%3a1.3.4-2.1ubuntu5.2_arm64.deb ...
Unpacking nfs-common (1:1.3.4-2.1ubuntu5.2) ...
Selecting previously unselected package nfs-kernel-server.
Preparing to unpack .../nfs-kernel-server_1%3a1.3.4-2.1ubuntu5.2_arm64.deb ...
Unpacking nfs-kernel-server (1:1.3.4-2.1ubuntu5.2) ...
Processing triggers for systemd (237-3ubuntu10.23) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Setting up rpcbind (0.2.3-0.6) ...
Created symlink /etc/systemd/system/multi-user.target.wants/rpcbind.service → /lib/systemd/system/rpcbind.service.
Created symlink /etc/systemd/system/sockets.target.wants/rpcbind.socket → /lib/systemd/system/rpcbind.socket.
Setting up nfs-common (1:1.3.4-2.1ubuntu5.2) ...

Creating config file /etc/idmapd.conf with new version
Created symlink /etc/systemd/system/multi-user.target.wants/nfs-client.target → /lib/systemd/system/nfs-client.target.
Created symlink /etc/systemd/system/remote-fs.target.wants/nfs-client.target → /lib/systemd/system/nfs-client.target.
nfs-utils.service is a disabled or a static unit, not starting it.
Setting up nfs-kernel-server (1:1.3.4-2.1ubuntu5.2) ...
Created symlink /etc/systemd/system/multi-user.target.wants/nfs-server.service → /lib/systemd/system/nfs-server.service.
A dependency job for nfs-server.service failed. See 'journalctl -xe' for details.

Creating config file /etc/exports with new version

Creating config file /etc/default/nfs-kernel-server with new version
A dependency job for nfs-server.service failed. See 'journalctl -xe' for details.
invoke-rc.d: initscript nfs-kernel-server, action "start" failed.
● nfs-server.service - NFS server and services
Loaded: loaded (/lib/systemd/system/nfs-server.service; enabled; vendor preset: enabled)
Active: inactive (dead)

Jun 29 11:32:35 MiWiFi-R1CM-srv systemd[1]: Dependency failed for NFS server and services.
Jun 29 11:32:35 MiWiFi-R1CM-srv systemd[1]: nfs-server.service: Job nfs-server.service/start failed with result 'dependency'.
Jun 29 11:32:37 MiWiFi-R1CM-srv systemd[1]: Dependency failed for NFS server and services.
Jun 29 11:32:37 MiWiFi-R1CM-srv systemd[1]: nfs-server.service: Job nfs-server.service/start failed with result 'dependency'.
Jun 29 11:34:52 MiWiFi-R1CM-srv systemd[1]: Dependency failed for NFS server and services.
Jun 29 11:34:52 MiWiFi-R1CM-srv systemd[1]: nfs-server.service: Job nfs-server.service/start failed with result 'dependency'.
Jun 29 11:34:53 MiWiFi-R1CM-srv systemd[1]: Dependency failed for NFS server and services.
Jun 29 11:34:53 MiWiFi-R1CM-srv systemd[1]: nfs-server.service: Job nfs-server.service/start failed with result 'dependency'.
Failed to start nfs-kernel-server, ignoring.
Processing triggers for systemd (237-3ubuntu10.23) ...

Outcomes