This forum is no longer active. Please post your questions to our new community site

Forums Alfresco

installation error on ubuntu 9.1

Subscribe to installation error on ubuntu 9.1 4 post(s), 4 voice(s)

 
Avatar rajesh 2 post(s)

Hi

After fresn install of 9.1 also am getting this error…

“Installing
0% ______________ 50% ______________ 100%
########################################Warning: Problem running post-install step. Installation may not complete
correctly
Error running /opt/alfresco-3.0-2/openoffice/scripts/ctl.sh start : child
process exited abnormally
Press [Enter] to continue :”

please help..

Thanks

 
Avatar carlos Administrator 144 post(s)

Hi,

Could you post the contents of /opt/alfresco-3.0-2/openoffice/scripts/ctl.sh ?
Could you send the latest file /tmp/bitrock*.log that you have to us?

Please check the creation date, the numbers at the end of the file are random

 
Avatar rojasc 2 post(s)

Hi, i get the same message (ubuntu server 10.04)

my ctl.sh file:
#!/bin/sh

USEXVFB=0
VDISPLAY=“99”

  1. Xvfb
    XVFB_PIDFILE=/opt/alfresco-3.0-2/Xvfb/xvfb.pid
    XVFB_PID=""
    XVFBBIN=/opt/alfresco-3.0-2/Xvfb/bin/Xvfb
    XVFB=“$XVFBBIN :$VDISPLAY -screen 0 800×600×8 -fbdir /opt/alfresco-3.0-2/Xvfb/var/run -fp /opt/alfresco-3.0-2/Xvfb/misc”
    XVFB_STATUS=""
  1. Open Office
    SOFFICE_PATH=“/opt/alfresco-3.0-2/openoffice/program”
    SOFFICE_PIDFILE=/opt/alfresco-3.0-2/openoffice/soffice.bin.pid
    SOFFICE_PID=""
    SOFFICE_PORT=“8100”
    SOFFICEBIN=/opt/alfresco-3.0-2/openoffice/program/soffice.bin
    if [ $USEXVFB -eq 1 ]; then
    SOFFICE=“$SOFFICEBIN -nofirststartwizard -nologo -headless -display :$VDISPLAY -accept=socket,host=localhost,port=$SOFFICE_PORT;urp;StarOffice.ServiceManager”
    else
    SOFFICE=“$SOFFICEBIN -nofirststartwizard -nologo -headless -accept=socket,host=localhost,port=$SOFFICE_PORT;urp;StarOffice.ServiceManager”
    fi
    SOFFICE_STATUS=""

ERROR=0

get_pid() {
PID=""
PIDFILE=$1

  1. check for pidfile
    if [ -f $PIDFILE ] ; then
    PID=`cat $PIDFILE`
    fi
    }

get_xvfb_pid() {
get_pid $XVFB_PIDFILE
if [ ! $PID ]; then
return
fi
if [ $PID -gt 0 ]; then
XVFB_PID=$PID
fi
}

get_soffice_pid() {
get_pid $SOFFICE_PIDFILE
if [ ! $PID ]; then
return
fi
if [ $PID -gt 0 ]; then
SOFFICE_PID=$PID
fi
}

is_service_running() {
PID=$1
if [ “x$PID” != “x” ] && kill -0 $PID 2>/dev/null ; then
RUNNING=1
else
RUNNING=0
fi
return $RUNNING
}

is_xvfb_running() {
get_xvfb_pid
is_service_running $XVFB_PID
RUNNING=$?
if [ $RUNNING -eq 0 ]; then
XVFB_STATUS=“Xvfb not running”
else
XVFB_STATUS=“Xvfb already running”
fi
return $RUNNING
}

is_soffice_running() {
get_soffice_pid
is_service_running $SOFFICE_PID
RUNNING=$?
if [ $RUNNING -eq 0 ]; then
SOFFICE_STATUS=“openoffice not running”
else
SOFFICE_STATUS=“openoffice already running”
fi
return $RUNNING
}

start_xvfb() {
if [ $USEXVFB -eq 1 ]; then
is_xvfb_running
RUNNING=$?

if [ $RUNNING -eq 1 ]; then
echo “$0 $ARG: Xvfb (pid $XVFB_PID) already running”
else
$XVFB >/dev/null 2>&1 &
sleep 3
ps ax | grep $XVFBBIN | awk {’print $1’} > $XVFB_PIDFILE
is_xvfb_running
RUNNING=$?
if [ $RUNNING -eq 0 ]; then
ERROR=1
fi
if [ $ERROR -eq 0 ]; then
echo “$0 $ARG: Xvfb started on display $VDISPLAY
sleep 2
else
echo “$0 $ARG: xvfb could not be started”
ERROR=3
fi
fi
fi
}

stop_xvfb() {
if [ $USEXVFB -eq 1 ]; then
NO_EXIT_ON_ERROR=$1
is_xvfb_running
RUNNING=$?

if [ $RUNNING -eq 0 ]; then
echo “$0 $ARG: $XVFB_STATUS”
if [ “x$NO_EXIT_ON_ERROR” != “xno_exit” ]; then
exit
else
return
fi
fi
get_xvfb_pid
if kill $XVFB_PID ; then
echo “$0 $ARG: Xvfb stopped”
rm $XVFB_PIDFILE
else
echo “$0 $ARG: Xvfb could not be stopped”
ERROR=4
fi
fi
}

start_soffice() {
is_soffice_running
RUNNING=$?

if [ $RUNNING -eq 1 ]; then echo “$0 $ARG: openoffice (pid $SOFFICE_PID) already running” else $SOFFICE >/dev/null 2>&1 & sleep 3 ps ax | grep $SOFFICEBIN | grep -v grep | awk {’print $1’} > $SOFFICE_PIDFILE is_soffice_running RUNNING=$? if [ $RUNNING -eq 0 ]; then ERROR=1 fi if [ $ERROR -eq 0 ]; then echo “$0 $ARG: openoffice started at port $SOFFICE_PORT” sleep 2 else echo “$0 $ARG: openoffice could not be started” ERROR=3 fi fi

}

stop_soffice() {
NO_EXIT_ON_ERROR=$1
is_soffice_running
RUNNING=$?

if [ $RUNNING -eq 0 ]; then echo “$0 $ARG: $SOFFICE_STATUS” if [ “x$NO_EXIT_ON_ERROR” != “xno_exit” ]; then exit else return fi fi get_soffice_pid if killall $SOFFICEBIN ; then

echo “$0 $ARG: openoffice stopped”
rm $SOFFICE_PIDFILE
else
echo “$0 $ARG: openoffice could not be stopped”
ERROR=4
fi
}

if [ “x$1” = “xstart” ]; then
start_xvfb
sleep 2
start_soffice
elif [ “x$1” = “xstop” ]; then
stop_soffice
stop_xvfb
elif [ “x$1” = “xstatus” ]; then
is_soffice_running
echo “$SOFFICE_STATUS”
fi

exit $ERROR

 
Avatar danoo Administrator 81 post(s)

Hi,

just wanted to let you know we have released BitNami Alfresco 3.3-0 stack.

Danoo

Forums Alfresco