By "Wipe out the copy of FC5" I just meant to clean out the failed installation of .FC10 and start from scratch.
Also, there were several improvements in the CSDK v4.50.FC7 including a fix to a long standing (since early 4.10) bug affecting the ability to use LVARCHAR effectively under some circumstances. So upgrading that to .FC10 as well is not a bad thing.
Art
------------------------------
Art S. Kagel, President and Principal Consultant
ASK Database Management Corp.
www.askdbmgt.com------------------------------
Original Message:
Sent: Tue April 11, 2023 03:46 PM
From: Pete Rushie
Subject: Upgrade to 14.10.FC10
That was my intent to install FC10 over FC5 and I am doing it as the root user. We have always been able to do this in the past. According to the documentation here: https://www.ibm.com/docs/en/informix-servers/14.10?topic=installation-directory
You can install in a non-empty directory if you are just upgrading fix packs of the same version.
We are using symbolic links also. My reasoning for doing it this way, was so I do not have to re-install all the other Informix tools (CSDK, SQL, etc.).
What do you mean by "Wipe out the copy of FC5"?
Thanks,
Pete
------------------------------
Pete Rushie
Original Message:
Sent: Tue April 11, 2023 02:01 PM
From: Art Kagel
Subject: Upgrade to 14.10.FC10
Pete:
It is complaining that you tried to install FC10 over a copy of FC5 as a user other than informix or root. Also, better method:
- Wipe out the copy of FC5.
- Create the new directory empty with the proper permissions (owner and group informix and permissions 755 or 775.
- Unpack the installer in a different directory somewhere (NOT THE NEW INFORMIXDIR!)
- export INFORMiXDIR=<new informixdir path>
- From the directory with the installer, run the installer: ./ids_install as root
- Go through the prompts.
- Copy the following files from the .FC5 installation:
- $INFORMIXDIR/etc/$ONCONFIG
- $INFORMIXDIR/etc/alarmprogram.sh if you made any changes to it.
- Any libraries you have installed in $INFORMIXDIR/extend that are not already in the .FC10 directory
- Shutdown the .FC5 instance
- Change the global INFORMIXDIR to point to the new .FC10 installation.
NOTE: Best practice is to use a symbolic link for INFORMIXDIR so you do not ever have to change multiple environment scripts when you upgrade. For example, I use /opt/informix/infmx pointing to the actual installation, so for example ln -s /opt/informix/ids_14.10.FC10 /opt/informix/infmx. Then my INFORMIXDIR is always set to /opt/informix/infmx and when I install 14.10.FC11 I will just have to do:
rm $INFORMIXDIR
ln -s /opt/informix/ids_14.10.FC11 $INFORMIXDIR
and all is well.
Art
------------------------------
Art S. Kagel, President and Principal Consultant
ASK Database Management Corp.
www.askdbmgt.com
Original Message:
Sent: Tue April 11, 2023 01:15 PM
From: Pete Rushie
Subject: Upgrade to 14.10.FC10
Anybody run across this issue, trying to upgrade from 14.10.FC5 to 14.10.FC10. As root user, I copied the FC5 directory as a new FC10 directory, Extracted the FC10 install into the new directory and export the INFORMIXDIR to the new directory. I then ran ./ids_install, but it ends with this error:
===============================================================================Installer running as incorrect user-----------------------------------The selected directory contains a private installationOnly the user informix can upgrade this installation ->1- Select a different installation directory 2- Cancel the installationENTER THE NUMBER OF THE DESIRED CHOICE, OR PRESS <ENTER> TO ACCEPT THE DEFAULT: 2
------------------------------
Pete Rushie
------------------------------