Current time: 07-02-2024, 03:41 AM Hello There, Guest! (LoginRegister)


Post Reply 
Apache Absturz nachdem Benutzer / Domain angelegt wird
Author Message
hanskaschpa Offline
Junior Member
*

Posts: 12
Joined: Feb 2010
Reputation: 0
Post: #1
Apache Absturz nachdem Benutzer / Domain angelegt wird
Hab eine 1.0.2 die 1a funktioniert hat auf ne 1.0.3 upged.
hat alles ohne Fehler (soweit ich das beurteilen kann) geklappt.

Die 1.0.3 läuft auch soweit,
aber wenn ich nen Benutzer bzw. eine Domain anlege,
dann schmiert der Apache ab.
Der Fehler tritt nicht immer auf, manchmal kann man einen oder mehrere Benutzer anlegen und die Kiste läuft und die Hosts werden sauber erstellt ...

und das tolle daran, die error.log is leer !!

Kann es was mit dem Problem zu tun haben ??
http://isp-control.net/forum/thread9061....ach+update

Wenn ich den Apache starte, läuft der wieder.

vorhin hat er mir beim starten (aber nur einmal) folgenden Fehler ausgegeben:

server:~# invoke-rc.d apache2 start
Starting web server: apache2.
server:~#
CRITICAL ERROR: Module [Crypt::CBC] WAS NOT FOUND !

CRITICAL ERROR: Module [Crypt::PasswdMD5] WAS NOT FOUND !

Modules [Crypt::CBC, Crypt::PasswdMD5] WAS NOT FOUND in your system...

Aber wie schon gesagt ... nur einmal,
ansonsten hat er sich immer ohne Probleme bzw.
Meldungen wieder starten lassen ....

Danke schon mal für eure Unterstützung
02-05-2010 06:20 AM
Find all posts by this user Quote this message in a reply
ZooL Offline
Moderator
*****
Moderators

Posts: 3,429
Joined: Jan 2007
Reputation: 79
Post: #2
RE: Apache Absturz nachdem Benutzer / Domain angelegt wird
schon geschaut ob diese packete installiert sind ? denn das sind die verfahren die passwörter zu verschlüsseln...

mfg
02-05-2010 01:24 PM
Visit this user's website Find all posts by this user Quote this message in a reply
hanskaschpa Offline
Junior Member
*

Posts: 12
Joined: Feb 2010
Reputation: 0
Post: #3
RE: Apache Absturz nachdem Benutzer / Domain angelegt wird
moin!
so zur info...
hab die Kiste jetzt mal platt gemacht und Debian neu aufgesetzt,
ispCP 1.0.3 drauf und wieder das gleiche ....
einen benutzer angelegt, peng und der Apache war wieder weg.

der Apache lässt sich aber dieses mal sauber ohne fehler starten ...

werd mal die logs durchsuchen ....
so, hier mal die logs ...

/var/log/apache2/users/default-error.log
[Fri Feb 05 09:12:07 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Fri Feb 05 09:12:07 2010] [notice] FastCGI: wrapper mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Fri Feb 05 09:12:07 2010] [notice] FastCGI: process manager initialized (pid 1784)
[Fri Feb 05 09:12:07 2010] [warn] FastCGI: server "/var/www/fcgi/master/php5-fcgi-starter" (uid 2000, gid 2000) started (pid 1785)
[Fri Feb 05 09:12:07 2010] [notice] Apache/2.2.9 (Debian) mod_fastcgi/2.4.6 configured -- resuming normal operations
[Fri Feb 05 09:12:07 2010] [alert] (12)Cannot allocate memory: apr_thread_create: unable to create worker thread
...
[Fri Feb 05 09:16:59 2010] [alert] (12)Cannot allocate memory: apr_thread_create: unable to create worker thread
[Fri Feb 05 09:17:01 2010] [alert] (12)Cannot allocate memory: apr_thread_create: unable to create worker thread
[Fri Feb 05 09:17:03 2010] [notice] SIGUSR1 received. Doing graceful restart
[Fri Feb 05 09:17:03 2010] [alert] (12)Cannot allocate memory: apr_thread_create: unable to create worker thread
[Fri Feb 05 09:17:06 2010] [notice] FastCGI: wrapper mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Fri Feb 05 09:17:06 2010] [notice] FastCGI: process manager initialized (pid 2493)
[Fri Feb 05 09:17:06 2010] [warn] FastCGI: server "/var/www/fcgi/master/php5-fcgi-starter" (uid 2000, gid 2000) started (pid 2494)
[Fri Feb 05 09:17:06 2010] [notice] Apache/2.2.9 (Debian) mod_fastcgi/2.4.6 configured -- resuming normal operations
[Fri Feb 05 09:17:07 2010] [alert] (12)Cannot allocate memory: apr_thread_create: unable to create worker thread
[Fri Feb 05 09:17:07 2010] [alert] (12)Cannot allocate memory: apr_thread_create: unable to create worker thread
[Fri Feb 05 09:17:09 2010] [alert] (12)Cannot allocate memory: apr_thread_create: unable to create worker thread
[Fri Feb 05 09:17:11 2010] [alert] (12)Cannot allocate memory: apr_thread_create: unable to create worker thread
[Fri Feb 05 09:17:13 2010] [alert] (12)Cannot allocate memory: apr_thread_create: unable to create worker thread
[Fri Feb 05 09:17:15 2010] [alert] (12)Cannot allocate memory: apr_thread_create: unable to create worker thread
[Fri Feb 05 09:17:17 2010] [alert] (12)Cannot allocate memory: apr_thread_create: unable to create worker thread
[Fri Feb 05 09:17:18 2010] [warn] long lost child came home! (pid 1782)
[Fri Feb 05 09:17:19 2010] [alert] No active workers found... Apache is exiting!

/var/log/apache2
[Tue Oct 13 11:36:32 2009] [notice] Apache/2.2.9 (Debian) configured -- resuming normal operations
[Tue Oct 13 12:10:46 2009] [notice] caught SIGTERM, shutting down
[Fri Feb 05 08:54:51 2010] [notice] FastCGI: process manager initialized (pid 1764)
[Fri Feb 05 08:54:51 2010] [notice] Apache/2.2.9 (Debian) mod_fastcgi/2.4.6 configured -- resuming normal operations
[Fri Feb 05 09:02:34 2010] [notice] caught SIGTERM, shutting down
[Fri Feb 05 09:02:49 2010] [notice] FastCGI: process manager initialized (pid 4376)
[Fri Feb 05 09:02:49 2010] [notice] Apache/2.2.9 (Debian) mod_fastcgi/2.4.6 configured -- resuming normal operations
[Fri Feb 05 09:02:50 2010] [notice] Graceful restart requested, doing restart
[Fri Feb 05 09:02:50 2010] [notice] FastCGI: process manager initialized (pid 4423)
[Fri Feb 05 09:02:50 2010] [notice] Apache/2.2.9 (Debian) mod_fastcgi/2.4.6 configured -- resuming normal operations
[Fri Feb 05 09:05:24 2010] [notice] caught SIGTERM, shutting down
[Fri Feb 05 09:05:28 2010] [notice] FastCGI: process manager initialized (pid 5251)
[Fri Feb 05 09:05:28 2010] [notice] Apache/2.2.9 (Debian) mod_fastcgi/2.4.6 configured -- resuming normal operations
[Fri Feb 05 09:05:28 2010] [alert] (12)Cannot allocate memory: apr_thread_create: unable to create worker thread
[Fri Feb 05 09:08:10 2010] [notice] caught SIGTERM, shutting down
[Fri Feb 05 09:08:10 2010] [alert] FastCGI: read() from pipe failed (0)
[Fri Feb 05 09:08:10 2010] [alert] FastCGI: the PM is shutting down, Apache seems to have disappeared - bye
(This post was last modified: 02-05-2010 06:30 PM by hanskaschpa.)
02-05-2010 05:53 PM
Find all posts by this user Quote this message in a reply
xxo Offline
Junior Member
*

Posts: 38
Joined: Sep 2008
Reputation: 0
Post: #4
RE: Apache Absturz nachdem Benutzer / Domain angelegt wird
(12)Cannot allocate memory:

Sagt ja eigentlich schon alles. vserver? Wieviel ram steckt denn drin?
02-06-2010 12:26 AM
Find all posts by this user Quote this message in a reply
ZooL Offline
Moderator
*****
Moderators

Posts: 3,429
Joined: Jan 2007
Reputation: 79
Post: #5
RE: Apache Absturz nachdem Benutzer / Domain angelegt wird
jup genau ram problem tipp ich auch drauf Wink
02-06-2010 02:14 AM
Visit this user's website Find all posts by this user Quote this message in a reply
hanskaschpa Offline
Junior Member
*

Posts: 12
Joined: Feb 2010
Reputation: 0
Post: #6
RE: Apache Absturz nachdem Benutzer / Domain angelegt wird
wird so geween sein....
hab ja nur 512MB und der Apache hat im Leerlauf schon
massen an Speicher beansprucht!
Da ich nur 10 domains auf dem System beteiben möchte
und davon höchstens 2 produktiv laufen,
wird das bestimmt auch reichen .... oder was meint Ihr ??

Hab mein Problem mit apache2-mpm-prefork behoben,
werd mal einige tests machen. Mal sehn, ob die Performance reicht...
02-06-2010 05:36 PM
Find all posts by this user Quote this message in a reply
scysys Offline
Junior Member
*

Posts: 24
Joined: Jan 2010
Reputation: 0
Post: #7
RE: Apache Absturz nachdem Benutzer / Domain angelegt wird
Solltest dein System etwas anpassen wenn dir so wenig zu verfügung steht.

apache2-mpm-prefork ist schon richtig solltest aber auch noch die apache2.conf die mysql einstellungen und die fastcgi einstellungen etwas anpassen. Dann solltest du keine probleme mehr haben.
02-06-2010 08:30 PM
Find all posts by this user Quote this message in a reply
Lucan Offline
Member
*
Beta Team

Posts: 982
Joined: Jul 2008
Reputation: 12
Post: #8
RE: Apache Absturz nachdem Benutzer / Domain angelegt wird
Ja, prefork ist auf kleinen Maschienen definitiv zu bevorzugen.

Ebenfalls hab ich die Erfahrung gemacht, das fastcgi weniger Ram benötigt als fcgid, ggf. das auch mal testen.

Und natürlich an den entsprechenden Configs was schrauben Wink

Grüße
(This post was last modified: 02-06-2010 08:47 PM by Lucan.)
02-06-2010 08:46 PM
Find all posts by this user Quote this message in a reply
hanskaschpa Offline
Junior Member
*

Posts: 12
Joined: Feb 2010
Reputation: 0
Post: #9
RE: Apache Absturz nachdem Benutzer / Domain angelegt wird
kannst du mir pauschal was sagen...

so fit bin ich mit nem produktiven Apache leider nicht.
Ich erwarte schon einigen Traffic und viele Sql Abfragen ....

Wenn ich an die Grenzen stosse, werd ich mir dann schon
ne größere Maschine gönnen, aber solage das ganze im anlaufen ist,
halt ich den finanziellen Ball mal flach ....
02-06-2010 08:50 PM
Find all posts by this user Quote this message in a reply
Lucan Offline
Member
*
Beta Team

Posts: 982
Joined: Jul 2008
Reputation: 12
Post: #10
RE: Apache Absturz nachdem Benutzer / Domain angelegt wird
Was soll dir denn beantwortet werden?

Ich kann aus deinem Posting leider keine wirklich klare Frage erkennen.


Grüße
02-06-2010 08:58 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)