|
From: Leif M. <le...@ta...> - 2004-04-14 16:19:46
|
Dan,
I have seen similar problems on Linux when the shell script is
transferred from a
Windows machine with incorrect line feeds. Are you sure that the line
feeds are
correct for the Mac OS X platform?
The Mac OS X distribution is currently shipping with standard LF (UNIX)
line feeds. Is this correct for OS X? I don't have any OSX systems to
play with
myself. I know that old Mac systems used CR line feeds??
Cheers
Leif
Dan Weston wrote:
> I've used the service wrapper to deploy the same java app on windows,
> linux, and solaris. I am now moving it over to Mac OS X. I'm having a
> problem with the startup script that resides in the bin directory of
> the service wrapper deployment hierarchy. From a terminal window in OS
> X (Panther 10.3.3) , trying to start the script gets an error:
>
> -bash: ./taskserver: cannot execute binary file
>
> This is the exact same script that I use on all the other platforms.
> The strange thing is that if I copy the contents of the script into a
> fresh text file and save it, then I can run the copied script just
> fine. So that makes me think that the contents of the script file are
> fine, but there is something missing or wrong about the metadata for
> the script file.
>
> Has anyone else run into this?
>
> thanks.
>
> Dan Weston
|