pgp command line is installed fedora core 16 & 17 has problem.
hi everyone,
i was installed pgp command line 10.2.1 version at fedora core 16 & 17 64bit machine. but i cannot run it with follow error messages,
[root@cc ~]# pgp --version -v
I/O error : No such file or directory
/etc/PGPprefs.xml:1: parser error : Document is empty
^
/etc/PGPprefs.xml:1: parser error : Start tag expected, '<' not found
^
/etc/PGPprefs.xml:version (1009:unable to open preferences file)
additional information:
[root@cc ~]# rpm -qa | grep pgp
pgpcmdln-10.2.1.54-54.x86_64
[root@cc ~]# uname -a
Linux cc.easyone.re.kr 3.4.4-4.fc16.x86_64 #1 SMP Thu Jul 5 20:01:38 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
i tried to check all from pgp command line installation guide. but i could not find any problem it. how to resolving it? who has same problems or same experience let me know it. thanks.
and have a nice day!
Comments 10 Comments • Jump to latest comment
Interesting. It looks like you are running PGP Command Line as root?
Does the file /etc/PGPPrefs.xml exist? If so, does it have any content, and what are the file permissions on the file?
--------
David Finkelstein
Symantec R&D
right. i was running it as root and PGPprefs.xml file is exist in /etc/ and it has xml contents too. and that file is opened using vi editor and cat command as root.
all environment is not problem. but i donot know what is problem.
What are the permissions of /etc/PGPprefs.xml? I know you are running as root (and can otherwise read the contents of this file as root) but can you verify that the permissions are 644? If you run "lsof /etc/PGPprefs.xml" does any process have the file open?
--------
David Finkelstein
Symantec R&D
checked file permission again. and it's 644 right. but i run command "lsof /etc/PGPprefs.xml" has some error message is happen and attchech screen.
please check it. thanks.
tried to check again after yum update then that error message is not happened. follow,
[root@cc ~]# lsof /etc/PGPprefs.xml
[root@cc ~]#
is it work correctly? i think that it's not relate file permission. i need other method to solving it. thanks.
Thanks, and please confirm that you are still seeing the error when running PGP Command Line?
PGP Command Line attempts to access a "global" preferences file (/etc/PGPprefs.xml on Linux) to get licensing and other "global" preference information (by utilizing this global preference file you only need to license PGP Command Line once per machine, instead of once per user).
For some reason, PGP Command Line is having a problem reading this file. I cannot reproduce the issue but we will continue to look into it. In the meantime, some things you can try:
- Delete the /etc/PGPprefs.xml file, and try again
- Run the program as a regular user (not root). If that has the same problem, delete /etc/PGPprefs.xml and run again as a regular user.
--------
David Finkelstein
Symantec R&D
yes. i am still seeing error messages. and i got some interesting status, see follow,
when i delete all PGPprefs.xml and run the program as a regular user(not root) and first time run command,
[easyone@cc ~]$ rm /home/easyone/.pgp/PGPprefs.xml <-- delete user's PGPprefs.xml
[easyone@cc ~]$ pgp --version
PGP Command Line 10.2.1 build 54
Copyright (C) 2012 Symantec Corporation
All rights reserved.
Use of this product is subject to license terms.
> it looks working correctly. but seconds command(same command)
[easyone@cc ~]$ pgp --version
I/O error : Permission denied
/home/easyone/.pgp/PGPprefs.xml:1: parser error : Document is empty
^
/home/easyone/.pgp/PGPprefs.xml:1: parser error : Start tag expected, '<' not found
^
/home/easyone/.pgp/PGPprefs.xml:version (1009:unable to open preferences file)
maybe PGPprefs.xml is exist then this error messages is happened. and gloabal pgp environment files(PGPpref.xml) is not exist error messages is different,
[easyone@cc ~]$ pgp --version
I/O error : Permission denied
[easyone@cc ~]$ ls -alt /etc/PGPprefs.xml
-rw-r--r-- 1 root root 3074 Aug 31 04:19 /etc/PGPprefs.xml
[easyone@cc ~]$ pgp --version
I/O error : No such file or directory
/etc/PGPprefs.xml:1: parser error : Document is empty
^
/etc/PGPprefs.xml:1: parser error : Start tag expected, '<' not found
^
/etc/PGPprefs.xml:version (1009:unable to open preferences file)
[easyone@cc ~]$
As results, i cannot success it. i need help more. thanks.
More clues... Can you also run
strace pgp --version >& tracefile
and attach "tracefile" to this thread?
Thanks.
--------
David Finkelstein
Symantec R&D
Okay, we have identfied this bug as being related to a libxml2 issue on some 64-bit Linux systems. A fix will be available in the next release of PGP Command Line. FYI it is incident #2916466.
--------
David Finkelstein
Symantec R&D
thanks.
and could you let me know when next version will be released? maybe it is named "pgp command line 10.2.1 MP1"?
thanks and have a nice day!
Would you like to reply?
Login or Register to post your comment.