Hi,

I'm relatively new to Apache Web Server setup and have configured my web server 
according to the instructions posted on the web.  When I try to run Apache, I 
get the following error and Apache will not start and I have no idea what the 
problem is because nothing is reported in the error_log or any other apache 
logs.  Any ideas how to fix this issue?  Thanks!

Syntax error on line 9 of /opt/apache/conf/extra/auth_cas.conf: Cannot load 
modules/mod_auth_cas.so into server: /opt/apache/modules/mod_auth_cas.so: 
undefined symbol: ap_log_error

My auth_cas.conf looks like this:


#
# mod_auth_cas is an Apache 2.0/2.2 compliant module that supports the
# CASv1 and CASv2 protocols
#
<IfModule !mod_ssl.c>
    LoadModule ssl_module modules/mod_ssl.so
</IfModule>

LoadModule auth_cas_module modules/mod_auth_cas.so

<IfModule mod_auth_cas.c>
    CASVersion 2
    CASDebug On

    # Validate the authenticity of the login.goshen.edu SSL certificate by
    # checking its chain of authority from the root CA.
    CASCertificatePath /etc/pki/tls/certs/
    CASValidateServer Off
    CASValidateDepth 9
    CASCookiePath /var/lib/cas/

    CASLoginURL https://cas.id-dev.ubc.ca/ubc-cas/login
    CASValidateURL https://cas.id-dev.ubc.ca/ubc-cas/serviceValidate
    CASTimeout 7200
    CASIdleTimeout 7200
    CASValidateSAML On
</IfModule>

<VirtualHost int2-cas.id-dev.ubc.ca:443>
    ServerAdmin some...@ubc.ca
    DocumentRoot "/opt/apache/htdocs/testcas2"
    ServerName int2-cas.id-dev.ubc.ca
    ServerAlias int2-cas.id-dev.ubc.ca
    ErrorLog "logs/testcas2_error_log"
    CustomLog "logs/testca2s_access_log" common
    DirectoryIndex index.php

    <Location /testcas2>
        Authtype CAS
        CASAuthNHeader On
        require valid-user
    </Location>

    SSLEngine on
    SSLCertificateFile /opt/apache/conf/ssl/int2-cas.id-dev.ubc.ca.crt
    SSLCertificateKeyFile /opt/apache/conf/ssl/int2-cas.id-dev.ubc.ca.key
    SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
    CustomLog logs/ssl_request_log \
   "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"

</VirtualHost>




-- 
You are currently subscribed to cas-dev@lists.jasig.org as: 
arch...@mail-archive.com
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-dev

Reply via email to