Page 1 of 1

Move 6.3 to New Server

PostPosted:Wed Mar 02, 2016 4:10 pm
by ChrisW
I'm hitting a wall and need some help. I need to move my OpenKM instance to a new server. It is working great on the old server but I'm having difficulty getting it running on the new server. My guess is I have missed a dependency but can't find it. Here are the particulars:

Old Server
Ubuntu 12.04 LTS
OpenKM 6.3
MySql

New Server
Ubuntu 14.04 LTS
OpenKM 6.3
MySql

I moved the MySql database and everything under /opt/openkm (my installation directory). Also moved the Apache conf because we have it configured for SSL along with enabling the headers, proxy, proxy_ajp, proxy_http, and rewrite modules. I installed the Tomcat and Java components.

When I try to launch on the new server, I get a 503 Service Unavailable error (The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.).

The Apache error log shows:
Code: Select all
[proxy_ajp:error] [pid 2477] [client xx.xx.xx.xx:54087] AH00992: ajp_read_header: ajp_ilink_receive failed
[proxy_ajp:error] [pid 2477] (120006)APR does not understand this error code: [client xx.xx.xx.xx:54087] AH00878: read response failed from 127.0.0.1:8009 (127.0.0.1)
What did I miss? I have a feeling it is something simple but I can't put my finger on it.
Thanks

Re: Move 6.3 to New Server

PostPosted:Fri Mar 04, 2016 1:09 pm
by ChrisW
UPDATE

Was still trying to figure out why it would not launch. I installed Tomcat7 using the Ubuntu distro, launched it, stopped it, removed it. Once I stopped and started the Tomcat installation included with OpenKM, it started working. There must have been something missing somewhere in the filesystem. Unfortunately, I am unable to identify it so it will be of little help for others who run into the same problem.

Still have some residual errors but at least it's running.

Happy Trails

Re: Move 6.3 to New Server

PostPosted:Sat Mar 05, 2016 5:41 pm
by jllort
OpenKM bundle comes with several tomcat files modified. At least you should take a look at:
Code: Select all
$TOMCAT_HOME/OpenMM.cfg
$TOMCAT_HOME/OpenKM.xml
$TOMCAT_HOME/conf/server.xml
$TOMCAT_HOME/conf/log4j.properties
$TOMCAT_HOME/lib/ several files into
$TOMCAT_HOME/lib/sigar ( entire folder )