nfs.server geht nicht

    Diese Seite verwendet Cookies. Durch die Nutzung unserer Seite erklären Sie sich damit einverstanden, dass wir Cookies setzen. Weitere Informationen

    • nfs.server geht nicht

      hey

      ich bekomme im feed nfs.server angezeigt, installiere es, bekomme nach längerer zeit: herunterladen rpcbind, angezeigt das 4 pakete ohne fehler installiert wurden aber dem ist leider nicht so.
      im feed auch nicht grün danach. neustart usw hab ich natürlich gemacht und alles auch min 10 mal versucht……. immer gleiches verhalten.

      gruß
      rene
    • Wir sind hier aber im Bereich der Uno4kSE - vielleicht sollten wir als erstes mal klären, welche Box hier überhaupt im Einsatz ist...

      Und wo das Profil so sauber ausgefüllt ist, auch gleich noch, welche VTi-Version benutzt wird.
      Diskutiere nie mit einem Idioten. Er zieht dich auf sein Niveau runter und schlägt dich mit seiner Erfahrung.

      Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von rdamas ()

    • Dann installiere das Plugin in der Konsole/Telnet/SSH/Putty/...:

      opkg install enigma2-plugin-systemplugins-nfs.server

      und schau, ob dort Fehler angezeigt werden.

      PS: Klemmt deine Umschalt-Taste? Sind schwer zu lesen deine Texte...
      Diskutiere nie mit einem Idioten. Er zieht dich auf sein Niveau runter und schlägt dich mit seiner Erfahrung.

      Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von rdamas ()

    • ja ich weis.... ich schreibe immer nur klein =o)
      ist so eine angewohnheit

      Quellcode

      1. root@vuuno4kse:~# opkg install enigma2-plugin-systemplugins-nfs.server
      2. Installing enigma2-plugin-systemplugins-nfs.server (2.2-r0) on root.
      3. Downloading: enigma2-plugin-systemplugins-nfs.server_2.2-r0_vuuno4kse.ipk
      4. nfs-utils: unsatisfied recommendation for kernel-module-nfsd
      5. Installing nfs-utils (1.3.1-r0) on root.
      6. Downloading: nfs-utils_1.3.1-r0_armv7ahf-vfp-neon.ipk
      7. Installing nfs-utils-client (1.3.1-r0) on root.
      8. Downloading: nfs-utils-client_1.3.1-r0_armv7ahf-vfp-neon.ipk
      9. Installing rpcbind (0.2.3-r0) on root.
      10. Downloading: rpcbind_0.2.3-r0_armv7ahf-vfp-neon.ipk
      11. Removing any system startup links for rpcbind ...
      12. Running useradd commands...
      13. NOTE: Performing useradd with [ --system --no-create-home --home-dir / --shell /bin/false --user-group rpc] and 10 times of retry
      14. useradd: group rpc exists - if you want to add this user to that group, use -g.
      15. WARNING: useradd command did not succeed. Retrying...
      16. useradd: group rpc exists - if you want to add this user to that group, use -g.
      17. WARNING: useradd command did not succeed. Retrying...
      18. useradd: group rpc exists - if you want to add this user to that group, use -g.
      19. WARNING: useradd command did not succeed. Retrying...
      20. useradd: group rpc exists - if you want to add this user to that group, use -g.
      21. WARNING: useradd command did not succeed. Retrying...
      22. useradd: group rpc exists - if you want to add this user to that group, use -g.
      23. WARNING: useradd command did not succeed. Retrying...
      24. useradd: group rpc exists - if you want to add this user to that group, use -g.
      25. WARNING: useradd command did not succeed. Retrying...
      26. useradd: group rpc exists - if you want to add this user to that group, use -g.
      27. WARNING: useradd command did not succeed. Retrying...
      28. useradd: group rpc exists - if you want to add this user to that group, use -g.
      29. WARNING: useradd command did not succeed. Retrying...
      30. useradd: group rpc exists - if you want to add this user to that group, use -g.
      31. WARNING: useradd command did not succeed. Retrying...
      32. useradd: group rpc exists - if you want to add this user to that group, use -g.
      33. WARNING: useradd command did not succeed. Retrying...
      34. ERROR: Tried running useradd command 10 times without success, giving up
      35. To remove package debris, try `opkg remove rpcbind`.
      36. To re-attempt the install, try `opkg install rpcbind`.
      37. Collected errors:
      38. * pkg_get_installed_files: Failed to open //var/lib/opkg/info/rpcbind.list: No such file or directory.
      39. * pkg_run_script: package "rpcbind" preinst script returned status 1.
      40. * preinst_configure: Aborting installation of rpcbind.
      41. * opkg_install_cmd: Cannot install package enigma2-plugin-systemplugins-nfs.ser ver.
      Alles anzeigen
    • Welcher Vollpfosten hat denn bitte schön so ein beknacktes preinst-Script geschrieben? Da wird versucht, eine Gruppe einzutragen, und gleichzeitig noch festgestellt, dass die schon existiert. Dämlicher geht's wirklich nimmer.

      Ich würde jetzt hingehen und den User und die Gruppe "rpc" von Hand mit "vi", "joe" oder "nano" aus /etc/passwd, /etc/shadow und /etc/group entfernen. Geht aber auch mit den beiden Befehlen:

      userdel rpc und groupdel rpc

      Danach die Installation mit "opkg" noch mal versuchen.

      Bei mir gibts zusätzlich auch noch den User "rpcuser", der wird wohl vom Paket "nfs-utils-client" installiert. Die Installation hat aber offenbar funktioniert, von daher solltest du den so lassen.
      Diskutiere nie mit einem Idioten. Er zieht dich auf sein Niveau runter und schlägt dich mit seiner Erfahrung.
    • moin

      hat leider auch nicht wirklich was gebracht!

      Quellcode

      1. root@vuuno4kse:~# userdel rpc
      2. userdel: user 'rpc' does not exist
      3. root@vuuno4kse:~# groupdel rpc
      4. root@vuuno4kse:~# opkg install enigma2-plugin-systemplugins-nfs.server
      5. Installing enigma2-plugin-systemplugins-nfs.server (2.2-r0) on root.
      6. Downloading: enigma2-plugin-systemplugins-nfs.server_2.2-r0_vuuno4kse.ipk
      7. nfs-utils: unsatisfied recommendation for kernel-module-nfsd
      8. Installing nfs-utils (1.3.1-r0) on root.
      9. Downloading: nfs-utils_1.3.1-r0_armv7ahf-vfp-neon.ipk
      10. Installing nfs-utils-client (1.3.1-r0) on root.
      11. Downloading: nfs-utils-client_1.3.1-r0_armv7ahf-vfp-neon.ipk
      12. Installing rpcbind (0.2.3-r0) on root.
      13. Downloading: rpcbind_0.2.3-r0_armv7ahf-vfp-neon.ipk
      14. Removing any system startup links for rpcbind ...
      15. Running useradd commands...
      16. NOTE: Performing useradd with [ --system --no-create-home --home-dir / --shell /bin/false --user-group rpc] and 10 times of retry
      17. Installing libnfsidmap0 (0.25-r0) on root.
      18. Downloading: libnfsidmap0_0.25-r0_armv7ahf-vfp-neon.ipk
      19. Installing libevent (2.0.22-r0) on root.
      20. Downloading: libevent_2.0.22-r0_armv7ahf-vfp-neon.ipk
      21. Installing libwrap0 (7.6-r10) on root.
      22. Downloading: libwrap0_7.6-r10_armv7ahf-vfp-neon.ipk
      23. Installing libmount1 (2.26.1-r0) on root.
      24. Downloading: libmount1_2.26.1-r0_armv7ahf-vfp-neon.ipk
      25. Installing bash (4.3-r1) on root.
      26. Downloading: bash_4.3-r1_armv7ahf-vfp-neon.ipk
      27. Removing any system startup links for nfscommon ...
      28. Running useradd commands...
      29. NOTE: Performing useradd with [ --system --home-dir /var/lib/nfs --shell /bin/false --user-group rpcuser] and 10 times of retry
      30. useradd: group rpcuser exists - if you want to add this user to that group, use -g.
      31. WARNING: useradd command did not succeed. Retrying...
      32. useradd: group rpcuser exists - if you want to add this user to that group, use -g.
      33. WARNING: useradd command did not succeed. Retrying...
      34. useradd: group rpcuser exists - if you want to add this user to that group, use -g.
      35. WARNING: useradd command did not succeed. Retrying...
      36. useradd: group rpcuser exists - if you want to add this user to that group, use -g.
      37. WARNING: useradd command did not succeed. Retrying...
      38. useradd: group rpcuser exists - if you want to add this user to that group, use -g.
      39. WARNING: useradd command did not succeed. Retrying...
      40. useradd: group rpcuser exists - if you want to add this user to that group, use -g.
      41. WARNING: useradd command did not succeed. Retrying...
      42. useradd: group rpcuser exists - if you want to add this user to that group, use -g.
      43. WARNING: useradd command did not succeed. Retrying...
      44. -g
      45. useradd: group rpcuser exists - if you want to add this user to that group, use -g.
      46. WARNING: useradd command did not succeed. Retrying...
      47. useradd: group rpcuser exists - if you want to add this user to that group, use -g.
      48. WARNING: useradd command did not succeed. Retrying...
      49. useradd: group rpcuser exists - if you want to add this user to that group, use -g.
      50. WARNING: useradd command did not succeed. Retrying...
      51. ERROR: Tried running useradd command 10 times without success, giving up
      52. To remove package debris, try `opkg remove nfs-utils-client`.
      53. To re-attempt the install, try `opkg install nfs-utils-client`.
      54. Configuring libwrap0.
      55. Configuring bash.
      56. update-alternatives: Linking /bin/sh to /bin/bash
      57. Configuring rpcbind.
      58. Adding system startup for /etc/init.d/rpcbind.
      59. Starting rpcbind daemon...done.
      60. Configuring libnfsidmap0.
      61. Configuring libevent.
      62. Configuring libmount1.
      63. Collected errors:
      64. * pkg_get_installed_files: Failed to open //var/lib/opkg/info/rpcbind.list: No such file or directory.
      65. * pkg_get_installed_files: Failed to open //var/lib/opkg/info/rpcbind.list: No such file or directory.
      66. * pkg_run_script: package "nfs-utils-client" preinst script returned status 1.
      67. * preinst_configure: Aborting installation of nfs-utils-client.
      68. * opkg_install_cmd: Cannot install package enigma2-plugin-systemplugins-nfs.server.
      69. root@vuuno4kse:~#
      Alles anzeigen

      dann habe ich mit über filezilla die von dir genannten dateien bearbeitet und rpc gelöscht, danach neustart und wieder opkg install enigma2-plugin-systemplugins-nfs.server mit dem seben ergebniss...

      Quellcode

      1. root@vuuno4kse:~# opkg install enigma2-plugin-systemplugins-nfs.server
      2. Installing enigma2-plugin-systemplugins-nfs.server (2.2-r0) on root.
      3. Downloading: enigma2-plugin-systemplugins-nfs.server_2.2-r0_vuuno4kse.ipk
      4. nfs-utils: unsatisfied recommendation for kernel-module-nfsd
      5. Installing nfs-utils (1.3.1-r0) on root.
      6. Downloading: nfs-utils_1.3.1-r0_armv7ahf-vfp-neon.ipk
      7. Installing nfs-utils-client (1.3.1-r0) on root.
      8. Downloading: nfs-utils-client_1.3.1-r0_armv7ahf-vfp-neon.ipk
      9. Removing any system startup links for nfscommon ...
      10. Running useradd commands...
      11. NOTE: Performing useradd with [ --system --home-dir /var/lib/nfs --shell /bin/false --user-group rpcuser] and 10 times of retry
      12. useradd: group rpcuser exists - if you want to add this user to that group, use -g.
      13. WARNING: useradd command did not succeed. Retrying...
      14. useradd: group rpcuser exists - if you want to add this user to that group, use -g.
      15. WARNING: useradd command did not succeed. Retrying...
      16. useradd: group rpcuser exists - if you want to add this user to that group, use -g.
      17. WARNING: useradd command did not succeed. Retrying...
      18. useradd: group rpcuser exists - if you want to add this user to that group, use -g.
      19. WARNING: useradd command did not succeed. Retrying...
      20. useradd: group rpcuser exists - if you want to add this user to that group, use -g.
      21. WARNING: useradd command did not succeed. Retrying...
      22. useradd: group rpcuser exists - if you want to add this user to that group, use -g.
      23. WARNING: useradd command did not succeed. Retrying...
      24. useradd: group rpcuser exists - if you want to add this user to that group, use -g.
      25. WARNING: useradd command did not succeed. Retrying...
      26. useradd: group rpcuser exists - if you want to add this user to that group, use -g.
      27. WARNING: useradd command did not succeed. Retrying...
      28. useradd: group rpcuser exists - if you want to add this user to that group, use -g.
      29. WARNING: useradd command did not succeed. Retrying...
      30. useradd: group rpcuser exists - if you want to add this user to that group, use -g.
      31. WARNING: useradd command did not succeed. Retrying...
      32. ERROR: Tried running useradd command 10 times without success, giving up
      33. To remove package debris, try `opkg remove nfs-utils-client`.
      34. To re-attempt the install, try `opkg install nfs-utils-client`.
      35. Collected errors:
      36. * pkg_get_installed_files: Failed to open //var/lib/opkg/info/nfs-utils-client.list: No such file or directory.
      37. * pkg_run_script: package "nfs-utils-client" preinst script returned status 1.
      38. * preinst_configure: Aborting installation of nfs-utils-client.
      39. * opkg_install_cmd: Cannot install package enigma2-plugin-systemplugins-nfs.server.
      40. root@vuuno4kse:~#
      Alles anzeigen
    • ah ok !
      dann nochmal

      stand jetzt

      Quellcode

      1. root@vuuno4kse:~# groupdel rpcuser
      2. groupdel: group 'rpcuser' does not exist
      3. root@vuuno4kse:~# opkg install enigma2-plugin-systemplugins-nfs.server
      4. Installing enigma2-plugin-systemplugins-nfs.server (2.2-r0) on root.
      5. Downloading: enigma2-plugin-systemplugins-nfs.server_2.2-r0_vuuno4kse.ipk
      6. nfs-utils: unsatisfied recommendation for kernel-module-nfsd
      7. Installing nfs-utils (1.3.1-r0) on root.
      8. Downloading: nfs-utils_1.3.1-r0_armv7ahf-vfp-neon.ipk
      9. Installing nfs-utils-client (1.3.1-r0) on root.
      10. Downloading: nfs-utils-client_1.3.1-r0_armv7ahf-vfp-neon.ipk
      11. Removing any system startup links for nfscommon ...
      12. Running useradd commands...
      13. NOTE: Performing useradd with [ --system --home-dir /var/lib/nfs --shell /bin/false --user-group rpcuser] and 10 times of retry
      14. Removing any system startup links for nfsserver ...
      15. Configuring nfs-utils-client.
      16. Adding system startup for /etc/init.d/nfscommon.
      17. starting statd: done
      18. Configuring nfs-utils.
      19. Adding system startup for /etc/init.d/nfsserver.
      20. starting 8 nfsd kernel threads: rpc.nfsd: writing fd to kernel failed: errno 111 (Connection refused)
      21. rpc.nfsd: unable to set any sockets for nfsd
      22. done
      23. starting mountd: Cannot register service: RPC: Unable to receive; errno = Connection refused
      24. done
      25. exportfs: /etc/exports [1]: Neither 'subtree_check' or 'no_subtree_check' specified for export "*:/media/hdd".
      26. Assuming default behaviour ('no_subtree_check').
      27. NOTE: this default has changed since nfs-utils version 1.0.x
      28. Configuring enigma2-plugin-systemplugins-nfs.server.
      29. Collected errors:
      30. * pkg_get_installed_files: Failed to open //var/lib/opkg/info/nfs-utils-client.list: No such file or directory.
      31. * pkg_get_installed_files: Failed to open //var/lib/opkg/info/nfs-utils-client.list: No such file or directory.
      32. * resolve_conffiles: Existing conffile /var/lib/nfs/rmtab is different from the conffile in the new package. The new conffile will be placed at /var/lib/nfs/rmtab-opkg.
      33. * resolve_conffiles: Existing conffile /var/lib/nfs/statd/state is different from the conffile in the new package. The new conffile will be placed at /var/lib/nfs/statd/state-opkg.
      34. root@vuuno4kse:~#
      Alles anzeigen
    • Die angezeigten "Conflicts" sind hoffentlich harmlos; als Ursache vermute ich auch hier ein schlecht konfiguriertes Paket (könnte sein, dass die "conffiles" Einträge fehlen, schau ich noch mal nach).

      Eigentlich sollte alles installiert sein. Der Fehlermeldung nach wurde "rpcbind" nicht gestartet. Frage ist jetzt: passiert das immer, auch nach einem Neustart? Dann muss dafür noch das Init-File aktiviert werden.

      Von Hand müsste sich der NFS-Server jetzt mit /etc/init.d/nfsserver start starten lassen, wenn rpcbind nicht gestartet wurde, vorher /etc/init.d/rpcbind start aufrufen.

      Wenn's damit funktioniert und nach einem Neustart nicht, kontrollieren, ob die Symlinks exsistieren:
      ls -l /etc/rc*/*rpcbind und ls -l /etc/rc*/*nfsserver

      Ergebnis sollte so (ähnlich) aussehen:

      Quellcode

      1. root@vusolo4k:~# ls /etc/rc*/*rpcbind /etc/rc*/*nfsserver | more
      2. /etc/rc0.d/K20nfsserver
      3. /etc/rc0.d/K60rpcbind
      4. /etc/rc1.d/K20nfsserver
      5. /etc/rc1.d/K60rpcbind
      6. /etc/rc2.d/S12rpcbind
      7. /etc/rc2.d/S20nfsserver
      8. /etc/rc3.d/S12rpcbind
      9. /etc/rc3.d/S20nfsserver
      10. /etc/rc4.d/S12rpcbind
      11. /etc/rc4.d/S20nfsserver
      12. /etc/rc5.d/S12rpcbind
      13. /etc/rc5.d/S20nfsserver
      14. /etc/rc6.d/K20nfsserver
      15. /etc/rc6.d/K60rpcbind
      Alles anzeigen
      Diskutiere nie mit einem Idioten. Er zieht dich auf sein Niveau runter und schlägt dich mit seiner Erfahrung.

      Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von rdamas ()

    • ich habe das vti nochmal komplett neu geflasht.
      nfs.server dann über feed installiert was dann auch ohne fehler durchgelaufen ist.

      leider bekomme ich von meiner zero trotzdem keine verbindng zur festplatte in der exports steht media/hdd drin

      irdendwo ist der wurm drin ich hatte das schon so problemlos laufen einzige änderung war ein neu aufsetzen der uno4k
      da die zero kein sat anschluss hat schaue ich darauf über den stream der uno4k das geht auch problemlos. also ist ja die verbindung da
    • Ich hoffe doch, dass in deiner exports mehr drin steht als "media/hdd"?

      Bei mir steht z.B. drin: /media/hdd *(rw,no_root_squash,sync)

      Ruf mal showmount -a und showmount -e auf beiden Boxen auf, bzw. showmount -a <ip-der-uno4k> auf der Zero.
      Diskutiere nie mit einem Idioten. Er zieht dich auf sein Niveau runter und schlägt dich mit seiner Erfahrung.

      Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von rdamas ()