You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Donnie Cherng <dc...@axiowave.com> on 2000/12/28 17:57:59 UTC

Cannot start httpd - help

I have tried to install
	apache_1.3.14 and mod_perl-1.24_01.

No problem on the "configure, make, make install".  However, when I tried to 
start httpd by "/home/users/dcherng/apache/bin/apachectl start", I got 

  Syntax error on line 207 of /home/users/dcherng/apache/conf/httpd.conf:
  Cannot load /home/users/dcherng/apache/libexec/mod_vhost_alias.so into server: ld.so.1: /home/users/dcherng/apache/bin/httpd: fatal: relocation error: file /home/users/dcherng/apache/libexec/mod_vhost_alias.so: symbol ap_pcalloc: referenced symbol not found
  /home/users/dcherng/apache/bin/apachectl start: httpd could not be started

The file /home/users/dcherng/apache/libexec/mod_vhost_alias.so is there.

The system is Solaris 7.
 Compiled mod_perl-1.24_01 first
     perl Makefile.PL APACHE_SRC=../apache_1.3.14 DO_HTTPD=1 USE_APACI=1 PREFIX=/home/users/dcherng/pm INSTALLSITELIB=/home/users/dcherng/pm INSTALLSITEARCH=/home/users/dcherng/pm
     make 
     make install

 and then, apache_1.3.14 was compiled with
     ./configure --prefix=/home/users/dcherng/apache --enable-module=most --enable-shared=max
     make
     make install

Can someone point me the problem?
thanks,
Donnie

Re: Cannot start httpd - help

Posted by "G.W. Haywood" <ge...@www.jubileegroup.co.uk>.
Hi there,

On Thu, 28 Dec 2000, Donnie Cherng wrote:

> I have tried to install
> 	apache_1.3.14 and mod_perl-1.24_01.
> 
> No problem on the "configure, make, make install".  However, when I tried to 
> start httpd by "/home/users/dcherng/apache/bin/apachectl start", I got 
> 
>   Syntax error on line 207 of /home/users/dcherng/apache/conf/httpd.conf:
>   Cannot load /home/users/dcherng/apache/libexec/mod_vhost_alias.so into server: ld.so.1: /home/users/dcherng/apache/bin/httpd: fatal: relocation error: file /home/users/dcherng/apache/libexec/mod_vhost_alias.so: symbol ap_pcalloc: referenced symbol not
 found
>   /home/users/dcherng/apache/bin/apachectl start: httpd could not be started

Do you actually need mod_vhost_alias?

If not, comment out the line(s) in httpd.conf that refer to it and try
again.  I'd prefer to build static anyway.  It's all in the Guide,

http://perl.apache.org/guide

HTH.  If you need more, shuot again.

73,
Ged.