users@glassfish.java.net

permission denied installing Glassfish 3.1.1 on CentOS 6.2

From: <forums_at_java.net>
Date: Mon, 6 Feb 2012 12:03:14 -0600 (CST)

I'm trying to install Glassfish 3.1.1 on Centos 6.2 Linux server with Apache
HTTP front end. I created a new group called `glassfish` using:

    # groupadd glassfish

and added a new user `glassfish` using:

    # useradd -s /bin/bash -g glassfish glassfish

    # passwd glassfish 

Following the Glassfish install instructions, I'm getting the following error
launching the self-extraction file:

    glassfish_at_host3 [~/software]# sh ./glassfish-3.1.1-unix.sh 

    Extracting the installer archive...

    Extracting the installer runtime...

    Extracting the installer resources...

    Extracting the installer metadata...

    Welcome to GlassFish V3 installer

    Using the user defined JAVA_HOME : /usr/java/jdk1.6.0_30

    Entering setup...

    product-installer.sh: line 178:
/tmp/install.020512204334/install/bin/engine-wrapper: Permission denied

The tmp/ directory has:

    4 drwxrwxrwx  12 root root  4096 Feb  5 20:39 tmp/

I also tried the following, which didn't improve anything.

     # mount -o remount,exec /tmp /var/tmp

I've run out of ideas. I can probably install as root but since it's a
production server, I can't allow people needing to use this to be logged in
as root. 

 

 

--
[Message sent by forum member 'gkk_gf']
View Post: http://forums.java.net/node/883316