On Mon, Jan 26, 2015 at 7:32 AM, Tiit Kaeeli <[email protected]> wrote:
>> What's the output of 'httpd -v'?
>>
>
> apache2 -V
> Server version: Apache/2.2.22 (Debian)
> Server built:   Dec 23 2014 22:48:29
> Server's Module Magic Number: 20051115:30
> Server loaded:  APR 1.4.6, APR-Util 1.4.1
> Compiled using: APR 1.4.6, APR-Util 1.4.1
> Architecture:   64-bit
> Server MPM:     Prefork
>   threaded:     no
>     forked:     yes (variable process count)
> Server compiled with....
>  -D APACHE_MPM_DIR="server/mpm/prefork"
>  -D APR_HAS_SENDFILE
>  -D APR_HAS_MMAP
>  -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
>  -D APR_USE_SYSVSEM_SERIALIZE
>  -D APR_USE_PTHREAD_SERIALIZE
>  -D APR_HAS_OTHER_CHILD
>  -D AP_HAVE_RELIABLE_PIPED_LOGS
>  -D DYNAMIC_MODULE_LIMIT=128
>  -D HTTPD_ROOT="/etc/apache2"
>  -D SUEXEC_BIN="/usr/lib/apache2/suexec"
>  -D DEFAULT_PIDLOG="/var/run/apache2.pid"
>  -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
>  -D DEFAULT_LOCKFILE="/var/run/apache2/accept.lock"
>  -D DEFAULT_ERRORLOG="logs/error_log"
>  -D AP_TYPES_CONFIG_FILE="mime.types"
>  -D SERVER_CONFIG_FILE="apache2.conf"
>
>
>
>
>
>> If you want to test something, change mod_auth_cas.c:2648 to "#if 0"
>> to force using ap_hook_check_user_id. Recompile and see if that works.
>>
>
> After the change, this is the output:
>
> apache2: Syntax error on line 244 of /etc/apache2/apache2.conf: Syntax error
> on line 2 of /etc/apache2/mods-enabled/auth_cas.load: Cannot load
> /opt/mod_auth_cas/mod_auth_cas.so into server:
> /opt/mod_auth_cas/mod_auth_cas.so: undefined symbol: ap_log_error_
> Action 'configtest' failed.
> The Apache error log may have more information.
>  failed!

It seems like your mod_auth_cas.so was compiled against Apache 2.4 and
cannot be loaded into Apache 2.2.

Check your mod_auth_cas configure statement. If it was me, I'd
recompile everything from source.

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to