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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-18-2006, 07:33 PM
|
#1
|
LQ Newbie
Registered: Jun 2005
Posts: 15
Rep:
|
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.
|
|
|
04-18-2006, 07:53 PM
|
#2
|
Member
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595
Rep:
|
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...
|
|
|
04-18-2006, 08:02 PM
|
#3
|
LQ Newbie
Registered: Jun 2005
Posts: 15
Original Poster
Rep:
|
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.
|
|
|
04-19-2006, 08:06 AM
|
#4
|
LQ Newbie
Registered: Jun 2005
Posts: 15
Original Poster
Rep:
|
for soem reason i can seem to firgure this out. is there some file this is stored ina or some i have to change?
|
|
|
04-19-2006, 01:13 PM
|
#5
|
Member
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595
Rep:
|
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...
|
|
|
04-19-2006, 03:16 PM
|
#6
|
LQ Newbie
Registered: Jun 2005
Posts: 15
Original Poster
Rep:
|
it is too bag, over 45000 chars, what part do you need?
|
|
|
04-19-2006, 03:24 PM
|
#7
|
LQ Newbie
Registered: Jun 2005
Posts: 15
Original Poster
Rep:
|
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?
|
|
|
04-19-2006, 03:25 PM
|
#8
|
Member
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595
Rep:
|
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...
|
|
|
All times are GMT -5. The time now is 04:44 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|