missing users after restart
PostPosted:Wed Feb 29, 2012 9:51 am
Hello,
I've installed openkm 5.1.7 on ubuntu 10.04 and has no problem as long as the server is on but after I restart the server it misses all users but permissions and directories are still working.
so I have to create all users again.
this is startup in init.d :
I've installed openkm 5.1.7 on ubuntu 10.04 and has no problem as long as the server is on but after I restart the server it misses all users but permissions and directories are still working.
so I have to create all users again.
this is startup in init.d :
Code: Select all
ECHO=/bin/echo
TEST=/usr/bin/test
JBOSS_START_SCRIPT=/opt/jboss/bin/run.sh
JBOSS_STOP_SCRIPT=/opt/jboss/bin/shutdown.sh
$TEST -x $JBOSS_START_SCRIPT || exit 0
$TEST -x $JBOSS_STOP_SCRIPT || exit 0
start() (
$ECHO -n "Starting JBoss"
su -c "$JBOSS_START_SCRIPT -b 0.0.0.0 > /dev/null 2> /dev/null &"
$ECHO "."
)
stop () (
$ECHO -n "Stopping JBoss"
su -c "$JBOSS_STOP_SCRIPT -S > /dev/null &"
$ECHO "."
)
case "$1" in
start )
sleep 60
start
;;
stop )
stop
sleep 40
;;
restart )
stop
start
;;
* )
$ECHO "Usage: jbossokm {start|stop|restart}"
exit 1
esac