AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.

 View Only
  • 1.  /usr/sbin/bosboot: line 661: . mods: subscript out of range

    Posted Thu March 12, 2009 10:42 AM

    Originally posted by: SystemAdmin


    while trying to install openssh and openssl on AIX6.1 machine we are getting the following error msg

    0503-409 installp: bosboot verification starting...
    installp: bosboot verification completed.
    0503-408 installp: bosboot process starting...
    /usr/sbin/bosboot: line 661: .
    mods: subscript out of range.

    The installation or updating script is unable to continue
    0503-407 installp: An error occurred during bosboot processing.
    Please correct the problem and rerun installp.

    few weeks back we tried to install on device file , at that point as well we got the same issues .

    output of oslevel and permissions on bosboot below,

    $ oslevel -s
    6100-00-01-0748
    $ ls -l /usr/sbin/bosboot
    -rwxr-xr-x 1 bin bin 56042 Jul 17 2008 /usr/sbin/bosboot

    has anyone seen this error before ..any inputs would be really helpful


  • 2.  Re: /usr/sbin/bosboot: line 661: . mods: subscript out of range

    Posted Thu March 12, 2009 12:17 PM

    Originally posted by: SystemAdmin


    This has happened before, and in every case, it happened because the user had changed the default ksh on their system. Please verify that you are using the correct ksh, as provided by IBM with the AIX distribution.


  • 3.  Re: /usr/sbin/bosboot: line 661: . mods: subscript out of range

    Posted Thu March 12, 2009 12:34 PM

    Originally posted by: SystemAdmin


    Thank you for the reply .. This is a new blade server we have ...and we have not installed any other ksh on this machine . details blow,
    1. lslpp -l | grep ksh
    bos.rte.shell 6.1.1.1 COMMITTED Shells (bsh, ksh, csh)
    bos.rte.shell 6.1.1.1 COMMITTED Shells (bsh, ksh, csh)

    1. ls -l /usr/bin/ksh
    -r-xr-xr-x 1 root system 895721 Dec 08 12:57 /usr/bin/ksh


  • 4.  Re: /usr/sbin/bosboot: line 661: . mods: subscript out of range

    Posted Thu March 12, 2009 02:10 PM

    Originally posted by: SystemAdmin


    The size of your ksh indicates that is not the original IBM ksh. The correct size should be somewhere about 288,680, or 288,912. Run this command:

    lppchk -c bos.rte.shell


  • 5.  Re: /usr/sbin/bosboot: line 661: . mods: subscript out of range

    Posted Thu March 12, 2009 02:17 PM

    Originally posted by: SystemAdmin


    Actually, what has happened on your system is that someone has changed the hard link /usr/bin/sh to point to /usr/bin/ksh93, instead of /usr/bin/ksh.

    Run this:

    cd /usr/bin
    ls -li sh ksh ksh93

    You'll see on your system that sh and ksh93 have the same inode number, and that's the problem. Fix it with:

    cd /usr/bin
    ln -f ksh sh


  • 6.  Re: /usr/sbin/bosboot: line 661: . mods: subscript out of range

    Posted Fri March 13, 2009 07:57 AM

    Originally posted by: SystemAdmin


    hi Mate,
    thanks a lot for the help ... yes the ksh was replaced by some user process ...have changed it back and its working now .... thanks again for the timely helps ..do appreciate
    have a good day

    ta