Hi, i have some problems with the debian (4.0) startup script and after googeling a day about named pipes and so on, i hope some guru can help me with it. I know its not directly tomcat related, but as it relates to tomcat5.5 debian package i hope i am allowed to ask on this list.
this is part of the standard debian script: su -p -s /bin/sh $TOMCAT5_USER \ -c "$ROTATELOGS \"$CATALINA_BASE/logs/catalina_%F.log\" 86400" \ < "$CATALINA_BASE/logs/catalina.out" & su -p -s /bin/sh $TOMCAT5_USER \ -c "\"$DAEMON\" start $STARTUP_OPTS" >> "$CATALINA_BASE/logs/catalina.out" 2>&1 now i want to start my tomcat5.5 instance via ssh like this: ssh [EMAIL PROTECTED] /etc/init.d/tomcat5.5 start i get this output: Starting Tomcat servlet engine: tomcat5.5. After this output the command does not return and hangs forever. Only if i stop tomcat, this command returns. I can hit Ctrl-C and tomcat keeps on running, but as i want to use it in an ant script its quite annoying. i tried adding nohup in front and adding stdout and stderr redirection to the first command to no avail. nohup su -p -s /bin/sh $TOMCAT5_USER \ -c "$ROTATELOGS \"$CATALINA_BASE/logs/catalina_%F.log\" 86400" \ < "$CATALINA_BASE/logs/catalina.out" 2>&1 >/dev/null & nohup su -p -s /bin/sh $TOMCAT5_USER \ -c "\"$DAEMON\" start $STARTUP_OPTS" >> \ "$CATALINA_BASE/logs/catalina.out" 2>&1 it seems to me that this named pipe catalina.out causes the trouble. But as it seems nobody else on debian got this problem. Can somebody please help me? I hope i gave you enough information for helping me kind regards, janning --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]