Yubico Forum

...visit our web-store at store.yubico.com
It is currently Tue Jan 30, 2018 3:10 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Wed Feb 08, 2012 10:36 am 
Offline

Joined: Tue Feb 07, 2012 5:04 pm
Posts: 4
Hi,

I'm running Ubuntu Linux 2.6.32-33-generic #72-Ubuntu SMP Fri Jul 29 21:08:37 UTC 2011 i686 GNU/Linux and am trying to install the yubikey-server-c package to set up key verification. I've installed the package and it has the following attributes:

Code:
 dpkg -p yubikey-server-c
Package: yubikey-server-c
Priority: optional
Section: admin
Installed-Size: 96
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Architecture: i386
Version: 0.5-1
Depends: libc6 (>= 2.8), libgcrypt11 (>= 1.4.2), libmicrohttpd5, libpq5 (>= 8.4~0cvs20090328), libyubikey0 (>= 1.5)
Size: 13214
Description: Yubikey validation server
 Yubikeys are USB tokens that act like keyboards and generate one-time
 passwords.  The tokens are produced and sold by Yubico
 .
 This is a server that checks the validity of those OTP tokens.  There
 are servers written in Java and PHP, while this one is written in C
 .
 It implements the server side of the API as described on
 http://www.yubico.com/developers/api/ and can be used with any client
 that implements the same API.
Original-Maintainer: Tollef Fog Heen <tfheen@debian.org>


When I run the script to start it, it immediately exits but seems to give no error message. Can you let me know if this package is in a usable state, or whether it needs some modifications?

Thanks!


Top
 Profile  
Reply with quote  

Share On:

Share on Facebook FacebookShare on Twitter TwitterShare on Tumblr TumblrShare on Google+ Google+

PostPosted: Mon Feb 13, 2012 10:22 am 
yubikey-server-c is not written by Yubico, but when I install that package on a test server I get the following in syslog when I try to start it :

yubikeyd version 0.5 starting up
connection to database failed ...

Might that be the case for you as well?

/Fredrik


Top
  
Reply with quote  
PostPosted: Mon Feb 13, 2012 10:32 am 
Offline

Joined: Tue Feb 07, 2012 5:04 pm
Posts: 4
Fredrik-at-Yubico wrote:
yubikey-server-c is not written by Yubico, but when I install that package on a test server I get the following in syslog when I try to start it :

yubikeyd version 0.5 starting up
connection to database failed ...

Might that be the case for you as well?

/Fredrik


Thanks for the feedback Fredrik.

I'm embarassed to say that it appears to have been configure to use a Postgres database and I've only just found the syslog message:

Code:
yubikeyd version 0.5 starting up
yubikeyd[13688]: connection to database failed: could not connect to server: No such file or directory#012#011Is the server running locally and accepting#012#011connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?


I'll have to have another look and see if I can figure this out. If I can, I'll report it back here.. :oops:

EDIT:
Just had a look at the source code and it's all Postgres :( Any chance of getting an SQLITE version, I wonder?


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group