Unix Technical Forum

HELP: Problem starting Apache

This is a discussion on HELP: Problem starting Apache within the AIX Operating System forums, part of the Unix Operating Systems category; --> I have apache install and running until I tried to install PHP and Mysql on AIX 4.3.3. PHP installation ...


Go Back   Unix Technical Forum > Unix Operating Systems > AIX Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-04-2008, 10:41 PM
A J Okons
 
Posts: n/a
Default HELP: Problem starting Apache

I have apache install and running until I tried to install PHP and
Mysql on AIX 4.3.3. PHP installation failed because of 2 dependant
files, gdbm and db3 which I have downloaded and installed, yet apache
does not start. I have uninstalled and installed it again, but without
success: this is what I get:


# /usr/local/apache/bin/apachectl start httpd
exec(): 0509-036 Cannot load program /usr/local/apache/bin/httpd
because of the
following errors:
0509-150 Dependent module libexpat.a(libexpat.so.0) could
not be loaded.
0509-022 Cannot load module libexpat.a(libexpat.so.0).
0509-026 System error: A file or directory in the path name
does not exist.
/usr/local/apache/bin/apachectl start: httpd could not be started
usage: /usr/local/apache/bin/apachectl
(start|stop|restart|fullstatus|status|graceful|con figtest|help)

start - start httpd
stop - stop httpd
restart - restart httpd if running by sending a SIGHUP or start if
not running
fullstatus - dump a full status screen; requires lynx and mod_status
enabled
status - dump a short status screen; requires lynx and mod_status
enabled
graceful - do a graceful restart by sending a SIGUSR1 or start if
not running
configtest - do a configuration syntax test
help - this screen


Help please
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-04-2008, 10:41 PM
Tao Chen
 
Posts: n/a
Default Re: HELP: Problem starting Apache

A J Okons wrote:
> I have apache install and running until I tried to install PHP and
> Mysql on AIX 4.3.3. PHP installation failed because of 2 dependant
> files, gdbm and db3 which I have downloaded and installed, yet apache
> does not start. I have uninstalled and installed it again, but without
> success: this is what I get:
>
>
> # /usr/local/apache/bin/apachectl start httpd
> exec(): 0509-036 Cannot load program /usr/local/apache/bin/httpd
> because of the
> following errors:
> 0509-150 Dependent module libexpat.a(libexpat.so.0) could
> not be loaded.
> 0509-022 Cannot load module libexpat.a(libexpat.so.0).
> 0509-026 System error: A file or directory in the path name
> does not exist.


Check this page:
http://www-1.ibm.com/servers/aix/pro.../download.html

You need to install 'expat' and 'expat-devel'.

If they're already installed, you need to check if the library file
is in the $LIBPATH (/usr/lib and /lib are always searched, put
extra path in $LIBPATH).

Tao
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-04-2008, 10:42 PM
A J Okons
 
Posts: n/a
Default Re: HELP: Problem starting Apache

Tao Chen <opinion@taochen.com> wrote in message news:<Z%WYb.2898$J84.2003@fe1.texas.rr.com>...
> A J Okons wrote:
> > I have apache install and running until I tried to install PHP and
> > Mysql on AIX 4.3.3. PHP installation failed because of 2 dependant
> > files, gdbm and db3 which I have downloaded and installed, yet apache
> > does not start. I have uninstalled and installed it again, but without
> > success: this is what I get:
> >
> >
> > # /usr/local/apache/bin/apachectl start httpd
> > exec(): 0509-036 Cannot load program /usr/local/apache/bin/httpd
> > because of the
> > following errors:
> > 0509-150 Dependent module libexpat.a(libexpat.so.0) could
> > not be loaded.
> > 0509-022 Cannot load module libexpat.a(libexpat.so.0).
> > 0509-026 System error: A file or directory in the path name
> > does not exist.

>
> Check this page:
> http://www-1.ibm.com/servers/aix/pro.../download.html
>
> You need to install 'expat' and 'expat-devel'.
>
> If they're already installed, you need to check if the library file
> is in the $LIBPATH (/usr/lib and /lib are always searched, put
> extra path in $LIBPATH).
>
> Tao


Those are RPMs for Linux, will they work for AIX too?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-04-2008, 10:42 PM
Tao Chen
 
Posts: n/a
Default Re: HELP: Problem starting Apache

A J Okons wrote:

>>Check this page:
>>http://www-1.ibm.com/servers/aix/pro.../download.html
>>
>>You need to install 'expat' and 'expat-devel'.
>>
>>If they're already installed, you need to check if the library file
>>is in the $LIBPATH (/usr/lib and /lib are always searched, put
>>extra path in $LIBPATH).
>>
>>Tao

>
>
> Those are RPMs for Linux, will they work for AIX too?


Yes. Go back to that page and read the "AIX Toolbox for Linux
Applications ReadMe".
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:26 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com