• Unable to autostart OpenKM 1.5.9 on Opensuse

  • Problems with installing OpenKM? No problemo, the solution is closer than you think.
Problems with installing OpenKM? No problemo, the solution is closer than you think.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #15457  by michel78
 
Hi all,

I've just installed OpenKM 1.5.9 on a Opensuse 12.1
I've created the script /etc/init.d/jbossokm :
Code: Select all
#! /bin/sh
# /etc/init.d/jbossokm: Start and stop JBoss Application Service
### BEGIN INIT INFO
# Provides:      OpenKM41
# Required-Start: $network $remote_fs
# Required-Stop: $network $remote_fs
# Default-Start:  2 3 5
# Default-Stop:
# Short-Description: Inicia OPENKM Versión 4.1
# Description:    Inicia OPENKM Versión 4.1 Corriendo bajo JBoss4.2.3
### END INIT INFO

ECHO=/bin/echo
TEST=/usr/bin/test
JBOSS_START_SCRIPT=/home/jboss-4.2.3.GA/bin/run.sh
JBOSS_STOP_SCRIPT=/home/jboss-4.2.3.GA/bin/shutdown.sh

$TEST -x $JBOSS_START_SCRIPT || exit 0
$TEST -x $JBOSS_STOP_SCRIPT || exit 0

start() (
   $ECHO -n "Demarrage de JBoss ......"
   $JBOSS_START_SCRIPT -b 0.0.0.0 &
   $ECHO "."
   sleep 20
   )

stop () (
   $ECHO -n "Arret de JBoss"
   $JBOSS_STOP_SCRIPT -S &
   $ECHO "."
   )

case "$1" in
      start )
            start
            ;;
      stop )
            stop
            ;;
      restart )
            stop
            sleep 30
            start
            ;;
      * )
            $ECHO "Usage: jbossokm {start|stop|restart}"
            exit 1
esac

exit 0

The run level for this service is 235
I can start it manually (/etc/init.d/jbossokm start)
but it doesn't start automatically when the server start.

Any help would be appreciated.

Regards,

Michel

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.