Layer7 API Management

Expand all | Collapse all

Error while migration " Fatal sub-command interruption! null

Jump to Best Answer
  • 1.  Error while migration " Fatal sub-command interruption! null

    Posted 03-28-2017 10:28 AM

    Hi All,

     

    We are facing below Error while migrating  policies  using CMT . Can anyone help on this .

     


    [root@ServerName*** CommandlineMigrationTool-2.5-beta]# ./cmt2legacy migrateOut -h ****(hostname) -p 9443 -u ****usrname -i CompleteService Path*** --nodeps=yes -o /tmp/service name

    > Enter a password:
    --- Discovering Dependencies ---
    > Discovering dependencies for objects in given path. - Continue? y/n: y
    Looking up object tree: ............................................................................................................................................................................................................................................................................................................................................................ [ERR]
    [FATAL] Fatal sub-command interruption! null
    Sub-command 'listDependencies' failed with 1 error(s) and 0 warning(s)
    > Retry 'listDependencies' command or continue? r/c:

     

    Thanks!
    Prashant Srivastava



  • 2.  Re: Error while migration " Fatal sub-command interruption! null
    Best Answer

    Posted 03-29-2017 03:59 AM

    Hi prashant.srivastava ,

     

    Instead of  using cmt2legacy, please use cmt2.

     

    Please try running the command with these two options:

    --verbose=yes
    --errorFile=errorFile.txt

    and then supply us with all console output along with the newly created file errorFile.txt.

     

    Also, please let us know if the OAuth Toolkit is installed.

    What is the gateway version?

     

    Regards

    Seenu Mathew



  • 3.  Re: Error while migration " Fatal sub-command interruption! null

    Posted 03-29-2017 04:49 AM

    Thank you Mathew for your reply !!

    After using cmt2 , I am able to migrate out  

     

    ./cmt2 migrateOut -h ****Serverl -p **Port-u ***user-a -i /Services/Folder/ServiceNameRest --nodeps=yes -o /tmp/Servicename

    I am curious to know What is the difference between cmt2 and cmt2legacy  ?

     

    Also for your question below are answer .

    OauthToolKit : Not installed

    Version :9.2 host server--- from where we want to  migrateout 

    CMT tool Server :7.1



  • 4.  Re: Error while migration " Fatal sub-command interruption! null

    Posted 03-29-2017 05:01 AM

    Hi Prashant,

     

    Glad that I was able to help and you have this working.

     

    I have no idea what is the difference, however as the name suggests, it may be an earlier version (cm2legacy).  I will leave this for other community users to answer if I am right.

     

    Regards

    Seenu Mathew