SCardEstablishContext: Service not available Announcing the arrival of Valued Associate #679:...
Do I really need recursive chmod to restrict access to a folder?
What's the purpose of writing one's academic biography in the third person?
How do pianists reach extremely loud dynamics?
Can a USB port passively 'listen only'?
What would be the ideal power source for a cybernetic eye?
Check which numbers satisfy the condition [A*B*C = A! + B! + C!]
2001: A Space Odyssey's use of the song "Daisy Bell" (Bicycle Built for Two); life imitates art or vice-versa?
Using et al. for a last / senior author rather than for a first author
Why is "Consequences inflicted." not a sentence?
What to do with chalk when deepwater soloing?
Can an alien society believe that their star system is the universe?
What causes the vertical darker bands in my photo?
Identifying polygons that intersect with another layer using QGIS?
What is the logic behind the Maharil's explanation of why we don't say שעשה ניסים on Pesach?
How to react to hostile behavior from a senior developer?
When do you get frequent flier miles - when you buy, or when you fly?
Why did the IBM 650 use bi-quinary?
How to answer "Have you ever been terminated?"
Abandoning the Ordinary World
If a contract sometimes uses the wrong name, is it still valid?
Why are Kinder Surprise Eggs illegal in the USA?
How do I stop a creek from eroding my steep embankment?
Short Story with Cinderella as a Voo-doo Witch
What is Arya's weapon design?
SCardEstablishContext: Service not available
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Deleting files doesn't free spaceHow do LVM Snapshots work on the PE level?Failing to update kernelManual clone/recreate virtual diskRemote Desktop from Window 10 asking for Smart Card serviceNextcloud client : No keychain service availableIn systemd service file, how do I say “after USB is ready”?Physical Volume TO LVM mount failingShell not running or DBus service not availableMasked/Hidden Partition
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}
I installed the following packages:
- libusb-dev
- libusb++-0.1-4c2
- libccid
- pcscd
- libpcsclite1
- libpcsclite-dev
- List item
- libpcsc-perl
- pcsc-tools
But when I send the pcsc_scan command I received the below output :
root@bt:/# pcsc_scan
PC/SC device scanner
V 1.4.16 (c) 2001-2009, Ludovic Rousseau <ludovic.rousseau@free.fr>
Compiled with PC/SC lite version: 1.5.3
SCardEstablishContext: Service not available.
root@bt:/#
Why?
Note: I use BackTrack5
linux backtrack smartcard libusb
add a comment |
I installed the following packages:
- libusb-dev
- libusb++-0.1-4c2
- libccid
- pcscd
- libpcsclite1
- libpcsclite-dev
- List item
- libpcsc-perl
- pcsc-tools
But when I send the pcsc_scan command I received the below output :
root@bt:/# pcsc_scan
PC/SC device scanner
V 1.4.16 (c) 2001-2009, Ludovic Rousseau <ludovic.rousseau@free.fr>
Compiled with PC/SC lite version: 1.5.3
SCardEstablishContext: Service not available.
root@bt:/#
Why?
Note: I use BackTrack5
linux backtrack smartcard libusb
add a comment |
I installed the following packages:
- libusb-dev
- libusb++-0.1-4c2
- libccid
- pcscd
- libpcsclite1
- libpcsclite-dev
- List item
- libpcsc-perl
- pcsc-tools
But when I send the pcsc_scan command I received the below output :
root@bt:/# pcsc_scan
PC/SC device scanner
V 1.4.16 (c) 2001-2009, Ludovic Rousseau <ludovic.rousseau@free.fr>
Compiled with PC/SC lite version: 1.5.3
SCardEstablishContext: Service not available.
root@bt:/#
Why?
Note: I use BackTrack5
linux backtrack smartcard libusb
I installed the following packages:
- libusb-dev
- libusb++-0.1-4c2
- libccid
- pcscd
- libpcsclite1
- libpcsclite-dev
- List item
- libpcsc-perl
- pcsc-tools
But when I send the pcsc_scan command I received the below output :
root@bt:/# pcsc_scan
PC/SC device scanner
V 1.4.16 (c) 2001-2009, Ludovic Rousseau <ludovic.rousseau@free.fr>
Compiled with PC/SC lite version: 1.5.3
SCardEstablishContext: Service not available.
root@bt:/#
Why?
Note: I use BackTrack5
linux backtrack smartcard libusb
linux backtrack smartcard libusb
asked Jun 25 '14 at 11:38
AbrahamAbraham
2421621
2421621
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
It look like your pcscd is not running (service pcscd start).
I executed thissudo service pcscd start
command on Mint LMDE. LED on smart card reader start to flash, but when I type againsudo pcsc_scan
it gives me:PC/SC device scanner V 1.4.27 (c) 2001-2011, Ludovic Rousseau <ludovic.rousseau@free.fr> Compiled with PC/SC lite version: 1.8.17 SCardEstablishContext: Service not available.
– matandked
Dec 20 '18 at 3:49
add a comment |
Quick strace pcsc_scan
reveals that it tries to open a non-existing file /var/run/pcscd/pcscd.comm
:
stat("/var/run/pcscd/pcscd.comm", 0x7fff315e9dc0) = -1 ENOENT (No such file or directory)
....
SCardEstablishContext: Service not available.
...
exit_group(-1) = ?
+++ exited with 255 +++
And indeed it does not exist:
$ ls /var/run/pcscd/pcscd.comm
ls: cannot access '/var/run/pcscd/pcscd.comm': No such file or directory
This is because there are two parts of pcscd: pcscd.service
and pcscd.socket
, where the latter is responsible for that missing file. Therefore, the proper solution will be:
sudo systemctl restart pcscd.socket
Demo:
$ ls /var/run/pcscd/pcscd.comm
ls: cannot access '/var/run/pcscd/pcscd.comm': No such file or directory
$ sudo systemctl restart pcscd.socket
$ ls /var/run/pcscd/pcscd.comm
/var/run/pcscd/pcscd.comm
Now you can properly enjoy your pcsc_scan
.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f773257%2fscardestablishcontext-service-not-available%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
It look like your pcscd is not running (service pcscd start).
I executed thissudo service pcscd start
command on Mint LMDE. LED on smart card reader start to flash, but when I type againsudo pcsc_scan
it gives me:PC/SC device scanner V 1.4.27 (c) 2001-2011, Ludovic Rousseau <ludovic.rousseau@free.fr> Compiled with PC/SC lite version: 1.8.17 SCardEstablishContext: Service not available.
– matandked
Dec 20 '18 at 3:49
add a comment |
It look like your pcscd is not running (service pcscd start).
I executed thissudo service pcscd start
command on Mint LMDE. LED on smart card reader start to flash, but when I type againsudo pcsc_scan
it gives me:PC/SC device scanner V 1.4.27 (c) 2001-2011, Ludovic Rousseau <ludovic.rousseau@free.fr> Compiled with PC/SC lite version: 1.8.17 SCardEstablishContext: Service not available.
– matandked
Dec 20 '18 at 3:49
add a comment |
It look like your pcscd is not running (service pcscd start).
It look like your pcscd is not running (service pcscd start).
answered Jul 15 '14 at 11:41
silhanosilhano
13612
13612
I executed thissudo service pcscd start
command on Mint LMDE. LED on smart card reader start to flash, but when I type againsudo pcsc_scan
it gives me:PC/SC device scanner V 1.4.27 (c) 2001-2011, Ludovic Rousseau <ludovic.rousseau@free.fr> Compiled with PC/SC lite version: 1.8.17 SCardEstablishContext: Service not available.
– matandked
Dec 20 '18 at 3:49
add a comment |
I executed thissudo service pcscd start
command on Mint LMDE. LED on smart card reader start to flash, but when I type againsudo pcsc_scan
it gives me:PC/SC device scanner V 1.4.27 (c) 2001-2011, Ludovic Rousseau <ludovic.rousseau@free.fr> Compiled with PC/SC lite version: 1.8.17 SCardEstablishContext: Service not available.
– matandked
Dec 20 '18 at 3:49
I executed this
sudo service pcscd start
command on Mint LMDE. LED on smart card reader start to flash, but when I type again sudo pcsc_scan
it gives me: PC/SC device scanner V 1.4.27 (c) 2001-2011, Ludovic Rousseau <ludovic.rousseau@free.fr> Compiled with PC/SC lite version: 1.8.17 SCardEstablishContext: Service not available.
– matandked
Dec 20 '18 at 3:49
I executed this
sudo service pcscd start
command on Mint LMDE. LED on smart card reader start to flash, but when I type again sudo pcsc_scan
it gives me: PC/SC device scanner V 1.4.27 (c) 2001-2011, Ludovic Rousseau <ludovic.rousseau@free.fr> Compiled with PC/SC lite version: 1.8.17 SCardEstablishContext: Service not available.
– matandked
Dec 20 '18 at 3:49
add a comment |
Quick strace pcsc_scan
reveals that it tries to open a non-existing file /var/run/pcscd/pcscd.comm
:
stat("/var/run/pcscd/pcscd.comm", 0x7fff315e9dc0) = -1 ENOENT (No such file or directory)
....
SCardEstablishContext: Service not available.
...
exit_group(-1) = ?
+++ exited with 255 +++
And indeed it does not exist:
$ ls /var/run/pcscd/pcscd.comm
ls: cannot access '/var/run/pcscd/pcscd.comm': No such file or directory
This is because there are two parts of pcscd: pcscd.service
and pcscd.socket
, where the latter is responsible for that missing file. Therefore, the proper solution will be:
sudo systemctl restart pcscd.socket
Demo:
$ ls /var/run/pcscd/pcscd.comm
ls: cannot access '/var/run/pcscd/pcscd.comm': No such file or directory
$ sudo systemctl restart pcscd.socket
$ ls /var/run/pcscd/pcscd.comm
/var/run/pcscd/pcscd.comm
Now you can properly enjoy your pcsc_scan
.
add a comment |
Quick strace pcsc_scan
reveals that it tries to open a non-existing file /var/run/pcscd/pcscd.comm
:
stat("/var/run/pcscd/pcscd.comm", 0x7fff315e9dc0) = -1 ENOENT (No such file or directory)
....
SCardEstablishContext: Service not available.
...
exit_group(-1) = ?
+++ exited with 255 +++
And indeed it does not exist:
$ ls /var/run/pcscd/pcscd.comm
ls: cannot access '/var/run/pcscd/pcscd.comm': No such file or directory
This is because there are two parts of pcscd: pcscd.service
and pcscd.socket
, where the latter is responsible for that missing file. Therefore, the proper solution will be:
sudo systemctl restart pcscd.socket
Demo:
$ ls /var/run/pcscd/pcscd.comm
ls: cannot access '/var/run/pcscd/pcscd.comm': No such file or directory
$ sudo systemctl restart pcscd.socket
$ ls /var/run/pcscd/pcscd.comm
/var/run/pcscd/pcscd.comm
Now you can properly enjoy your pcsc_scan
.
add a comment |
Quick strace pcsc_scan
reveals that it tries to open a non-existing file /var/run/pcscd/pcscd.comm
:
stat("/var/run/pcscd/pcscd.comm", 0x7fff315e9dc0) = -1 ENOENT (No such file or directory)
....
SCardEstablishContext: Service not available.
...
exit_group(-1) = ?
+++ exited with 255 +++
And indeed it does not exist:
$ ls /var/run/pcscd/pcscd.comm
ls: cannot access '/var/run/pcscd/pcscd.comm': No such file or directory
This is because there are two parts of pcscd: pcscd.service
and pcscd.socket
, where the latter is responsible for that missing file. Therefore, the proper solution will be:
sudo systemctl restart pcscd.socket
Demo:
$ ls /var/run/pcscd/pcscd.comm
ls: cannot access '/var/run/pcscd/pcscd.comm': No such file or directory
$ sudo systemctl restart pcscd.socket
$ ls /var/run/pcscd/pcscd.comm
/var/run/pcscd/pcscd.comm
Now you can properly enjoy your pcsc_scan
.
Quick strace pcsc_scan
reveals that it tries to open a non-existing file /var/run/pcscd/pcscd.comm
:
stat("/var/run/pcscd/pcscd.comm", 0x7fff315e9dc0) = -1 ENOENT (No such file or directory)
....
SCardEstablishContext: Service not available.
...
exit_group(-1) = ?
+++ exited with 255 +++
And indeed it does not exist:
$ ls /var/run/pcscd/pcscd.comm
ls: cannot access '/var/run/pcscd/pcscd.comm': No such file or directory
This is because there are two parts of pcscd: pcscd.service
and pcscd.socket
, where the latter is responsible for that missing file. Therefore, the proper solution will be:
sudo systemctl restart pcscd.socket
Demo:
$ ls /var/run/pcscd/pcscd.comm
ls: cannot access '/var/run/pcscd/pcscd.comm': No such file or directory
$ sudo systemctl restart pcscd.socket
$ ls /var/run/pcscd/pcscd.comm
/var/run/pcscd/pcscd.comm
Now you can properly enjoy your pcsc_scan
.
answered 18 hours ago
sanmaisanmai
487513
487513
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f773257%2fscardestablishcontext-service-not-available%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown