Solved

Apache 2 on AIX 5.3 will not start

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

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). #…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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…

896 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

16 Experts available now in Live!

Get 1:1 Help Now