Adsense
Popular Posts
- MySQL workbench -"Could not decrypt password cache"
- mod_auth_cas.so error: undefined symbol: SSL_connect
- JavaScript, remove trailing insignificant zeros after toFixed function
- Set Windows path command line
- JavaScript Arrays and Associate Arrays
- Design date and signature box in Latex
- Install APXS in Redhat Linux
- super(props) in React
- jQuery, toggle the display
- PHP function for input sanitizing
Showing posts with label Apache. Show all posts
Showing posts with label Apache. Show all posts
Thursday, August 7, 2014
mod_auth_cas.so error: undefined symbol: SSL_connect
I have installed mod_auth_cas.so in Redhat Linux, when I restart Apache, the error message:
Starting httpd: httpd: Syntax error on line 151 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modues/mod_auth_cas.so into server: /etc/httpd/modules/mod_auth_cas.so: undefined symbol: SSL_connect
[FAILED]
I check the httpd log: /var/log/httpd/error_log
[error] MOD_AUTH_CAS: CASCookiePath '/dev/null' is not a directory or does not end in a trailing '/'!
To fix this problem: change the default "CASCookiePath" from "/dev/null" to a real path.
e.g.,
mkdir -p /var/www/cas
chmod 775 /var/www/cas
chown apache.apache /var/www/cas
Change /etc/httpd/conf.d/cas_auth.conf as following:
#
# 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>
CASDebug on
CASCookiePath /var/www/cas/
</IfModule>
In httpd.conf, you should not add
LoadModule auth_cas_module modules/mod_auth_cas.so
as it is already loaded by /etc/httpd/conf.d/cas_auth.conf
Install APXS in Redhat Linux
APache eXtenSion tool (APXS) is a tool for building and installing extension modules for the Apache HyperText Transfer Protocol (HTTP) server, to build a dynamic shared object (DSO) from object files which then can be loaded into the Apache server under runtime via the LoadModule directive from mod_so.
To Install apxs in Redhat Linux
sudo yum install httpd-devel
sudo updatedb
locate apxs
apxs application will be in
/usr/sbin/apxs
To use the APache eXtenSion tool (APXS) to compile and install this
object as a dynamically shared object (DSO), for example
apxs -i -c mod_auth_cas.c
Subscribe to:
Posts (Atom)