Video Screencast Help
Protect Your POS Environment Against Retail Data Breaches. Learn More.

pgp:version (3090:operation failed, improper initialization)

Created: 12 Jul 2012 • Updated: 12 Jul 2012 | 8 comments
This issue has been solved. See solution.

Hello everybody,

after an update from Version 9.9.0 to 10.2.0 on Solaris Sparc, I get this error on every command:

e.g.

# pgp --version
pgp:version (3090:operation failed, improper initialization)

# pgp -l
pgp:list keys (3090:operation failed, improper initialization)

Any suggestions to solve this problem?

Best Regards
Christoph May

Comments 8 CommentsJump to latest comment

Alex_CST's picture

Have you updated the license?  I think from v9 to v10 you require to re-license

Please mark posts as solutions if they solve your problem!

http://www.cstl.com

Christoph May's picture

When I try this as root:

# pgp --version
PGP Command Line 10.2 build 283
Copyright (C) 2011 Symantec Corporation
All rights reserved.
Use of this product is subject to license terms.

Only as normal user it's not usable.

Thank you for your help.

Alex_CST's picture

hmm, can you do the verbose one? pgp --version --verbose

 

paste that in please 

Please mark posts as solutions if they solve your problem!

http://www.cstl.com

Christoph May's picture

Brings the same:

# pgp --version --verbose
pgp:version (3090:operation failed, improper initialization)

As root:

# pgp --version --verbose
PGP Command Line 10.2 build 283
Copyright (C) 2011 Symantec Corporation
All rights reserved.
Use of this product is subject to license terms.

License information:
 State: Valid
 Evaluation: No
 Expiration: Never
   ** Removed the information
 Options: Encrypt/Sign enabled
 Options: Decrypt/Verify enabled
 Number of CPUs allowed: 1-2

Passphrase cache information:
 Cache new passphrases: Disabled
 Currently cached passphrases: 0

System information:
 Operating system: Solaris
 Number of CPUs: 2

Time information:
 Time zone offset: 2:00
 Current time (UTC): 2012-07-12T14:11:48Z
 Current local time: 2012-07-12T16:11:48+02:00

File information:
 Home Directory: home/.pgp/
 Personal Directory: home/.pgp/
 Public Keyring: home/.pgp/pubring.pkr
 Private Keyring: home/.pgp/secring.skr
 Random Seed: home/.pgp/randseed.rnd

PGPsdk information:
 Runtime version: 4.2.0 release
 FIPS mode: Disabled
 Hardware RNG: Not detected

Public key algorithms:
 [EDSVG] RSA (PGP) - RSA
 [ED--G] Elgamal - Elgamal
 [--SVG] Digital Signature Standard - DSA
 [--SVG] Elliptic Curve Digital Signature Algorithm - ECDSA
 [ED--G] Elliptic Curve Shared Value Derivation - ECSVD

Symmetric ciphers:
 IDEA
 3DES
 CAST5
 Twofish
 AES128
 AES192
 AES256
 Blowfish
 Arc4_128

Hashes:
 MD5
 SHA
 RIPEMD160
 SHA256
 SHA384
 SHA512

Compression:
 None
 ZIP
 ZLIB
 BZIP2

Alex_CST's picture

Do you have the ability to restart the machine?  Improper Initialization leads me to deduce that something is not starting up gracefully

Please mark posts as solutions if they solve your problem!

http://www.cstl.com

dfinkelstein's picture

This error is a strange one to get.

Do try rebooting as that might help.

You get this problem for a "normal" user, but not for root.  Do you get this problem for all normal users, or just this one?

For the user with the problem, please run "ipcs -a | grep 0x20" and post the result.

Thanks,

 

--------

David Finkelstein

Symantec R&D

Christoph May's picture

A colleague found the problem:

After a truss on pgp --version:

[....]
open("home/.pgp/PGPsdkIPC/shm_rnd_141fb90d", O_RDWR|O_CREAT, 0666) Err#13 EACCES [ZONE]
[....]

It seems like the installation of Version 10.2 pgp creates the directory PGPskdIPC. The owner of this directory is on default root. Changing it to the local user is the solution:

After changing the owner of PGPsdkIPC:

# pgp --version
PGP Command Line 10.2 build 283
Copyright (C) 2011 Symantec Corporation
All rights reserved.
Use of this product is subject to license terms.

Anyway, thank you for your help.

SOLUTION
Alex_CST's picture

Very strange, that sounds to me like a folder that gets used during an upgrade/installation but should get removed after install, there's no documentation of that folder name whatsoever.

Please mark posts as solutions if they solve your problem!

http://www.cstl.com