I have a weird problem where I cannot install a Sybase DB server as root on an AIX virtual machine. I'm logged in as root and launching the installer as such:
bash-4.2# ./setup.bin -i console
Preparing to install...
Extracting the JRE from the installer archive...
Unpacking the JRE...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
Launching installer...
./setup.bin: /tmp/install.dir.3277230/Linux/resource/jre/bin/java: 0403-006 Execute permission denied.
As you can see one of the first things the installer does is unpack its own JRE and try to install it, during which I get a permission error. So I've checked the file's permissions:
bash-4.2# ls -al /tmp/install.dir.3277230/Linux/resource/jre/bin/java
-rwxr-xr-x 1 28886 ipsec 15755 Jul 14 2013 /tmp/install.dir.3277230/Linux/resource/jre/bin/java
What I don't understand is that this UID does not exist in my /etc/passwd file. I also tried the following:
bash-4.2# cd /tmp/install.dir.3277230/Linux/resource/jre/bin
bash-4.2# ./java
bash: ./java: cannot execute binary file
bash-4.2# sh java
sh: java: 0403-006 Execute permission denied.
Is it possible that the temporary files created by the setup process belong to some kind of temporary user? Is that why this file won't execute even though I launch the setup.bin as root user? If so, how can I make sure the installation can continue?
source ./java
it tells me that it is a binary file that I cannot execute./java
, not try to source it.