Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

DHCP Issue

0 views
Skip to first unread message

chad

unread,
Aug 22, 2008, 11:55:21 AM8/22/08
to
Hello all, I'm new at Linux administration. Anyway, my dhcp keeps
needing to be restarted. Where is the first place I could look to find
out why?

Ivan Marsh

unread,
Aug 22, 2008, 12:05:42 PM8/22/08
to

/var/log/messages

--
I told you this was going to happen.

Davorin Vlahovic

unread,
Aug 22, 2008, 12:14:57 PM8/22/08
to

/var/log/messages
--
/dev/null

chad

unread,
Aug 22, 2008, 1:33:27 PM8/22/08
to
On Aug 22, 12:14 pm, Davorin Vlahovic <nr...@ylf.krs.ref.rh> wrote:

> On 2008-08-22, chad <cipher7...@gmail.com> wrote:
>
> > Hello all, I'm new at Linux administration. Anyway, my dhcp keeps
> > needing to be restarted. Where is the first place I could look to find
> > out why?
>
> /var/log/messages
> --
> /dev/null

Odd....from what I can tell in there it seems as if dhcpd is working
just fine. Is there a way to narrow the search, or look elsewhere? I'm
running this command: cat messages|grep dhcpd|more. Nothing dhcpd
related shows up in there stating that the service stopped for any
reason. Maybe I should broaden the search for dhcp without the "d"?

Ivan Marsh

unread,
Aug 22, 2008, 1:36:03 PM8/22/08
to

try: grep -i dhcp /var/log/messages

Davorin Vlahovic

unread,
Aug 22, 2008, 2:42:53 PM8/22/08
to
On 2008-08-22, chad <ciphe...@gmail.com> wrote:
> On Aug 22, 12:14 pm, Davorin Vlahovic <nr...@ylf.krs.ref.rh> wrote:
>> On 2008-08-22, chad <cipher7...@gmail.com> wrote:
>>
>> > Hello all, I'm new at Linux administration. Anyway, my dhcp keeps
>> > needing to be restarted. Where is the first place I could look to find
>> > out why?
>>
>> /var/log/messages
>
> Odd....from what I can tell in there it seems as if dhcpd is working
> just fine. Is there a way to narrow the search, or look elsewhere? I'm
> running this command: cat messages|grep dhcpd|more. Nothing dhcpd
> related shows up in there stating that the service stopped for any
> reason. Maybe I should broaden the search for dhcp without the "d"?

Well, you could also check /var/log/daemon.log and /var/log/syslog
--
/dev/null

chad

unread,
Aug 22, 2008, 5:08:52 PM8/22/08
to

There's no daemon.log in there, and no syslog in /var/log/syslog.
Odd...

noi ance

unread,
Aug 22, 2008, 6:15:23 PM8/22/08
to
On Fri, 22 Aug 2008 08:55:21 -0700, chad typed this message:

> Hello all, I'm new at Linux administration. Anyway, my dhcp keeps
> needing to be restarted. Where is the first place I could look to find
> out why?

Did you list the connection as a dialup? Problem with the connectors,
wiring or wireless connection?

More information would help.

chad

unread,
Aug 25, 2008, 8:46:01 AM8/25/08
to

The connected is ethernet. The machine is an Linux based Asterisk PBX.
It dynamically assigns IP addresses to the phone units. However, at
certain times throughout the week it just decides it doesn't want to
assign addresses via DHCP anymore. The logs don't seem to show any
errors. Now I'm not so sure if it's a DHCP with Asterisk problem, or
just Asterisk, or just DHCP. I'm new to all this, but I really want to
learn where to look to resolve the issue.

Thanks for the replies, btw.

noi ance

unread,
Aug 25, 2008, 1:50:38 PM8/25/08
to
On Mon, 25 Aug 2008 05:46:01 -0700, chad typed this message:

Hmmm, DHCP server. Does it stop around the same time each week? No power
failures or max cpu utlization? Could the number of leases exceed the
range because expired leases aren't reclaimed fast enough, ie, you run
out of leases. Could your system delete or lock the dhcp.lease files?

0 new messages