TekTonic - Community Forums
Get Support
Live Chat
Community Forum
The talkative Tektonic member community
  #1  
Old 07-18-2011, 09:17 PM
alitomr alitomr is offline
Junior Member
 
Join Date: Jul 2011
Posts: 1
Default Problems with Apache 2.2.19

Hello all,

I was tryint to install from source and everything went fine. I proceeded with make and make install and all went smoothly.

The problem was when I tried to restart Apache.

The problem is that httpd is still requesting the old httpd.conf file and directory structure.

I received the following error message:

Quote:
httpd: Could not open configuration file /etc/httpd/conf/httpd.conf: No such fil
e or directory
How can i change this behavior? Why is the system still trying to load the old files??

Both ServerRoot and Document Root statements are using the correct directories (the defaults, the ones selected during installation).

Something strange is the fact that I cannot modify the settings under "Web Server" in my Teektonic control panel: both Server Root and Document root match the ones being used by the CEntOS inside the VPS, in this case:

Server root: /etc/httpd
Documento Root: /var/www/html

Neither of those directories exist.

Thank you in advance for helping!!
Reply With Quote
  #2  
Old 07-19-2011, 03:30 AM
Marks Marks is offline
Junior Member
 
Join Date: Feb 2011
Posts: 1
Default

It seems the old init scritp "/etc/init.d/httpd" has config file and binary has old references as "/etc/httpd/conf/httpd.conf" and "/usr/sbin/httpd".

Try to restart your new apache with "apachectl" scritp.

If you have compiled apache in "/usr/local/apache" then the scritp should be "/usr/local/apache/bin/apachectl start".
The binary file will be "/usr/local/apche/bin/httpd".

Mark S.
Reply With Quote
Reply

Tags
apache, centos, httpd.conf missing
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. The time now is 06:53 PM.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.