Error #3008:

  • Dear OVM


    When i start OVM after some time i get Error #3008:


    Error #3008:
    exception 'OMVException' with message 'Failed to load configuration (Warning 1549: failed to load external entity "/etc/openmediavault/config.xml" (line=0, column=0))' in /usr/share/php/openmediavault/config.inc:423
    Stack trace:
    #0 /usr/share/php/openmediavault/env.inc(22): require_once()
    #1 /var/www/openmediavault/index.php(23): require_once('/usr/share/php/...')
    #2 {main}


    I do not want to reinstall my OMV server is there a way to solve this any other way?


    Thanks for reading :)

  • Which version are you using?


    Greetings
    David

    "Well... lately this forum has become support for everything except omv" [...] "And is like someone is banning Google from their browsers"


    Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.

    Upload Logfile via WebGUI/CLI
    #openmediavault on freenode IRC | German & English | GMT+1
    Absolutely no Support via PM!

    • Offizieller Beitrag

    Is OMV installed on a usb stick? What were you doing when this happened? Did you manually edit config.xml?

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Offizieller Beitrag

    What is the output of (as root):


    ls -al /etc/openmediavault/
    tail /etc/openmediavault/config.xml

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Code
    root@openmediavault:~# ls -al /etc/openmediavault/
    totaal 160
    drwxr-xr-x  2 openmediavault openmediavault  4096 mei 13 21:59 .
    drwxrwxr-x 89 root           root            4096 mei 13 22:01 ..
    -rw-------  1 openmediavault openmediavault 24654 feb 28 09:19 config.old
    -rw-rw-rw-  1 openmediavault openmediavault 24821 mei 13 21:59 config.xml
    -rw-rw-rw-  1 root           root           24821 mei 13 21:59 config.xml.bak
    -rw-r--r--  1 openmediavault openmediavault 68151 mei 25  2013 php.ini
    root@openmediavault:~#
  • root@openmediavault:~# tail /etc/openmediavault/config.xml

    Code
    <enable-management-site>1</enable-management-site>
          <extraoptions></extraoptions>
          <port>3306</port>
          <bindaddress>127.0.0.1</bindaddress>
          <mntentref>33950664-259f-4e25-bc9d-c5cdeae3f12b</mntentref>
          <data-root>/media/e74e086c-d0f0-4afa-b589-da5cd4597141/mysql-data</data-root>
          <showtab>1</showtab>
        </mysql>
      </services>
    </config>
    • Offizieller Beitrag

    Try the following:


    Code
    chmod 0600 /etc/openmediavault/config.xml
    monit stop omv-engined
    omv-engined -df


    Any errors?

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Einmal editiert, zuletzt von ryecoaaron () aus folgendem Grund: code box!

    • Offizieller Beitrag

    That looks ok. Does the web interface work? Leave it in debug mode from above. See if any errors are noticeable.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Offizieller Beitrag

    Were you making a change? It seems like it didn't finish.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Offizieller Beitrag

    Did you change a setting in the web interface?

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Error #3008:exception 'OMVException' with message 'Failed to load configuration ()' in /usr/share/php/openmediavault/config.inc:577Stack trace:#0 /usr/share/php/openmediavault/env.inc(22): require_once()#1 /var/www/openmediavault/index.php(23): require_once('/usr/share/php/...')#2 {main}


    It happend after change OMV_MAX_LOGFILE_LINES in /etc/default/openmediavault

  • Maybe it was because I added this option in the middle instead of the end. Removing this line didn't help, initialization (omv-initystem) too.
    A little found. For some reason many files are missing closing tags "?>"

Jetzt mitmachen!

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