Failed to enable nfs

  • When I try to activate the NFS service it shows me this error (in a raspberry pi3):


    Code
    Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; systemctl start 'nfs-kernel-server' 2>&1' with exit code '1': A dependency job for nfs-server.service failed. See 'journalctl -xe' for details.

    When I installed omv I saw a line that said that the dependencies of nfs were not found. Could that be the reason?

  • See what the status of this package is:


    sudo apt-cache policy nfs-common

    --
    Google is your friend and Bob's your uncle!


    OMV AMD64 7.x on headless Chenbro NR12000 1U 1x 8m Quad Core E3-1220 3.1GHz 32GB ECC RAM.

  • See what the status of this package is:


    sudo apt-cache policy nfs-common

  • I guess there must be other dependencies. Do you remember what that dependency was?


    Did you run the suggested journalctl -xe ?

    --
    Google is your friend and Bob's your uncle!


    OMV AMD64 7.x on headless Chenbro NR12000 1U 1x 8m Quad Core E3-1220 3.1GHz 32GB ECC RAM.

  • I guess there must be other dependencies. Do you remember what that dependency was?


    Did you run the suggested journalctl -xe ?

    It was a nfs dependency but I do not remember which one. I have run journalctl -xe but I do not see anything from nfs (they are 2171 lines) ... Is there any way to install it again?

  • You can try:


    sudo apt-get install nfs-kernel-server or


    sudo apt-get install --reinstall nfs-kernel-server

    --
    Google is your friend and Bob's your uncle!


    OMV AMD64 7.x on headless Chenbro NR12000 1U 1x 8m Quad Core E3-1220 3.1GHz 32GB ECC RAM.

  • You can try:


    sudo apt-get install nfs-kernel-server or


    sudo apt-get install --reinstall nfs-kernel-server

    Code
    Err:1 http://httpredir.debian.org/debian stretch/main armhf nfs-kernel-server armhf 1:1.3.4-2.1
      Could not resolve 'httpredir.debian.org'
    E: Failed to fetch http://httpredir.debian.org/debian/pool/main/n/nfs-utils/nfs-kernel-server_1.3.4-2.1_armhf.deb  Could not resolve 'httpredir.debian.org'
    E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

    This error is also shown to me when I try to install minidlna: "Could not resolve ..."

  • You are having DNS problems. Verify by running:


    ping google.com

    --
    Google is your friend and Bob's your uncle!


    OMV AMD64 7.x on headless Chenbro NR12000 1U 1x 8m Quad Core E3-1220 3.1GHz 32GB ECC RAM.

  • Have you tried clearing your browser cache? Other than that I am out of ideas.

    --
    Google is your friend and Bob's your uncle!


    OMV AMD64 7.x on headless Chenbro NR12000 1U 1x 8m Quad Core E3-1220 3.1GHz 32GB ECC RAM.

  • I can't make any sense of that screenshot. You might want to consider a reinstall.

    --
    Google is your friend and Bob's your uncle!


    OMV AMD64 7.x on headless Chenbro NR12000 1U 1x 8m Quad Core E3-1220 3.1GHz 32GB ECC RAM.

  • Try running:


    apt-get install -f


    After that, I'm out of ideas, sorry.

    --
    Google is your friend and Bob's your uncle!


    OMV AMD64 7.x on headless Chenbro NR12000 1U 1x 8m Quad Core E3-1220 3.1GHz 32GB ECC RAM.

    Einmal editiert, zuletzt von gderf ()

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!