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'...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 !! |
|
|||
|
"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 |
|
|||
|
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 |
|
|||
|
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 | |
|
|