Video Screencast Help
Scheduled Maintenance: Symantec Connect is scheduled to be down Saturday, April 19 from 10am to 2pm Pacific Standard Time (GMT: 5pm to 9pm) for server migration and upgrades.
Please accept our apologies in advance for any inconvenience this might cause.

.pgp/PGPprefs.xml:1: parser error : Document is empty

Created: 30 Aug 2012 | 6 comments

If remove the file it runs fine

$ rm PGPprefs.xml

 $ pgp -l
 Alg  Type Size/Type Flags   Key ID     User ID
----- ---- --------- ------- ---------- -------
 

Running it again (when file PGPprefs.xml exists)  gives an error:

 

$ pgp -l
I/O error : No such file or directory
/appl/fmgadmin/.pgp/PGPprefs.xml:1: parser error : Document is empty

^
/appl/fmgadmin/.pgp/PGPprefs.xml:1: parser error : Start tag expected, '<' not found

^
/appl/fmgadmin/.pgp/PGPprefs.xml:list keys (1009:unable to open preferences file)
$

Please help......

 

Comments 6 CommentsJump to latest comment

dfinkelstein's picture

It sounds like you have run into this issue, https://www-secure.symantec.com/connect/forums/pgp...

Can you confirm what version of PGP Command Line you are running, and your platform?

Thanks.

--------

David Finkelstein

Symantec R&D

dfinkelstein's picture

9.0.6 is quite old and required you to install your own version of libxml2 (along with other libraries).

Was this installation working fine on some previous system and is now causing problems for you?  What is the difference between those two systems?

--------

David Finkelstein

Symantec R&D

srininrao's picture

Was this installation working fine on some previous system and is now causing problems for you?  

Yes, before I installed the libxml2-2.8.0 for some other application on the same server...

What is the difference between those two systems?

libxml2-2.8.0 - 32 bit

 

Thank you,

Srinivas

dfinkelstein's picture

I'm not sure of the exact differences but there is some issue we've seen with libxml2.

I think your best options are

- Have both versions of libxml2 (the old one that worked, and the new one for your other application), and use LD_LIBRARY_PATH to point to the one you need to use

- Upgrade to the latest version of PGP Command Line.

--------

David Finkelstein

Symantec R&D

dfinkelstein's picture

Note, we now have a hotfix available for this issue, PGP Command Line 10.2.1 HF3.

If this is still a problem for you, I encourage you to get an upgrade.

Regards,

--------

David Finkelstein

Symantec R&D