Results 1 to 18 of 18
-
08-28-2009, 04:04 AM #1Junior Guru Wannabe
- 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!
-
08-28-2009, 05:12 AM #2WHT Addict
- Join Date
- Sep 2008
- Posts
- 158
What is the error message you are getting while trying to start apache / litespeed ?
-
08-28-2009, 05:17 AM #3Junior Guru Wannabe
- 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.
-
08-28-2009, 06:23 AM #4Junior Guru Wannabe
- Join Date
- Feb 2008
- Posts
- 39
anyone my site is currently down.
-
08-28-2009, 06:30 AM #5Web Hosting Master
- 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
-
08-28-2009, 06:37 AM #6Junior Guru Wannabe
- 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.
-
08-28-2009, 06:40 AM #7Junior Guru Wannabe
- 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!
-
08-28-2009, 06:53 AM #8Web Hosting Master
- 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
-
08-28-2009, 07:04 AM #9Junior Guru Wannabe
- 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>
-
08-28-2009, 07:04 AM #10Web Hosting Master
- 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
-
08-28-2009, 07:16 AM #11Junior Guru Wannabe
- Join Date
- Feb 2008
- Posts
- 39
no changes have been done recently.
-
08-28-2009, 07:34 AM #12Web Hosting Master
- 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
-
08-28-2009, 11:51 AM #13Aspiring Evangelist
- Join Date
- Mar 2009
- Location
- /home/khunj
- Posts
- 433
Code:<secure>1</secure>
NinTechNet
★ NinjaFirewall : Web Application Firewall for PHP and WordPress.
★ NinjaMonitoring : Monitor your website for suspicious activities.
-
08-28-2009, 12:55 PM #14Junior Guru Wannabe
- 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.
-
08-29-2009, 12:02 AM #15Web Hosting Master
- 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
-
08-29-2009, 12:57 AM #16Junior Guru Wannabe
- 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
-
08-29-2009, 01:01 AM #17Junior Guru Wannabe
- 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.
-
08-29-2009, 01:43 AM #18Web Hosting Master
- 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
-
Litespeed & Apache
By txitcs in forum Running a Web Hosting BusinessReplies: 10Last Post: 04-22-2009, 12:52 PM -
apache vs litespeed
By linktome in forum Hosting Software and Control PanelsReplies: 1Last Post: 07-13-2008, 08:37 PM -
LiteSpeed & Apache
By CoolRock in forum Hosting Software and Control PanelsReplies: 7Last Post: 03-26-2008, 11:06 AM -
Lighttpd (Port 8080) and Apache (port 80) on same server
By whdev in forum Hosting Security and TechnologyReplies: 2Last Post: 12-01-2006, 02:15 PM -
Can I run Apache In Different Port Instead of port :80 - For Webmail
By sam75 in forum Hosting Security and TechnologyReplies: 1Last Post: 11-07-2003, 04:14 PM