by Petfraff » 14. April 2012 19:38
Danke!
Um das ganze mal etwas zu konkretisieren'!
Apache stoppen:
peter@xxx:~$ sudo /etc/init.d/apache2 stop
[sudo] password for peter:
* Stopping web server apache2 ... waiting ........................................................... [ OK ]
Prozesse suchen:
peter@xxx:~$ ps aux |grep apache
root 883 0.0 0.7 28196 7660 ? Ss Apr10 0:22 /usr/sbin/apache2 -k start
peter 8739 0.0 0.0 3316 800 pts/0 S+ 20:43 0:00 grep --color=auto apache
Versuch des Neustarts:
peter@xxx:~$ sudo /etc/init.d/apache2 start
* Starting web server apache2 (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 logs
Geht natürlich nicht! Der Apache läuft ja noch!
Dann eben von Hand!
peter@xxx:~$ sudo kill -9 8759
peter@xxx:~$ ps aux |grep apache2
peter 8935 0.0 0.0 3316 800 pts/0 S+ 20:54 0:00 grep --color=auto apache2
Und siehe da:
peter@xxx:~$ sudo /etc/init.d/apache2 start
* Starting web server apache2 [ OK ]
Da isser wieder!
peter@xxx:~$ ps aux |grep apache2
root 8954 0.0 0.7 28316 7676 ? Ss 20:56 0:00 /usr/sbin/apache2 -k start
www-data 8956 0.0 0.4 28452 4808 ? S 20:56 0:00 /usr/sbin/apache2 -k start
www-data 8957 0.0 0.4 28452 4808 ? S 20:56 0:00 /usr/sbin/apache2 -k start
www-data 8958 0.0 0.4 28452 4808 ? S 20:56 0:00 /usr/sbin/apache2 -k start
www-data 8959 0.0 0.4 28452 4808 ? S 20:56 0:00 /usr/sbin/apache2 -k start
www-data 8960 0.0 0.4 28452 4808 ? S 20:56 0:00 /usr/sbin/apache2 -k start
peter 8966 0.0 0.0 3316 800 pts/0 S+ 20:57 0:00 grep --color=auto apache2
So, währe schön, wenn mir das wer erklären könnte, bzw mir wer sagen kann, was ich da verbogen hab!
Gruß Peter
Ubuntu 12.04
Apache 2.4.4