Unable to start IBM Http Server On AIX 5.3

Posted on 2009-12-30
Last Modified: 2013-11-17

I have installed IBM HttpServer (IHS) on AIX 5.3 and the installation was successful without any errors.
My IHS instalaltion folder is "opt/IBM/HttpServer"
But when I tried to start the IHS using ./httpd from IHS/bin I am getting the following error.
httpd: could not open document config file /usr/IBMIHS/conf/httpd.conf

I am not sure from where the httpd is reading the path to the httpd.conf file.

Requesting help from everyone in EE


Question by:RishiBang
    LVL 68

    Accepted Solution


    use apachectl  to start the server, and not httpd directly!

    It will set the correct environment, as defined in the envvars file (bin subdirectory).

    In your case the locations are probably /opt/IBM/HttpServer/bin/apachectl and /opt/IBM/HttpServer/bin/envvars

    The default location for httpd.conf is in the conf subdirectory of your installation directory,
    but you need apachectl to make this location known to httpd, else a default is used (/usr/IBMIHS/conf/httpd.conf in your case).

    You can start the server using an alternate configuration file by running the following command:

    apachectl -k start -f <path_to_configuration_file>


    Author Closing Comment

    The solution is good and explanatory to much extent.

    Thanks to wmp

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    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…
    Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap ( Version 1.2 2.      Jpcap( Version 0.6 Prerequisite: 1.      GCC …
    Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
    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.:

    759 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

    8 Experts available now in Live!

    Get 1:1 Help Now