Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can't start Apache on AIX

Status
Not open for further replies.

drmyers208

Technical User
Mar 20, 2002
17
US
I just loaded Apache 2.0.44.0 on AIX 4.3.3. I installed it through SMITTY and it appeared to load successfully. However when I go to start Apache using /usr/local/apache/bin/httpd -f /usr/local/apache/conf/httpd.conf I get error messages to the effect:
Cannot load module /usr/local/apache/lib/libaprutil-).so
Dependent module /usr/local/apache/lib/libgdbm.a(libgdbm.so)could not be loaded.
System error: A file or directory in the path name does not exist.

Typically when I see this message it means I need to update a particlar file within AIX. Unfortunately in this case I don't have a clue as to which one. Can anyone help??
 
hi

does /usr/local/apache/lib/libaprutil-).so exist ?

have you got LIBPATH set if not try setting this
to /usr/local/lib:/usr/local/apache/lib

HTH
 
It isn't that a file needs to be updated. It cannot find it. Check your LIBPATH.
 
Thanks to all that replied to my problem.
I checked my LIBPATH and did not find a reference to the apache files. What is the correct way to add it?
 
drmyers: for example you can add
export LIBPATH=$LIBPATH:...needed libraries...
to your apache starter script

or you can do the same in /etc/profile.

Or you may create soft links in some of default LIBPATH libraries to your lib binaries.

--Trifo
 
I prefer the packages for the Bull site, they are normally proper AIX installp packages, while the UCLA versions you unpack to / dir, with varied results.

IBM Certified Confused - MQSeries
IBM Certified Flabbergasted - AIX 5 pSeries System Administration
MS Certified Windblows Rebooter
 
Ran into a problem today trying to start Apache on an AIX system. It needed APAR IY03412, although this might need a different APAR.

So, if you continue to have the problem do check for fixes.
 
It works!! Turns out I needed to load a missing library - gdbm. Once that was accomplished it worked perfect. Thanks for all the help.
 
Hi, I have the same problems. Even after I installed gdbm.1.8.3 from the Bull site I still receive the following error mesage after trying to start Apache:

usr/local/apache2/bin >./apachectl start
exec(): 0509-036 Cannot load program /usr/local/apache2/bin/httpd because of the following errors:
0509-022 Cannot load module /usr/local/apache2/lib/libaprutil-0.so.
0509-150 Dependent module /usr/local/lib/libgdbm.a(libgdbm.so) could not be loaded.
0509-152 Member libgdbm.so is not found in archive

Any clues?

Thanks Thomas
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top