init script causes error in [re]starting

Bug #820354 reported by Caner Candan
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
sks (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Environnent:
#lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 10.04.3 LTS
Release: 10.04
Codename: lucid

Issue:
When you are using the init script file to start or restart SKS you may face to the following error:
#/etc/init.d/sks restart
Stopping sks daemons: sksrecon..start-stop-daemon: warning: failed to kill 432: No such process
 sksdb..start-stop-daemon: warning: failed to kill 429: No such process
 done.
Starting sks daemons: sksdb.. sksrecon.. done.

Solution:
The issue can be fixed in removing all PID files that they still exist in /var/run/sks/ folder. So remove these files and execute again the init script file.

Tags: init pid script sks
tags: added: sks
tags: added: init script
tags: added: pid
description: updated
affects: sks (Debian) → null
Revision history for this message
Stefano Rivera (stefanor) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better.

I can't say I've seen this, or am able to reproduce it.

Is it still an issue in the latest Ubuntu releases?

Changed in sks (Ubuntu):
status: New → Incomplete
Curtis Hovey (sinzui)
no longer affects: null
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for sks (Ubuntu) because there has been no activity for 60 days.]

Changed in sks (Ubuntu):
status: Incomplete → Expired
Revision history for this message
rohan dighe (rohandighe18) wrote :

There is still bug in the init script of sks when we start the sks service we get the output

# /etc/init.d/sks start
Starting sks daemons: sksdb.. sksrecon.. done.

But I also cant get the pid process of sks service showing running on the server.

And also followed the solution by removing all PID files that they still exist in /var/run/sks/ folder. So remove these files and execute again the init script file.

Is there is any fix possible for this bug in ubuntu 12.04 it will be really helpful

Revision history for this message
Thomas Ward (teward) wrote :

After Rohan Dighe emailed the Bug Squad mailing list regarding this issue, I tested this on a properly configured SKS server that has no peer servers. This server has actually been configured, which means that I installed 'sks' and then configured the software for the key database and the web interface. The initial 'sks' installation does not set up the sks keyserver keydb or any other sks required resources, which is why it requires initial configuration by hand before it works.

I was not able to confirm this bug on that fully configured SKS keyserver instance which I just created today. The processes for the sks program, one for sksdb and one for sksrecon, correctly launch when the sks server is properly set up with initial configuration.

While my keyserver is brand new today and does not sync with any other keyservers, thereby triggering errors related to no peer servers for syncing, the 'sks' process is correctly running with the included init script. I am not using the backported version of the sks package.

(I am not changing the status of this bug off of "Expired" as there is no new information, however if anyone is able to confirm this bug when they attempt to load sks without initially configuring it, they are allowed to change this bug status to "confirimed")

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.