Solved

Apache 2 on AIX 5.3 will not start

Posted on 2009-06-30
4
2,050 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

How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
unix example issues 18 112
linux apache localhost dev laptop 5 53
AWS EC2 HTTP & HTTPS 2 114
Centos webserver sending tons of spam 27 30
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 …
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
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.:
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…
Suggested Courses

739 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