tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mayne, Peter" <PeterMa...@ap.spherion.com>
Subject RE: Tomcat 4.1.24 Startup.sh - bad interpreter error
Date Fri, 16 May 2003 02:43:41 GMT
If you've copied the file in binary mode from Windows, there could very well
be a ^M on the end of every line, so the shell is trying to run catalina.sh
using "/bin/sh^M".

Use od -c to check, and tr -d '\r' to remove them.

PJDM
-- 
Peter Mayne
Technology Consultant
Spherion Technology Solutions
Level 1, 243 Northbourne Avenue, Lyneham, ACT, 2602
T: 61 2 62689727  F: 61 2 62689777

> -----Original Message-----
> From: RCSigs.ca [mailto:rcsigs@rcsigs.ca] 
> Sent: Friday, 16 May 2003 12:40 PM
> To: tomcat-user@jakarta.apache.org
> Subject: Tomcat 4.1.24 Startup.sh - bad interpreter error
> 
> 
> Hi all,
> 
> I've been a long time user of Tomcat and have gone through 
> many upgrades on
> my system, all without problems and following the same 
> documented steps.  I
> tried it all again to move to 4.1.24 from 4.1.18 but when I 
> try to execute:
> 
>    sh /usr/local/jakarta-tomcat-4.1.24/bin/startup.sh
> 
> I receive the following error:
> 
>    : bad interpreter: No such file or 
> directory/bin/catalina.sh: /bin/sh
>    startup.sh: line 31: 
> /usr/local/jakarta-tomcat-4.1.24/bin/catalina.sh:
> Success
> 
> I have checked to make sure the permissions are the same as 
> in past versions
> and that all files actually exit.  This is most 
> frustrating!!!! Any help in
> resolving this would be very much appreciated.
> 
> Regards,
> 
> Joe
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 

The information contained in this email and any attachments to it:

(a) may be confidential and if you are not the intended recipient, any interference with,

use, disclosure or copying of this material is unauthorised and prohibited; and

(b) may contain personal information of the recipient and/or the sender as defined 
under the Privacy Act 1988 (Cth). Consent is hereby given by the recipient(s) to 
collect, hold and use such information and any personal information contained in a 
response to this email, for any reasonable purpose in the ordinary course of 
Spherion's 
business, including forwarding this email internally or disclosing it to a third party. All

personal information collected by Spherion will be handled in accordance with 
Spherion's Privacy Policy. If you have received this email in error, please notify the 
sender and delete it.

(c) you agree not to employ or arrange employment for any candidate(s) supplied in 
this email and any attachments without first entering into a contractual agreement with 
Spherion. You further agree not to divulge any information contained in this document 
to any person(s) or entities without the express permission of Spherion.



Mime
View raw message