tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mayne, Peter" <>
Subject RE: Tomcat 4.1.24 - 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
using "/bin/sh^M".

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

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: [] 
> Sent: Friday, 16 May 2003 12:40 PM
> To:
> Subject: Tomcat 4.1.24 - 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/
> I receive the following error:
>    : bad interpreter: No such file or 
> directory/bin/ /bin/sh
> line 31: 
> /usr/local/jakarta-tomcat-4.1.24/bin/
> 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:
> For additional commands, e-mail:

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 
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.

View raw message