DHCP always restarts

Mickerik
Posts: 27
Joined: Mon Sep 28, 2009 2:47 pm

DHCP always restarts

Postby Mickerik » Mon Sep 28, 2009 2:54 pm

Hi,
Even after unticking both monitor and boot start check boxes, and clicking the 'stop now' icon of the DHCP server in the control panel, the service is always running again after a restart, even though the checkboxes are still unticked.

I can't run the server 24/7, so the inbuilt DHCP isn't going to work for me. How can I kill it completely, since using two is going to cause a problem, isn't it?

User avatar
cpg
Administrator
Posts: 2618
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: DHCP always restarts

Postby cpg » Tue Sep 29, 2009 11:46 am

oh - this is a bug! can you file a bug in the bug tracker?
(same login credentials as here in the forums)

dhcpd is initated by hdactl, which ought to check if dhcp is not meant to be on!
thanks!
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

Mickerik
Posts: 27
Joined: Mon Sep 28, 2009 2:47 pm

Re: DHCP always restarts

Postby Mickerik » Tue Sep 29, 2009 6:28 pm


rockstrongo
Posts: 2
Joined: Sat Jan 23, 2010 10:20 am

Re: DHCP always restarts

Postby rockstrongo » Sat Jan 23, 2010 10:28 am

I am still having this same issue. DHCP still turns itself on, despite not being enabled in the check boxes. I want my smoothwall delving out IPs and DNS.. not the Amahi box, and it is causing me major grief. Was this fixed as indicated in the bug tracker??

I am running:
Platform: 5.1-1
Core: 3.1-3

User avatar
cpg
Administrator
Posts: 2618
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: DHCP always restarts

Postby cpg » Sat Jan 23, 2010 9:15 pm

You have to turn the service off and also turn off the monitor.

Here is the turn off dhcp page, explaining it in detail.

This is due to the levels of fault tolerance we have built in, so it's designed to be hard to be stopped permanently.
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

jOOc
Posts: 19
Joined: Sun Jan 17, 2010 3:24 am
Location: Sweden

Re: DHCP always restarts

Postby jOOc » Sun Jan 24, 2010 1:53 am

I wanted to test this out for myself but I dont have the option to turn of DHCP under apps->servers
Any thoughts on why it isn't showing up there? Advanced settings is turned on.

User avatar
cpg
Administrator
Posts: 2618
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: DHCP always restarts

Postby cpg » Sun Jan 24, 2010 2:50 am

how did you install?
standard or fedora first + then amahi?

i think the non-standard way does not create the servers area properly.

executing this may bring them up ...

/var/hda/platform/html/script/install-servers
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

jOOc
Posts: 19
Joined: Sun Jan 17, 2010 3:24 am
Location: Sweden

Re: DHCP always restarts

Postby jOOc » Sun Jan 24, 2010 2:56 am

how did you install?
standard or fedora first + then amahi?

i think the non-standard way does not create the servers area properly.

executing this may bring them up ...

/var/hda/platform/html/script/install-servers
Wow.. now I have a lot more in the server list :D Thank you...
By the way, I did install it the standard way and added Amahi repository during the install of Fedora 12.

/Jocke

rockstrongo
Posts: 2
Joined: Sat Jan 23, 2010 10:20 am

Re: DHCP always restarts

Postby rockstrongo » Sun Jan 24, 2010 1:09 pm

thanks for the replies... I did do a clean install following the recommended clean install of fedora, and adding the amahi package during install. I have also unchecked the montoring and restart at reboot. What stumps me is I can get the DNS service to stop and not restart via the monitoring service after I uncheck those two boxes.. but the DHCP service still restarts it self automatically.

Kind of stumped on this one. It almost seems like the monitor is still checking for the DHCP service to be running, despite the check box being unchecked for DHCP. It seems like this may still be a bug despite it being marked as 100% complete in the bug tracker?
Rock

User avatar
cpg
Administrator
Posts: 2618
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: DHCP always restarts

Postby cpg » Sun Jan 24, 2010 1:40 pm

there are two bugs here:

- jOOc could not see servers, though he installed normally (we have seen this occasionally - not sure why!?!?!)
- you (rockstrongo) cannot seem to stop it despite all the attempts

for the 1st one, if you jOOc could file a bug, it'd be great.

for rockstrongo, please reopen the bug and add details on it:

- check /var/log/monit to see if monit is the one restarting it
- attach the output of chkconf | grep dhcp
- check in /var/log/messages
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

Who is online

Users browsing this forum: No registered users and 52 guests