Results 1 to 18 of 18
  1. #1
    Join Date
    Feb 2008
    Posts
    39

    Port 80 neither litespeed nor apache load.

    Well on our dedicated server we have, had a recent DdoS which was blocked by our apf firewall and manually. Server after the Ddos actually became faster and after a few hours port 80 went down. We have got Litespeed installed and we don't use apache.
    Basically WHM/cpanel and ssh work perfectly. But port 80 doesn't work. Anyone has anyone knows how to fix this?

    Code:
    Specs : 
    Intel C2Q Q9450
    8196 MB DDR2 RAM
    500 GB 7.200RPM
    2000GB Transfer p/m
    OS: CentOS 5.2
    Code:
    Error :
    2009-08-28 06:52:41.579 [NOTICE] Your License key will expire in 241 days
    2009-08-28 06:52:41.579 [NOTICE] Loading LiteSpeed/3.3.23 Enterprise ...
    2009-08-28 06:52:41.579 [NOTICE] [ADMIN] server socket: uds://opt/lsws/admin/tmp/admin.sock.7695
    2009-08-28 06:52:41.579 [NOTICE] Loading configuration from /opt/lsws/conf/httpd_config.xml ...
    2009-08-28 06:52:41.580 [NOTICE] [config] chroot is disabled.
    2009-08-28 06:52:41.580 [INFO] old priority: 0, new priority: 0
    2009-08-28 06:52:41.580 [INFO] [config:server:basic] For better obscurity, server version number is hidden in the response header.
    2009-08-28 06:52:41.581 [ERROR] [config:admin:listener:adminListener] missing <certFile> in <listener>
    2009-08-28 06:52:41.581 [ERROR] [config:admin:listener] No listener is available for admin virtual host!
    2009-08-28 06:52:41.581 [ERROR] Fatal error in configuration, exit!

  2. #2
    What is the error message you are getting while trying to start apache / litespeed ?
    Eldho @ Xieles Support
    High Quality Server Management
    sales@xieles.com

  3. #3
    Join Date
    Feb 2008
    Posts
    39
    Code:
    [root@server ~]# service httpd restart
    [OK] Your trial license key will expire in 241 days!
    Warning: DocumentRoot [/dev/null] does not exist
    httpd (no pid file) not running
    [OK] lshttpd: pid=22378.

  4. #4
    Join Date
    Feb 2008
    Posts
    39
    anyone my site is currently down.

  5. #5
    Join Date
    Jun 2003
    Location
    World Wide Web
    Posts
    581
    May be the server is still under ddos attack . See the output of the following command

    netstat -plan|grep :80|awk {'print $5'}|cut -d: -f 1|sort|uniq -c|sort -nk 1

    LiteSpeed should offer built-in denial of service attack protection . It should be easy for you to find how the attack is targeted .

    If you have the root access, there are couple of tools like mod evasive , DDos Deflate which might give you protection upto an extent. Make the server secure in general, harden the security loopholes and tweak the server accordingly . Take the help of any experienced server admins .
    SupportExpertz.com - the name says it all!
    Managed Cloud Servers
    Server Management and Monitoring
    24x7 outsourced customer support

  6. #6
    Join Date
    Feb 2008
    Posts
    39
    as in there are not anymore DDos, after the DDos the server worked perfectly and after a few hours port 80 stopped working.

  7. #7
    Join Date
    Feb 2008
    Posts
    39
    LiteSpeed Web Server Control Operation ... Switch to Apache

    Stopped LSWS
    Apache is not up within 30 secs, please try again

    LiteSpeed is still running! Failed to switch to Apache. Please try again!

  8. #8
    Join Date
    Jun 2003
    Location
    World Wide Web
    Posts
    581
    Seems to be a configuration problem .
    SupportExpertz.com - the name says it all!
    Managed Cloud Servers
    Server Management and Monitoring
    24x7 outsourced customer support

  9. #9
    Join Date
    Feb 2008
    Posts
    39
    here is my admin_config.xml

    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <adminConfig>
      <enableCoreDump>1</enableCoreDump>
      <sessionTimeout>3600</sessionTimeout>
      <logging>
        <log>
          <useServer>0</useServer>
          <fileName>$VH_ROOT/logs/error.log</fileName>
          <logLevel>INFO</logLevel>
          <rollingSize>10M</rollingSize>
        </log>
        <accessLog>
          <useServer>0</useServer>
          <fileName>$VH_ROOT/logs/access.log</fileName>
          <rollingSize>10M</rollingSize>
          <keepDays>90</keepDays>
        </accessLog>
      </logging>
      <security>
     <accessControl>
          <allow>ALL</allow>
          <deny></deny>
        </accessControl>
      </security>
      <listenerList>
        <listener>
          <name>adminListener</name>
          <address>127.0.0.1:8070</address>
          <binding></binding>
          <secure>1</secure>
          <note></note>
        </listener>
      </listenerList>
    </adminConfig>

  10. #10
    Join Date
    Jun 2003
    Location
    World Wide Web
    Posts
    581
    Check the config file lsws/admin/conf/

    What have you given "Secure" as ? If it is "Yes" , change it to "No"

    run,
    /usr/local/lsws/bin/lswsctrl start
    /usr/local/lsws/bin/lswsctrl reload

    Have you made any configuration changes recently ?
    SupportExpertz.com - the name says it all!
    Managed Cloud Servers
    Server Management and Monitoring
    24x7 outsourced customer support

  11. #11
    Join Date
    Feb 2008
    Posts
    39
    no changes have been done recently.

  12. #12
    Join Date
    Jun 2003
    Location
    World Wide Web
    Posts
    581
    I doubt its configuration issue as it shows missing <certFile>

    If you set "Secure" to "Yes", you need to specify SSL key and certificate . So change it to No .
    If you have any difficulties then its better you contact any admins help to avoid further downtime .
    SupportExpertz.com - the name says it all!
    Managed Cloud Servers
    Server Management and Monitoring
    24x7 outsourced customer support

  13. #13
    Join Date
    Mar 2009
    Location
    /home/khunj
    Posts
    433
    Code:
          <secure>1</secure>
    As mentionned by logicsupport, LiteSpeed won't start if you don't set it to 0 (unless you configure the admin SSL certificat option).
    NinTechNet
    ★ NinjaFirewall : Web Application Firewall for PHP and WordPress.
    ★ NinjaMonitoring : Monitor your website for suspicious activities.

  14. #14
    Join Date
    Feb 2008
    Posts
    39
    alright fixed litepseed loads but i cant seem to turn apache on right now because I would like to delete unistall litespeed which would be reinstalled later on.

  15. #15
    Join Date
    Jun 2003
    Location
    World Wide Web
    Posts
    581
    What does it says when you try to "Switch to Apache" from WHM .
    SupportExpertz.com - the name says it all!
    Managed Cloud Servers
    Server Management and Monitoring
    24x7 outsourced customer support

  16. #16
    Join Date
    Feb 2008
    Posts
    39
    i actually deleted litespeed andgnow have troubles with my apache :
    [Sat Aug 29 04:40:55 2009] [error] [client 200.161.111.26] PHP Warning: PHP Startup: Unable to load dynamic library './php_gd.dll' - ./php_gd.dll: cannot open shared object file: No such file or directory in Unknown on line 0, referer
    [Sat Aug 29 04:40:55 2009] [error] [client 200.161.111.26] PHP Warning: PHP Startup: Unable to load dynamic library './php_gd2.dll' - ./php_gd2.dll: cannot open shared object file: No such file or directory in Unknown on line 0, referer
    [Sat Aug 29 04:40:55 2009] [error] [client 200.161.111.26] PHP Warning: PHP Startup: Unable to load dynamic library './xcache.so' - ./xcache.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [Sat Aug 29 04:40:55 2009] [error] [client 200.161.111.26] Premature end of script headers: radio_stats.php
    [Sat Aug 29 04:40:56 2009] [notice] caught SIGTERM, shutting down

  17. #17
    Join Date
    Feb 2008
    Posts
    39
    now im getting this :

    Waiting for httpd to restart..............finished.

    httpd (/usr/local/cpanel/whostmgr/bin/whostmgr ./reshttpd) running as root with PID 26230
    httpd (/usr/local/apache/bin/httpd -k start -DSSL) running as root with PID 26251

    httpd has failed, please contact the sysadmin.

    is there a commmand which would enable me to reinstall the whole of apache.

  18. #18
    Join Date
    Jun 2003
    Location
    World Wide Web
    Posts
    581
    I would say

    /scripts/easyapache

    Take the necessary backup . Never try it if you haven't done it before as it can mess things up . Make a skilled person do it .
    SupportExpertz.com - the name says it all!
    Managed Cloud Servers
    Server Management and Monitoring
    24x7 outsourced customer support

Similar Threads

  1. Litespeed & Apache
    By txitcs in forum Running a Web Hosting Business
    Replies: 10
    Last Post: 04-22-2009, 12:52 PM
  2. apache vs litespeed
    By linktome in forum Hosting Software and Control Panels
    Replies: 1
    Last Post: 07-13-2008, 08:37 PM
  3. LiteSpeed & Apache
    By CoolRock in forum Hosting Software and Control Panels
    Replies: 7
    Last Post: 03-26-2008, 11:06 AM
  4. Lighttpd (Port 8080) and Apache (port 80) on same server
    By whdev in forum Hosting Security and Technology
    Replies: 2
    Last Post: 12-01-2006, 02:15 PM
  5. Can I run Apache In Different Port Instead of port :80 - For Webmail
    By sam75 in forum Hosting Security and Technology
    Replies: 1
    Last Post: 11-07-2003, 04:14 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •