Koozali.org: home of the SME Server

Problem running Tomcat web server

Mike

Problem running Tomcat web server
« on: May 26, 2003, 10:12:48 PM »
I'm trying to run Tomcat on my SME server. When I try to run the startup script ./startup.sh I get:

bash-2.05a$ ./startup.sh
bash: ./startup.sh: /bin/sh: bad interpreter: Permission denied

I logged into the server through ssh. Is there some restriction placed on logging in using ssh that prevents me from using the sh shell?

Thanks

Dan Brown

Re: Problem running Tomcat web server
« Reply #1 on: May 26, 2003, 10:32:53 PM »
It sounds like the startup.sh script has been saved as a windows text file (cr/lf line terminators, instead of lf only).

Mike

Re: Problem running Tomcat web server
« Reply #2 on: May 26, 2003, 11:09:24 PM »
Ah - thanks. That was it. I re-downloaded it onto my server rather than copy it across using Samba.

Cheers!