I get the error in the stdout, the log file is empty I did alter your script and got this error when I ran it.
ta Norm > -------- Original Message -------- > Subject: RE: Witango-Talk: starting witango in bash shell (ubuntu) > From: "William M. Conlon" <[EMAIL PROTECTED]> > Date: Mon, July 02, 2007 5:30 pm > To: [email protected] > > That's when running the init script or in the witangoevents log? > > BTW, my script is for the Redhat/Fedora/Centos environment and I run > Witango > 5. So you may need to adjust slightly. > > -- > Bill > > William M. Conlon, P.E., Ph.D. > Consulting Engineer > 2330 Bryant Street > Palo Alto, CA 94301 > office: 650.327.2175 > fax: 650.329.8335 > mobile: 650.906.9929 > e-mail: mailto:[EMAIL PROTECTED] > web: http://www.wmconlon.com > YahooIM: wmconlon > AIM: wmconlon > > ---------- Original Message ----------- > From: [EMAIL PROTECTED] > To: [email protected] > Sent: Mon, 02 Jul 2007 17:14:43 -0700 > Subject: RE: Witango-Talk: starting witango in bash shell (ubuntu) > > > Hi, > > > > thanks for the script ... I now get error ... > > > > error while loading shared libraries libldap.so.199 cannot open: No > such > > library or file. > > > > I ran the package manager and installed everything that started with > > libldap but I still get this error. > > > > Does anyone know where this library is? > > > > thanks > > > > Norm > > > -------- Original Message -------- > > > Subject: Re: Witango-Talk: starting witango in bash shell (ubuntu) > > > From: "William M. Conlon" <[EMAIL PROTECTED]> > > > Date: Mon, July 02, 2007 4:30 pm > > > To: [email protected] > > > > > > Here's my init script: > > > > > > #cat /etc/init.d/witangod5 > > > > > > #!/bin/bash > > > # > > > # Startup script for the Witango Application Server > > > # > > > # chkconfig: - 85 15 > > > # description: Witango is an Application Server for World Wide Web > > > servers.\ > > > # It is used to serve dynamically generated XML and HTML files. > > > # processname: witangod > > > # pidfile: $WITANGO_CONFIG/pid.WitangoServer > > > # config: $WITANGO_CONFIG/witango.ini > > > # config: $WITANGO_CONFIG/clients.ini > > > > > > > > > # > > > # InitWitangoEnv > > > # Use this procedure to set all environment variables to be used > by the > > > witangod process > > > # > > > InitWitangoEnv () > > > { > > > > > > > > > # Set up environment > > > umask 022 > > > > > > # Set up environment for Witango server > > > # > > > WITANGO_PATH=/usr/local/witango > > > export WITANGO_PATH > > > WITANGO_CONFIG=$WITANGO_PATH/configuration > > > export WITANGO_CONFIG > > > WITANGO_USER=witango > > > export WITANGO_USER > > > > > > # Set up environment for Java Virtual Machine > > > # > > > JAVA_HOME=//usr/java/jre1.5.0_01 > > > export JAVA_HOME > > > JAVA_LIB=$JAVA_HOME/lib/i386 > > > export JAVA_LIB > > > LD_LIBRARY_PATH=/usr/lib:/usr/local/lib:$WITANGO_PATH:$JAVA_HOME > > > export LD_LIBRARY_PATH > > > #Add the paths to the JDBC jar files to the CLASSPATH > > > CLASSPATH=$WITANGO_PATH/jdbc_drivers/:$WITANGO_PATH > > > export CLASSPATH > > > > > > # Set up environment for ODBC driver manager > > > # > > > ODBCINI=/etc/odbc.ini > > > export ODBCINI > > > ODBCINSTINI=/etc/odbcinst.ini > > > export ODBCINSTINI > > > > > > # Set up general environment variables > > > # > > > DYLD_LIBRARY_PATH=/usr/lib:/usr/local/lib > > > export DYLD_LIBRARY_PATH > > > > > > > LD_LIBRARY_PATH=$WITANGO_PATH:/usr/lib:$JAVA_LIB/server:$JAVA_LIB/client:$JAVA_LIB > > > export LD_LIBRARY_PATH > > > PATH=$WITANGO_PATH:$PATH > > > export PATH > > > LC_ALL=en_US > > > export LC_ALL > > > } > > > > > > touch $WITANGO_CONFIG/witangoevents.log > > > > > > kill_witango(){ > > > InitWitangoEnv > > > echo "Witango 5 daemons should be shutdown using the command: > > > witangod > > > -c '<config_name>' -k" > > > for IT in 9 8 7 6 5 4 3 2 1 KILLALL; do > > > if [ "$IT" = "KILLALL" ] ; then > > > PIDs=`/bin/ps ax | grep -v grep | grep > > > witangod | awk > > > '{print $1}'` > > > if [ "x$PIDs" != "x" ] ; then > > > kill -9 $PIDs > > > echo "The following processes were > > > killed:" $PIDs > > > fi > > > fi > > > done > > > } > > > > > > start_witango() { > > > echo "Initialising Witango 5 daemon environment ... " > > > InitWitangoEnv > > > echo "Starting up Witango 5 daemon ... " > > > $WITANGO_PATH/witangod -c "WitangoServer" > > > echo "Witango v5.0.x daemon is running" > > > } > > > > > > status_witango() { > > > InitWitangoEnv > > > echo "Witango v5.0.x daemon status... " > > > PIDs=`/bin/ps ax | grep -v grep | grep -v " status" | grep > > > witangod` > > > if [ "x$PIDs" != "x" ] ; then > > > echo "Current Running Witangod processes:" > > > echo "$PIDs" > > > else > > > echo "There are no Witangod processes running." > > > fi > > > echo "" > > > } > > > > > > stop_witango() { > > > InitWitangoEnv > > > echo "Shutting down Witango 5 daemon... " > > > $WITANGO_PATH/witangod -c "WitangoServer" -k > > > sleep 5 > > > PROCESSES_RUNNING=`/bin/ps ax | grep -v grep | grep -v " > > > stop" | grep > > > witangod` > > > if [ "x$PROCESSES_RUNNING" != "x" ] ; then > > > echo "Processes still running: Killing processes - > > > $PROCESSES_RUNNING" > > > kill_witango > > > fi > > > echo "" > > > rm -f $WITANGO_CONFIG/pid.WitangoServer > > > } > > > > > > #cd $WITANGO_PATH > > > > > > case "$1" in > > > start) > > > start_witango > > > ;; > > > stop) > > > stop_witango > > > ;; > > > restart) > > > stop_witango > > > # kill_witango > > > start_witango > > > ;; > > > status) > > > status_witango > > > ;; > > > *) > > > echo "Usage: $0 {start|stop|restart|status}" > > > exit 1 > > > esac > > > > > > exit $RETVAL > > > > > > > > > > > > > > > -- > > > Bill > > > > > > William M. Conlon, P.E., Ph.D. > > > Consulting Engineer > > > 2330 Bryant Street > > > Palo Alto, CA 94301 > > > office: 650.327.2175 > > > fax: 650.329.8335 > > > mobile: 650.906.9929 > > > e-mail: mailto:[EMAIL PROTECTED] > > > web: http://www.wmconlon.com > > > YahooIM: wmconlon > > > AIM: wmconlon > > > > > > ---------- Original Message ----------- > > > From: [EMAIL PROTECTED] > > > To: [EMAIL PROTECTED], witango-talk <[email protected]> > > > Sent: Mon, 02 Jul 2007 14:34:27 -0700 > > > Subject: Witango-Talk: starting witango in bash shell (ubuntu) > > > > > > > hi, > > > > > > > > I installed witagno serveron ubuntu but cannot start it as it uses > > > > the bash shell and the startup script is shell (ie > start_witango.sh) > > > > . Any ideas how I can fix this? > > > > > > > > thanks > > > > > > > > Norm > > > > ________________________________________________________________________ > > > > TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf > > > ------- End of Original Message ------- > > > ________________________________________________________________________ > > > TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf > > ________________________________________________________________________ > > TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf > ------- End of Original Message ------- > ________________________________________________________________________ > TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf ________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
