Error on installation Netatalk

    • OMV 3.x
    • Resolved
    • Error on installation Netatalk

      I have some error at the installation of the netatalk plugin

      Source Code

      1. Reading package lists...
      2. Building dependency tree...
      3. Reading state information...
      4. The following extra packages will be installed:
      5. netatalk
      6. Suggested packages:
      7. db4.2-util
      8. The following NEW packages will be installed:
      9. netatalk openmediavault-netatalk
      10. 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
      11. Need to get 0 B/343 kB of archives.
      12. After this operation, 1198 kB of additional disk space will be used.
      13. Selecting previously unselected package netatalk.
      14. (Reading database ... (Reading database ... 5%(Reading database ... 10%(Reading database ... 15%(Reading database ... 20%(Reading database ... 25%(Reading database ... 30%(Reading database ... 35%(Reading database ... 40%(Reading database ... 45%(Reading database ... 50%(Reading database ... 55%(Reading database ... 60%(Reading database ... 65%(Reading database ... 70%(Reading database ... 75%(Reading database ... 80%(Reading database ... 85%(Reading database ... 90%(Reading database ... 95%(Reading database ... 100%(Reading database ... 163577 files and directories currently installed.)
      15. Preparing to unpack .../netatalk_3.1.9-1_amd64.deb ...
      16. Unpacking netatalk (3.1.9-1) ...
      17. Selecting previously unselected package openmediavault-netatalk.
      18. Preparing to unpack .../openmediavault-netatalk_3.2.7_all.deb ...
      19. Unpacking openmediavault-netatalk (3.2.7) ...
      20. Processing triggers for man-db (2.7.0.2-5) ...
      21. Processing triggers for openmediavault (3.0.64) ...
      22. Restarting engine daemon ...
      23. Setting up netatalk (3.1.9-1) ...
      24. Job for netatalk.service failed. See 'systemctl status netatalk.service' and 'journalctl -xn' for details.
      25. Job for netatalk.service failed. See 'systemctl status netatalk.service' and 'journalctl -xn' for details.
      26. Setting up openmediavault-netatalk (3.2.7) ...
      27. Updating service units ...
      28. Updating configuration database ...
      29. Updating configuration ...
      30. Processing triggers for openmediavault (3.0.64) ...
      31. Updating locale files ...
      32. Updating file permissions ...
      33. Purging internal cache ...
      34. Restarting engine daemon ...
      35. Terminé ...
      Display All




      When i try to start the Netatalk service i have some error

      Source Code

      1. Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; systemctl start netatalk 2>&1' with exit code '1': Job for netatalk.service failed. See 'systemctl status netatalk.service' and 'journalctl -xn' for details.



      Source Code

      1. * netatalk.service - Netatalk AFP fileserver for Macintosh clients
      2. Loaded: loaded (/lib/systemd/system/netatalk.service; enabled)
      3. Active: failed (Result: start-limit) since Fri 2017-03-03 22:15:56 CET; 41s ago
      4. Docs: man:afp.conf(5)
      5. man:netatalk(8)
      6. man:afpd(8)
      7. man:cnid_metad(8)
      8. man:cnid_dbd(8)
      9. http://netatalk.sourceforge.net/
      10. Process: 22088 ExecStart=/usr/sbin/netatalk (code=exited, status=0/SUCCESS)
      11. Main PID: 22090 (code=exited, status=2)
      12. Mar 03 22:15:55 NAS systemd[1]: Started Netatalk AFP fileserver for Macintosh clients.
      13. Mar 03 22:15:55 NAS systemd[1]: netatalk.service: main process exited, code=exited, status=2/INVALIDARGUMENT
      14. Mar 03 22:15:55 NAS systemd[1]: Unit netatalk.service entered failed state.
      15. Mar 03 22:15:56 NAS systemd[1]: netatalk.service holdoff time over, scheduling restart.
      16. Mar 03 22:15:56 NAS systemd[1]: Stopping Netatalk AFP fileserver for Macintosh clients...
      17. Mar 03 22:15:56 NAS systemd[1]: Starting Netatalk AFP fileserver for Macintosh clients...
      18. Mar 03 22:15:56 NAS systemd[1]: netatalk.service start request repeated too quickly, refusing to start.
      19. Mar 03 22:15:56 NAS systemd[1]: Failed to start Netatalk AFP fileserver for Macintosh clients.
      20. Mar 03 22:15:56 NAS systemd[1]: Unit netatalk.service entered failed state.
      21. root@NAS:/lib/systemd/system# journalctl -xn
      22. -- Logs begin at Thu 2017-03-02 06:39:48 CET, end at Fri 2017-03-03 22:17:11 CET. --
      23. Mar 03 22:17:10 NAS postfix/smtp[20100]: 889431E36247: to=<NAS@local.fr>, relay=Smtp.orange.fr[193.252.22.86]:25, conn_use=31, delay=3.1, delays=0/0/0.04
      24. Mar 03 22:17:10 NAS postfix/cleanup[22101]: A14A71E3660E: message-id=<20170303211710.A14A71E3660E@NAS.local>
      25. Mar 03 22:17:10 NAS postfix/qmgr[2414]: A14A71E3660E: from=<NAS@local.fr>, size=15828, nrcpt=1 (queue active)
      26. Mar 03 22:17:10 NAS postfix/bounce[22103]: 889431E36247: sender non-delivery notification: A14A71E3660E
      27. Mar 03 22:17:10 NAS postfix/qmgr[2414]: 889431E36247: removed
      28. Mar 03 22:17:11 NAS postfix/smtp[20098]: EA4EF1E36254: to=<NAS@local.fr>, relay=Smtp.orange.fr[193.252.22.84]:25, conn_use=31, delay=3.1, delays=0/0/0.04
      29. Mar 03 22:17:11 NAS postfix/cleanup[22101]: 0EB051E36614: message-id=<20170303211711.0EB051E36614@NAS.local>
      30. Mar 03 22:17:11 NAS postfix/qmgr[2414]: 0EB051E36614: from=<NAS@local.fr>, size=44568, nrcpt=1 (queue active)
      31. Mar 03 22:17:11 NAS postfix/bounce[22103]: EA4EF1E36254: sender non-delivery notification: 0EB051E36614
      32. Mar 03 22:17:11 NAS postfix/qmgr[2414]: EA4EF1E36254: removed
      Display All


      Source Code: systemctl status netatalk.service

      1. * netatalk.service - Netatalk AFP fileserver for Macintosh clients
      2. Loaded: loaded (/lib/systemd/system/netatalk.service; enabled)
      3. Active: failed (Result: start-limit) since Fri 2017-03-03 22:15:56 CET; 41s ago
      4. Docs: man:afp.conf(5)
      5. man:netatalk(8)
      6. man:afpd(8)
      7. man:cnid_metad(8)
      8. man:cnid_dbd(8)
      9. http://netatalk.sourceforge.net/
      10. Process: 22088 ExecStart=/usr/sbin/netatalk (code=exited, status=0/SUCCESS)
      11. Main PID: 22090 (code=exited, status=2)
      12. Mar 03 22:15:55 NAS systemd[1]: Started Netatalk AFP fileserver for Macintosh clients.
      13. Mar 03 22:15:55 NAS systemd[1]: netatalk.service: main process exited, code=exited, status=2/INVALIDARGUMENT
      14. Mar 03 22:15:55 NAS systemd[1]: Unit netatalk.service entered failed state.
      15. Mar 03 22:15:56 NAS systemd[1]: netatalk.service holdoff time over, scheduling restart.
      16. Mar 03 22:15:56 NAS systemd[1]: Stopping Netatalk AFP fileserver for Macintosh clients...
      17. Mar 03 22:15:56 NAS systemd[1]: Starting Netatalk AFP fileserver for Macintosh clients...
      18. Mar 03 22:15:56 NAS systemd[1]: netatalk.service start request repeated too quickly, refusing to start.
      19. Mar 03 22:15:56 NAS systemd[1]: Failed to start Netatalk AFP fileserver for Macintosh clients.
      20. Mar 03 22:15:56 NAS systemd[1]: Unit netatalk.service entered failed state.
      Display All
      OMV Erasmus (always the last version) - version:AMD64 - noyau:4.7.0 - CPU:AMD II X2 250 - RAM:8Gb - RAID1 and RAID5
    • For me everything is correctly install

      ii libatalk17 3.1.9-1 amd64 AppleTalk library used by Netatalk
      ii netatalk 3.1.9-1 amd64 AppleTalk user binaries
      ii openmediavault-netatalk 3.2.7 all OpenMediaVault netatalk (AppleTalk Protocol Suite) plugin
      OMV Erasmus (always the last version) - version:AMD64 - noyau:4.7.0 - CPU:AMD II X2 250 - RAM:8Gb - RAID1 and RAID5
    • First check that the process is actually running

      ps uax | grep netatalk

      If is empty

      Check that you can start manually the binary just in terminal run

      /usr/sbin/netatalk

      if it exits correctly

      check the running processes

      ps uax | grep netatalk
      New wiki
      chat support at #openmediavault@freenode IRC | Spanish & English | GMT+10
      telegram.me/openmediavault broadcast channel
      openmediavault discord server
    • With the command i have no output

      Source Code

      1. /usr/sbin/netatalk
      2. root@NAS:~# /usr/sbin/netatalk
      3. root@NAS:~# ps uax | grep netatalk
      4. root 7412 0.0 0.0 12748 2192 pts/0 S+ 10:07 0:00 grep netatalk

      But i don't see the netatalk running
      OMV Erasmus (always the last version) - version:AMD64 - noyau:4.7.0 - CPU:AMD II X2 250 - RAM:8Gb - RAID1 and RAID5
    • Try this ones

      wget https://www.dropbox.com/s/0subanccp7kwm63/netatalk_3.1.10-1_amd64.deb?dl=0

      wget https://www.dropbox.com/s/twbdt888gfh0oce/libatalk18_3.1.10-1_amd64.deb?dl=0

      apt-get purge libatalk* netatalk


      dpkg -i libatalk18_3.1.10-1_amd64.deb netatalk_3.1.10-1_amd64.deb

      reinstall plugin

      apt-get install openmediavault-netatalk
      New wiki
      chat support at #openmediavault@freenode IRC | Spanish & English | GMT+10
      telegram.me/openmediavault broadcast channel
      openmediavault discord server

      The post was edited 1 time, last by subzero79: updated links ().