Job For Nfs Server.service Canceled.

  • また、rpcbind.service は nfs-server.service から自動起動されますので、indirect のままでいいはずです。 投稿 2017/02/05 16:24 add 高評価 1.
  • NFS stands for Network File System. It is a server client protocol and it is used for sharing files between UNIX/ LINUX to UNIX/LINUM system. Also you can mount a remote share locally through the NFS.
  • 如果出现Restarting nfs-kernel-server (via systemctl): nfs-kernel-server.serviceJob for nfs-server.service canceled. 但是启动 nfs 时 出错,提示: A dependency job for nfs-server.service failed. See 'journalctl -xe' for details 查看日志信息 tail -fn 100 /var/log/messages 显示如下:!
  • Nov 02 21:41:47 arch systemd1: Job rpc-idmapd.service/start failed with result 'dependency'. Nov 02 21:41:47 arch systemd1: Unit var-lib-nfs-rpcpipefs.mount entered failed state Nov 02 21:41:47 arch sudo11201: pamunix(sudo:session): session closed for user root.
Job For Nfs Server.service Canceled.

Server For Nfs

Nfs.service is disabled, nfs-server.service is enabled, and NFS is working?And nfs-lock.service and nfslock.service.Are there superfluous service files causing this?I thought a separate mount and lock daemon aren't needed in NFSv4.Chris Murphy-users mailing listTo unsubscribe or change subscription options:Fedora Code of Conduct: Guidelines.

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines
Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#43647 - [nfs-utils] nfs-server fails to start

Attached to Project: Arch Linux
Opened by Gene (GeneC) - Saturday, 31 January 2015, 21:43 GMT
Last edited by Andreas Radke (AndyRTR) - Saturday, 18 April 2015, 07:38 GMT
Task TypeBug Report
Category Packages: Testing
Status Closed
Assigned ToTobias Powalowski (tpowa)
Architecturex86_64
SeverityHigh
PriorityNormal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete
Votes6
  • Alexandre de Verteuil (a_neutrino) (2015-02-23)
  • Michael (Zeth) (2015-02-17)
  • Markus N. (Markus.N) (2015-02-17)
  • Jason S. Wagner (jswagner) (2015-02-16)
  • Mike Cloaked (mcloaked) (2015-01-31)
  • Gene (GeneC) (2015-01-31)
Private No

Details

Description: nfs-server fails to start
Additional info:
Similar problems noted last year here:
https://lists.archlinux.org/pipermail/arch-general/2014-June/036617.html
Today after reboot nfs-server was not running:
2 units fail to start
rpc-statd.service
nfs-server.service.
-------------------------------------
rpc-statd:
systemctl status rpc-statd
rpc.statd[736]: Version 1.3.2 starting
rpc.statd[736]: Flags: TI-RPC
rpc.statd[736]: Running as root. chown /var/lib/nfs to choose different user
rpc.statd[736]: failed to create RPC listeners, exiting
systemd[1]: rpc-statd.service: control process exited, code=exited status=1
systemd[1]: Failed to start NFS status monitor for NFSv2/3 locking..
systemd[1]: Unit rpc-statd.service entered failed state.
systemd[1]: rpc-statd.service failed.
-------------------------------------
I am unable to start this by hand either - continues to fail same way. I had seen this once a month or so back - but was able to start it by hand after machine was up.
-------------------------------------
nfs-server:
systemctl-status nfs-server
● nfs-server.service - NFS server and services
Loaded: loaded (/usr/lib/systemd/system/nfs-server.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Sat 2015-01-31 16:05:32 EST; 5min ago
Process: 743 ExecStart=/usr/sbin/rpc.nfsd $RPCNFSDARGS (code=exited, status=1/FAILURE)
Process: 741 ExecStartPre=/usr/sbin/exportfs -r (code=exited, status=0/SUCCESS)
Main PID: 743 (code=exited, status=1/FAILURE)
rpc.nfsd[743]: rpc.nfsd: writing fd to kernel failed: errno 111 (Connection refused)
rpc.nfsd[743]: rpc.nfsd: unable to set any sockets for nfsd
systemd[1]: nfs-server.service: main process exited, code=exited, status=1/FAILURE
systemd[1]: Failed to start NFS server and services.
systemd[1]: Unit nfs-server.service entered failed state.
systemd[1]: nfs-server.service failed.
-------------------------------------
Machine is fully updated from testing repo. I did try kernel 3.19.rc6 but it does not help.
Going over the bug from June 2014 I tried these:
systemctl restart proc-fs-nfsd.mount
systemctl restart rpcbind
systemctl restart nfs-mountd.service
systemctl restart rpc-statd.service
systemctl restart nfs-idmapd.service
systemctl restart rpc-svcgssd.service
systemctl restart rpc-statd-notify.service
systemctl restart nfs-mountd
systemctl restart rpc-gssd.service rpc-svcgssd.service
rpc-statd still does not start but now .. it failes with
rpc-statd.service start operation timed out. Terminating.
Trying to start nfs-server - it too 'times out'
After 5 mins i tried again: systemctl start nfs-server
which now starts ... rpc-statd is still not running.
And the server is once again serving NFS.
* package version(s)
nfs-utils 1.3.2-1
linux 3.18.5-1
rpcbind 0.2.2-1
* config and/or log files etc.
Steps to reproduce:

Job For Nfs-server.service Canceled

Closed by Andreas Radke (AndyRTR)
Saturday, 18 April 2015, 07:38 GMT
Reason for closing: Fixed
Duplicate tasks of this task (0)
Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines
Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#43647 - [nfs-utils] nfs-server fails to start

Attached to Project: Arch Linux
Opened by Gene (GeneC) - Saturday, 31 January 2015, 21:43 GMT
Last edited by Andreas Radke (AndyRTR) - Saturday, 18 April 2015, 07:38 GMT

Job For Nfs-server.service Canceled Fedora

Task TypeBug Report
Category Packages: Testing
Status Closed
Assigned ToTobias Powalowski (tpowa)
Architecturex86_64
SeverityHigh
PriorityNormal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete
Votes6
  • Alexandre de Verteuil (a_neutrino) (2015-02-23)
  • Michael (Zeth) (2015-02-17)
  • Markus N. (Markus.N) (2015-02-17)
  • Jason S. Wagner (jswagner) (2015-02-16)
  • Mike Cloaked (mcloaked) (2015-01-31)
  • Gene (GeneC) (2015-01-31)
Private No

Details

Description: nfs-server fails to start
Additional info:
Similar problems noted last year here:
https://lists.archlinux.org/pipermail/arch-general/2014-June/036617.html
Today after reboot nfs-server was not running:
2 units fail to start
rpc-statd.service
nfs-server.service.
-------------------------------------
rpc-statd:
systemctl status rpc-statd
rpc.statd[736]: Version 1.3.2 starting
rpc.statd[736]: Flags: TI-RPC
rpc.statd[736]: Running as root. chown /var/lib/nfs to choose different user
rpc.statd[736]: failed to create RPC listeners, exiting
systemd[1]: rpc-statd.service: control process exited, code=exited status=1
systemd[1]: Failed to start NFS status monitor for NFSv2/3 locking..
systemd[1]: Unit rpc-statd.service entered failed state.
systemd[1]: rpc-statd.service failed.
-------------------------------------
I am unable to start this by hand either - continues to fail same way. I had seen this once a month or so back - but was able to start it by hand after machine was up.
-------------------------------------
nfs-server:
systemctl-status nfs-server
● nfs-server.service - NFS server and services
Loaded: loaded (/usr/lib/systemd/system/nfs-server.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Sat 2015-01-31 16:05:32 EST; 5min ago
Process: 743 ExecStart=/usr/sbin/rpc.nfsd $RPCNFSDARGS (code=exited, status=1/FAILURE)
Process: 741 ExecStartPre=/usr/sbin/exportfs -r (code=exited, status=0/SUCCESS)
Main PID: 743 (code=exited, status=1/FAILURE)
rpc.nfsd[743]: rpc.nfsd: writing fd to kernel failed: errno 111 (Connection refused)
rpc.nfsd[743]: rpc.nfsd: unable to set any sockets for nfsd
systemd[1]: nfs-server.service: main process exited, code=exited, status=1/FAILURE
systemd[1]: Failed to start NFS server and services.
systemd[1]: Unit nfs-server.service entered failed state.
systemd[1]: nfs-server.service failed.
-------------------------------------
Machine is fully updated from testing repo. I did try kernel 3.19.rc6 but it does not help.
Going over the bug from June 2014 I tried these:
systemctl restart proc-fs-nfsd.mount
systemctl restart rpcbind
systemctl restart nfs-mountd.service
systemctl restart rpc-statd.service
systemctl restart nfs-idmapd.service
systemctl restart rpc-svcgssd.service
systemctl restart rpc-statd-notify.service
systemctl restart nfs-mountd
systemctl restart rpc-gssd.service rpc-svcgssd.service
rpc-statd still does not start but now .. it failes with
rpc-statd.service start operation timed out. Terminating.
Trying to start nfs-server - it too 'times out'
After 5 mins i tried again: systemctl start nfs-server
which now starts ... rpc-statd is still not running.
And the server is once again serving NFS.
* package version(s)
nfs-utils 1.3.2-1
linux 3.18.5-1
rpcbind 0.2.2-1
* config and/or log files etc.
Steps to reproduce:
Closed by Andreas Radke (AndyRTR)
Saturday, 18 April 2015, 07:38 GMT
Reason for closing: Fixed

Job For Nfs Server Service Canceled Centos 8

Duplicate tasks of this task (0)