LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > cPanel/Easy Apache Failing

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 04-09-2009, 11:14 PM
Tronyx Tronyx is offline
New Member
 
Join Date: Apr 2009
Posts: 7
Default cPanel/Easy Apache Failing

Greetings All,

We recently upgraded some cPanel servers to LSWS and everything has been going pretty well so far.

I am now having a problem regarding cPanel's EasyApache and a conflict that I am not too sure how to resolve.

We typically use EasyApache to recompile PHP and add/remove modules but it looks like there is one last problem with EasyApache and LSWS. Initially we compiled PHP through the LSWS Admin Console with the same CFLAGs that were found with php -i. The compiling went fine and we were able to add in --with-mbstring, but once we restarted the service IonCube, memcached and a few other things weren't working properly. To fix this we used "build matching PHP version" from within the admin console and all was corrected however we did not have mbstring.

The problem now is that we would like to compile with mbstring but EasyApache is failing at one particular step. To clarify, what we had intended to do was to compile PHP through EasyApache and then build matching php version via LSWS admin console but it is failing with, !! '/usr/sbin/lsof -n -iTCP:80 -iTCP:443' failed with exit code '256' !!.

The full failure output is provided below and if you notice in the section of "Ouput from '/bin/netstat -a -n --tcp | grep LISTEN':" neither ports 80 or 443 are listed.

Many thanks for reading all of that!

Code:
 End opt 'IonCube Loader for PHP' --

Updating Apache configuration
Distilled successfully
!! Executing '/scripts/initsslhttpd' !!
!! Restarting 'httpd' ... !!
!! Failed to restart Apache. !!
!! Apache restart failed. Unable to load pid from pid file and no httpd process found in process list.

If apache restart reported success but it failed soon after, it may be caused by oddities with mod_ssl.

You should run /scripts/ssl_crt_status as part of your troubleshooting process. Pass it --help for more details.

Also be sure to examine apache's variouse log files.
Apache Restart Output:

Log:
2009-04-09 23:04:41.009 [NOTICE] [Child: 10006] Shut down successfully!
2009-04-09 23:04:41.009 [INFO] Stop listener 10.100.0.4:80.
2009-04-09 23:04:41.012 [NOTICE] [Child: 28806] Shut down successfully!
2009-04-09 23:04:41.018 [NOTICE] [Child: 10007] Start shutting down gracefully ...
2009-04-09 23:04:41.018 [NOTICE] [Child: 10007] Shut down successfully!
2009-04-09 23:04:41.018 [NOTICE] [Child: 10010] Start shutting down gracefully ...
2009-04-09 23:04:41.019 [NOTICE] [Child: 10009] Start shutting down gracefully ...
2009-04-09 23:04:41.022 [NOTICE] [Child: 10010] Shut down successfully!
2009-04-09 23:04:41.023 [NOTICE] [Child: 10009] Shut down successfully!
2009-04-09 23:04:41.063 [NOTICE] [Child: 10008] Start shutting down gracefully ...
2009-04-09 23:04:41.063 [NOTICE] [Child: 10008] Shut down successfully!  !!
!! '/usr/sbin/lsof -n -iTCP:80 -iTCP:443' failed with exit code '256' !!
!!
Ouput from '/bin/netstat -a -n --tcp | grep LISTEN':
tcp        0      0 a.b.c.d.226:5666         0.0.0.0:*                   LISTEN
tcp        0      0 0.0.0.0:2082                0.0.0.0:*                   LISTEN
tcp        0      0 0.0.0.0:2083                0.0.0.0:*                   LISTEN
tcp        0      0 0.0.0.0:2084                0.0.0.0:*                   LISTEN
tcp        0      0 0.0.0.0:2086                0.0.0.0:*                   LISTEN
tcp        0      0 0.0.0.0:2087                0.0.0.0:*                   LISTEN
tcp        0      0 0.0.0.0:2095                0.0.0.0:*                   LISTEN
tcp        0      0 127.0.0.1:783               0.0.0.0:*                   LISTEN
tcp        0      0 0.0.0.0:111                 0.0.0.0:*                   LISTEN
tcp        0      0 0.0.0.0:2096                0.0.0.0:*                   LISTEN
tcp        0      0 0.0.0.0:465                 0.0.0.0:*                   LISTEN
tcp        0      0 0.0.0.0:819                 0.0.0.0:*                   LISTEN
tcp        0      0 0.0.0.0:21                  0.0.0.0:*                   LISTEN
tcp        0      0 10.100.0.4:53               0.0.0.0:*                   LISTEN
tcp        0      0 a.b.c.d:53           0.0.0.0:*                   LISTEN
tcp        0      0 127.0.0.1:53                0.0.0.0:*                   LISTEN
tcp        0      0 0.0.0.0:631                 0.0.0.0:*                   LISTEN
tcp        0      0 0.0.0.0:25                  0.0.0.0:*                   LISTEN
tcp        0      0 127.0.0.1:953               0.0.0.0:*                   LISTEN
tcp        0      0 0.0.0.0:2077                0.0.0.0:*                   LISTEN
tcp        0      0 0.0.0.0:2078                0.0.0.0:*                   LISTEN
tcp        0      0 :::993                      :::*                        LISTEN
tcp        0      0 :::995                      :::*                        LISTEN
tcp        0      0 :::110                      :::*                        LISTEN
tcp        0      0 :::143                      :::*                        LISTEN
tcp        0      0 :::21                       :::*                        LISTEN
tcp        0      0 :::22                       :::*                        LISTEN
!!
!! Archiving successful build so it can be restored via --restore-archive once the httpd.conf are resolved !!
!! '/usr/local/apache/conf/httpd.conf.1239336250' does not exist, using '/usr/local/apache/conf/httpd.conf' instead !!
!! Done Archiving successful build !!
!! Restoring original working apache !!
!! Executing '/scripts/initsslhttpd' !!
!! Restarting 'httpd' ... !!
!! Failed to restart Apache. !!
!! Apache restart failed. Unable to load pid from pid file and no httpd process found in process list.
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 05:54 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.