Endpoint Encryption

 View Only

PGPprefs.xml:1: parser error : Document is empty for all commands

  • 1.  PGPprefs.xml:1: parser error : Document is empty for all commands

    Posted May 01, 2017 06:21 PM

    Hi 

    PGP Command Line 10.0 build 674 . Migrating from Server 1 to Server 2  

    From Rhel 6.8 to Rhel 7.3 

    Installed PGP .  Any command gives the below error

    -bash-4.2$ pgp --version
    /home/informac/.pgp/PGPprefs.xml:1: parser error : Document is empty
    /home/informac/.pgp/PGPprefs.xml:version (1009:unable to open preferences file)

    I removed the PGPPrefs.xml  & run  the same command pgp --version. It works. The next time i run any other command it errors out. 

    -bash-4.2$ rm PGPprefs.xml
    rm: remove regular file ‘PGPprefs.xml’? y
    -bash-4.2$ pgp --version
    PGP Command Line 10.0 build 674
    Copyright (C) 2010 PGP Corporation
    All rights reserved.

    -bash-4.2$ pgp --version
    /home/informac/.pgp/PGPprefs.xml:1: parser error : Document is empty
    /home/informac/.pgp/PGPprefs.xml:version (1009:unable to open preferences file)
    -bash-4.2$

    Any ideas? The only link I saw related to this message indicated somthing with Libxml2.  

    libxml2-2.7.6-21.el6_8.1.x86_64 on Server 1
    libxml2-2.9.1-6.el7_2.3.x86_64 on Server 2    --- Tried Yum install libxml2-2.7.6-21.el6_8.1.x86_64 which said "No package" 

    Not sure if it is related to the library version OR if it can be fixed otherwise. Permissions on the folders are right. There is no issue with that. 

    - Any ideas ? Please let me know any suggestions. Need this fixed 

    Note:  I do not want to upgrade as this is non-prod & should match our prod which is in Version 10.0 build 674.  If I have to upgrade , how can I get the download link?

    Thanks