apache won't start after update

  • Hi,


    while booting after updating today my OMV 0.5, apache won't start. There were some kernel and other updates to, can't remember exactly.


    Starting web server: apache2apache2: Syntax error on line 203 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/mods-enabled/authnz_external.load: No such file or directory
    Wed May 21 10:49:50 2014: Action 'start' failed.
    Wed May 21 10:49:50 2014: The Apache error log may have more information.
    Wed May 21 10:49:50 2014: ^[[31mfailed!^[[39;49m


    what can i do?
    thanks
    Balázs

  • this helped to solve it:
    http://forums.openmediavault.org/viewtopic.php?f=14&t=3865



  • I have the same problem although the given solution does not work. I'm running Kralizec and getting this error


    Zitat

    Syntax error on line 15 of /etc/apache2/openmediavault-webgui.d/default.conf:
    Wrapper /var/www/openmediavault/php-fcgi cannot be accessed: (2)No such file or directory
    Action 'configtest' failed.
    The Apache error log may have more information.
    failed!


    Anybody has an idea?

    • Offizieller Beitrag

    What version of kralizec? Starting with omv 0.6.0.10, it uses nginx not apache...

    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:


    dpkg -l | grep openmediavault

    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

    OMV isn't installed correctly. Try:


    apt-get install --reinstall openmediavault

    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!

  • root@openmediavault:~# apt-get install --reinstall openmediavault
    Pakketlijsten worden ingelezen... Klaar
    Boom van vereisten wordt opgebouwd
    De status informatie wordt gelezen... Klaar
    De volgende pakketten zijn automatisch geïnstalleerd en zijn niet langer nodig:
    g++-4.4 git libapache2-mod-fcgid libbind9-60 libdb4.7 libdbi0 libdns69 liberror-perl libevent-1.4-2 libgmp3c2 libicu44 libisc62 libisccc60 libisccfg62 libjavascript-minifier-perl libjpeg62 liblwres60 libmysqlclient16 libnl1
    libpython2.6 librpcsecgss3 libsqlite0 libssl0.9.8 libstdc++6-4.4-dev libsvga1 libsysfs2 libt1-5 libtommath0 libx86-1 libxcb-render-util0 par2 php-xml-parser php5 php5-gd php5-mysql php5-sqlite python-cheetah python-configobj
    python-feedparser python-openssl python-support python-yenc python2.6 python2.6-minimal scponly unrar unzip
    Use 'apt-get autoremove' to remove them.
    0 pakketten opgewaardeerd, 0 pakketten nieuw geïnstalleerd, 1 opnieuw geïnstalleerd, 0 te verwijderen en 1 niet opgewaardeerd.
    8 pakketten niet volledig geïnstalleerd of verwijderd.
    Door deze operatie zal er 0 B extra schijfruimte gebruikt worden.
    E: Internal Error, No file name for openmediavault:amd64


    Sorry it's in dutch, but I guess it won't work that way

    • Offizieller Beitrag

    Did you upgrade from 0.5 or install wheezy?

    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 upgrade from 0.5 or install wheezy?

    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 about:


    ls -al /etc/apt/sources.list.d/
    cat /etc/apt/sources.list
    cat /etc/apt/sources.list.d/openmediavault.list

    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!

  • root@openmediavault:~# ls -al /etc/apt/sources.list.d/
    totaal 28
    drwxr-xr-x 2 root root 4096 mei 30 10:26 .
    drwxr-xr-x 6 root root 4096 mei 30 10:13 ..
    -rw-rw-rw- 1 root root 149 mei 10 21:50 backports.list
    -rw-r--r-- 1 root root 15 mei 30 09:59 omv-extras-org-custom.list
    -rw-r--r-- 1 root root 1052 mei 30 09:59 omv-extras-org-kralizec.list
    -rwxr-xr-x 1 root root 673 mei 30 09:59 openmediavault.list
    -rw-r--r-- 1 root root 45 nov 2 2011 openmediavault-local.list
    root@openmediavault:~# cat /etc/apt/sources.list
    #


    # deb cdrom:[Debian GNU/Linux 6.0.0 _Squeeze_ - Official Snapshot amd64 LIVE/INSTALL Binary 20130824-13:07]/ wheezy main non-free


    #deb cdrom:[Debian GNU/Linux 6.0.0 _Squeeze_ - Official Snapshot amd64 LIVE/INSTALL Binary 20130824-13:07]/ wheezy main non-free


    deb http://ftp.be.debian.org/debian/ wheezy main non-free contrib
    deb-src http://ftp.be.debian.org/debian/ wheezy main non-free contrib


    deb http://security.debian.org/ wheezy/updates main contrib non-free
    deb-src http://security.debian.org/ wheezy/updates main contrib non-free


    # wheezy-updates, previously known as 'volatile'
    deb http://ftp.be.debian.org/debian/ wheezy-updates main contrib non-free
    deb-src http://ftp.be.debian.org/debian/ wheezy-updates main contrib non-free
    root@openmediavault:~# cat /etc/apt/sources.list.d/openmediavault.list
    deb http://packages.openmediavault.org/public kralizec main
    # deb http://downloads.sourceforge.n…t/openmediavault/packages kralizec main


    ## Uncomment the following line to add software from the proposed repository.
    # deb http://packages.openmediavault.org/public kralizec-proposed main
    # deb http://downloads.sourceforge.n…t/openmediavault/packages kralizec-proposed main


    ## This software is not part of OpenMediaVault, but is offered by third-party
    ## developers as a service to OpenMediaVault users.
    # deb http://packages.openmediavault.org/public kralizec partner
    # deb http://downloads.sourceforge.n…t/openmediavault/packages kralizec partner

    • Offizieller Beitrag

    I agree with tekkbebe. A lot of the plugins are not installed correctly either. I would remove them and reinstall the openmediavault package.

    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
    apt-get --purge remove openmediavault-wol openmediavault-website openmediavault-transmissionbt openmediavault-sickbeard openmediavault-sabnzbd openmediavault-owncloud


    just copy and paste in command line.

Jetzt mitmachen!

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