Solved

Apache 2 on AIX 5.3 will not start

Posted on 2009-06-30
4
1,951 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
  • 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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.:

706 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now