Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Aug 2001 15:02:50 +0100
From:      Kevin Golding <kevin@caomhin.demon.co.uk>
To:        freebsd-questions@freebsd.org
Subject:   Re: Apache modules (mod_ssl) failing to load
Message-ID:  <opI%2Bp3AK2Va7EwTg@caomhin.demon.co.uk>
In-Reply-To: <3B680139.FD564182@eziba.com>
References:  <5TRa3JBj4$Z7Ewqu@caomhin.demon.co.uk> <3B680139.FD564182@eziba.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>Kevin Golding wrote:
>> 
>> I've been struggling to get mod_ssl to run on my server; I figured the
>> best way to do this was simply using apache+mod_ssl-1.3.20+2.8.4 from
>> ports.
>> 
>> If I try to install it by running  make  in the ports directory but it
>> eventually stops with:

[moved to bottom]

>> I've also tried pkg_add and it seems that mod_ssl doesn't register
>> properly, I don't think it's a corrupt install since I've also tried
>> using a package straight from a FreeBSD FTP server.
>> 
>> I've tried using both apachectl startssl and httpd -Dssl, but the module
>> just doesn't seem to want to load.  I have a virtual server set up to
>> listen on port 443, and I've tried getting at the pages through telnet
>> and a browser, but both say nothing's there.  Apache itself still works,
>> as a vanilla server anyway, and the virtual domain is okay since I can
>> look at it through other ports.

Note:  I tried this again and thought to see what httpd -l showed,
apparently it didn't compile DSO support.  A collection of the standard
modules were compiled in statically but mod_so and mod_ssl weren't
included.

Jay Sachs <jay@eziba.com> writes
>Perhaps you have an old version of mm installed? Try pkg_deleting mm and
>then rebuilding and installing from the ports.

Still the same problem I'm afraid, I re-installed mm-1.1.3 and tried a
variety of things to get it into gear, but still I get the same
collection of errors:

[A few more lines added to see if they help anyone]

alloc.c:146: syntax error before `*'
alloc.c:146: warning: data definition has no type or storage class
alloc.c: In function `free_blocks':
alloc.c:324: `AP_MM_LOCK_RW' undeclared (first use in this function)
alloc.c:324: (Each undeclared identifier is reported only once
alloc.c:324: for each function it appears in.)
alloc.c: In function `make_sub_pool_internal':
alloc.c:503: `AP_MM_LOCK_RW' undeclared (first use in this function)
alloc.c: In function `ap_init_alloc_shared':
alloc.c:626: `EAPI_MM_CORE_MAXSIZE' undeclared (first use in this
function)
alloc.c:631: warning: assignment makes pointer from integer without a
cast
alloc.c:633: warning: assignment makes pointer from integer without a
cast
alloc.c: In function `ap_clear_pool':
alloc.c:679: `AP_MM_LOCK_RW' undeclared (first use in this function)
alloc.c: In function `ap_destroy_pool':
alloc.c:724: `AP_MM_LOCK_RW' undeclared (first use in this function)
alloc.c: At top level:
alloc.c:755: syntax error before `ap_pool_lock_mode'
alloc.c: In function `ap_acquire_pool':
alloc.c:758: `p' undeclared (first use in this function)
alloc.c:760: `mode' undeclared (first use in this function)
alloc.c:760: `AP_POOL_RD' undeclared (first use in this function)
alloc.c:760: `AP_MM_LOCK_RD' undeclared (first use in this function)
alloc.c:760: `AP_MM_LOCK_RW' undeclared (first use in this function)
alloc.c: In function `ap_palloc':
alloc.c:945: `AP_MM_LOCK_RW' undeclared (first use in this function)
alloc.c: In function `psprintf_flush':
alloc.c:1106: `AP_MM_LOCK_RW' undeclared (first use in this function)
*** Error code 1

Stop in /usr/ports/www/apache13-modssl/work/apache_1.3.20/src/main.
*** Error code 1

Stop in /usr/ports/www/apache13-modssl/work/apache_1.3.20/src.
*** Error code 1

Stop in /usr/ports/www/apache13-modssl/work/apache_1.3.20.
*** Error code 1

Stop in /usr/ports/www/apache13-modssl/work/apache_1.3.20.
*** Error code 1

Stop in /usr/ports/www/apache13-modssl.
*** Error code 1

Stop in /usr/ports/www/apache13-modssl.
*** Error code 1

Stop in /usr/ports/www/apache13-modssl.

TIA
Kevin
-- 
kevin@caomhin.demon.co.uk

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?opI%2Bp3AK2Va7EwTg>