склонные sudo - добираются, установка apache2 - не работает

Выполнение:

sudo apt-get install apache2

Результат с:

 * Apache2 is not running
invoke-rc.d: initscript apache2, action "reload" failed.
apache2_invoke headers: already enabled
 * Restarting web server apache2                                                                                                                AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
(98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
(98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
AH00015: Unable to open logs
Action 'start' failed.
The Apache error log may have more information.
                                                                                                                                         [fail]
 * The apache2 instance did not start within 20 seconds. Please read the log files to discover problems
invoke-rc.d: initscript apache2, action "restart" failed.
 * Reloading web server apache2                                                                                                                  * 
 * Apache2 is not running
invoke-rc.d: initscript apache2, action "reload" failed.
dpkg: error processing package gosa (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of gosa-plugin-ssh:
 gosa-plugin-ssh depends on gosa; however:
  Package gosa is not configured yet.

dpkg: error processing package gosa-plugin-ssh (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          Errors were encountered while processing:
 gosa
 gosa-plugin-ssh
E: Sub-process /usr/bin/dpkg returned an error code (1)
ramana@lenovog500:~/KM_GIT/bbb/iot/mysql$ ^C
0
задан 25 June 2017 в 03:39

2 ответа

Вы уже имеете усталый для установки его множество времени, или у Вас уже есть некоторый другой сервер установленным?? Если так, Вы нуждаетесь к подстреленному или удаляете тот другой сервер, (если Вы хотите использовать Apache в качестве локального хоста), Когда у меня была потребность сделать новый веб-сервер Apache установки, у меня было только fallowed это учебное руководство

https://www.youtube.com/watch? v =-q8Jj4aAWYw& t=100s

0
ответ дан 3 November 2019 в 01:15

dpkg, кажется, имеет проблему зависимости с попыткой gosa-plugin-ssh

Package gosa is not configured yet.

dpkg --configure -a

и

apt-get update
apt-get -f install

Хорошие объяснения на следующих ответах:

0
ответ дан 3 November 2019 в 01:15

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

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