Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jun 2004 00:35:32 +0200
From:      Jonathan Weiss <tomonage2@gmx.de>
To:        Cyrille Lefevre <cyrille.lefevre@laposte.net>
Cc:        ports@FreeBSD.org
Subject:   Re: FreeBSD Port: isc-dhcp3-server-3.0.1.r14
Message-ID:  <BD07BB54.16F3C%tomonage2@gmx.de>
In-Reply-To: <003201c45e10$b3754030$7890a8c0@dyndns.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> "Jonathan Weiss" <tomonage2@gmx.de> wrote:
>>> do you have a dhcpd user and group ? if not, try the following
>>> command :
>>> 
>>>   /usr/local/etc/rc.d/isc-dhcpd.sh install
>> 
>> I would appreciate it, if you could document this in pkg-message as I
>> stumbled over the same issue 30minutes ago.
> 
> 
> this should be normaly executed at installation time, if not, there is
> an issue somewhere. this is for internal use only... that is the reason
> it is not documented.
> 
> PS: found the problem, pkg-install isn't called from the Makefile. I'll
> fix this right now. sorry.

Right now i am getting this in var/log/messages:

Jun 29 22:11:54 satan dhcpd: Can't create new lease file: Permission denied
Jun 29 23:11:53 satan kernel: pid 1315 (dhcpd), uid 1002: exited on signal
11

#satan:/usr/ports# ll /var/db/dhcpd*
 4 -rw-r--r--  1 root  wheel  2583 Jun 29 15:40 /var/db/dhcpd.leases
 6 -rw-r--r--  1 root  wheel  4503 Jun 29 15:15 /var/db/dhcpd.leases~

/var/db/dhcpd:
total 8
2 drwxr-xr-x  2 root  wheel   512 Jun 30 00:23 ./
2 drwxr-xr-x  9 root  wheel   512 Jun 29 15:15 ../
2 -rw-r--r--  1 root  wheel   914 Jun 30 00:23 dhcpd.leases
2 -rw-r--r--  1 root  wheel  1593 Jun 30 00:23 dhcpd.leases~


I used the startup-file with the install target to install the dhcpd user
and group. So it is the thase problem as reported with the Pid-file.

> Cyrille Lefevre.

Greets,
Jonathan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BD07BB54.16F3C%tomonage2>