Apache chyba

Sekcia: Konfigurácia 17.07.2009 | 00:19
Avatar DjBass Debian  Používateľ
Keď chcem nainštalovať balík apache2, tak mi vypisuje toto, neviete poradiť, ako to mám opraviť?

djbass@srv1:~$ sudo apt-get install apache2
Reading package lists... Done
Building dependency tree
Reading state information... Done
apache2 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up apache2.2-common (2.2.9-10+lenny2) ...
ERROR: Module alias not properly enabled: /etc/apache2/mods-enabled/alias.load i s a real file, not touching it
dpkg: error processing apache2.2-common (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of apache2-mpm-worker:
apache2-mpm-worker depends on apache2.2-common (= 2.2.9-10+lenny2); however:
Package apache2.2-common is not configured yet.
dpkg: error processing apache2-mpm-worker (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of apache2:
apache2 depends on apache2-mpm-worker (>= 2.2.9-10+lenny2) | apache2-mpm-prefor k (>= 2.2.9-10+lenny2) | apache2-mpm-event (>= 2.2.9-10+lenny2); however:
Package apache2-mpm-worker is not configured yet.
Package apache2-mpm-prefork is not installed.
Package apache2-mpm-event is not installed.
dpkg: error processing apache2 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
apache2.2-common
apache2-mpm-worker
apache2
E: Sub-process /usr/bin/dpkg returned an error code (1)
    • Re: Apache chyba 17.07.2009 | 11:04
      najsamblbejsi   Návštevník
      skus reinstall s purge remove

      djbass@srv1:~$ sudo apt-get remove --purge apache2
      djbass@srv1:~$ sudo apt-get install apache2
      • Re: Apache chyba 17.07.2009 | 14:14
        Avatar DjBass Debian  Používateľ
        To som už skúšal, ale nepomohlo to. :(
    • Re: Apache chyba 17.07.2009 | 17:40
      Avatar Jaroslav Petráš Arch Linux  Používateľ
      Chybu tam mas predsa popisanu. A dokonca este velkym zvyraznenu ;-)

      ERROR: Module alias not properly enabled: /etc/apache2/mods-enabled/alias.load i s a real file, not touching it

      postup:
      # cd /etc/apache2/
      # mv mods-enabled/alias.load mods-available/alias.load
      # cd mods-enabled
      # ln -s ../mods-available/alias.load alias.load
      # apt-get -f install
      301 Keyboard Error. Press any key to resume or F1 for setup...
      • Re: Apache chyba 17.07.2009 | 21:04
        Avatar DjBass Debian  Používateľ
        Presne to som spravil a...

        djbass@srv1:~$ sudo apt-get install apache2
        Reading package lists... Done
        Building dependency tree
        Reading state information... Done
        The following extra packages will be installed:
        apache2-mpm-worker apache2-utils apache2.2-common libaprutil1
        libmysqlclient15off
        Suggested packages:
        apache2-doc apache2-suexec apache2-suexec-custom
        The following NEW packages will be installed:
        apache2 apache2-mpm-worker apache2-utils apache2.2-common libaprutil1
        libmysqlclient15off
        0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
        Need to get 0B/3144kB of archives.
        After this operation, 8770kB of additional disk space will be used.
        Do you want to continue [Y/n]? yes
        Selecting previously deselected package libmysqlclient15off.
        (Reading database ... 43600 files and directories currently installed.)
        Unpacking libmysqlclient15off (from .../libmysqlclient15off_5.0.51a-24+lenny1_i3 86.deb) ...
        Selecting previously deselected package libaprutil1.
        Unpacking libaprutil1 (from .../libaprutil1_1.2.12+dfsg-8+lenny3_i386.deb) ...
        Selecting previously deselected package apache2-utils.
        Unpacking apache2-utils (from .../apache2-utils_2.2.9-10+lenny2_i386.deb) ...
        Selecting previously deselected package apache2.2-common.
        Unpacking apache2.2-common (from .../apache2.2-common_2.2.9-10+lenny2_i386.deb) ...
        Selecting previously deselected package apache2-mpm-worker.
        Unpacking apache2-mpm-worker (from .../apache2-mpm-worker_2.2.9-10+lenny2_i386.d eb) ...
        Selecting previously deselected package apache2.
        Unpacking apache2 (from .../apache2_2.2.9-10+lenny2_all.deb) ...
        Processing triggers for man-db ...
        Setting up libmysqlclient15off (5.0.51a-24+lenny1) ...
        Setting up libaprutil1 (1.2.12+dfsg-8+lenny3) ...
        Setting up apache2-utils (2.2.9-10+lenny2) ...
        Setting up apache2.2-common (2.2.9-10+lenny2) ...
        ERROR: Config file alias.conf not properly enabled: /etc/apache2/mods-enabled/al ias.conf is a real file, not touching it
        dpkg: error processing apache2.2-common (--configure):
        subprocess post-installation script returned error exit status 1
        dpkg: dependency problems prevent configuration of apache2-mpm-worker:
        apache2-mpm-worker depends on apache2.2-common (= 2.2.9-10+lenny2); however:
        Package apache2.2-common is not configured yet.
        dpkg: error processing apache2-mpm-worker (--configure):
        dependency problems - leaving unconfigured
        dpkg: dependency problems prevent configuration of apache2:
        apache2 depends on apache2-mpm-worker (>= 2.2.9-10+lenny2) | apache2-mpm-prefor k (>= 2.2.9-10+lenny2) | apache2-mpm-event (>= 2.2.9-10+lenny2); however:
        Package apache2-mpm-worker is not configured yet.
        Package apache2-mpm-prefork is not installed.
        Package apache2-mpm-event is not installed.
        dpkg: error processing apache2 (--configure):
        dependency problems - leaving unconfigured
        Errors were encountered while processing:
        apache2.2-common
        apache2-mpm-worker
        apache2
        E: Sub-process /usr/bin/dpkg returned an error code (1)
        • Re: Apache chyba 20.07.2009 | 01:09
          Avatar Jaroslav Petráš Arch Linux  Používateľ
          Poziadam Ta o vystup z nasledovneho:
          $ ls -alhCF /etc/apache2/sites-enabled/
          $ ls -alhCF /etc/apache2/sites-available/
          301 Keyboard Error. Press any key to resume or F1 for setup...