ProxySG & Advanced Secure Gateway

 View Only
  • 1.  Error occurred while loading VPM policy, now what?

    Posted Apr 17, 2018 05:34 AM

    Got the following message when trying to launch the VPM from the Blue Coat Management Console:

    Error occurred while loading VPM policy: XML document structures must start and end within the same entity.

    Options in the dialog are Retry (giving the same error) or Exit VPM

     

    Now what?



  • 2.  RE: Error occurred while loading VPM policy, now what?

    Posted Apr 17, 2018 12:05 PM

    Apparently the VPM.XML file (https://<ProxySG>:8082/config_policy_source.xml) is syntactically incorrect.

    You can go to "Configuration > Policy > Policy Files > Visual Policy Files > Install VPM-XML from: Text Editor > Install", copy the file content, fix the syntax errors in a text editor, then paste the corrected version into the popup window again and click "Install". Or if you have any backups, either restore the complete last working backup, or grep the VPM-XML file out of the backup and paste it into the popup window (the backup file is just plain text).

    A correct VPM-XML must start and end with

    <?xml version="1.0" encoding="UTF-8"?>
    <!--***************************************************************-->
    <!-- WARNING:                                                      -->
    <!--     THIS FILE IS AUTOMATICALLY GENERATED - DO NOT EDIT!       -->
    <!--     MANUALLY EDITING THIS FILE MAY PREVENT VPM FROM BEING     -->
    <!--     ABLE TO LOAD POLICY.                                      -->
    <!--***************************************************************-->
    <vpmapp>
    
    ...
    
    </vpmapp>

     



  • 3.  RE: Error occurred while loading VPM policy, now what?

    Posted Apr 18, 2018 03:07 AM

     The VPM-XML appears syntactically correct, the content that is presented in the Text-editor pop-up i OK.

    Should I try to install it again without edit?



  • 4.  RE: Error occurred while loading VPM policy, now what?

    Posted Apr 18, 2018 12:15 PM

    When you launch the Visual Policy Manager, it reads the VPM-XML and displays it graphically. When you click "Install Policy" in the VPM, it saves any changes to the VPM-XML and creates the actual policy file VPM-CPL out of it.

    You can make a backup of the VPM-XML file and then try to change/install it until it is accepted.



  • 5.  RE: Error occurred while loading VPM policy, now what?

    Posted Apr 25, 2018 11:28 AM

    Do you manage your SG with Management Center? If so, can you roll back to a previous version of the VPM from the policy tab?