Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: Mike on May 26, 2003, 10:12:48 PM

Title: Problem running Tomcat web server
Post by: Mike 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
Title: Re: Problem running Tomcat web server
Post by: Dan Brown 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).
Title: Re: Problem running Tomcat web server
Post by: Mike 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!