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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

httpd can not start 1

Status
Not open for further replies.

samikam

IS-IT--Management
Jan 16, 2005
11
0
0
CI
Hello,
I'm facing a problem when configured wsm for remote client. The httpd can't start and the following message occurs when I try to start on command line:

/usr/HTTPServer/bin/httpd start
exec() : 0509-036 Impossible de charger le programme /usr/HTTPServer/bin/httpd en raison des erreurs suivantes :
0509-150 Le module dépendant libaprutil-0.so n'a pas pu être chargé.
0509-022 Impossible de charger le module libaprutil-0.so.
0509-026 Erreur système : Un fichier ou un répertoire du chemin d'accès n'existe pas

My system is a p5 520 running AIX 5.3 TL8
Could someone help me?

regards,

Sami
 
Your system is missing or can't find a shared library libaprutil-0.so .

So:
- verify that this library is installed
- verify the value of the LIBPATH parameter, perhaps the library directory where libaprutil-0.so is located in doesn't appear in the LIBPATH list of directories.

Hint:
You might also want to change to LANG=C before attempting to start your software, so that you get non-NLS-translated error messages that you can use here. Right now you're limiting responses to people who can read French or are willing to look up the message numbers ;-)


HTH,

p5wizard
 
Hi,
Thank you for your reply.

find / -name libaprutil*
/usr/HTTPServer/lib/libaprutil-0.so
/usr/HTTPServer/lib/libaprutil-0.so.0
/usr/HTTPServer/lib/libaprutil-0.so.0.9.4
/usr/HTTPServer/lib/libaprutil-0.la
/usr/HTTPServer/lib/libaprutil-0.a
/usr/HTTPServer/lib/libaprutil.so

/usr/HTTPServer/bin/apachectl start
Could not load program /usr/HTTPServer/bin/httpd:
Dependent module libaprutil-0.so could not be loaded.
Could not load module libaprutil-0.so.
System error: No such file or directory

As suggested, I've added /usr/HTTPServer/lib to the parameter LIBPATH in /usr/HTTPServer/bin/envvars and
in /usr/HTTPServer/bin/envvars-std but the problem remains.

Best regards,

samikam
 
Depends on which user is actually attempting the start and the value of LIBPATH for that user's session.

Also check if the files you found are actual lib files and not symlinks to some other lib file (which may or may not exist).



HTH,

p5wizard
 
Hi,

I'm connected as "root". The libraries are:

ls -l /usr/HTTPServer/lib |grep liba
-rw-r--r-- 1 root system 331882 20 mai 2004 libapr-0.a
-rw-r--r-- 1 root system 728 20 mai 2004 libapr-0.la
lrwxrwxrwx 1 root system 17 05 oct 09:10 libapr-0.so -> libapr-0.so.0.9.4
lrwxrwxrwx 1 root system 17 05 oct 09:10 libapr-0.so.0 -> libapr-0.so.0.9.4
-rwxr-xr-x 1 root system 388813 20 mai 2004 libapr-0.so.0.9.4
lrwxrwxrwx 1 root system 11 05 oct 09:10 libapr.so -> libapr-0.so
-rw-r--r-- 1 root system 189435 20 mai 2004 libaprutil-0.a
-rw-r--r-- 1 root system 880 20 mai 2004 libaprutil-0.la
lrwxrwxrwx 1 root system 21 05 oct 09:10 libaprutil-0.so -> libaprutil-0.so.0.9.4
lrwxrwxrwx 1 root system 21 05 oct 09:10 libaprutil-0.so.0 -> libaprutil-0.so.0.9.4
-rwxr-xr-x 1 root system 204797 20 mai 2004 libaprutil-0.so.0.9.4
lrwxrwxrwx 1 root system 15 05 oct 09:10 libaprutil.so -> libaprutil-0.so

Best regards,
 
Well then, try this (for ksh):

[tt]
# export LIBPATH=${LIBPATH}:/usr/HTTPServer/lib
# /usr/HTTPServer/bin/httpd start
[/tt]


HTH,

p5wizard
 
Hi,

Thank you very much for your help.It's ok now. Below are the steps followed:
1. look for the location of “ libaprutil-0.so.0” ( #find / -name libaprutil-0.so.0)
2. add the found path to parameter LIBPATH in files envvars and envvars-std ( LIBPATH=${LIBPATH}:path_found
3. create directory /usr/IBMIHS
4. copy recursively the subdirectory ( bin, build, cgi-bin, conf, deinst, error, example_module and htdocs) of /usr/HTTPServer to /usr/IBMIHS
5. in the file /usr/IBMIHS/conf/htdocs, change the value of variable DocumentRoot to /usr/HTTPServer/htdocs/en_US
Now, it mus tbe ok.

Best regards
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top