[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1399
  • Last Modified:

Unable to start IBM Http Server On AIX 5.3

Hi,

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.
root@xxxxxxxxxx:/opt/IBM/HttpServer/bin>./httpd
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

Thanks,
Rishi




0
RishiBang
Asked:
RishiBang
1 Solution
 
woolmilkporcCommented:
Hi,

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>

wmp
0
 
RishiBangAuthor Commented:
The solution is good and explanatory to much extent.

Thanks to wmp
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now