I have a big problem. I amde a not cleam install of cPanel. Everything is OK, bus I can not start Apache. httpd failes when trying to start. What can you tell me?
"httpd has failed, please contact the sysadmin."
What shall I do?
I have a big problem. I amde a not cleam install of cPanel. Everything is OK, bus I can not start Apache. httpd failes when trying to start. What can you tell me?
"httpd has failed, please contact the sysadmin."
What shall I do?
Last edited by Grego272; 05-23-2004 at 08:00 AM.
A little more information would be helpful.
SSH into your box and manually stop then start apache and then post any error messages you receive during startup attempt.
error_log:
[Sun May 23 11:35:56 2004] [alert] httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for $ for ServerName
[Sun May 23 11:35:56 2004] [warn] NameVirtualHost 192.168.1.1:80 has no VirtualHosts
[Sun May 23 11:35:56 2004] [warn] NameVirtualHost 192.168.1.1:80 has no VirtualHosts
[Sun May 23 11:35:56 2004] [warn] pid file /usr/local/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apac$ Apache run?
Warning: /boot/System.map has an incorrect kernel version.
Warning: /boot/System.map has an incorrect kernel version.
[Sun May 23 11:35:57 2004] [notice] Apache/1.3.31 (Unix) mod_gzip/1.3.26.1a mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_b$mod+b limited/1.4 PHP/4.3.3 FrontPage/5.0.2.2634 mod_ssl/2.8.17 OpenSSL/0.9.7a configured -- resuming normal operations
[Sun May 23 11:35:57 2004] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
[Sun May 23 11:35:57 2004] [notice] Accept mutex: sysvsem (Default: sysvsem)
Proceses:
root 22218 0.0 0.0 6568 4 ? S May21 0:00 cPanel master install - apache
root 4345 0.0 0.3 5160 828 ? S May21 0:00 cPanel master install - apache
nobody 19182 0.0 1.6 7772 4276 ? S 11:35 0:00 /usr/local/apache/bin/httpd -DSSL
nobody 19183 0.0 1.6 7716 4176 ? S 11:35 0:00 /usr/local/apache/bin/httpd -DSSL
nobody 19184 0.0 1.6 7716 4176 ? S 11:35 0:00 /usr/local/apache/bin/httpd -DSSL
nobody 19185 0.0 1.6 7716 4176 ? S 11:35 0:00 /usr/local/apache/bin/httpd -DSSL
nobody 19186 0.0 1.6 7716 4176 ? S 11:35 0:00 /usr/local/apache/bin/httpd -DSSL
WHM Apache status:
Apache Server Status for 127.0.0.1
Server Version: Apache/1.3.31 (Unix) mod_gzip/1.3.26.1a mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.3.3 FrontPage/5.0.2.2634 mod_ssl/2.8.17 OpenSSL/0.9.7a
Server Built: May 21 2004 19:16:12
--------------------------------------------------------------------------------
Current Time: Sunday, 23-May-2004 11:43:37 GMT+2
Restart Time: Sunday, 23-May-2004 11:35:34 GMT+2
Parent Server Generation: 0
Server uptime: 8 minutes 3 seconds
Total accesses: 1 - Total Traffic: 5 kB
CPU Usage: u0 s0 cu0 cs0
.00207 requests/sec - 10 B/second - 5.0 kB/request
1 requests currently being processed, 4 idle servers
_W___...........................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
Scoreboard Key:
"_" Waiting for Connection, "S" Starting up, "R" Reading Request,
"W" Sending Reply, "K" Keepalive (read), "D" DNS Lookup,
"L" Logging, "G" Gracefully finishing, "." Open slot with no current process
Srv PID Acc M CPU SS Req Conn Child Slot Host VHost Request
0-0 19182 0/1/1 _ 0.00 460 2 0.0 0.01 0.01 127.0.0.1 127.0.0.1 GET /whm-server-status HTTP/1.0
1-0 19183 0/0/0 W 0.00 460 1306908530 0.0 0.00 0.00 127.0.0.1 127.0.0.1 GET /whm-server-status/ HTTP/1.0
Last edited by Grego272; 05-23-2004 at 08:44 AM.
I have deleted /usr/local/apache directory and then I've pushed „Update Apache“ in WHM. After that apache started to work, but ir WHm windows i saw „httpd failed to start“. http://192.168.1.1/ is working, but account: http://192.168.1.1/~grego - not. Is the WHM Service Apache status window: „Apache... failed“. So I don't know what to do. In 2004-05-25 I will have to teach students how to use cPanel, and now I don't know how to start apache.
Last edited by Grego272; 05-24-2004 at 12:46 PM.