gpg2 --card-status
Failed & Get the following log
Code:
2017-04-10 11:03:47 gpg-agent[14] listening on socket '/root/.gnupg/S.gpg-agent'
2017-04-10 11:03:47 gpg-agent[14] listening on socket '/root/.gnupg/S.gpg-agent.ssh'
2017-04-10 11:03:47 gpg-agent[15] gpg-agent (GnuPG) 2.1.11 started
2017-04-10 11:03:48 gpg-agent[15] handler 0x7f23a2bf0700 for fd 6 started
2017-04-10 11:03:48 gpg-agent[15] DBG: chan_6 -> OK Pleased to meet you, process 12
2017-04-10 11:03:48 gpg-agent[15] DBG: chan_6 <- RESET
2017-04-10 11:03:48 gpg-agent[15] DBG: chan_6 -> OK
2017-04-10 11:03:48 gpg-agent[15] DBG: chan_6 <- OPTION ttyname=/dev/tty1
2017-04-10 11:03:48 gpg-agent[15] DBG: chan_6 -> OK
2017-04-10 11:03:48 gpg-agent[15] DBG: chan_6 <- OPTION ttytype=xterm
2017-04-10 11:03:48 gpg-agent[15] DBG: chan_6 -> OK
2017-04-10 11:03:48 gpg-agent[15] DBG: chan_6 <- OPTION lc-ctype=en_US.UTF-8
2017-04-10 11:03:48 gpg-agent[15] DBG: chan_6 -> OK
2017-04-10 11:03:48 gpg-agent[15] DBG: chan_6 <- OPTION lc-messages=en_US.UTF-8
2017-04-10 11:03:48 gpg-agent[15] DBG: chan_6 -> OK
2017-04-10 11:03:48 gpg-agent[15] DBG: chan_6 <- GETINFO version
2017-04-10 11:03:48 gpg-agent[15] DBG: chan_6 -> D 2.1.11
2017-04-10 11:03:48 gpg-agent[15] DBG: chan_6 -> OK
2017-04-10 11:03:48 gpg-agent[15] DBG: chan_6 <- OPTION allow-pinentry-notify
2017-04-10 11:03:48 gpg-agent[15] DBG: chan_6 -> OK
2017-04-10 11:03:48 gpg-agent[15] DBG: chan_6 <- OPTION agent-awareness=2.1.0
2017-04-10 11:03:48 gpg-agent[15] DBG: chan_6 -> OK
2017-04-10 11:03:48 gpg-agent[15] DBG: chan_6 <- AGENT_ID
2017-04-10 11:03:48 gpg-agent[15] DBG: chan_6 -> ERR 67109139 Unknown IPC command <GPG Agent>
2017-04-10 11:03:48 gpg-agent[15] DBG: chan_6 <- SCD GETINFO version
2017-04-10 11:03:48 gpg-agent[15] no running SCdaemon - starting it
2017-04-10 11:03:48 gpg-agent[15] DBG: chan_7 <- OK GNU Privacy Guard's Smartcard server ready
2017-04-10 11:03:48 gpg-agent[15] DBG: first connection to SCdaemon established
2017-04-10 11:03:48 gpg-agent[15] DBG: chan_7 -> GETINFO socket_name
2017-04-10 11:03:48 gpg-agent[15] DBG: chan_7 <- D /root/.gnupg/S.scdaemon
2017-04-10 11:03:48 gpg-agent[15] DBG: chan_7 <- OK
2017-04-10 11:03:48 gpg-agent[15] DBG: additional connections at '/root/.gnupg/S.scdaemon'
2017-04-10 11:03:48 gpg-agent[15] DBG: chan_7 -> OPTION event-signal=12
2017-04-10 11:03:48 gpg-agent[15] DBG: chan_7 <- OK
2017-04-10 11:03:48 gpg-agent[15] DBG: chan_7 -> GETINFO version
2017-04-10 11:03:48 gpg-agent[15] DBG: chan_7 <- D 2.1.11
2017-04-10 11:03:48 gpg-agent[15] DBG: chan_7 <- OK
2017-04-10 11:03:48 gpg-agent[15] DBG: chan_6 -> D 2.1.11
2017-04-10 11:03:48 gpg-agent[15] DBG: chan_6 -> OK
2017-04-10 11:03:48 gpg-agent[15] DBG: chan_6 <- SCD SERIALNO openpgp
2017-04-10 11:03:48 gpg-agent[15] DBG: chan_7 -> SERIALNO openpgp
2017-04-10 11:03:48 gpg-agent[15] DBG: chan_7 <- ERR 100663404 Card error <SCD>
2017-04-10 11:03:48 gpg-agent[15] DBG: chan_6 -> ERR 100663404 Card error <SCD>
2017-04-10 11:03:48 gpg-agent[15] DBG: chan_6 <- [eof]
2017-04-10 11:03:48 gpg-agent[15] DBG: chan_7 -> RESTART
2017-04-10 11:03:48 gpg-agent[15] DBG: chan_7 <- OK
2017-04-10 11:03:48 gpg-agent[15] handler 0x7f23a2bf0700 for fd 6 terminated