Reply to topic
htppd won't start
rpcarnell


Joined: 07 Dec 2006
Posts: 21
Reply with quote
Yes, httpd won't start. Each time I type httpd -k graceful, I get the message that it is trying to start, but ****, it doesn't start Sad

This is my httpd.conf file



#BindAddress 76.12.88.210
Listen 80
User dragger
DocumentRoot /var/www2/html/

<Directory "/usr/www2">
Options All
AllowOverride All
Order allow,deny
Allow from all
</Directory>

NameVirtualHost 76.12.88.210:80

LoadModule access_module modules/mod_access.so
LoadModule actions_module modules/mod_actions.so
LoadModule alias_module modules/mod_alias.so
LoadModule asis_module modules/mod_asis.so
LoadModule auth_module modules/mod_auth.so
LoadModule auth_anon_module modules/mod_auth_anon.so
LoadModule auth_dbm_module modules/mod_auth_dbm.so
LoadModule auth_digest_module modules/mod_auth_digest.so
LoadModule autoindex_module modules/mod_autoindex.so
LoadModule cache_module modules/mod_cache.so
LoadModule cern_meta_module modules/mod_cern_meta.so
LoadModule cgi_module modules/mod_cgi.so
LoadModule cgid_module modules/mod_cgid.so
LoadModule dav_module modules/mod_dav.so
LoadModule dav_fs_module modules/mod_dav_fs.so
LoadModule deflate_module modules/mod_deflate.so
LoadModule dir_module modules/mod_dir.so
LoadModule disk_cache_module modules/mod_disk_cache.so
LoadModule env_module modules/mod_env.so
LoadModule expires_module modules/mod_expires.so
LoadModule ext_filter_module modules/mod_ext_filter.so
LoadModule file_cache_module modules/mod_file_cache.so
LoadModule headers_module modules/mod_headers.so
LoadModule imap_module modules/mod_imap.so
LoadModule include_module modules/mod_include.so
LoadModule info_module modules/mod_info.so
LoadModule ldap_module modules/mod_ldap.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule log_forensic_module modules/mod_log_forensic.so
LoadModule logio_module modules/mod_logio.so
LoadModule mem_cache_module modules/mod_mem_cache.so
LoadModule mime_module modules/mod_mime.so
LoadModule mime_magic_module modules/mod_mime_magic.so
LoadModule negotiation_module modules/mod_negotiation.so
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_connect_module modules/mod_proxy_connect.so
LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule speling_module modules/mod_speling.so
LoadModule status_module modules/mod_status.so
LoadModule suexec_module modules/mod_suexec.so
LoadModule unique_id_module modules/mod_unique_id.so
LoadModule userdir_module modules/mod_userdir.so
LoadModule usertrack_module modules/mod_usertrack.so
LoadModule vhost_alias_module modules/mod_vhost_alias.so

<VirtualHost 76.12.88.210:80>
ServerAdmin dragger@timeshare-at-large.com
DocumentRoot /var/www2/html/
ServerName www.timeshare-at-large.com
ServerAlias timeshare-at-large.com
ErrorLog /var/www2/logs/www2_error_log
CustomLog /var/www2/logs/www2_access_log common

<Directory /var/www2/cgi-bin/>
Options +ExecCGI
# AddHandler cgi-script cgi pl
</Directory>

</VirtualHost>



I had to add the modules by hand because Custom_Log wouldn't start otherwise. At this point, dragger is a username I added using putty, and the URL timeshare-at-large.com is registered with another company, but I am pointing the domain at my VPS.

But httpd refuses to start.


What am I doing wrong? Besides being an amateur.
dbodner


Joined: 21 Dec 2005
Posts: 112
Location: Philadelphia, Pa
Reply with quote
what are the results of an apachectl configtest?
ccstm


Joined: 26 Jul 2007
Posts: 2
Reply with quote
Make sure the files /var/www2/logs/www2_error_log and /var/www2/logs/www2_access_log exist. If they do not exist, a lot of times apache will have difficulty starting without actually stating an error message. You can also try looking in the apache error log (in /var/log/) as that may list the culprit. Hope this helps - good luck!
rpcarnell


Joined: 07 Dec 2006
Posts: 21
Reply with quote
There was something in the httpd error log in /var/log:

[Mon Mar 03 20:32:46 2008] [error] (2)No such file or directory: could not open mime types config file /etc/httpd/conf/mime.types.

It seems there is no configuration file for the mime modules.

I disabled the mime modules using # in the httpd.conf files. I don't think I am gonna be needing them anyhow.
htppd won't start
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Reply to topic