Visas Frage ... [gelöst]

Plesk, Confixx, Froxlor, SysCP, SeCoTo, IspCP, etc.
Post Reply
matthias casper
Posts: 9
Joined: 2005-11-12 10:16
Contact:
 

Visas Frage ... [gelöst]

Post by matthias casper »

Hallo,

habe folgenden Server :
AMD Sempron 2200,512 MB Ram,80 Giga,Suse 9.0.

Nach einem Apache update auf Apache 2.0 kann ich den Apache nicht mehr im Visas neu starten. Was ja auch nichts macht. :) Wenn ich im Visas neue Domains beantrage, dann werden die richtig konektiert, nur laufen diese nicht wirklich im Apache.
Also folgendes:

---- snip ----
h97411:~ # ps aux | grep http | grep httpd.conf
root 24223 0.0 2.2 27340 11244 ? S 13:02 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
wwwrun 24249 0.0 2.3 27476 11528 ? S 13:02 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
wwwrun 24250 0.0 2.3 27472 11508 ? S 13:02 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
wwwrun 24270 0.0 2.3 27340 11476 ? S 13:03 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
wwwrun 24338 0.0 2.3 27472 11508 ? S 13:09 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
wwwrun 24808 0.0 2.3 27340 11476 ? S 13:49 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
wwwrun 24809 0.0 2.3 27472 11524 ? S 13:49 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
wwwrun 24810 0.0 2.3 27472 11528 ? S 13:49 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
wwwrun 24811 0.0 2.3 27340 11484 ? S 13:49 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
wwwrun 24822 0.0 2.3 27472 11524 ? S 13:49 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
wwwrun 27528 0.0 2.2 27340 11376 ? S 17:31 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
root 28098 0.0 0.1 1792 556 pts/0 S 18:17 0:00 grep httpd.conf
h97411:~ #
---- snap ----

Dann

---- snip ----
h97411:~ # kill 28098
-bash: kill: (28098) - No such process
h97411:~ #
---- snap ----

Damit müsste ich den Apache dann neu gestartet haben und die entsprechende Domain sollte laufen. Dies macht sie aber nur mangelhaft. Mal ist sie zu erreichen und mal nicht.
Kann mir da wer einen Tip geben?

Gruß,

Matthias
Last edited by matthias casper on 2005-11-14 16:23, edited 3 times in total.
theomega
Userprojekt
Userprojekt
Posts: 696
Joined: 2003-01-27 14:36
Contact:
 

Re: Visas Frage ... [gelöst]

Post by theomega »

Hy,
dein Kill-Befehl hat die falsch PID, du versuchst den grep-befehl zu töten der schon lange nichtmehr läuft.
Gruß
TO
matthias casper
Posts: 9
Joined: 2005-11-12 10:16
Contact:
 

aw

Post by matthias casper »

Ja, das ist richtig. Habe das ganze noch mal der richtigen PID gemacht.
Ich poste mal kurz wie ich das mit der Domain machen wollte :

cd /etc/apache2/
988 ll
989 grep -r mk81.de *
990 vi httpd.conf
991 cd
992 clear
993 ps aux | grep http
994 clear
995 ps aux | grep http | grep httpd.conf
996 kill 9028
997 ps aux | grep http | grep httpd.conf
998 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf

Ist da etwas falsch dran? Verstehe nicht, warum die Domain nur manchmal läuft.

Gruß,

Matthias
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: Visas Frage ... [gelöst]

Post by Joe User »

Code: Select all

/etc/init.d/apache2 stop
sleep 10 && pkill -u wwwrun
/etc/init.d/apache2 start
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
matthias casper
Posts: 9
Joined: 2005-11-12 10:16
Contact:
 

aw

Post by matthias casper »

apache2 stop = command not found
Roger Wilco
Posts: 5923
Joined: 2004-05-23 12:53
 

Re: aw

Post by Roger Wilco »

Matthias Casper wrote:apache2 stop = command not found
Dann eben "$DEIN_APACHE_INITSKRIPT stop"... :evil:
matthias casper
Posts: 9
Joined: 2005-11-12 10:16
Contact:
 

aw

Post by matthias casper »

na klar, sorry.
matthias casper
Posts: 9
Joined: 2005-11-12 10:16
Contact:
 

aw

Post by matthias casper »

Hallo,

die Seite läuft nun. Nun schätze ich aber, dass ich etwas gekilt habe was nicht sein sollte. Oder aber den falschen Apache gestartet habe.
Wenn ich auf die Visas Seite zugreifen will, dann erscheint im Firefox folgende Meldung:

Beim Versuch, h97411.serverkompetenz.net:22222 zu kontaktieren, wurde die Verbindung zurückgesetzt.

Sorry, stehe da auf dem Schlauch. Kann mir da jemand helfen?
Wäre super nett.

Matthias Casper
matthias casper
Posts: 9
Joined: 2005-11-12 10:16
Contact:
 

aw

Post by matthias casper »

Arghh ... gerade fiel es mir wieder ein :

/etc/init.d/visas start

Sollte man wieder starten nach einem Apache reboot.
Sorry, werde heute früher in s Bett. Kann mich echt nicht mehr konzentrieren heute.
Danke für alle Hilfe von Euch.
Post Reply