Start Apache - Error open failed

Posted on 2006-04-07
Last Modified: 2013-12-27
I have downloaded compiled pkg of  Apache version 1.3 from Sunfreeware site. Extract the apache package and also installed openssl and expat package as mentioned on sunfreeware site for Apache 1.3.27 version.

I did set up my PATH and LD_LIBRARY_PATH

When I try to start apache, I am getting an error as follow.

/apachectl start /usr/local/apache/bin/httpd: fatal: open failed: No such file or directory
./apachectl start: httpd could not be started

Please help !

Question by:nrpatel
    LVL 6

    Accepted Solution

    Looks like it was compiled with diff locations than yours - find / -name ''  will tell you where the missing file is.  Chances are good it's not in your LD_LIBRARY_PATH yet.  Put the path to the missing file in and try again.
    LVL 1

    Expert Comment

    did you compile apache from source or install from dist. binaries?

    LVL 1

    Expert Comment

    nevermind....doh, it helps when you actuall read the whole question :) 'bpeterse' is spot on, check and/or add that file to you LDpath
    LVL 7

    Expert Comment

    No comment has been added to this question in more than 21 days, so it is now classified as abandoned.
    I will leave the following recommendation for this question in the Cleanup topic area:

    Accept: bpeterse

    Any objections should be posted here in the next 4 days. After that time, the question will be closed.

    EE Cleanup Volunteer

    Featured Post

    What Security Threats Are You Missing?

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Join & Write a Comment

    A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
    I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
    Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
    In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

    732 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    24 Experts available now in Live!

    Get 1:1 Help Now