Hi Thomas,
> it runs fine when executing it from the shell
Well, the kernel call "execv" needs an executable
binary. Furthermore, if you use Security Enhanced
Linux, the binary *must* be an ELF binary and be
tagged appropriately, see the Security Enhanced Linux
section from the README.
The source distribution creates a default wrapper
"RunJavaBridge" from the file server/RunJavaBridge.c:
http://php-java-bridge.sourceforge.net/OLD/server/RunJavaBridge.c.in
(the above command contains instructions how to set
the SEL context for the binary)
> : Exec format error in
> It looks like it still uses all the old settings as
> my script
> /root/wrapper.sh is right in the middle of the
> entire command.
The command looks all right. The only problem is that
the kernel cannot execute /root/wrapper.sh.
Regards,
Jost Boekemeier
___________________________________________________________
Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de
|