RE: Problem with installing Informix with RPM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks, Greg, for pointing out these issues.

The reason for not doing the installation in the %install is that I'm
not sure that the ids_install just create the target directory with its
content. If it does other things as well, then this approach won't be
sufficient.
I have tried 3 methods suggested by Informix for redistribution:
1. Use the deployment utility. Unfortunately I wasn't able to run the
ifxdeployassist command.
2. Use the "Extract the product files" option of the installer. The
problem with this approach was that I couldn't find the RUNasroot script
after the installation. This script, according to documentation, is
needed to complete the redistribution of the Informix database.
3. Use the new PRM feature. It worked after overcoming a few problems,
but It seems that I will need another RPM to create user Informix before
I run their RPM. This seems to be the best option.

Can you tell me how you installed previous versions of Informix with
RPM?

BR, Eran.


-----Original Message-----
From: rpm-list-bounces@xxxxxxxxxxxxx
[mailto:rpm-list-bounces@xxxxxxxxxxxxx] On Behalf Of Greg Swift
Sent: Tuesday, October 09, 2012 4:14 PM
To: General discussion about the RPM package manager
Subject: Re: Problem with installing Informix with RPM

On Tue, Oct 9, 2012 at 2:38 AM, Eran Ben Natan <eranb@xxxxxxxxxxxx>
wrote:
>
> I have an RPM that installs Informix 11.70.FC5.

I never got into the 11.70 release with my package, so not sure if it
adds some increased difficultly or changes.

> In the %post script I call the Informix installation script in silent
mode:
>
> ./ids_install -i silent -DLICENSE_ACCEPTED=TRUE
> -DUSER_INSTALL_DIR=/data/Informix94 -DUNIX_INSTALLTYPE_SELECT=DEFAULT 
> -DLICENSE_ACCEPTED=TRUE -DUSER_INSTALL_DIR=/data/Informix94
> -DIDS_INSTALL_TYPE=TYPICAL
>
>
> For some reason the script hangs after the installation completes and 
> is not exiting. Running ids_install from console is working fine.
>
> The installer displays a progress bar during installation, I don't 
> know if that's has an effect.

So I have a few discussion points on this.

1: Why are you doing the install in %post rather than in %install?
Doing it in %install adds the following
     a: only have to run the ids_install once (on rpm build host)
     b: the RPM is more standards compliant (no text output, or creating
files in a %post section, etc)

2: Have you looked at their 'new' RPM?  I'm not sure I trust it just
yet, but depending on what you are doing it could save a lot of effort.
http://publib.boulder.ibm.com/infocenter/idshelp/v117/index.jsp?topic=%2
Fcom.ibm.embed.doc%2Fids_emb_052.htm
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list

This mail was received via Mail-SeCure System.


_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list


[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux