AnsweredAssumed Answered

Crypto Error When Installing Alfresco and CAS

Question asked by th1s_pr0gramm3r on Jul 27, 2012
Hi,

So I have been recently trying to configure CAS and Alfresco 4.0d on a virtual machine. Before I dive into the details, my base system is…

Host OS: Windows 7
Virtual Machine OS: Oracle Linux 6
Virtual Machine Software: Oracle Virtualbox
Processor: Dual Core 3.0 GHz E8400
RAM: 8GB

I had been following this wiki: http://wiki.alfresco.com/index.php?title=Alfresco_With_mod_auth_cas&oldid=36370

And even though the wiki is a little outdated, considering Alfresco is on version 4 currently and the wiki refers to version 3.4, I didn't change too many things going through it.

Essentially I followed it down to the wire outside of these few changes on each of the 7 steps:

Step One:
-Installed the required packages using 'yum', but obviously they were more up-to-date

Step Two:
-I installed Apache Tomcat 6.0.35
-I installed Apache Ant 1.8.4
-I obviously changed the environmental variables accordingly.

Step Three:
-No real changes outside of changing the name of my CN to "localhost" for the first certificate.

Step Four:
-Modified the src/main/webapp/WEB-INF/deployerConfigContext.xml file as I am not using an LDAP server at the current time and simply want to authenticate using a generic handler.

Step Five:
-I changed
ServerName your.server.com:80
to
ServerName localhost:8080
like it told me to.

Step Six:
-I could not get
svn co http://svn.alfresco.com/repos/alfresco-open-mirror/alfresco/HEAD/ alfresco_head
to build successfully, so instead I did
svn co -r 33365 http://svn.alfresco.com/repos/alfresco-open-mirror/ alfresco_head
to check out Alfresco version 4.0d. This allowed me to continue on and build it successfully.

Step Seven:

Here is where it seems to all go to crap.

I cd into the tomcat folder and run the command
catalina.sh start
and that seems to be fine. But when I run
/etc/init.d/httpd start
I get the following error:

Starting httpd: httpd: Syntax error on line 221 of /etc/httpd/conf/httpd.conf: Syntax error on line 1 of /etc/httpd/conf.d/mod_auth_cas.conf: Cannot load /etc/httpd/modules/mod_auth_cas.so into server: /etc/httpd/modules/mod_auth_cas.so: undefined symbol: CRYPTO_THREADID_get_id_callback               [FAILED]

Has anyone had any experience with this error or even setting up CAS and Alfresco 4.0d on a virtualized linux server? Any feedback would be appreciated!

Outcomes