Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

import export issue

Hi All,
i would like to submit for all uf us my issue while exporting the configuration from xg 330 and imported to  vm sophos xg and there are only 39 rule got imported out of 45, ipsec tunn not got imported no static routes got imported ,  after with selected export and import it restarted to import al config.  Only IP host got imported but not alias IP

Any advise? thank you all

Valerio



This thread was automatically locked due to age.
Parents
  • Check the /log/apiparser.log

    __________________________________________________________________________________________________________________

  • Hello Luca,

    thanks for you suggestion, from logs i can see only:
    ERROR     Oct 12 13:22:29Z [29719]: Opcode return status is neither 528 nor 200 for ImportSo Exiting.....
    INFO      Oct 12 13:22:29Z [29719]: End  SET Handler, Status : Fail,  Component : Alias, Transaction : , Operation : NONE.
    MESSAGE   Oct 12 13:22:29Z [29719]: ENTITY 'Alias' IMPORT Failed
    INFO      Oct 12 13:22:29Z [29719]: Start Set Handler,Component : Alias
    ERROR     Oct 12 13:22:29Z [29719]: Key:ISCrEntity is not found in RequestMap File for Alias.
    WARNING   Oct 12 13:22:29Z [29719]: Can't get the <Add/Update> element from map file, So Mode value is 'Add'.
    ERROR     Oct 12 13:22:29Z [29719]: Flag setting for this opcode is 16.
    INFO      Oct 12 13:22:29Z [29719]: Opcode response: status:500
    WARNING   Oct 12 13:22:29Z [29719]: Opcode failed with 'Add' operation. So call opcode with 'Update'.
    ERROR     Oct 12 13:22:29Z [29719]: Flag setting for this opcode is 16.
    INFO      Oct 12 13:22:30Z [29719]: Opcode response: status:500
    ERROR     Oct 12 13:22:30Z [29719]: Opcode return status is neither 528 nor 200 for ImportSo Exiting.....
    INFO      Oct 12 13:22:30Z [29719]: End  SET Handler, Status : Fail,  Component : Alias, Transaction : , Operation : NONE.
    MESSAGE   Oct 12 13:22:30Z [29719]: ENTITY 'Alias' IMPORT Failed
    INFO      Oct 12 13:22:30Z [29719]: Start Set Handler,Component : Alias
    ERROR     Oct 12 13:22:30Z [29719]: Key:ISCrEntity is not found in RequestMap File for Alias.
    WARNING   Oct 12 13:22:30Z [29719]: Can't get the <Add/Update> element from map file, So Mode value is 'Add'.
    ERROR     Oct 12 13:22:30Z [29719]: Flag setting for this opcode is 16.
    INFO      Oct 12 13:22:30Z [29719]: Opcode response: status:500
    WARNING   Oct 12 13:22:30Z [29719]: Opcode failed with 'Add' operation. So call opcode with 'Update'.
    ERROR     Oct 12 13:22:31Z [29719]: Flag setting for this opcode is 16.
    ^C
    SFVUNL_VM01_SFOS 19.0.1 MR-1-Build365# tail -f /log/apiparser.log
    ERROR     Oct 12 13:22:31Z [29719]: Key:ISCrEntity is not found in RequestMap File for Alias.
    WARNING   Oct 12 13:22:31Z [29719]: Can't get the <Add/Update> element from map file, So Mode value is 'Add'.
    ERROR     Oct 12 13:22:31Z [29719]: Flag setting for this opcode is 16.
    INFO      Oct 12 13:22:32Z [29719]: Opcode response: status:500
    WARNING   Oct 12 13:22:32Z [29719]: Opcode failed with 'Add' operation. So call opcode with 'Update'.
    ERROR     Oct 12 13:22:32Z [29719]: Flag setting for this opcode is 16.
    INFO      Oct 12 13:22:32Z [29719]: Opcode response: status:500
    ERROR     Oct 12 13:22:32Z [29719]: Opcode return status is neither 528 nor 200 for ImportSo Exiting.....
    INFO      Oct 12 13:22:32Z [29719]: End  SET Handler, Status : Fail,  Component : Alias, Transaction : , Operation : NONE.
    MESSAGE   Oct 12 13:22:32Z [29719]: ENTITY 'Alias' IMPORT Failed

  • The Alias interfaces seems to have a problem. Check the csc.log and applog.log to see the reason for this import error. 

    __________________________________________________________________________________________________________________

  • SFVUNL_VM01_SFOS 19.0.1 MR-1-Build365# tail -f /log/csc.log
    MESSAGE Oct 12 13:36:27Z [worker:17758]: {"request":{"method":"opcode","name":"getappkey","version":"1.0","type":"json","length":189,"data":{"mode":0,"___serverport":"80","___component":"LOCAL","APIVersion":"1900.1","___serverprotocol":"http","___username":"LOCAL","currentlyloggedinuserip":"127.0.0.1","___serverip":"127.0.0.1"}}}
    MESSAGE Oct 12 13:36:27Z [worker:17759]: {"request":{"method":"opcode","name":"gethainfo","version":"1.2","type":"json","length":0}}
    MESSAGE Oct 12 13:36:27Z [worker:17737]: {"request":{"method":"nopcode","name":"u2d_pt_installer","version":"1.2","type":"text","length":0}}
    MESSAGE Oct 12 13:36:27Z [worker:17776]: {"request":{"method":"opcode","name":"gethainfo","version":"1.2","type":"json","length":0}}
    MESSAGE Oct 12 13:36:27Z [worker:17820]: {"request":{"method":"opcode","name":"gethainfo","version":"1.2","type":"json","length":0}}
    MESSAGE Oct 12 13:36:28Z [worker:17837]: {"request":{"method":"opcode","name":"gethaconn","version":"1.2","type":"json","length":191,"data":{"mode":383,"___serverport":"80","___component":"LOCAL","APIVersion":"1900.1","___serverprotocol":"http","___username":"LOCAL","currentlyloggedinuserip":"127.0.0.1","___serverip":"127.0.0.1"}}}
    MESSAGE Oct 12 13:36:28Z [worker:17839]: {"request":{"method":"opcode","name":"gethaconn","version":"1.2","type":"json","length":191,"data":{"mode":383,"___serverport":"80","___component":"LOCAL","APIVersion":"1900.1","___serverprotocol":"http","___username":"LOCAL","currentlyloggedinuserip":"127.0.0.1","___serverip":"127.0.0.1"}}}
    MESSAGE Oct 12 13:36:28Z [worker:17841]: {"request":{"method":"nopcode","name":"u2d_dr_installer","version":"1.2","type":"text","length":0}}
    MESSAGE Oct 12 13:37:00Z [worker:17852]: {"request":{"method":"nopcode","name":"garnerevent","version":"1.0","type":"text","length":2,"data":60}}
    MESSAGE Oct 12 13:37:03Z [worker:17885]: {"request":{"method":"nopcode","name":"auth_timers","version":"1.0","type":"text","length":0}}
    ^C
    SFVUNL_VM01_SFOS 19.0.1 MR-1-Build365# tail -f /log/applog.log
    Oct 12 13:36:26Z apiInterface:entityjson::::::::system::systemgraph=HASH(0xb3cdab0)
    Oct 12 13:36:26Z Info:: Transaction will not be rolled back for opcode garner:get_xml. If any operation fails, request is part of multiple request :
    Oct 12 13:36:26Z
    -->garner: get_xml
    Oct 12 13:36:26Z
    sizeof sg=0, sizeof st=0, sizeof ss=0
    Oct 12 13:36:26Z
    Graph[0]= ssl_curr_summary , time[0]= hourly , Substrs[0]=N/A
    Oct 12 13:36:26Z
    ->input_string=ssl_curr_summary,hourly,N/A
    ^C
    SFVUNL_VM01_SFOS 19.0.1 MR-1-Build365#

Reply
  • SFVUNL_VM01_SFOS 19.0.1 MR-1-Build365# tail -f /log/csc.log
    MESSAGE Oct 12 13:36:27Z [worker:17758]: {"request":{"method":"opcode","name":"getappkey","version":"1.0","type":"json","length":189,"data":{"mode":0,"___serverport":"80","___component":"LOCAL","APIVersion":"1900.1","___serverprotocol":"http","___username":"LOCAL","currentlyloggedinuserip":"127.0.0.1","___serverip":"127.0.0.1"}}}
    MESSAGE Oct 12 13:36:27Z [worker:17759]: {"request":{"method":"opcode","name":"gethainfo","version":"1.2","type":"json","length":0}}
    MESSAGE Oct 12 13:36:27Z [worker:17737]: {"request":{"method":"nopcode","name":"u2d_pt_installer","version":"1.2","type":"text","length":0}}
    MESSAGE Oct 12 13:36:27Z [worker:17776]: {"request":{"method":"opcode","name":"gethainfo","version":"1.2","type":"json","length":0}}
    MESSAGE Oct 12 13:36:27Z [worker:17820]: {"request":{"method":"opcode","name":"gethainfo","version":"1.2","type":"json","length":0}}
    MESSAGE Oct 12 13:36:28Z [worker:17837]: {"request":{"method":"opcode","name":"gethaconn","version":"1.2","type":"json","length":191,"data":{"mode":383,"___serverport":"80","___component":"LOCAL","APIVersion":"1900.1","___serverprotocol":"http","___username":"LOCAL","currentlyloggedinuserip":"127.0.0.1","___serverip":"127.0.0.1"}}}
    MESSAGE Oct 12 13:36:28Z [worker:17839]: {"request":{"method":"opcode","name":"gethaconn","version":"1.2","type":"json","length":191,"data":{"mode":383,"___serverport":"80","___component":"LOCAL","APIVersion":"1900.1","___serverprotocol":"http","___username":"LOCAL","currentlyloggedinuserip":"127.0.0.1","___serverip":"127.0.0.1"}}}
    MESSAGE Oct 12 13:36:28Z [worker:17841]: {"request":{"method":"nopcode","name":"u2d_dr_installer","version":"1.2","type":"text","length":0}}
    MESSAGE Oct 12 13:37:00Z [worker:17852]: {"request":{"method":"nopcode","name":"garnerevent","version":"1.0","type":"text","length":2,"data":60}}
    MESSAGE Oct 12 13:37:03Z [worker:17885]: {"request":{"method":"nopcode","name":"auth_timers","version":"1.0","type":"text","length":0}}
    ^C
    SFVUNL_VM01_SFOS 19.0.1 MR-1-Build365# tail -f /log/applog.log
    Oct 12 13:36:26Z apiInterface:entityjson::::::::system::systemgraph=HASH(0xb3cdab0)
    Oct 12 13:36:26Z Info:: Transaction will not be rolled back for opcode garner:get_xml. If any operation fails, request is part of multiple request :
    Oct 12 13:36:26Z
    -->garner: get_xml
    Oct 12 13:36:26Z
    sizeof sg=0, sizeof st=0, sizeof ss=0
    Oct 12 13:36:26Z
    Graph[0]= ssl_curr_summary , time[0]= hourly , Substrs[0]=N/A
    Oct 12 13:36:26Z
    ->input_string=ssl_curr_summary,hourly,N/A
    ^C
    SFVUNL_VM01_SFOS 19.0.1 MR-1-Build365#

Children