You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-user@axis.apache.org by Tobias Gustafsson <to...@honeywell.com> on 2004/09/27 08:20:59 UTC

Re: Apache 1.3.31 With Axis 1.3 Beta Not able to Start : 8437 Aborted $HTTPD

Hi,

Yes, root has access to these variables. They are set before apache
startup in a script like

#!/bin/bash
                                                                                                                                                       AXISCPP_DEPLOY="/home/tgu/install/pc/axis-1.3beta"
AXISCPP_HOME="/home/tgu/projects/axis-c-src-1-3-beta-linux"                                                                                                                                                        
export AXISCPP_DEPLOY AXISCPP_HOME

LIBWWW_PATH="/home/tgu/install/pc/w3c-libwww-5.4.0/lib"
LIBEXPAT_PATH="/home/tgu/install/pc/expat-1.95.8/lib"

export LD_LIBRARY_PATH
="${AXISCPP_DEPLOY}/lib:${LIBWWW_PATH}:${LIBEXPAT_PATH}:$LD_LIBRARY_PATH"
                                                                                                                                                       bin/apachectl start

Running the script as root or normal user gives me the abort message. I
tried removing other extensions like PHP from httpd.conf and resetting
listening port to 80, but no luck. Otherwise the apache configuration
pretty much defaults to the standard values.

FYI. leaving out the AXISCPP_* variables in the script (still setting
the ld path though) gives me segmentation faults in the apache log
instead.

Thanks,
Tobias

mån 2004-09-27 klockan 07.19 skrev Samisa Abeysinghe:
> Hi,
>     Have you set AXISCPP_DEPLOY and AXISCPP_HOME as a normal user with no super user rights?
>     In other words; does root account have access to these env variables when starting apache?
> Samisa...
> 
> --- Tobias Gustafsson <to...@honeywell.com> wrote:
> 
> > Hi,
> > 
> > I have the same problem, but a little bit different setup. Apache
> > (2.0.45) aborts saying
> > 
> > child pid 5530 exit signal Aborted (6)
> > child pid 5531 exit signal Aborted (6)
> > child pid 5532 exit signal Aborted (6)
> > ...
> > 
> > Built everything from source on Fedora Core 2 (2.6.8-1.521)
> > 
> > axis 1.3 beta (--with-apache2=path --with-expat=path)
> > w3c-libwww-5.4.0 (--with-extension --enable-reentrant --with-expat=path)
> > expat-1.95.8
> > httpd-2.0.45
> > 
> > ldd $AXISCPP_DEPLOY/lib/lib*.so gives no unresolved dependencies.
> > 
> > Followed the Linux installation instructions, but prefixed to a custom
> > directory (/home/tgu/install/pc.) LD_LIBRARY_PATH was set to include
> > library paths prior to apache startup.



Re: Apache 1.3.31 With Axis 1.3 Beta Not able to Start : 8437 Aborted $HTTPD

Posted by Samisa Abeysinghe <sa...@yahoo.com>.
Cool!

So hope it is working now!

Samisa...

--- Tobias Gustafsson <to...@honeywell.com> wrote:

> One line magically disappeared in the script
> 
> Correction:
> 
> AXISCPP_DEPLOY="/home/tgu/install/pc/axis-1.3beta"
> 
> Sorry.
> 
> m�n 2004-09-27 klockan 08.20 skrev Tobias Gustafsson:
> 
> > Hi,
> > 
> > Yes, root has access to these variables. They are set before apache
> > startup in a script like
> > 
> > #!/bin/bash
> >                                                                                               
>                                                        
> AXISCPP_DEPLOY="/home/tgu/install/pc/axis-1.3beta"
> > AXISCPP_HOME="/home/tgu/projects/axis-c-src-1-3-beta-linux"                                   
>                                                                                                 
>                    
> > export AXISCPP_DEPLOY AXISCPP_HOME
> > 
> > LIBWWW_PATH="/home/tgu/install/pc/w3c-libwww-5.4.0/lib"
> > LIBEXPAT_PATH="/home/tgu/install/pc/expat-1.95.8/lib"
> > 
> > export LD_LIBRARY_PATH
> > ="${AXISCPP_DEPLOY}/lib:${LIBWWW_PATH}:${LIBEXPAT_PATH}:$LD_LIBRARY_PATH"
> >                                                                                               
>                                                         bin/apachectl start
> > 
> > Running the script as root or normal user gives me the abort message. I
> > tried removing other extensions like PHP from httpd.conf and resetting
> > listening port to 80, but no luck. Otherwise the apache configuration
> > pretty much defaults to the standard values.
> > 
> > FYI. leaving out the AXISCPP_* variables in the script (still setting
> > the ld path though) gives me segmentation faults in the apache log
> > instead.
> > 
> > Thanks,
> > Tobias
> 
> 
> 



	
		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail 

Re: Apache 1.3.31 With Axis 1.3 Beta Not able to Start : 8437 Aborted $HTTPD

Posted by Tobias Gustafsson <to...@honeywell.com>.
One line magically disappeared in the script

Correction:

AXISCPP_DEPLOY="/home/tgu/install/pc/axis-1.3beta"

Sorry.

mån 2004-09-27 klockan 08.20 skrev Tobias Gustafsson:

> Hi,
> 
> Yes, root has access to these variables. They are set before apache
> startup in a script like
> 
> #!/bin/bash
>                                                                                                                                                        AXISCPP_DEPLOY="/home/tgu/install/pc/axis-1.3beta"
> AXISCPP_HOME="/home/tgu/projects/axis-c-src-1-3-beta-linux"                                                                                                                                                        
> export AXISCPP_DEPLOY AXISCPP_HOME
> 
> LIBWWW_PATH="/home/tgu/install/pc/w3c-libwww-5.4.0/lib"
> LIBEXPAT_PATH="/home/tgu/install/pc/expat-1.95.8/lib"
> 
> export LD_LIBRARY_PATH
> ="${AXISCPP_DEPLOY}/lib:${LIBWWW_PATH}:${LIBEXPAT_PATH}:$LD_LIBRARY_PATH"
>                                                                                                                                                        bin/apachectl start
> 
> Running the script as root or normal user gives me the abort message. I
> tried removing other extensions like PHP from httpd.conf and resetting
> listening port to 80, but no luck. Otherwise the apache configuration
> pretty much defaults to the standard values.
> 
> FYI. leaving out the AXISCPP_* variables in the script (still setting
> the ld path though) gives me segmentation faults in the apache log
> instead.
> 
> Thanks,
> Tobias