Думаю, что проблема в том что при
/etc/init.d/apache2 restart
на самом деле апач не убивается. Все же попробуйте убить его командой
kill или kill -9 если простой kill не поможет (скорее всего не поможет).
PID можно посмотреть
ps aux | grep apache
[EMAIL PROTECTED]:~$ ps aux | grep apache
root 5879 0.0 0.9 10760 2440 ? Ss Apr26 0:00
/usr/sbin/apache2 -k start
www-data 5880 0.0 0.5 10028 1328 ? S Apr26 0:00
/usr/sbin/apache2 -k start
www-data 5884 0.0 0.8 232100 2264 ? Sl Apr26 0:00
/usr/sbin/apache2 -k start
www-data 5886 0.0 1.1 232256 2968 ? Sl Apr26 0:00
/usr/sbin/apache2 -k start
serg 9578 0.0 0.3 2904 776 pts/0 R+ 09:47 0:00 grep apache
Я смог запустить Apache:
[EMAIL PROTECTED]:~$ sudo /etc/init.d/apache2 restart
* Forcing reload of web server (apache2)...
apache2: Could not reliably determine the server's fully qualified domain name,
using 127.0.1.1 for ServerName
httpd (no pid file) not running
apache2: Could not reliably determine the server's fully qualified domain name,
using 127.0.1.1 for ServerName
Apache/2.2.3 mod_ssl/2.2.3 (Pass Phrase Dialog)
Some of your private key files are encrypted for security reasons.
In order to read them you have to provide the pass phrases.
Server testssl:443 (RSA)
Enter pass phrase:
OK: Pass Phrase Dialog successful.
[ OK ]
Но возможно если я перезагружу компьютер apache незапустится (выдаст ошибку)
Ошибка:
apache2: Could not reliably determine the server's fully qualified domain name,
using 127.0.1.1 for ServerName
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open log
--
ubuntu-ru mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-ru