java.io.IOException: Cannot run program "/bin/sh"

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

java.io.IOException: Cannot run program "/bin/sh"

I'm running Hudson on Solaris.  I set up a very simple job that has no SCM and just one build action: "echo hello".  I get the following errror:

[workspace] $ /bin/sh -xe /var/tmp/hudson58835.sh
FATAL: command execution failed
java.io.IOException: Cannot run program "/bin/sh" (in directory "/home/hudson/.hudson/jobs/fitnesswithoutgit/workspace"): error=12, Not enough space
at java.lang.ProcessBuilder.start(ProcessBuilder.java:459)
at hudson.Proc$LocalProc.<init>(Proc.java:104)
at hudson.Proc$LocalProc.<init>(Proc.java:82)
at hudson.Launcher$LocalLauncher.createLocalProc(Launcher.java:311)
at hudson.Launcher$LocalLauncher.launch(Launcher.java:302)
at hudson.Launcher.launch(Launcher.java:140)
at hudson.Launcher.launch(Launcher.java:92)
at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:60)
at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:34)
at hudson.model.Build$RunnerImpl.build(Build.java:138)
at hudson.model.Build$RunnerImpl.doRun(Build.java:113)
at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:241)
at hudson.model.Run.run(Run.java:817)
at hudson.model.Build.run(Build.java:88)
at hudson.model.ResourceController.execute(ResourceController.java:70)
at hudson.model.Executor.run(Executor.java:90)
Caused by: java.io.IOException: error=12, Not enough space
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.<init>(UNIXProcess.java:53)
at java.lang.ProcessImpl.start(ProcessImpl.java:65)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:452)
... 15 more
finished: FAILURE

Robert C. Martin (Uncle Bob)  | email: [hidden email]
Object Mentor Inc.            | blog:  blog.objectmentor.com
The Agile Transition Experts  | web:   www.objectmentor.com
800-338-6716                  | twitter: unclebobmartin

Reply | Threaded
Open this post in threaded view
Report Content as Inappropriate

Re: java.io.IOException: Cannot run program "/bin/sh"


This is a friendly reminder that the 'issues' list is only used for
automatic e-mail notification from the issue tracker, and not meant
for interactive discussion. Please request an observer role for the
project and add the comment to the issue, or please redirect your
e-mails to the 'users' list.

(this is an automatically generated message, and if you have a comment
about this bot itself, please contact [hidden email]

Java.net issue tracker auto responder

To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]