AW: /usr/opt/freeware causes AIX433-51 migration to fail

From: Holger.VanKoll@SWISSCOM.COM
Date: Mon Jun 30 2003 - 07:14:29 EDT


I found this (and I had similar problems migrating 4.2.1 to 4.3.3 a few years ago)

PROBLEMS Migrating C++ on AIX 433 to AIX 5.1

Question: I have VisualAge C++ Aix V5.02.0 installed on Aix 4.3.3 or an earlier version) I migrated to Aix 5.1 and now when I reboot the system stalls?

Answer:
This is a known problem. What happened is that the OS symbolic links to the runtime have not been updated and therefore are still pointing to the AIX 4.3.3 libraries. The only time this problem will occur is when you have VisualAge C++ 5.0.2.0 installed on an AIX system before you upgrade it to Aix 5.1. The problem can be temporarily solved by changing the links manually. The following is the instructions:

1. After the migration installation, try to reboot from CD.
2. At the Installation and Maintenance menu type 3 ("Start Maintenance Mode for System Recovery") and press Enter.
3. Type 1 ("Access a Root Volume Group" ) and press enter.
4. Type 0 ("continue") and press Enter.
5. Choose the disk you used to install the OS from the menu and press Enter.
6. Then type 1 ("Access this volume Group and start a shell")
7. You will see the command line comes up: #_
8. Ensure you are in the proper directory:
# cd /usr/lpp/xlC/lib
9. Recreate the following symbolic links:
#ln -fs aix51/libC.a libC.a
#ln -fs aix51/libC128.a libC128.a
#ln -fs aix51/libC128_r.a libC128_r.a
#ln -fs aix51/libC_r.a libC_r.a
#cd profiled
#ln -fs aix51/libC.a libC.a
#ln -fs aix51/libC128.a libC128.a
#ln -fs aix51/libC128_r.a libC128_r.a
#ln -fs aix51/libC_r.a libC_r.a
10. Reboot the machine from hard disk

        -----Ursprüngliche Nachricht-----
        Von: Jeff Barratt-Mccartney [mailto:jbarratt@COMPSAT.COM]
        Gesendet: Fr 27.06.2003 17:35
        An: aix-l@Princeton.EDU
        Cc:
        Betreff: Re: /usr/opt/freeware causes AIX433-51 migration to fail

        I am getting very good at discovering what will cause a 433-51/52
        migration to hang. Here is what I have encountered:

        1. hd5(blv) must be at least 12MB. All PPs for hd5 MUST be physcially
        placed on the outer edge.in other words, if rootvg has 8MB PPs, hd5 must
        be 2 PPs both on the outer edge. You can create a new hd5 that satisfies
        the requirements with: mklv -t boot -ae -y hd5 rootvg 2 hdisk0 and then
        a bosboot -ad /dev/hdisk0
        2. Attempting to migrate with a mirrored rootvg wil cause the migration
        to hang at 95%
        3. /etc/group must not contain any lines >2048 characters. this will
        cause the migration to error on nearly every package to be installed with
        sysck errros complaining about 'groupname' is not a know groupname for
        'packagename'. in other words make sure that grpck -n ALL does not error,
        and verify that you can vi /etc/group
        4. broken lpp links can cause the migration to fail. run lppchks
        first(-v -l -c)
        5. have a good mksysb. you may very well need it

        On Fri, 27 Jun 2003 15:37:41 +0200 "Green, Simon" wrote:

> I tried to migrate a CWS yesterday, an F50, from AIX433-08 & PSSP32 to
> AIX51-04 and PSSP35.
>
> Shortly after the migration kicked off, it failed, reporting problems with
> rpm.rte. After poking around for a bit we abandoned the migration and
> restored from a mksysb.
>
> The problem seems to have been the existence in the 433 system of
> /usr/opt/freeware, which as far as I can tell contains all the
> components of
> rpm.rte, but rpm.rte is not installed, (according to lslpp).
>
> As far as I'm aware, nobody has ever fooled with the AIX Toolbox for Linux
> on this system. I've got the same situation on two other servers in this
> cluster.
>
> Can anyone suggest how and why these files might have gotten there?
>
> Simon Green
> Altria ITSC Europe Ltd
>
> AIX-L Archive at http://marc.theaimsgroup.com/?l=aix-l&r=1&w=2
> AIX FAQ at http://www.faqs.org/faqs/aix-faq/
>
> N.B. Unsolicited email from vendors will not be appreciated.
>



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:58 EDT