hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : Hosting Security and Technology Tutorials : New server - Apache won't start
Reply

Hosting Security and Technology Tutorials Tutorials related to server security or the like.
Forum Jump

New server - Apache won't start

Reply Post New Thread In Hosting Security and Technology Tutorials Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 02-10-2005, 10:52 AM
DSD DSD is offline
Web Hosting Evangelist
 
Join Date: Dec 2001
Posts: 506

New server - Apache won't start


I just got a new Cpanel server, and have been going through and tightening it up, and I seem to have borked apache. I've recompiled it serveral times, with no luck. Here's what I get:


PHP Code:
/etc/rc.d/init.d/httpd start
[Thu Feb 10 09:50:08 2005] [warnLoaded DSO libexec/mod_vhost_alias.so uses plain Apache 1.3 APIthis module might crash under EAPI! (please recompile it with -DEAPI)
Syntax error on line 6 of /usr/local/apache/conf/httpd.conf:
module env_module is built-in and can't be loaded
/etc/rc.d/init.d/httpd start: httpd could not be started 
and here is a portion of my httpd.conf

PHP Code:
Alias /bandwidth/ /usr/local/bandmin/htdocs/

##### Loading modules first...

LoadModule vhost_alias_module libexec/mod_vhost_alias.so
LoadModule env_module         libexec
/mod_env.so
LoadModule config_log_module  libexec
/mod_log_config.so
LoadModule mime_module        libexec
/mod_mime.so
LoadModule negotiation_module libexec
/mod_negotiation.so
LoadModule status_module      libexec
/mod_status.so
LoadModule includes_module    libexec
/mod_include.so
LoadModule autoindex_module   libexec
/mod_autoindex.so
LoadModule dir_module         libexec
/mod_dir.so
LoadModule cgi_module         libexec
/mod_cgi.so
LoadModule asis_module        libexec
/mod_asis.so
LoadModule imap_module        libexec
/mod_imap.so
LoadModule action_module      libexec
/mod_actions.so
LoadModule userdir_module     libexec
/mod_userdir.so
LoadModule alias_module       libexec
/mod_alias.so
LoadModule rewrite_module     libexec
/mod_rewrite.so
LoadModule access_module      libexec
/mod_access.so
LoadModule auth_module        libexec
/mod_auth.so
LoadModule dbm_auth_module    libexec
/mod_auth_dbm.so
LoadModule db_auth_module     libexec
/mod_auth_db.so
LoadModule setenvif_module    libexec
/mod_setenvif.so
# have to place corresponding `LoadModule' lines at this location so the
# LoadModule foo_module libexec/mod_foo.so
LoadModule php4_module        libexec/libphp4.so
LoadModule bwlimited_module   libexec
/mod_bwlimited.so
LoadModule bytes_log_module   libexec
/mod_log_bytes.so
LoadModule auth_passthrough_module libexec
/mod_auth_passthrough.so
LoadModule security_module    libexec
/mod_security.so
# it yourself with a LoadModule [see the DSO paragraph in the 'Global

ClearModuleList

AddModule mod_vhost_alias
.c
AddModule mod_env
.c
AddModule mod_log_config
.c
AddModule mod_mime
.c
AddModule mod_negotiation
.


I can comment out the LoadModule on line 6, but it then complains about line 7, then 8...

Reply With Quote


Sponsored Links
  #2  
Old 02-10-2005, 11:31 AM
Angelo Angelo is offline
Web Hosting Master
 
Join Date: Mar 2004
Location: Los Angeles
Posts: 617
Which version of apache is that?

Reply With Quote
  #3  
Old 02-10-2005, 11:45 AM
DSD DSD is offline
Web Hosting Evangelist
 
Join Date: Dec 2001
Posts: 506
No idea. How do I find that out?

Reply With Quote
Sponsored Links
  #4  
Old 02-10-2005, 12:27 PM
DSD DSD is offline
Web Hosting Evangelist
 
Join Date: Dec 2001
Posts: 506
I figured everything out. I simply deleted httpd.conf and recompiled apache. Everything's good now.

Reply With Quote
  #5  
Old 02-10-2005, 08:27 PM
ReBoot ReBoot is offline
Newbie
 
Join Date: Nov 2004
Posts: 17
login to whm then run buildapache

or in SSH run /scripts/easyapache or buildapache

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Researchers Urge System Admins to Check for New Apache Web Server Backdoor Malware Web Hosting News 2013-05-01 11:35:53
nginx Sees Largest Market Share Growth in Netcraft March Server Survey Web Hosting News 2012-03-05 14:05:29
Apache Web Server Adds Cloud Capabilities with First Major Update in 5 Years Web Hosting News 2012-02-21 16:05:02
Oracle is the Latest Vendor to Apply Patch for Apache Killer Flaw Web Hosting News 2011-09-19 14:43:58
Patch Released for Apache Software DDoS Vulnerability Web Hosting News 2011-08-26 15:03:10


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?