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
Solved

Apache 2 on AIX 5.3 will not start

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

Over the last year I have answered a couple of basic URL rewriting questions several times so I thought I might as well have a stab at: explaining the basics, providing a few useful links and consolidating some of the most common queries into a sing…
Hi, in this article I'm going to teach you how to run your own site, and how to let people in (without IP). I'll talk about and explain each step... :) By the way, everything in this Tutorial is completely free and legal. This article is for …
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
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.

828 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