Failed to connect to socket: No such file or directory

    • Resolved

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Failed to connect to socket: No such file or directory

      I am using OMV for two weeks now and had no problems so far. I've installed (and activated) Plex, Calibre, Owncloud, SMB, BTSync and I tried JDownloader but it did not work.
      Today I saw there were some Updates available (I think system components, maybe PHP, the only package I remember was JDownloader). I started the update and waited about 2 hours. Then i refreshed the Browser and got the following message:

      Source Code

      1. Fehler #7001:
      2. exception 'OMVException' with message 'Failed to connect to socket: No such file or directory' in /usr/share/php/openmediavault/rpc.inc:135
      3. Stack trace:
      4. #0 /var/www/openmediavault/rpc/session.inc(69): OMVRpc::exec('UserMgmt', 'authUser', Array, Array, 2, true)
      5. #1 [internal function]: OMVRpcServiceSession->login(Array, Array)
      6. #2 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
      7. #3 /usr/share/php/openmediavault/rpc.inc(79): OMVRpcServiceAbstract->callMethod('login', Array, Array)
      8. #4 /usr/share/php/openmediavault/rpcproxy.inc(125): OMVRpc::exec('Session', 'login', Array, Array, 3)
      9. #5 /var/www/openmediavault/rpc.php(32): OMVJsonRpcProxy->handle()
      10. #6 {main}


      Since the broken update of unknown packages I can only login by SSH, in the browser frontend I always get the Error 7001.

      I don't know which version I have exactly installed. I downloaded it two weeks ago, so I think it's the newest release version.

      I tried to repair und re-install by apt-get, but it changed nothing.

      Thanks in advance for your help,

      Karsten
    • The error message indicates that the most important daemon called omv-engined is not running. Please try to run it manually to find out why it is not running:

      Source Code

      1. # omv-engined -d -f


      Please post any error message shown.
      Absolutely no support through PM!

      I must not fear.
      Fear is the mind-killer.
      Fear is the little-death that brings total obliteration.
      I will face my fear.
      I will permit it to pass over me and through me.
      And when it has gone past I will turn the inner eye to see its path.
      Where the fear has gone there will be nothing.
      Only I will remain.

      Litany against fear by Bene Gesserit
    • Source Code

      1. omv-engined -d -f
      2. PHP Parse error: syntax error, unexpected '$rpcServiceMgr' (T_VARIABLE), expecting function (T_FUNCTION) in /usr/share/openmediavault/engined/rpc/jdownloader.inc on line 203


      That's why I already purged and reinstalled downloader but it changed nothing. but there was an error when trying to purge jdownloader.

      Source Code

      1. ​root@thesquirrelden:~# apt-get purge openmediavault-jdownloader
      2. Paketlisten werden gelesen... Fertig
      3. Abhängigkeitsbaum wird aufgebaut.
      4. Statusinformationen werden eingelesen.... Fertig
      5. Die folgenden Pakete werden ENTFERNT:
      6. openmediavault-jdownloader*
      7. 0 aktualisiert, 0 neu installiert, 1 zu entfernen und 0 nicht aktualisiert.
      8. Nach dieser Operation werden 2.355 kB Plattenplatz freigegeben.
      9. Möchten Sie fortfahren [J/n]? J
      10. (Lese Datenbank ... 50907 Dateien und Verzeichnisse sind derzeit installiert.)
      11. Entfernen von openmediavault-jdownloader ...
      12. Stopping Jdownloader daemon:
      13. Other Stopping Jdownloader daemon:
      14. Löschen der Konfigurationsdateien von openmediavault-jdownloader ...
      15. dpkg: Fehler beim Bearbeiten von openmediavault-jdownloader (--purge):
      16. Unterprozess installiertes post-removal-Skript gab den Fehlerwert 1 zurück
      17. Trigger für openmediavault werden verarbeitet ...
      18. Restarting engine daemon ...
      19. Fehler traten auf beim Bearbeiten von:
      20. openmediavault-jdownloader
      21. Creating index of upgradeable packages ...
      22. Creating index of OpenMediaVault plugins ...
      23. E: Sub-process /usr/bin/dpkg returned an error code (1)
      Display All





      The post was edited 1 time, last by faxesystem ().

    • Nice, that did the job! :D

      Perfect community support btw. ;)

      Source Code

      1. ​root@thesquirrelden:~# apt-get upgrade
      2. Paketlisten werden gelesen... Fertig
      3. Abhängigkeitsbaum wird aufgebaut.
      4. Statusinformationen werden eingelesen.... Fertig
      5. Die folgenden Pakete werden aktualisiert (Upgrade):
      6. openmediavault-jdownloader
      7. 1 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
      8. Es müssen 2.323 kB an Archiven heruntergeladen werden.
      9. Nach dieser Operation werden 1.024 B Plattenplatz zusätzlich benutzt.
      10. Möchten Sie fortfahren [J/n]? j
      11. WARNUNG: Die folgenden Pakete können nicht authentifiziert werden!
      12. openmediavault-jdownloader
      13. Diese Pakete ohne Überprüfung installieren [j/N]? j
      14. Holen: 1 http://dh2k.omv-extras.org/debian/ kralizec-miller/main openmediavault-jdownloader all 1.0.10 [2.323 kB]
      15. Es wurden 2.323 kB in 1 s geholt (1.317 kB/s).
      16. (Lese Datenbank ... 50908 Dateien und Verzeichnisse sind derzeit installiert.)
      17. Vorbereitung zum Ersetzen von openmediavault-jdownloader 1.0.9 (durch .../openmediavault-jdownloader_1.0.10_all.deb) ...
      18. Stopping Jdownloader daemon:
      19. Not running so not Stopping Jdownloader daemon:
      20. Ersatz für openmediavault-jdownloader wird entpackt ...
      21. Trigger für openmediavault werden verarbeitet ...
      22. Restarting engine daemon ...
      23. openmediavault-jdownloader (1.0.10) wird eingerichtet ...
      24. jdownloader user already exists.
      25. Cleaning old pid file...
      26. Trigger für openmediavault werden verarbeitet ...
      27. Updating locale files ...
      28. Updating file permissions ...
      29. Purging internal cache ...
      30. Restarting engine daemon ...
      31. Creating index of upgradeable packages ...
      32. Creating index of OpenMediaVault plugins ...
      Display All
    • Hi,

      I have a problem with my system. no log in via browser only with ssh

      this is the log from browse log in

      Fehler #7001:
      exception 'OMVException' with message 'Failed to connect to socket: No such file or directory' in /usr/share/php/openmediavault/rpc.inc:135
      Stack trace:
      #0 /var/www/openmediavault/rpc/session.inc(72): OMVRpc::exec('UserMgmt', 'authUser', Array, Array, 2, true)
      #1 [internal function]: OMVRpcServiceSession->login(Array, Array)
      #2 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
      #3 /usr/share/php/openmediavault/rpc.inc(79): OMVRpcServiceAbstract->callMethod('login', Array, Array)
      #4 /usr/share/php/openmediavault/rpcproxy.inc(125): OMVRpc::exec('Session', 'login', Array, Array, 3)
      #5 /var/www/openmediavault/rpc.php(32): OMVJsonRpcProxy->handle()
      #6 {main}

      anybody an answer for his ?

      thanks
    • hi there,

      i have the same same problem :)

      Fehler #7001:
      exception 'OMVException' with message 'Failed to connect to socket: No such file or directory' in /usr/share/php/openmediavault/rpc.inc:135
      Stack trace:
      #0 /usr/share/php/openmediavault/rpcproxy.inc(125): OMVRpc::exec('Apt', 'enumerateUpgrad...', Array, Array, 3)
      #1 /var/www/openmediavault/rpc.php(32): OMVJsonRpcProxy->handle()
      #2 {main}

      root@openmediavault:~# omv-engined -d -f
      PHP Parse error: syntax error, unexpected ')' in /usr/share/openmediavault/engined/rpc/omvextrasorg.inc on line 183
      root@openmediavault:~#
    • Stupid cut&paste error on my part in omv-extras.
      Just do the following:

      apt-get update
      apt-get install openmediavault-omvextrasorg
      omv 4.0.19 arrakis | 64 bit | 4.14 backports kernel | omvextrasorg 4.1.2
      omv-extras.org plugins source code and issue tracker - github.com/OpenMediaVault-Plugin-Developers

      Please don't PM for support... Too many PMs!
    • votdev wrote:

      The error message indicates that the most important daemon called omv-engined is not running. Please try to run it manually to find out why it is not running:

      Source Code

      1. # omv-engined -d -f

      Please post any error message shown.
      PHP Fatal error: require_once(): Failed opening required 'openmediavault/log.inc' (include_path='.:/usr/share/php:/usr/share/pear') in /usr/share/openmediavault/engined/inc/cups-logfile.inc on line 20

      those file names seemed to be quite similar to the plugins i had previously had. i purged all of the openmediavault-<plugin> names that were causing errors. engined now runs.

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