Skip to content
Snippets Groups Projects
Commit 9ef1e36f authored by Marcel Huber's avatar Marcel Huber
Browse files

* changed to using absolute binary filename when starting wdserver

parent 735f378a
No related branches found
No related tags found
No related merge requests found
......@@ -193,12 +193,12 @@ printf "%s %s: " "`date +%Y%m%d%H%M%S`" "${MYNAME}" >> ${ServerMsgLog}
printf "setting handles to %s and coresize to %s blocks\n" "`echo ${cfg_handles}| cut -d ' ' -f 2`" "`echo ${cfg_coresize} | cut -d ' ' -f 2`" | tee -a ${ServerMsgLog}
if [ $cfg_dbgctl -eq 0 ]; then
printf "%s %s: " "`date +%Y%m%d%H%M%S`" "${MYNAME}" >> ${ServerMsgLog}
printf "starting %s [%s] with options [%s] on [%s]\n" "${SERVERNAME}" "$WDS_BIN" "$cfg_srvopts" "${HOSTNAME}" | tee -a ${ServerMsgLog} ${ServerErrLog};
printf "starting %s [%s] with options [%s] on [%s]\n" "${SERVERNAME}" "$WDS_BINABS" "$cfg_srvopts" "${HOSTNAME}" | tee -a ${ServerMsgLog} ${ServerErrLog};
# start the server process
$WDS_BIN $cfg_srvopts 2>> ${ServerErrLog} >> ${ServerMsgLog} &
$WDS_BINABS $cfg_srvopts 2>> ${ServerErrLog} >> ${ServerMsgLog} &
else
printf "%s %s: " "`date +%Y%m%d%H%M%S`" "${MYNAME}" >> ${ServerMsgLog}
printf "starting %s [%s] using GDB in batch mode with options [%s] on [%s]\n" "${SERVERNAME}" "$WDS_BIN" "$cfg_srvopts" "${HOSTNAME}" | tee -a ${ServerMsgLog} ${ServerErrLog};
printf "starting %s [%s] using GDB in batch mode with options [%s] on [%s]\n" "${SERVERNAME}" "$WDS_BINABS" "$cfg_srvopts" "${HOSTNAME}" | tee -a ${ServerMsgLog} ${ServerErrLog};
gdb --batch --command ${cfg_gdbcommands} 2>> ${ServerErrLog} >> ${ServerMsgLog} &
fi
# this on seems to be simpler to grasp the PID than using ps
......
......@@ -559,7 +559,7 @@ cat > ${outputfile} <<-EOF
set environment LOGDIR=${LOGDIR}
set environment PID_FILE=${PID_FILE}
set auto-solib-add 1
file ${WDS_BIN}
file ${WDS_BINABS}
set args ${locsrvopts}
EOF
if [ $locRunAsServer -eq 1 ]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment