LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-18-2006, 07:33 PM   #1
zecster
LQ Newbie
 
Registered: Jun 2005
Posts: 15

Rep: Reputation: 0
Apache can't load httpd.conf?


ok I went and download the apache 2.0.5 and then installed it without a problem. this is the configure i used:

./configure --prefix=/webroot/apache2 \
--enable-so

everything went fine with the make and make install but went I try to run

/webroot/apache2/bin/apachectl -k start

it gives me this error:

httpd: could not open document config file /usr/local/apache2/conf/httpd.conf

why is it looking in this place for it went i declared the --prefix=webroot/apache2? is there something I missed?



also on a side note, I am new to linux so this make seem like a dumb question but, you know about all the --enable like --enable-speling, can I edit those after i do the make and make install or do I have to do it before hand and after i make, i can't change it.
 
Old 04-18-2006, 07:53 PM   #2
tomdkat
Member
 
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595

Rep: Reputation: 30
Quote:
Originally Posted by zecster
everything went fine with the make and make install but went I try to run

/webroot/apache2/bin/apachectl -k start

it gives me this error:

httpd: could not open document config file /usr/local/apache2/conf/httpd.conf
What happens if you run "/webroot/apache2/bin/apachectl start", without the "-k"?

Quote:
also on a side note, I am new to linux so this make seem like a dumb question but, you know about all the --enable like --enable-speling, can I edit those after i do the make and make install or do I have to do it before hand and after i make, i can't change it.
If you used "--enable-shared=all", you can enable those modules in httpd.conf. If you did not specify that option, you'll need to recompile.

Peace...
 
Old 04-18-2006, 08:02 PM   #3
zecster
LQ Newbie
 
Registered: Jun 2005
Posts: 15

Original Poster
Rep: Reputation: 0
so if i do --enable-shared=all i am guessing that will enable everything and i can later go and disable ones i don't need?

also if i do /webroot/apache2/rin/apachectl start i get the same error.

Last edited by zecster; 04-18-2006 at 08:03 PM.
 
Old 04-19-2006, 08:06 AM   #4
zecster
LQ Newbie
 
Registered: Jun 2005
Posts: 15

Original Poster
Rep: Reputation: 0
for soem reason i can seem to firgure this out. is there some file this is stored ina or some i have to change?
 
Old 04-19-2006, 01:13 PM   #5
tomdkat
Member
 
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595

Rep: Reputation: 30
Quote:
Originally Posted by zecster
so if i do --enable-shared=all i am guessing that will enable everything and i can later go and disable ones i don't need?
Yep.

Quote:
also if i do /webroot/apache2/rin/apachectl start i get the same error.
If you're going to rebuild to get the shared modules, please post the configure command you run here.

Peace...
 
Old 04-19-2006, 03:16 PM   #6
zecster
LQ Newbie
 
Registered: Jun 2005
Posts: 15

Original Poster
Rep: Reputation: 0
it is too bag, over 45000 chars, what part do you need?
 
Old 04-19-2006, 03:24 PM   #7
zecster
LQ Newbie
 
Registered: Jun 2005
Posts: 15

Original Poster
Rep: Reputation: 0
I did a fresh install of suse 10 becuase i needed to use it to test some hardware without formatting my windows and i just tried the install of apache 2.2.0 and it seem to work fine. i think last time i first installed in the defualt and then reinstalled in the /webroot/apache2, would there be soem that i have to delete besides the folder to reinstall?
 
Old 04-19-2006, 03:25 PM   #8
tomdkat
Member
 
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595

Rep: Reputation: 30
Quote:
Originally Posted by zecster
it is too bag, over 45000 chars, what part do you need?
Quote:
Originally Posted by tomdkat
If you're going to rebuild to get the shared modules, please post the configure command you run here.
45,000 characters? Man, that's a long configure command you type.

All I want to see is the command you typed, not the configure output. Also, look in "Makefile" to see if you see any references to "/usr/local".

Peace...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apache httpd.conf ilnli Linux - Software 9 01-11-2005 06:58 AM
Apache httpd.conf help BoardinBum Linux - Software 4 12-29-2004 12:59 PM
apache, httpd.conf, mod_perl ziggie216 Linux - Software 1 12-18-2003 12:19 AM
httpd chokes on ScriptAlias line in Apache httpd.conf lhoff Linux - Software 1 07-14-2003 10:32 PM
apache httpd.conf plisken Linux - Software 1 02-01-2003 02:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration