Увидели сообщение с непонятной ссылкой, спам, непристойность или оскорбление?Воспользуйтесь ссылкой «Сообщить модератору» рядом с сообщением!
0 Пользователей и 1 Гость просматривают эту тему.
grep Listen /etc/apache2/apache2.conf#Listen 127.0.0.1:81 ## пробовал такListen *:81 ## и так
root@acer-v5:/etc/apache2/conf.d# service apache2 restartJob for apache2.service failed because the control process exited with error code. See "systemctl status apache2.service" and "journalctl -xe" for details.root@acer-v5:/etc/apache2/conf.d# systemctl status apache2.service -l● apache2.service - LSB: Apache2 web server Loaded: loaded (/etc/init.d/apache2) Active: failed (Result: exit-code) since Срд 2016-03-16 12:45:15 EET; 9s ago Docs: man:systemd-sysv-generator(8) Process: 5150 ExecStart=/etc/init.d/apache2 start (code=exited, status=1/FAILURE) CGroup: /system.slice/apache2.service ├─4867 /usr/sbin/apache2 -k start ├─4870 /usr/sbin/apache2 -k start ├─4871 /usr/sbin/apache2 -k start ├─4872 /usr/sbin/apache2 -k start ├─4873 /usr/sbin/apache2 -k start └─4874 /usr/sbin/apache2 -k startМар 16 12:44:55 acer-v5 systemd[1]: Stopped LSB: Apache2 web server.Мар 16 12:44:55 acer-v5 systemd[1]: Starting LSB: Apache2 web server...Мар 16 12:44:55 acer-v5 apache2[5150]: * Starting web server apache2Мар 16 12:44:55 acer-v5 apache2[5150]: httpd (pid 4867) already runningМар 16 12:45:15 acer-v5 apache2[5150]: *Мар 16 12:45:15 acer-v5 apache2[5150]: * The apache2 instance did not start within 20 seconds. Please read the log files to discover problemsМар 16 12:45:15 acer-v5 systemd[1]: apache2.service: Control process exited, code=exited status=1Мар 16 12:45:15 acer-v5 systemd[1]: Failed to start LSB: Apache2 web server.Мар 16 12:45:15 acer-v5 systemd[1]: apache2.service: Unit entered failed state.Мар 16 12:45:15 acer-v5 systemd[1]: apache2.service: Failed with result 'exit-code'.root@acer-v5:/etc/apache2/conf.d# ss -lnpAinet | grep :81tcp LISTEN 0 128 :::81 :::* users:(("apache2",pid=4874,fd=4),("apache2",pid=4873,fd=4),("apache2",pid=4872,fd=4),("apache2",pid=4871,fd=4),("apache2",pid=4870,fd=4),("apache2",pid=4867,fd=4))
apachectl -SVirtualHost configuration:*:81 learn.su (/etc/apache2/conf.d/learn.conf:1)ServerRoot: "/etc/apache2"Main DocumentRoot: "/var/www/html"Main ErrorLog: "/var/log/apache2/error_log"Mutex watchdog-callback: using_defaultsMutex rewrite-map: using_defaultsMutex default: dir="/var/run/apache2/" mechanism=default Mutex mpm-accept: using_defaultsPidFile: "/var/run/apache2.pid"Define: DUMP_VHOSTSDefine: DUMP_RUN_CFGUser: name="www-data" id=33 not_usedGroup: name="www-data" id=33 not_used
Страница сгенерирована за 0.024 секунд. Запросов: 21.