Apache doesn't start after reinstallation

before you ask, yes I already searched for this problem and looked at the few other answeres but none of them helped. I reinstalled apache2 and now it always give me this message (after using "journalctl | tail"):

    Mai 21 19:12:13 v14268 sshd[23964]: Received                         
    disconnect from 212.73.136.72 port 43340:11: Bye Bye         
    [preauth]
    Mai 21 19:12:13 v14268 sshd[23964]: Disconnected from 
    invalid user ait 212.73.136.72 port 43340 [preauth]
    Mai 21 19:12:32 v14268 systemd[1]: Starting The Apache 
    HTTP Server...
    Mai 21 19:12:32 v14268 apachectl[23971]: AH00526: 
    Syntax error on line 3 of /etc/apache2/conf- 
    enabled/phpmyadmin.conf:
    Mai 21 19:12:32 v14268 apachectl[23971]: Invalid 
    command 'Alias', perhaps misspelled or defined by a 
    module not included in the server configuration
    Mai 21 19:12:32 v14268 apachectl[23971]: Action 
    'start' failed.
    Mai 21 19:12:32 v14268 apachectl[23971]: The Apache 
    error log may have more information.
    Mai 21 19:12:32 v14268 systemd[1]: apache2.service: 
    Control process exited, code=exited, status=1/FAILURE
    Mai 21 19:12:32 v14268 systemd[1]: apache2.service: 
    Failed with result 'exit-code'.
    Mai 21 19:12:32 v14268 systemd[1]: Failed to start The 
    Apache HTTP Server.

There is no error log file and even the apache2 support page doesn't show me a solution for this. I'm using Debian 10.4

Thanks in advance

1
задан 21 May 2020 в 22:50

1 ответ

Mai 21 19:12:32 v14268 apachectl[23971]: AH00526: 
Syntax error on line 3 of /etc/apache2/conf- 
enabled/phpmyadmin.conf:
Mai 21 19:12:32 v14268 apachectl[23971]: Invalid 
command 'Alias', perhaps misspelled or defined by a 
module not included in the server configuration

Это означает, что в строке 3 файла / etc / apache2 / conf-enabled / phpmyadmin.conf вы используете команду Alias ​​, которую Apache не понимает.

Скорее всего, это потому, что модуль Apache mod_alias не активирован. Запустите

sudo a2enmod alias 

, чтобы активировать его.

1
ответ дан 19 June 2020 в 21:37

Другие вопросы по тегам:

Похожие вопросы: