iPlanet 4.1/6.1 start scripts - redirecting STDERR/STDOUT
807567Apr 20 2005 — edited Apr 21 2005I am looking to redirect the STDERR and STDOUT in the iplanet startscripts to /dev/null instead of it being stored in /tmp as it currently does... I am able to get it to redirect to either a file or /dev/null (and thus rid the server of teh phantom files) however, when I start the instances via the web admin gui, I get a warning box that pops up that says "The Server Failed to Start Correctly." Based on what I can see in teh error logs and through testing, it appears the instances start fine. I have attached below the portion of the start scripts that I have modified and bolded what was added to the script:
case $arg in
-start)
./$PRODUCT_BIN -d $PRODUCT_SUBDIR/config $@ 1>/dev/null 2>/dev/null
if test $? -ne 0 ; then
exit 1
fi
;;
-shell)
Any thoughts on what is causing the error message to pop up claiming that the instance did not restart successfully?