Hi, let me correct something.
I still get error messages even after I put the java line into a file and
run as bash script.
Does "No child processes" error apply to python ?
best wishes,
Ozgur Akan
On Tue, Dec 9, 2008 at 12:29 PM, Ozgur Akan <[EMAIL PROTECTED]> wrote:
> Hi I get an error like the one below. Basically my source is something like
> this;
>
> client = fc.Overlord(server)
> output = client.command.run(command)
> print output
>
> command that I run is;
> /usr/java/jdk1.5.0_14/jre/bin/java -jar /root/ActivityMonitor.jar
> replication
>
> error;
>
> {'my.localserver.com': ['REMOTE_ERROR', 'exceptions.OSError', '[Errno 10]
> No child processes', ' File
> "/usr/lib/python2.3/site-packages/func/minion/server.py", line 138, in
> __call__\n rc = self.__method(*args)\n File
> "/usr/lib/python2.3/site-packages/func/minion/modules/command.py", line 33,
> in run\n data = cmdref.communicate()\n File
> "/usr/lib/python2.3/site-packages/func/minion/sub_process.py", line 651, in
> communicate\n return self._communicate(input)\n File
> "/usr/lib/python2.3/site-packages/func/minion/sub_process.py", line 1155, in
> _communicate\n self.wait()\n File
> "/usr/lib/python2.3/site-packages/func/minion/sub_process.py", line 1086, in
> wait\n pid, sts = os.waitpid(self.pid, 0)\n']}
>
>
> When I put that java line into a file and run it as a shell script, I don't
> face problems.
>
> Does anyone has any idea? I get the error very often.
>
> best wishes,
> Ozgur Akan
>
_______________________________________________
Func-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/func-list