Solved

Apache 2 on AIX 5.3 will not start

Posted on 2009-06-30
4
2,032 Views
Last Modified: 2013-11-17
Here is the error output:
# ./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/libapr-1.so.
        0509-150   Dependent module libgcc_s.a(shr.o) could not be loaded.
        0509-022 Cannot load module libgcc_s.a(shr.o).
        0509-026 System error: A file or directory in the path name does not exi
st.
        0509-022 Cannot load module httpd.
        0509-150   Dependent module /usr/local/apache2/lib/libapr-1.so could not
 be loaded.
        0509-022 Cannot load module .

Please help figure out this problem. Thank you in advance
0
Comment
Question by:AIX25
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 24748463
Hi,

nice to meet you!

Please check if there is a link in /usr/local/lib or /usr/lib named libgcc_s.a pointing to
/opt/freeware/lib/gcc-lib/powerpc-ibm-aix[v.v.v.]/[v.v.v.]/libgcc_s.a
(v.v.v = version)

If the library is there, but the link is missing, create it.

Or don't you have libgcc installed at all (above path not present)?

If so, download it from here (choose according to your AIX version) and install -

http://www.perzl.org/aix/index.php?n=Main.Gcc

HTH

wmp



0
 

Author Comment

by:AIX25
ID: 24748577
Hello woolmilkporc and thank you for your help always.

I have libgcc installed.  I have ligcc_s.a in /opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2.4/libgcc_s.a.  But, I do not have libgcc_s.a in /usr/local/apache2/lib.  Please tell what my next stop should be? Thanks
0
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 500 total points
ID: 24748667

libgcc is somewhat 'universal' and thus needs to go to /usr/lib or /usr/local/lib, not /usr/local/apache2...

Did you check /usr/lib and /usr/local/lib ?

If it's misssing in those paths too, issue

ln -s /opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2.4/libgcc_s.a  /usr/lib/libgcc_s.a

0
 

Author Comment

by:AIX25
ID: 24748767
Ok.  Thank you very much! Now I have another error related to this topic.  I will open a new question
0

Featured Post

Building an interactive eFuture classroom

Watch and learn how ATEN provided a total control system solution including seamless switching matrix switch, HDBaseT extenders, PDU, lighting control to build an interactive eFuture classroom.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
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.

749 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