Re: slave script : bad interpreter

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: slave script : bad interpreter

Luke Walker
Just to give others a heads up,
when I first tried to build on a remote system I recieved an error executing the slave script.  The error was:
bash: /var/hudson/bin/slave: /bin/sh

: bad interpreter: No such file or directory
A quick search found a solution
<a href="http://www.linuxquestions.org/questions/showthread.php?t=213617" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> http://www.linuxquestions.org/questions/showthread.php?t=213617

It turns there is a carrige return "\r" before the newline in the first line of the file.  Once it was removed the build worked great!
I am using hudson version 1.66.

--
Peace,
Luke
Reply | Threaded
Open this post in threaded view
|

Re: slave script : bad interpreter

Kohsuke Kawaguchi-2
Luke Walker wrote:

> Just to give others a heads up,
> when I first tried to build on a remote system I recieved an error executing
> the slave script.  The error was:
>
> bash: /var/hudson/bin/slave: /bin/sh
>
> : bad interpreter: No such file or directory
>
> A quick search found a solution
> http://www.linuxquestions.org/questions/showthread.php?t=213617
>
> It turns there is a carrige return "\r" before the newline in the first line
> of the file.  Once it was removed the build worked great!
> I am using hudson version 1.66.
Argh. I believe I fixed this, by making CVS think that this file is a
binary file.

Thanks for pointing this out.


--
Kohsuke Kawaguchi
Sun Microsystems                   [hidden email]

smime.p7s (4K) Download Attachment