Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Getting net-misc/sks to listen for connections
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
KintaroBC
n00b
n00b


Joined: 15 Feb 2014
Posts: 63
Location: Australia

PostPosted: Sun May 29, 2016 8:11 pm    Post subject: Getting net-misc/sks to listen for connections Reply with quote

I've installed net-misc/sks but I am having issues with not being about to find an OpenRC init script which launches the listening processes. I've tried to adapt the guide I was using as much to Gentoo as I could. A major difference between the guide for current Gentoo and Ubuntu LTS is that the former has /etc/init.d/sks-db and /etc/init.d/sks-recon but not /etc/init.d/sks which is what Ubuntu has which starts the SKS DB thread and the SKS recon thread.

Here is my /var/lib/sks/sksconf file:
Code:

#************************************************************************#
#* sksconf.typical - Typical configuration settings for a SKS server    *#
#*                                                                      *#
#* Copyright (C) 2011, 2012, 2013  John Clizbe                         *#
#*                                                                      *#
#* This file is part of SKS.  SKS is free software; you can             *#
#* redistribute it and/or modify it under the terms of the GNU General  *#
#* Public License as published by the Free Software Foundation; either  *#
#* version 2 of the License, or (at your option) any later version.     *#
#*                                                                      *#
#* This program is distributed in the hope that it will be useful, but  *#
#* WITHOUT ANY WARRANTY; without even the implied warranty of           *#
#* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU    *#
#* General Public License for more details.                             *#
#*                                                                      *#
#* You should have received a copy of the GNU General Public License    *#
#* along with this program; if not, write to the Free Software          *#
#* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  *#
#* USA or see <http://www.gnu.org/licenses/>.                           *#
#************************************************************************#

#  sksconf -- SKS main configuration
#
basedir:                        /var/sks

# debuglevel 3 is default (max. debuglevel is 10)
debuglevel:                     3

hostname:                       keyserver.secusrvr.com
hkp_port:                       11371
recon_port:                     11370
#
server_contact:                 0xDECAFBADDEADBEEF
from_addr:                      pgp-public-keys@secusrvr.com
sendmail_cmd:                   /usr/sbin/sendmail -t -oi
#
initial_stat:
membership_reload_interval:     1
stat_hour:                      17
#
# set DB file pagesize as recommended by db_tuner
# pagesize is (n * 512) bytes
# NOTE: These must be set _BEFORE_ [fast]build & pbuild and remain set
# for the life of the database files. To change a value requires recreating
# the database from a dump
#
# KDB/key               65536
pagesize:                       128
#
# KDB/keyid             32768
keyid_pagesize                  64
#
# KDB/meta              512
meta_pagesize:                  1
# KDB/subkeyid          65536
subkeyid_pagesize:              128
#
# KDB/time              65536
time_pagesize:                  128
#
# KDB/tqueue            512
tqueue_pagesize:                1
#
# KDB/word - db_tuner suggests 512 bytes. This locked the build process
# Better to use a default of 8 (4096 bytes) for now
#word_pagesize:                 8
#
# PTree/ptree           4096
ptree_pagesize:                 8


It is pretty basic, but sks is not listening on any ports despite having sks-db and sks-recon running. A port is configured, and this problem at least appears to require some modification of the init script.

Edit: When I checked the status of the sks-db process just now it says it has crashed. So I have found the problem...
Code:

# service sks-db status
 * status: crashed


Edit: I increased the logging level in sksconf however I cannot seem to find the debug output.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum