Board index » jbuilder » Can't Install JB X Enterprise on Linux

Can't Install JB X Enterprise on Linux


2004-03-03 06:34:41 AM
jbuilder4
This is odd. I can't seem to run the JB X Enterprise install script.
The O/S is RedHat 9, although that does not appear to be a contributing
factor. User mslinn has uid 100 and gid 500.
Here is my fstab entry for cdrom:
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,users,kudzu,ro,uid=500,gid=100 0 0
$ whoami
mslinn
$ mount cdrom
$ l cdrom
total 1811
drwxr-xr-x 8 mslinn users 4096 Nov 7 02:00 ./
drwxr-xr-x 10 root root 4096 Feb 24 22:42 ../
-rw-r--r-- 1 mslinn users 92 Nov 7 02:00 autorun.inf
drwxr-xr-x 2 mslinn users 2048 Nov 7 02:00 CVS/
-rw-r--r-- 1 mslinn users 900 Nov 7 02:00 index.html
drwxr-xr-x 2 mslinn users 2048 Nov 7 02:00 InstallerData/
-rw-r--r-- 1 mslinn users 726769 Nov 7 02:00 install.jar
-rwxr-xr-x 1 mslinn users 44562 Nov 7 02:00 install_linux*
-rw-r--r-- 1 mslinn users 3541 Nov 7 02:00 install_linux.lax
-rwxr-xr-x 1 mslinn users 44562 Nov 7 02:00 install_solaris*
-rw-r--r-- 1 mslinn users 3543 Nov 7 02:00 install_solaris.lax
-rwxr-xr-x 1 mslinn users 994304 Nov 7 02:00 install_windows.exe*
-rw-r--r-- 1 mslinn users 3852 Nov 7 02:00 install_windows.lax
-rw-r--r-- 1 mslinn users 7196 Nov 7 02:00 lax.jar
drwxr-xr-x 3 mslinn users 2048 Nov 7 02:00 Linux/
drwxr-xr-x 6 mslinn users 4096 Nov 7 02:00 setup/
drwxr-xr-x 3 mslinn users 2048 Nov 7 02:00 Solaris/
drwxr-xr-x 3 mslinn users 2048 Nov 7 02:00 Windows/
$ cdrom/install_linux
bash: cdrom/install_linux: /bin/sh: bad interpreter: Permission denied
$ /bin/sh
$ pwd
/mnt/cdrom
As you can see, there is nothing wrong with /bin/sh, and the user mslinn
has privilege to run it. Any idea why the error message?
Mike
 
 

Re:Can't Install JB X Enterprise on Linux

You should 'cd' into the Linux subfolder on the CD and run the installer
that
is located in there. The one on the root is a wrapper and is more prone to
error than the direct one.
--
Kind Regards,
Steve Peters
Borland Developer Support
Please do not send discussion group posts directly
to me as they may be ignored. Responses should be
posted directly to the newsgroups where they may be
shared by all.
Disclaimer:
www.borland.com/devsupport/disclaim.html
Michael Slinn wrote:
Quote
This is odd. I can't seem to run the JB X Enterprise install script.
The O/S is RedHat 9, although that does not appear to be a
contributing factor. User mslinn has uid 100 and gid 500.

Here is my fstab entry for cdrom:
/dev/cdrom /mnt/cdrom udf,iso9660
noauto,users,kudzu,ro,uid=500,gid=100 0 0

$ whoami
mslinn
$ mount cdrom
$ l cdrom
total 1811
drwxr-xr-x 8 mslinn users 4096 Nov 7 02:00 ./
drwxr-xr-x 10 root root 4096 Feb 24 22:42 ../
-rw-r--r-- 1 mslinn users 92 Nov 7 02:00 autorun.inf
drwxr-xr-x 2 mslinn users 2048 Nov 7 02:00 CVS/
-rw-r--r-- 1 mslinn users 900 Nov 7 02:00 index.html
drwxr-xr-x 2 mslinn users 2048 Nov 7 02:00 InstallerData/
-rw-r--r-- 1 mslinn users 726769 Nov 7 02:00 install.jar
-rwxr-xr-x 1 mslinn users 44562 Nov 7 02:00 install_linux*
-rw-r--r-- 1 mslinn users 3541 Nov 7 02:00 install_linux.lax
-rwxr-xr-x 1 mslinn users 44562 Nov 7 02:00 install_solaris*
-rw-r--r-- 1 mslinn users 3543 Nov 7 02:00
install_solaris.lax
-rwxr-xr-x 1 mslinn users 994304 Nov 7 02:00
install_windows.exe*
-rw-r--r-- 1 mslinn users 3852 Nov 7 02:00
install_windows.lax
-rw-r--r-- 1 mslinn users 7196 Nov 7 02:00 lax.jar
drwxr-xr-x 3 mslinn users 2048 Nov 7 02:00 Linux/
drwxr-xr-x 6 mslinn users 4096 Nov 7 02:00 setup/
drwxr-xr-x 3 mslinn users 2048 Nov 7 02:00 Solaris/
drwxr-xr-x 3 mslinn users 2048 Nov 7 02:00 Windows/
$ cdrom/install_linux
bash: cdrom/install_linux: /bin/sh: bad interpreter: Permission denied
$ /bin/sh
$ pwd
/mnt/cdrom


As you can see, there is nothing wrong with /bin/sh, and the user
mslinn has privilege to run it. Any idea why the error message?

Mike

 

Re:Can't Install JB X Enterprise on Linux

Steve,
Exactly the same problem happens:
$ /mnt/cdrom/Linux/ent_install.bin
bash: /mnt/cdrom/Linux/ent_install.bin: /bin/sh: bad interpreter:
Permission denied
Mike
Steve Peters (Borland) wrote:
Quote
You should 'cd' into the Linux subfolder on the CD and run the installer
that
is located in there. The one on the root is a wrapper and is more prone to
error than the direct one.

 

{smallsort}

Re:Can't Install JB X Enterprise on Linux

Michael Slinn < XXXX@XXXXX.COM >wrote:
Quote
Steve,

Exactly the same problem happens:

$ /mnt/cdrom/Linux/ent_install.bin
bash: /mnt/cdrom/Linux/ent_install.bin: /bin/sh: bad interpreter:
Permission denied
Hi,
Give the following command:
cd /mnt/cdrom/Linux
If everything goed well, you are in that directory.
Now enter the following command:
./ent_install.bin
Changes are great that you will get more luck.
With regards,
Tom
 

Re:Can't Install JB X Enterprise on Linux

Sorry, that did not help:
$ cd /mnt/cdrom/Linux
$ ./ent_install.bin
-bash: ./ent_install.bin: /bin/sh: bad interpreter: Permission denied
Mike
Tom wrote:
Quote
Michael Slinn < XXXX@XXXXX.COM >wrote:

>Steve,
>
>Exactly the same problem happens:
>
>$ /mnt/cdrom/Linux/ent_install.bin
>bash: /mnt/cdrom/Linux/ent_install.bin: /bin/sh: bad interpreter:
>Permission denied


Hi,

Give the following command:
cd /mnt/cdrom/Linux

If everything goed well, you are in that directory.

Now enter the following command:

./ent_install.bin

Changes are great that you will get more luck.

With regards,
Tom
 

Re:Can't Install JB X Enterprise on Linux

Mike,
Double check two things:
Make sure that /bin/sh is a working symlink to /bin/bash.
Double check your mask for the mount to your CDROM in /etc/fstab
Also, these articles might be a bit dated, but still may be helpful..
www.visi.com/~gyles19/cgi-bin/fom.cgi?_highlightWords=ld%20assume&file=209
www.visi.com/~gyles19/cgi-bin/fom.cgi?_highlightWords=ld%20assume&file=135
www.visi.com/~gyles19/cgi-bin/fom.cgi?cmd=search&file=17&_submit=Search+for&_search=LAX_VM&_minMatches=
On Wed, 03 Mar 2004 07:14:16 -0800, Michael Slinn < XXXX@XXXXX.COM >
wrote:
Quote
Sorry, that did not help:

$ cd /mnt/cdrom/Linux
$ ./ent_install.bin
-bash: ./ent_install.bin: /bin/sh: bad interpreter: Permission denied

Mike


Tom wrote:

>Michael Slinn < XXXX@XXXXX.COM >wrote:
>
>>Steve,
>>
>>Exactly the same problem happens:
>>
>>$ /mnt/cdrom/Linux/ent_install.bin
>>bash: /mnt/cdrom/Linux/ent_install.bin: /bin/sh: bad interpreter:
>>Permission denied
>
>
>Hi,
>
>Give the following command:
>cd /mnt/cdrom/Linux
>
>If everything goed well, you are in that directory.
>
>Now enter the following command:
>
>./ent_install.bin
>
>Changes are great that you will get more luck.
>
>With regards,
>Tom
Save yourself some time and check these sites:
Borland Newsgroup Search:
www.borland.com/newsgroups/ngsearch.html
Joi Ellis's Faq-O-Matic:
www.visi.com/~gyles19/fom-serve/cache/1.html
 

Re:Can't Install JB X Enterprise on Linux

$ l /bin/sh
lrwxrwxrwx 1 root root 4 Feb 26 05:06 /bin/sh ->bash*
sh works, as I showed in my first email.
Turns out the problem is that I needed to specify 'exec' as an option in
the fstab entry:
/dev/cdrom /mnt/cdrom udf,iso9660
noauto,users,kudzu,ro,exec,uid=500,gid=100 0 0
By default, user mountable file systems are mounted with the implicit
options "ro,noexec", which means they are read-only, and no programs can
be run from that file system.
Thanks for your help.
Mike