Video Screencast Help
Symantec to Separate Into Two Focused, Industry-Leading Technology Companies. Learn more.

Warning: PGPsdk running in local mode, Linux RedHat, CommandLine

Created: 17 Jun 2013 | 3 comments

Regardless of the command being issued... I get PGPsdk running in local mode... and the command takes FOR EVER to execute.

$ date; pgp --version; date

Mon Jun 17 15:50:22 PDT 2013
PGP Command Line 10.1 build 52
Copyright (C) 2010 PGP Corporation
All rights reserved.
Mon Jun 17 15:51:21 PDT 2013
 
$ pgp --list-keys
Mon Jun 17 15:58:52 PDT 2013
Warning: PGPsdk running in local mode.
 Alg  Type Size/Type Flags   Key ID     User ID
----- ---- --------- ------- ---------- -------
 RSA4 pair 1024/1024 [VI---] 0x79E83081 *************
*RSA4 pair 2048/2048 [VI---] 0xC78538B8 *************
 DSS  pub  2048/1024 [-----] 0xBE754D1C ***********
3 keys found
Mon Jun 17 15:59:51 PDT 2013
$ rpm -qa | egrep -i pgp
pgpcmdln-10.1.0.52-52
 
$ which pgp
/opt/pgp/bin/pgp
 
$ file $(which pgp)
/opt/pgp/bin/pgp: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.4.0, dynamically linked (uses shared libs), not stripped
 
$ uname -a
Linux myhostname 2.6.18-308.11.1.el5 #1 SMP Fri Jun 15 15:41:53 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux
 
What can I do to correct this situation?
Operating Systems:

Comments 3 CommentsJump to latest comment

dfinkelstein's picture

I'm not sure why you are running in local mode.  Is "pgp-agent" in your path, and do you have execute permissions on it?

As for the delay issue, if you set

ulimit -n 2000
does the issue go away?
 

--------

David Finkelstein

Symantec R&D

larr_helms's picture

pgp-agent IS in the path, as it is in the same directory as the 'pgp' executable itself.  It also has the same protections as 'pgp'

Changing ulimit does nothing for me either.

dfinkelstein's picture

If adjusting ulimit doesn't help, then this is not an issue we've seen before.  I'm curious, if you run with "--local-mode" explicitly, do you still see the delay?

Also, try using strace, and see if that can help you determine the problem with pgp-agent and where the delay is occurring.

--------

David Finkelstein

Symantec R&D