LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Getting gpg related error. (https://www.linuxquestions.org/questions/linux-newbie-8/getting-gpg-related-error-4175496955/)

mr.trilok 03-04-2014 12:38 AM

Getting gpg related error.
 
[appldev@********* ~]$ cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.4 (Santiago)
[appldev@********* ~]$


We are running a concurrent program by oracle application and gettiong below error.
+---------------------------------------------------------------------------+
can't connect to `/home/appldev/.gnupg/S.gpg-agent': No such file or directory
xprop: unable to open display '*********:0.0'
(pinentry-gtk-2:16186): Gtk-WARNING **: cannot open display: *********:0.0
gpg-agent[16185]: can't connect server: ec=4.16383
gpg-agent[16185]: can't connect to the PIN entry module: End of file
gpg-agent[16185]: command get_passphrase failed: No pinentry
gpg: problem with the agent: No pinentry
gpg: encrypted with 1024-bit ELG key, ID 348BC229, created 2010-08-17
"******* <*******@******.com.****>"
gpg: public key decryption failed: General error
gpg: decryption failed: No secret key
Error: failed to decrypt file /landing_zone/pup/inbound/processing/ATS-TAH-2014_2_21-2021.csv.pgp
/u02dev/ebusdev/apps/apps_st/appl/xbol/1.0.0/bin/***********_IMPORT
Program exited with status 1

MensaWater 03-04-2014 01:30 PM

You should troubleshoot the errors as shown in the log.

The first one you'r'e getting is fairly straightforward:

Quote:

can't connect to `/home/appldev/.gnupg/S.gpg-agent': No such file or directory
That is saying it is trying to find a file named "S.gpg-agent" in directory /home/appldev/.gnupg but it can't.

The most likely cause is that it doesn't exist which is why it says "No such file or directory". Its also possible you just don't have access to this path but if so you'd be more likely to get "permission denied".

Does the file above exist?
Does the directory itself exist?


All times are GMT -5. The time now is 12:58 PM.