Http tjänsten kraschar, står inget i loggen
Visa första olästa |
| #1 | |
|
Nykomling
| Hejsan!
I går fick jag stora problem med cPanel på en utav mina servrar, den kraschar helt plötsligt utan förvarning. Man löser detta problem genom att starta om apache(http) tjänsten men det händer igen inom minuter. Servern använder knappt 15% RAM och mellan 0 till 2% på CPU så inget problem där. cPanel web interface blir inte påverkat och man kan logga in både på cPanel och WHM utan problem, där står det att apache är igång utan något problem. Jag kollar i apache loggen och allt jag får upp är PHP
[Sun Nov 18 06:28:00 2012] [notice] SSL FIPS mode disabled
[Sun Nov 18 06:28:00 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
[Sun Nov 18 06:28:00 2012] [notice] SSL FIPS mode disabled
[Sun Nov 18 06:28:00 2012] [notice] Apache/2.2.23 (Unix) mod_ssl/2.2.23 OpenSSL/1.0.0-fips mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 configured -- resuming no$
DBI connect('database=leechprotect:host=localhost','leechprotect',...) failed: Access denied for user 'leechprotect'@'localhost' (using password: YES) at /usr/local/cpanel/bin/leec$
[Sun Nov 18 06:29:18 2012] [notice] Graceful restart requested, doing restart
[Sun Nov 18 06:29:18 2012] [notice] SSL FIPS mode disabled
[Sun Nov 18 06:29:18 2012] [notice] Apache/2.2.23 (Unix) mod_ssl/2.2.23 OpenSSL/1.0.0-fips mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 configured -- resuming no$
DBI connect('database=leechprotect:host=localhost','leechprotect',...) failed: Access denied for user 'leechprotect'@'localhost' (using password: YES) at /usr/local/cpanel/bin/leec$
[Sun Nov 18 06:29:19 2012] [warn] long lost child came home! (pid 15674)
[Sun Nov 18 06:29:23 2012] [notice] Graceful restart requested, doing restart
[Sun Nov 18 06:29:23 2012] [notice] SSL FIPS mode disabled
[Sun Nov 18 06:29:24 2012] [notice] Apache/2.2.23 (Unix) mod_ssl/2.2.23 OpenSSL/1.0.0-fips mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 configured -- resuming no$
DBI connect('database=leechprotect:host=localhost','leechprotect',...) failed: Access denied for user 'leechprotect'@'localhost' (using password: YES) at /usr/local/cpanel/bin/leec$
[Sun Nov 18 06:29:25 2012] [warn] long lost child came home! (pid 15751)
[Sun Nov 18 06:32:33 2012] [notice] Graceful restart requested, doing restart
[Sun Nov 18 06:32:33 2012] [notice] SSL FIPS mode disabled
[Sun Nov 18 06:32:33 2012] [notice] Apache/2.2.23 (Unix) mod_ssl/2.2.23 OpenSSL/1.0.0-fips mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 configured -- resuming no$
[Sun Nov 18 06:33:32 2012] [notice] Graceful restart requested, doing restart
[Sun Nov 18 06:33:32 2012] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
[Sun Nov 18 06:33:32 2012] [notice] SSL FIPS mode disabled
[Sun Nov 18 06:33:32 2012] [notice] Apache/2.2.23 (Unix) mod_ssl/2.2.23 OpenSSL/1.0.0-fips mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 configured -- resuming no$
[Sun Nov 18 06:47:36 2012] [notice] caught SIGTERM, shutting down
[Sun Nov 18 06:47:46 2012] [notice] SSL FIPS mode disabled
[Sun Nov 18 06:47:46 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
[Sun Nov 18 06:47:46 2012] [notice] SSL FIPS mode disabled
[Sun Nov 18 06:47:47 2012] [notice] Apache/2.2.23 (Unix) mod_ssl/2.2.23 OpenSSL/1.0.0-fips mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 configured -- resuming no$
[Sun Nov 18 08:57:41 2012] [notice] caught SIGTERM, shutting down
Någon som har varit med om liknande förut eller har kunskaper om problem och kan hjälp? |
| #2 | |
|
Flitig postare
|
hmm... har du inge mera felmeddelande typ i syslog? eller i error logs för httpd?
Är lite för klent med info för att veta vad som skulle vara orsaken genom de där. den klagar iofs på ett databas fel men tror inte de har med att tjänsten stannar. Dock kan du testa lösa det och se om de skulle vara en potentiell orsak till varför den stannar. Tror du får testa att starta apache i någon form av debug så att du kan läsa ut vad som är felorsaken. Senast redigerad av ZynX den 2013-04-02 klockan 23:36. |
| #3 | |
|
Nykomling
|
Det du skulle kunna göra är att bygga om apache via easyapache och se till att du har den senaste versionen.
Som ZynX säger så ger inte loggarna som du har bifogat någon vidare information så om det fortsätter kan du alltid kontakta cpanels support. |
| #4 | |
|
Medlem
|
Det den klagar på är att den inte kan ansluta till leecprotect-databasen. Leechprotect är en säkerhetsgrej i cPanel och fungerar den inte är det möjligt att cPanel kraschar.
Stäng av leechprotect eller se till att databasen finns och att cPanel kan ansluta till den. |
| #5 | |
|
Nykomling
| Jag hittade problemet, det fanns tydligen en begränsning på antalet klienter på apache som stoppade detta.
Men jag är tacksam för all hjälp till att försöka hitta mitt problem! |
Aktiva användare som för närvarande tittar på det här ämnet: 0 (0 medlemmar och 0 gäster)

Visa första olästa