Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-04-2014, 12:38 AM   #1
LQ Newbie
Registered: Mar 2014
Posts: 1

Rep: Reputation: Disabled
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
Program exited with status 1
Old 03-04-2014, 01:30 PM   #2
LQ Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,945
Blog Entries: 14

Rep: Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163
You should troubleshoot the errors as shown in the log.

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

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?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
gpg / gpg-agent -- Can't connect to /root/.gnupg/S.gpg-agent jrtayloriv Linux - Security 8 05-11-2017 09:34 AM
Update manager error: GPG error: ... signatures ... Nonc Linux - General 0 08-18-2010 06:36 PM
GPG: Bad session key gpg between gpg on linux and gpg gui on windows XP konqi Linux - Software 1 07-21-2009 09:37 AM
gpg error foustware Ubuntu 1 04-16-2006 06:17 PM
GPG error? koyi Linux From Scratch 1 05-06-2004 09:23 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:56 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration