[Opendnssec-user] Nothing is running, bit still "pidfile /var/run/opendnssec/enforcerd.pid already exists"

Dick Visser visser at terena.org
Tue Feb 28 12:36:52 UTC 2012


Hi Siôn

I can touch the file allright as user opendnssec:


[visser at cajones ~]$ ls -ld /var/run/opendnssec/
drwxr-xr-x 2 opendnssec opendnssec 40 2012-02-28 13:35 /var/run/opendnssec/

[visser at cajones ~]$ sudo su -s /bin/bash opendnssec -c 'touch
/var/run/opendnssec/blah'

[visser at cajones ~]$ ls -la /var/run/opendnssec/blah
-rw-r--r-- 1 opendnssec opendnssec 0 2012-02-28 13:35 /var/run/opendnssec/blah


It does not matter if I run as root, do not drop privs, chmod 777
/var/run/opendnssec

Dick


On 28 February 2012 12:38, Siôn Lloyd <sion at nominet.org.uk> wrote:
> On 27/02/12 22:10, Dick Visser wrote:
>>
>> Have installed the ods packages from
>> https://launchpad.net/~pkg-opendnssec/+archive/ppa/ on my Ubuntu 10.04
>> box.
>> Install went smooth, but after initial config actually running it fails:
>>
>> Feb 27 23:02:57 cajones ods-enforcerd: opendnssec starting...
>> Feb 27 23:02:57 cajones ods-enforcerd: opendnssec Parent exiting...
>> Feb 27 23:02:57 cajones ods-enforcerd: opendnssec forked OK...
>> Feb 27 23:02:57 cajones ods-enforcerd: pidfile
>> /var/run/opendnssec/enforcerd.pid already exists. If no ods-enforcerd
>> process is running, a previous instance didn't shutdown cleanly,
>> please remove this file and try again.
>>
>> There is nothing in /var/run/opendnssec/ to begin with.
>> Also /var/lib/opendnssec/tmp is empty.
>>
>> Any dieas?
>>
>
> Could it be getting confused by permissions? Could you try:
>
> touch /var/run/opendnssec/blah.tmp
>
> as either the user that is running ods-control; or the user/group dropped to
> by the ods-enforcerd process (configured in conf.xml).
>
> If this is the issue then we will need to fix this misleading error message.
>
> Thank you.
>
> Sion
> _______________________________________________
> Opendnssec-user mailing list
> Opendnssec-user at lists.opendnssec.org
> https://lists.opendnssec.org/mailman/listinfo/opendnssec-user



-- 
Dick Visser
System & Networking Engineer
TERENA Secretariat
Singel 468 D, 1017 AW Amsterdam
The Netherlands



More information about the Opendnssec-user mailing list