Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
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.
I configured apache via ./configure in /home/export/apache path.
To uninstall it i delete the export dir from home.
I created a another location web/apache in /home.
And i configured apache in this location.
When i start the apache it shows
httpd: Could not open configuration file /home/export/apache/conf/httpd.conf: No such file or directory
give me the proper steps to start the apache.
It's really very very urgent.
Help me.
The configuration files are not in the same location on all Linux distributions. You forgot to mention which Linux distribution you are using?
A /home/export directory is an unusual location for Apache. Most major Linux distributions will install and configure Apache for you if you download from their respositories. If you want directories/files in your /home/user directory, the standard is a public_html directory which is available on install on many Linux distributions. Did you modify the httpd.conf file to show these locations?
I am using fedora.
Now My apache configuration location is /home/web/apache
Previously i build the apache in /home/export/apache
I deleted this export location and again build in web location using
#./configure --prefix=/home/web/apache --enable-modules=all --enable-proxy --enable-mods-shared=all --enable-ssl --enable-so --with-mpm=worker --enable-lib64 --libdir=/usr/lib64
#make
#make install
And goto the /home/web/apache/bin and run
#./apachectl -k start
It shows
httpd: Could not open configuration file /home/export/apache/conf/httpd.conf: No such file or directory
I verified the ServerRoot and DocumentRoot.it is also in /home/web/apache and htdocs.
Now i want to start the apache.
Give me the guide.
I know how to install httpd using yum.
But in ./configure method we can specify the location wer i want to install the package.
Thats the only reason i choose this one.
Now i'm in problem.
I want to fix it before tonight.
Give me the proper guide to start the apache.
If anyone is willing means i ll provide teamviewer access and we can interact via skype.
Thank you for all who were repiled for my post.
With my own involvement i successfully start the apache.
Especially i proud szboardstretcher who is willing to solve my problem.
No problem. But, it's considered proper etiquette to post the fix to your original question, so if others have similar issues they are able to fix their problem. Please consider doing so.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.