AIX

AIX

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


#Power
 View Only
  • 1.  Error while cloning

    Posted Fri March 22, 2013 10:11 PM

    Originally posted by: SystemAdmin


    Hello all,
    When performing alt_disk_copy i am getting the following error.
    $ alt_disk_copy -d hdisk3
    /usr/sbin/alt_disk_copy1366: 0403-057 Syntax error at line 339 : `"' is not matched.

    Assuming that there is some error in the script it self i copied the alt_disk_copy script from some other server(where alt_disk_copy worked properly)....

    $ oslevel -r
    6100-06

    Both the disk are of equal size.
    $ bootinfo -s hdisk0
    139047
    root:@kwsej06:/
    $ bootinfo -s hdisk3
    139047

    After debugging I found the below o/p

    Sriharsha Vallabhaneni root:@kwsej06:/
    $ /usr/bin/ksh -x /usr/sbin/alt_disk_copy
    + [ -n ]
    + export PATH=/usr/bin:/usr/sbin:/etc:/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java14/jre/bin:/usr/java14/bin:/usr/sbin/perf/pmr:/opt/LicenseUseManagement/bin:/usr/opt/ifor/ls/os/aix/bin
    + unalias -a
    + export ODMDIR=/etc/objrepos
    + typeset MAIN_RC=0
    + export SPATH=/ALT_MIG_SPOT
    + [ /usr/sbin/alt_disk_copy = /ALT_MIG_SPOT ]
    + . /usr/lpp/bos.alt_disk_install/bin/altlib
    /usr/sbin/alt_disk_copy1366: 0403-057 Syntax error at line 339 : `"' is not matched.
    root:@kwsej06:/
    $
    #AIX-Forum


  • 2.  Re: Error while cloning

    Posted Mon March 25, 2013 07:05 PM

    Originally posted by: nagger


    Raise a PMR - this looks like a bug or something wrong with your configuration.
    You have checked for AIX errors? - errpt
    Also it is better to quote oslevel -s as this includes the service packs.
    You have all the service packs install .... of course.
    cheers, Nigel Griffiths
    #AIX-Forum


  • 3.  Re: Error while cloning

    Posted Tue March 26, 2013 06:26 PM

    Originally posted by: dukessd


    As Nigel says it's probably a bug but what is line (Syntax error at line) 339?

    HTH
    #AIX-Forum