startup Error for Zend Server CE

Posted by Jamison on Super User See other posts from Super User or by Jamison
Published on 2011-01-30T15:24:23Z Indexed on 2011/01/30 15:27 UTC
Read the original article Hit count: 277

Filed under:
|
|
|

Hello! I've got a strange startup error for Zend Server CE - it's probably easy to fix, but I don't have much experience with Zend Server!

I'm running the latest OSX 10.6.6 and the latest Zend Server CE for Mac.

When I run the "start" command from the command line, here is what I get:

/usr/local/zend/bin/apachectl start [OK]
spawn-fcgi: child spawned successfully: PID: 4206
/usr/local/zend/bin/shell_functions.rc: line 133:  4210 Bus error  $WATCHDOG -i $BINARY 1>&3 2>&4
/usr/local/zend/bin/shell_functions.rc: line 133:  4211 Bus error  $WATCHDOG -u $WD_UID -g $WD_GID -s $BINARY 1>&3 2>&4
Starting Zend Server GUI [Lighttpd] [FAILED]
/usr/local/zend/bin/lighttpdctl.sh: line 46:  4212 Bus error  $WATCHDOG -i $BINARY
Starting MySQL
 SUCCESS! 
/usr/local/zend/bin/shell_functions.rc: line 133:  4304 Bus error  $WATCHDOG -i $BINARY 1>&3 2>&4
/usr/local/zend/bin/shell_functions.rc: line 133:  4425 Bus error  $WATCHDOG -u $WD_UID -g $WD_GID -s $BINARY 1>&3 2>&4
Starting Java bridge [FAILED]
/usr/local/zend/bin/java_bridge.sh: line 39:  4426 Bus error  $WATCHDOG -i $BINARY

Zend Server started...

The challenge is that ZEND SERVER wont open the GUI with this error, and seemingly I can click on Zend Server in the Applications folder and it opens for a second and immediately closes. I've made sure that Web Sharing is turned off to avoid conflicts, and I've run Disk Utility from my recovery disk to make sure there are no file system errors.

Here is what the lines that are referenced in the errors have in terms of code:

shell_functions.rc: (starting on line 132 - the error message says line 133...):

launch()
{
    if [ -z "$DEBUG" ]; then
        exec 3>/dev/null 4>&3
    else
        exec 3>&1 4>&2  
    fi
    $WATCHDOG -i $BINARY 1>&3 2>&4
    RET=$?
    if [ $RET -eq 0 ];then
        $ECHO_CMD "$BINARY watchdog is up and running.. ${OK_COLOR}[OK]${T_RESET}"
        return $RET 
    else
        #$WATCHDOG -u $WD_UID -g $WD_GID -s $BINARY >> "$PREFIX/logs/watchdog_$BINARY.log" 2>&1 
        $WATCHDOG -u $WD_UID -g $WD_GID -s $BINARY 1>&3 2>&4
        report $? "Starting"
    fi
}

_kill()
{
    $WATCHDOG -i $BINARY > /dev/null 2>&1
    if [ $? -eq 1 ];then
        $ECHO_CMD "$BINARY is not running"
    else
        $WATCHDOG -t $BINARY > /dev/null 2>&1
        report $? "Stopping"
    fi
}

lighttpdctl.sh: (starting on line 45 - the error message says line 46...):

status()
{
    $WATCHDOG -i $BINARY
}
case "$1" in
    start)
        start
                status
        ;;
    stop)
        stop
        ;;
    restart)
        stop
        sleep 1
        start
        ;;
    status)
        status
        ;;
    *)
            usage
        exit 1
esac

exit $?

java_bridge.sh: (starting on line 38 - the error message says line 39...):

status()
{
    $WATCHDOG -i $BINARY
}

Question: "Watchdog" is library in this zend BIN folder - it seems to handle error reporting? all the errors in my start command seem to deal with this Watchdog thing, but I don't know what to do about it...

Thanks!

© Super User or respective owner

Related posts about error

Related posts about server