› Clovertech Forums › Read Only Archives › Cloverleaf › General › RedHat Linux command line install
We are trying to install 5.4.1 on a RedHat Enterprise Linux 5 virtual machine
I have followed the requirements regarding
1) compat-libstdc++
2) free space
3) username conflicts
I run ./linux.bin -console
After entering “1” (1 = next) the installer just exists out. No error message, no log file
Can I be pointed in the right direction please?
What permissions do you have set up on the /tmp directory?
drwxrwxrwt 7 root root 140 May 6 12:38 tmp
Is /tmp its own file system when you do a “df”?
Okay, rather than playing 20 questions I am going to jump right to what the issue was for me. I can’t guarantee that it is the same for you but this is what happened to me.
When you install Redhat it sets up the /tmp partition in the default partition table as a separate file system. That file system is mounted with a “noexec” flag. The installation script used with Cloverleaf extracts the files needed for the installation into /tmp and then runs it out of there. When the /tmp filesystem is mounted with the “noexec” flag then the part of the installation that extracts the files works fine so you end up with the installation files sitting in /tmp but they CANNOT BE EXECUTED. What you have to do to make it work is unmount that file system and remount it without that noexec flag.
Let me know if that helps.
here is the filesystem information
I will have to look into what each flag means in the fstab for the temp file system cause I can’t tell just from looking at it
[root@ontempd0aav002 ~]# more /etc/fstab
/dev/vg00/root_fs / ext3 defaults 1 1
/dev/vg00/opt_fs /opt ext3 defaults 1 2
/dev/vg00/home_fs /home ext3 defaults 1 2
/dev/vg00/usr_fs /usr ext3 defaults 1 2
/dev/vg00/var_fs /var ext3 defaults 1 2
LABEL=/boot1 /boot ext3 defaults 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
LABEL=SWAP-sda2 swap swap defaults 0 0
none /tmp tmpfs size=2G,uid=0,gid=0,mode=1777 0 0
[root@ontempd0aav002 ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg00-root_fs 2.0G 491M 1.4G 26% /
/dev/mapper/vg00-opt_fs 12G 379M 11G 4% /opt
/dev/mapper/vg00-home_fs 3.9G 703M 3.0G 19% /home
/dev/mapper/vg00-usr_fs 3.9G 978M 2.8G 26% /usr
/dev/mapper/vg00-var_fs 3.9G 629M 3.1G 17% /var
/dev/sda1 494M 25M 445M 6% /boot
tmpfs 1006M 0 1006M 0% /dev/shm
none 2.0G 888K 2.0G 1% /tmp
Thanks for your input so far
Just as a test, I manually executed one of your scripts (hciinstallprep) located in the /tmp directory from the directory where the install binaries are located
I wanted to test executing a script located in the /tmp directory to try and clear some questions
[root@ontempd0aav002 Cloverleaf_integaration_suite_v5.4.1]# pwd
/home/software/Cloverleaf_integaration_suite_v5.4.1
[root@ontempd0aav002 Cloverleaf_integaration_suite_v5.4.1]# /tmp/install/hciinstallprep
perl done
bin/gnutar done
[root@ontempd0aav002 Cloverleaf_integaration_suite_v5.4.1]#
Seemed to have executed so, /tmp looks like is mounted with the default exec flag
Any more ideas?
I’ve looked for other postings but command line install doesn’t seem to be very popular
I would have to see what it is trying to do after you enter the install command. I am on 5.6 and recently installed 5.8 but the install process is a bit different. It does sound like your /tmp exec flag is correct but I would still guess that it is either a permissions problem somewhere or a command-line tool is missing from your installation.
ok
It dies after it asks “Press 1 to continue” right after it loads the JVM
We’ve followed the guide up until this point
Please let us know what could a next step be since this will present a bottle neck in our deployments
I would be happy to help you but without being able to see it I do not have enough information.
Fair enough
What information you need? I will upload it
Here is what happens
Notice that after entering “1” it dies
[root@ontempd0aav002 Cloverleaf_integaration_suite_v5.4.1]# ./linux.bin -console
InstallShield Wizard
Initializing InstallShield Wizard…
Preparing Java(tm) Virtual Machine…
……………………………..
……………………………..
……………………………..
……………………………..
……………………………..
……………………………..
……………………………..
……………………………..
……………………………..
……………………………..
……………………
Environment variable DISPLAY is set to null
Welcome to the InstallShield Wizard for CLOVERLEAF(R) Integration Suite
The InstallShield Wizard will install “CLOVERLEAF Integration Suite” on your
computer.
To continue, choose Next.
“CLOVERLEAF Integration Suite”
Press 1 for Next, 3 to Cancel or 4 to Redisplay [1] 1
[root@ontempd0aav002 Cloverleaf_integaration_suite_v5.4.1]#
One thing I can notice is the following
In your documentation you specify compat-libstdc++-7.3-2.96.122
the one that we have installed (the one available on redhat network) is
[root@ontempd0aav002 software]# rpm -q compat-libstdc++
compat-libstdc++-7.3-2.96.128
Can this version difference (even tho its a compat package) be causing issues?
Thanks for all your input so far 🙂
I will list the steps I did for my install at the command line for Cloverleaf 5.6 on AIX in case any of these steps might get you going.
# check that /tmp has at least 50 megabytes of free disk space
# touch x.x so I can clean up any install files created after x.x
# because install doesn’t clean up after itself
# open a new xterm
su
whoami
export CL_INSTALL_DIR=/quovadx/qdx5.6
echo $CL_INSTALL_DIR > /tmp/.qdx5.6
export DISPLAY=10.106.153.59:0.0
cd /upgrade/56_aix53_copy_of_install_cd; ./aix.bin
exit
#
# NOTE: advise to run install twice; once for cloverleaf and once for ODBC
# use /quovadx/qdx5.6/integrator as root install dir for ODBC
#
# be sure to clean up /tmp of obvious install cluter
# you must close all xterms to pick up new /etc/environment
#
Russ Ross
RussRoss318@gmail.com
Fair enough
What information you need? I will upload it
Well, what I would probably need is the installation media for 5.4.1. I do not think that the libraries are your problem but without looking into the installation script and seeing what it is supposed to do next it is difficult to determine what the problem is. I strongly suspect that it is not reacting to the console argument properly so what it is really doing is attempting to use the GUI install in which case it is failing quietly because you do not have an X11 console on your computer.
Do you access the system with SSH or with telnet? If it is through SSH then I have a solution for you. Basically it involves installing Xming on the desktop that you are accessing the server from. Once you have done that then you need X11 forwarding setup.
Before I go into too much of that, let me know if you can get that far or if you absolutely must do this as a console install.
Yes we are looking into getting a VNC server installed
GUI installer will be our next attempt. It’s the next logical step
Will update on results
Hello again
We have VNC installed and working
We are trying to run the installer from an xterm window by executing ./linux.bin and we are getting the same graphical mode error
I am attaching a screenshot
We have installed xterm, x11 and real vnc server
is there a log file anywhere?
Have made some progress
We were missing xterm from our redhat install
By forwarding x11 traffic to Xming finally we can see an installer window now
Will proceed with the installation
It wouldn’t seem like a missing xterm would be the cause, it seems like an unset display variable would have been the root cause. X11 forwarding in Xming would have taken care of that. I hope the rest of it goes well for you.