ITEM: E6257L

Lost tty configurations when installing from mksysb


Question:

I am running at AIX 3.2.3E.  I did an install from a mksysb and lost 
all of my tty settings.

Did I do something wrong?  Is there an easy recovery method other
than re-adding all of the ttys by hand?

Response:

The problem you experienced is a known problem.

 ABOUT THE PROBLEM
       During a Preservation Installation or a restore from a
      mksysb, the device configuration may not be preserved.  This
      problem is caused by an array limit of 512 elements in
      /bin/ksh.
       This problem is resolved and there is a fix available
      (U413098).
       The following is a workaround for the array-limit problem:

  SCRIPT
        \#!/bin/ksh
       \#
       \# 1. Create this script in your /tmp directory using your favorite
       \#    editor.  Name it "fixrda".
       \#
       \# 2. Execute the script using the command "ksh /tmp/fixrda".
        for count in 1 2; do
               \#
               \# The reconfig1 and reconfig2 files must still be in /tmp
               \#
               if [[ ! -s /tmp/reconfig$count ]]; then
                       echo "/tmp/reconfig$count: file not found"
                       exit 1
               fi
                echo "Fixing /tmp/reconfig$count..."
               grep "\^cmds\\[" /tmp/reconfig$count |\\
               while read line; do
                       line="${line\#*\\'}"
                       line="${line%\\'*}"
                       echo "$line"
               done >/tmp/reconfig$count.new
                echo "Running fixed /tmp/reconfig$count..."
               ksh /tmp/reconfig$count.new 2>/tmp/reconfig$count.out
       done


Support Line: Lost tty configurations when installing from mksysb ITEM: E6257L
Dated: November 1993 Category: N/A
This HTML file was generated 99/06/24~13:30:53
Comments or suggestions? Contact us