Starting apache as deamon

This is a discussion on Starting apache as deamon within the Apache Web Server forums, part of the Web Server and Related Forums category; Hello !! I'm using Solaris 7 and I'm trying to start Apache v1.3.26 as a deamon ... I'...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-03-2003
Malderez Cédric
 
Posts: n/a
Default Starting apache as deamon

Hello !!

I'm using Solaris 7 and I'm trying to start Apache v1.3.26 as a deamon ...
I've copied the apachectl as S99apache in the /etc/rc2.d but I get the
following command at startup:
ld.so.1: /usr/local/apache/bin/httpd: fatal: libexpat.so.0: open failed: No
such file or directory

The most strange is that when I loggon as a user or root ... I can start
apache through "apachectl start" command line ...
How can I do ??

Thanks !!


  #2 (permalink)  
Old 11-03-2003
Davide Bianchi
 
Posts: n/a
Default Re: Starting apache as deamon

"Malderez Cédric" <cedric.malderez@answork.com> wrote:
> ld.so.1: /usr/local/apache/bin/httpd: fatal: libexpat.so.0: open failed: No
> such file or directory
> The most strange is that when I loggon as a user or root ... I can start
> apache through "apachectl start" command line ...


When the system start isn't root. I guess you have to add the
position of libexpat and similar to the LD_LIBRARY_PATH variable
at the beginning of the apachectl script.

Davide
  #3 (permalink)  
Old 11-03-2003
patpro
 
Posts: n/a
Default Re: Starting apache as deamon

In article <3fa681c6$0$27594$626a54ce@news.free.fr>,
"Malderez Cédric" <cedric.malderez@answork.com> wrote:

> Hello !!
>
> I'm using Solaris 7 and I'm trying to start Apache v1.3.26 as a deamon ...
> I've copied the apachectl as S99apache in the /etc/rc2.d but I get the
> following command at startup:
> ld.so.1: /usr/local/apache/bin/httpd: fatal: libexpat.so.0: open failed: No
> such file or directory
>
> The most strange is that when I loggon as a user or root ... I can start
> apache through "apachectl start" command line ...
> How can I do ??


may be a PATH problem here ?
is there any error.log for apache that could give details ?
did you tryied to set the shebang of S99apache to "#!/bin/sh -x" so that
you get debug output ?

hth,
patpro
  #4 (permalink)  
Old 11-04-2003
Malderez Cédric
 
Posts: n/a
Default Re: Starting apache as deamon

You were right .. Thanks a lot !!

"Davide Bianchi" <davideyeahsure@onlyforfun.net> a écrit dans le message de
news:bo61nn$16uh6v$1@ID-18487.news.uni-berlin.de...
> "Malderez Cédric" <cedric.malderez@answork.com> wrote:
> > ld.so.1: /usr/local/apache/bin/httpd: fatal: libexpat.so.0: open failed:

No
> > such file or directory
> > The most strange is that when I loggon as a user or root ... I can start
> > apache through "apachectl start" command line ...

>
> When the system start isn't root. I guess you have to add the
> position of libexpat and similar to the LD_LIBRARY_PATH variable
> at the beginning of the apachectl script.
>
> Davide



 


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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 03:34 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0