sks-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sks-devel] Newbie question about the /pks/lookup?op=stats page


From: Stephan Seitz
Subject: Re: [Sks-devel] Newbie question about the /pks/lookup?op=stats page
Date: Thu, 13 Sep 2012 10:10:10 +0200

Hi,

it looks like you've got files with wrong permissions (i suspect wrong owner).

To generally avoid this, I'ld suggest to always work with the non-privileged user.
Just a wild guess: You tried to start sks-recon and/or sks-db as root. Now it's running with a non-privileged account and no longer able to open the necessary files.
I'ld try to chown that files to match the particular uid/gid.

Cheers,

Stephan

Am Mittwoch, den 12.09.2012, 22:22 +0200 schrieb Andreas Thulin:
Hi!

recon.log, the horror! :-) Here are the last lines:


2012-09-12 19:23:15 <recon as client> callback timed out.
2012-09-12 19:27:34 <reconciliation handler> error in callback.: End_of_file
2012-09-12 19:28:20 <recon as client> callback timed out.
2012-09-12 19:28:20 <reconciliation handler> error in callback.: End_of_file
2012-09-12 19:47:23 35362 hashes recovered from <ADDR_INET [46.19.90.50]:11371>
2012-09-12 19:47:23 <recon as client> error in callback.: Sys_error("/var/spool/sks/diff-46.19.90.50_11371.txt: Permission denied")
2012-09-12 19:51:50 <reconciliation handler> error in callback.: End_of_file
2012-09-12 19:52:35 <recon as client> callback timed out.
2012-09-12 19:52:35 <reconciliation handler> error in callback.: End_of_file
2012-09-12 19:59:41 <recon as client> callback timed out.
2012-09-12 20:05:55 <recon as client> error in callback.: Sys_error("Connection reset by peer")
2012-09-12 20:27:12 Reconciliation failed.  Returning elements returned so far: Sys_error("Connection timed out")
2012-09-12 20:27:12 6186 hashes recovered from <ADDR_INET [5.135.8.144]:11371>
2012-09-12 20:27:12 <reconciliation handler> error in callback.: Sys_error("/var/spool/sks/diff-5.135.8.144_11371.txt: Permission denied")
2012-09-12 20:39:51 35391 hashes recovered from <ADDR_INET [192.146.137.11]:11371>
2012-09-12 20:39:51 <recon as client> error in callback.: Sys_error("/var/spool/sks/diff-192.146.137.11_11371.txt: Permission denied")
2012-09-12 20:39:51 <reconciliation handler> error in callback.: End_of_file
2012-09-12 20:43:25 <reconciliation handler> error in callback.: End_of_file
2012-09-12 20:44:10 <recon as client> callback timed out.
2012-09-12 20:44:10 <reconciliation handler> error in callback.: End_of_file
2012-09-12 21:00:27 Reconciliation failed.  Returning elements returned so far: End_of_file
2012-09-12 21:00:28 13690 hashes recovered from <ADDR_INET [108.86.73.186]:11371>
2012-09-12 21:00:28 <reconciliation handler> error in callback.: Sys_error("/var/spool/sks/diff-108.86.73.186_11371.txt: Permission denied")
2012-09-12 21:01:13 <recon as client> callback timed out.
2012-09-12 21:16:55 <recon as client> error in callback.: End_of_file
2012-09-12 21:24:25 <recon as client> error in callback.: Sys_error("Connection reset by peer")
2012-09-12 21:30:43 <recon as client> callback timed out.
2012-09-12 21:43:20 35329 hashes recovered from <ADDR_INET [130.133.110.62]:11371>
2012-09-12 21:43:20 <reconciliation handler> error in callback.: Sys_error("/var/spool/sks/diff-130.133.110.62_11371.txt: Permission denied")
2012-09-12 21:44:05 <recon as client> callback timed out.
2012-09-12 21:55:42 35438 hashes recovered from <ADDR_INET [192.167.206.241]:11373>
2012-09-12 21:55:42 <reconciliation handler> error in callback.: Sys_error("/var/spool/sks/diff-192.167.206.241_11373.txt: Permission denied")
2012-09-12 21:56:27 <recon as client> callback timed out.
2012-09-12 22:09:46 <recon as client> callback timed out.

Obviously something's not right, but what?

/A

 

2012/9/11 Kristian Fiskerstrand <address@hidden>
On 09/11/2012 06:40 PM, Luk Claes wrote:
> On 09/11/2012 05:23 PM, Andreas Thulin wrote:
>> Hi all!


...

>> Some of you have already figured out I'm completely new to sks and need
>> help even with the basics. Apologies. :-)
>>
>> Any ideas?
>
> Hi I don't remember where I read about it, but this is what I created to
> get the stats page working:
>
> $ cat /etc/cron.d/sks
> # SKS stats for sks-keyservers.net @~{10,20}:50 CET
> 45 3,13  * * *        root    pkill -USR2 sks || exit 1
> # SKS stats on the hour
> 0  *     * * *        root    pkill -USR2 sks || exit 1



Hi Luk,

Using signal USR2 to re-generate statistics was added in 1.1.2, iirc
Andreas is still on 1.1.1.

Andreas: does db.log and recon.log provide any meaningful information ?
And how long has the server been running?

--
----------------------------
Kristian Fiskerstrand
http://www.sumptuouscapital.com
Twitter: @krifisk
----------------------------
Acta est fabula
So ends the story
----------------------------
This email was digitally signed using the OpenPGP
standard. If you want to read more about this
The book: Sending Emails - The Safe Way: An
introduction to OpenPGP security is
available in both Amazon Kindle and Paperback
format at
http://www.amazon.com/dp/B006RSG1S4/
----------------------------
Public PGP key 0xE3EDFAE3 at http://www.sumptuouscapital.com/pgp/


_______________________________________________
Sks-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/sks-devel


_______________________________________________
Sks-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/sks-devel

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]