tomcatastrophe: > When I try to run /etc/init.d/tomcat restart or /sbin/service tomcat restart > (or stop or start) I get this error: > > -bash: /etc/init.d/tomcat: /bin/bash^M: bad interpreter: No such file or > directory
When you create script files for Linux on a Windows box, make sure you save them with the proper line endings, i. e. \n instead of \r\n. dos2unix might help. > RUN_AS_USER=root # Adjust run user here Not a good idea. -- Regards mks --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org