sks init script bug in ubuntu 12.04

rohan dighe rohandighe18 at gmail.com
Fri Aug 30 14:04:35 UTC 2013


Hi Team,

Thanks for the immediate response I really appreciate your efforts on
providing me the solution for sks server.

Here are the steps I am following to setup the sks server on ubuntu 12.04

# aptitude install sks

Set database permissions on the database used by sks to store keys

# chown -Rc debian-sks:debian-sks /var/lib/sks/DB

To start the server automatically, set initstart=yes in /etc/default/sks

# Here I start the sks service

# /etc/init.d/sks start
Stopping sks daemons: sksrecon..start-stop-daemon: warning: failed to kill
31643: No such process
sksdb..start-stop-daemon: warning: failed to kill 31640: No such process
done.
Starting sks daemons: sksdb.. sksrecon.. done.

Then I configure webinterface for sks

I install the sks winzip from internet

Then I created a www directory in /var/lib/sks

unzip the sks in /var/lib/sks/www folder

After that 2 files gets downloaded in /var/lib/sks/www folder.

1) index.html

2) keys.jpg

I Edit index.html and change the three references to
your.site.name(currently at lines 20, 36 & 62) to the url of your
keyserver) ( In my case
its my server ip )

Then I change the permission on the files

# chown -R debian-sks:debian-sks /var/lib/sks/www

After that when I tried to browse http://myserverip:11371 its not working.

I also tried to get the pid of the sks but the pid is not running on the
server below is the given output.

# ps -aufx | grep sks
Warning: bad ps syntax, perhaps a bogus '-'? See
http://procps.sf.net/faq.html
root 31950 0.0 0.0 9384 900 pts/1 S+ 19:26 0:00 \_ grep --color=auto sks

Here I cant see the 2 process running for sks one for the DB, one for recon.

The ps output shows here that sks pid is not running ,It will be helpful if
you let me know where exact the problem lies in sks.


Thanks,
Rohan




On Fri, Aug 30, 2013 at 12:48 AM, Thomas Ward <teward at ubuntu.com> wrote:

> Rohan,
>
>
> On Thu, Aug 29, 2013 at 3:08 PM, Thomas Ward <teward at ubuntu.com> wrote:
>
>> I took a look at that bug, the bug went inactive because it had no
>> activity or updates when the bug was marked "Incomplete".  Since the
>> original poster and nobody else provided any additional information the bug
>> auto expired.
>>
>> I can try confirming this bug, however if I remember when I was
>> configuring sks back in the days of 11.04 and 11.10, you had to configure
>> it before you could actually start or restart the sks process.
>>
>> I'll take a look and see if I can reproduce, but there's probably logs
>> somewhere for sks explaining why it didn't start or such.
>>
>> I'll check back with this in a little bit after I've done some testing.
>>
>> ------
>> Thomas
>> Ubuntu Member
>> Bug Squad Member
>>
>>
>> On Thu, Aug 29, 2013 at 7:56 AM, rohan dighe <rohandighe18 at gmail.com>wrote:
>>
>>> Hi Team,
>>>
>>> I am working on setting up a gpg key server on ubuntu server,but facing
>>> some issue as the init script of sks has some bug.when I set up the gpg key
>>> server and starts sks service
>>>
>>> I get the below output on command prompt its shows service running but
>>> its actually not running and also I cant get the pid process of sks service
>>> showing running.
>>>
>>> root at tripwiretest: sks]# /etc/init.d/sks start
>>> Starting sks daemons: sksdb.. sksrecon.. done.
>>>
>>> The ubuntu showing the bug on this link.
>>>
>>> https://bugs.launchpad.net/ubuntu/+source/sks/+bug/820354
>>>
>>> I also followed the solution given on the link but with no success.
>>>
>>> As the sks comes from the ubuntu 12.04 repository do we have any
>>> permanent fix for the init script of sks.
>>>
>>> Please help me regarding the init script of sks.
>>>
>>> Thanks,
>>> Rohan
>>>
>>> --
>>> Ubuntu-bugsquad mailing list
>>> Ubuntu-bugsquad at lists.ubuntu.com
>>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugsquad
>>>
>>>
>>
> Using a properly configured 'sks' instance, I am unable to reproduce this
> bug, and using the init.d script correctly launches the two sks processes,
> one for the DB, one for recon.
>
> Also, the package 'sks' does not by default set up the key database or
> other items just by installing.  Did you actually configure 'sks' first
> before attempting to run it with the init script?
>
> ------
> Thomas
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-bugsquad/attachments/20130830/f54204b6/attachment.html>


More information about the Ubuntu-bugsquad mailing list