Send kea-dev mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.isc.org/mailman/listinfo/kea-dev
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of kea-dev digest..."
Today's Topics:
1. RE: Server hangs at startup - issue with lock file
(Chaigneau, Nicolas)
2. RE: Server hangs at startup - issue with lock file
(Jeremy C. Reed)
3. Re: Server hangs at startup - issue with lock file
(Tomek Mrugalski)
----------------------------------------------------------------------
Message: 1
Date: Fri, 5 Sep 2014 12:58:42 +0000
From: "Chaigneau, Nicolas" <[email protected]>
To: "Chaigneau, Nicolas" <[email protected]>, "Jeremy C.
Reed" <[email protected]>, "[email protected]" <[email protected]>
Subject: RE: Server hangs at startup - issue with lock file
Message-ID:
<ab94b0b675bdf14189cd5a861db36c8414182...@de-cm-mbx26.corp.capgemini.com>
Content-Type: text/plain; charset="iso-8859-1"
More information on this issue:
Still building with sources locally on the machine, I have tried to remove the
source directory (I moved it, actually).
Then when I try to start the server, it hangs trying to open the lock file
"logger_lockfile" in the (now) non-existent source directory.
The lock file shouldn't be opened in the source directory (which will not exist
on target deployment).
(note: I'm now using kea version 0.9 instead of 0.9-beta1)
Thanks for looking into this.
Regards,
Nicolas.
> -----Message d'origine-----
> De : [email protected] [mailto:[email protected]] De
> la part de Chaigneau, Nicolas
> Envoy? : mardi 2 septembre 2014 17:01
> ? : Jeremy C. Reed
> Cc : [email protected]
> Objet : RE: Server hangs at startup - issue with lock file and NFS ?
> I have followed the procedure described in
> http://kea.isc.org/docs/kea-guide.html
> I build as follows:
> LOG4CPLUS_HOME=/opt/application/mwpdhcp/products/log4cplus/1.2.0-rc2
> KEA_HOME=/opt/application/mwpdhcp/products/kea/0.9-beta1
> ./configure \
> --with-openssl \
> --prefix=$KEA_HOME \
> --with-log4cplus=$LOG4CPLUS_HOME \
> --with-dhcp-mysql
> make
> make install
> Then I start the server with:
> /opt/application/mwpdhcp/products/kea/0.9-beta1/sbin/kea-dhcp4 -c kea.conf -d
> Shouldn't the lock file be in "prefix", rather than the build directory ?
> Anyway, I've rebuilt with a local copy of the sources, instead of using a NFS.
> The server now starts correctly (well almost - my configuration is incorrect;
> but the server doesn't hang anymore).
> Regards,
> Nicolas.
> -----Message d'origine-----
> De : Jeremy C. Reed [mailto:[email protected]] Envoy? : mardi 2 septembre 2014
> 16:42 ? : Chaigneau, Nicolas Cc : [email protected] Objet : Re: Server
> hangs at startup - issue with lock file and NFS ?
> On Tue, 2 Sep 2014, Chaigneau, Nicolas wrote:
> > I'm working on a Linux RHEL6 (2.6.32-358.6.2.el6.x86_64) VM.
> > Googling a bit, I found other people had similar issues with fcntl:
> >
> > "fcntl system call hangs when using F_SETLK with NFS file"
> I cannot find any recent issue reports with locking on NFS. Anyone have
> recent links?
> Anyways, we should be able to have the same functionality for this without
> using the locking. In addition, maybe the routine is not needed with newer
> log4cplus.
> > I believe the lock file should not be created in the sources directory.
> That should only be for testing purposes. How did you run kea? (which should
> identify why it use the source directory) This message contains information
> that may be privileged or confidential and is the property of the Capgemini
> Group. It is intended only for the person to whom it is addressed. If you are
> not the intended recipient, you are not authorized to read, print, retain,
> copy, disseminate, distribute, or use this message or any part thereof. If
> you receive this message in error, please notify the sender immediately and
> delete all copies of this message.
------------------------------
Message: 2
Date: Fri, 5 Sep 2014 10:12:02 -0500 (CDT)
From: "Jeremy C. Reed" <[email protected]>
To: "Chaigneau, Nicolas" <[email protected]>
Cc: "[email protected]" <[email protected]>
Subject: RE: Server hangs at startup - issue with lock file
Message-ID: <[email protected]>
Content-Type: TEXT/PLAIN; charset=US-ASCII
On Fri, 5 Sep 2014, Chaigneau, Nicolas wrote:
> Still building with sources locally on the machine, I have tried to
> remove the source directory (I moved it, actually).
>
> Then when I try to start the server, it hangs trying to open the lock
> file "logger_lockfile" in the (now) non-existent source directory.
>
> The lock file shouldn't be opened in the source directory (which will
> not exist on target deployment).
I agree. But I cannot reproduce this. Can you please open a ticket on
our trac website? (https://kea.isc.org you will need to register first.)
Please provide a minimal sample configuration files you can use to
reproduce it. Thanks.
------------------------------
Message: 3
Date: Fri, 05 Sep 2014 18:49:04 +0200
From: Tomek Mrugalski <[email protected]>
To: [email protected]
Subject: Re: Server hangs at startup - issue with lock file
Message-ID: <[email protected]>
Content-Type: text/plain; charset=windows-1252
On 05.09.2014 17:12, Jeremy C. Reed wrote:
> On Fri, 5 Sep 2014, Chaigneau, Nicolas wrote:
>
>> Still building with sources locally on the machine, I have tried to
>> remove the source directory (I moved it, actually).
>>
>> Then when I try to start the server, it hangs trying to open the lock
>> file "logger_lockfile" in the (now) non-existent source directory.
>>
>> The lock file shouldn't be opened in the source directory (which will
>> not exist on target deployment).
>
> I agree. But I cannot reproduce this. Can you please open a ticket on
> our trac website? (https://kea.isc.org you will need to register first.)
> Please provide a minimal sample configuration files you can use to
> reproduce it. Thanks.
Hi Nicolas,
First, thanks a lot for testing Kea and reporting the issues you found.
I have created ticket #3591 for the issues with lock file and pointed
out to this thread. Feel free to comment on it or add any extra details.
I'll look at it next week and will see what can be done about it.
Will you be willing to test a proposed fix once we have it? It will be
available in our git repository.
Thanks,
Tomek Mrugalski
------------------------------
_______________________________________________
kea-dev mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/kea-dev
End of kea-dev Digest, Vol 6, Issue 2
*************************************