SearchSearch   ProfileProfile   Log inLog in   RegisterRegister 

DHCP service stops randomly?

 
Post new topic   Reply to topic    FirstSpot Forum Index -> Pre-sales Support Forum
View previous topic :: View next topic  
Author Message
Skjold



Joined: 15 Jun 2011
Posts: 16
Location: Denmark

PostPosted: Wed Jun 15, 2011 11:03 am    
Post subject: DHCP service stops randomly?

Hello everybody

I'am testing Firstspot using th trial version and almost everything is working okay. One major problem is that the DHCP service sometimes stops as a service? I have set Firstspot Dispatcher to start automatic with windows 7, and this service starts DHCP and redirecting servise as it should. However DHCP service sometimes stops as a service. I use windows 7 32 bit. Thanks in advance
Back to top
alan
Forum facilitator


Joined: 26 Sep 2003
Posts: 4381

PostPosted: Wed Jun 15, 2011 11:14 am    
Post subject:

This is not normal.

So you see the FirstSpot DHCP service actually stopped (without error?). Can you post your firstspot_DHCP_[timestamp].log under FirstSpot\log directory here?
_________________
~ Patronsoft Limited ~
Back to top
Skjold



Joined: 15 Jun 2011
Posts: 16
Location: Denmark

PostPosted: Wed Jun 15, 2011 11:23 am    
Post subject:

Yes, I can see after a restart all services running. Then after a while, I stop getting a IP when requesting one, and then under services I see the DHCP has stopped.



15/06/2011 12:55:43 ---> (CDhcpServer) DHCP Server started
15/06/2011 12:55:43 ---> (CDhcpServer) Adapter 0 with IP address 10.10.0.1 found
15/06/2011 12:55:43 ---> (CDhcpServer) Adapter 1 with IP address 192.168.1.25 found but not used
15/06/2011 12:55:43 ---> (CDhcpServer) Failover mode [0]
15/06/2011 12:55:43 ---> (CreateRandomIpList) Router[0], Added m_assigned_ip[10.10.0.1]
15/06/2011 12:55:43 ---> (CreateRandomIpList) Router[0], Added m_assigned_ip[10.10.0.2]
15/06/2011 12:55:43 ---> (CreateRandomIpList) Router[0], Added m_assigned_ip[10.10.0.3]
15/06/2011 12:55:43 ---> (CreateRandomIpList) Router[0], Added m_assigned_ip[10.10.0.4]
15/06/2011 12:55:43 ---> (CreateRandomIpList) Router[0], Added m_assigned_ip[10.10.0.5]
15/06/2011 12:55:43 ---> (CreateRandomIpList) Router[0], Added m_assigned_ip[10.10.0.6]
15/06/2011 12:55:43 ---> (CreateRandomIpList) Router[0], Added m_assigned_ip[10.10.0.7]
15/06/2011 12:55:43 ---> (CreateRandomIpList) Router[0], Added m_assigned_ip[10.10.0.8]
15/06/2011 12:55:43 ---> (CreateRandomIpList) Router[0], Added m_assigned_ip[10.10.0.9]
15/06/2011 12:55:43 ---> (CreateRandomIpList) Router[0], Added m_assigned_ip[10.10.0.10]
15/06/2011 12:55:43 ---> (CreateRandomIpList) Router[0], Added m_assigned_ip[10.10.0.11]
15/06/2011 12:55:43 ---> (CreateRandomIpList) Router[0], Added m_assigned_ip[10.10.0.12]
15/06/2011 12:55:43 ---> (CreateRandomIpList) Router[0], Added m_assigned_ip[10.10.0.13]
15/06/2011 12:55:43 ---> (CreateRandomIpList) Router[0], Added m_assigned_ip[10.10.0.14]
15/06/2011 12:55:43 ---> (CreateRandomIpList) Router[0], Added m_assigned_ip[10.10.0.15]
15/06/2011 12:55:43 ---> (CreateRandomIpList) Router No.[0], Pool Size [4095]
15/06/2011 12:55:43 ---> (CreateRandomIpList) Base [10.10.0.0]
15/06/2011 12:55:43 ---> (CreateRandomIpList) Gateway [10.10.0.1]
15/06/2011 12:55:43 ---> (CreateRandomIpList) Mask [255.255.240.0]
15/06/2011 12:55:43 ---> (CreateRandomIpList) New IP [10.10.0.0] == Base IP - ignored..
15/06/2011 12:55:43 ---> (CreateRandomIpList) New IP [10.10.0.1] == Router IP - ignored..
15/06/2011 12:55:43 ---> (CreateRandomIpList) IP [10.10.0.1] == m_routerinfo->m_assignedIP, ignored..
15/06/2011 12:55:43 ---> (CreateRandomIpList) IP [10.10.0.2] == m_routerinfo->m_assignedIP, ignored..
15/06/2011 12:55:43 ---> (CreateRandomIpList) IP [10.10.0.3] == m_routerinfo->m_assignedIP, ignored..
15/06/2011 12:55:43 ---> (CreateRandomIpList) IP [10.10.0.4] == m_routerinfo->m_assignedIP, ignored..
15/06/2011 12:55:43 ---> (CreateRandomIpList) IP [10.10.0.5] == m_routerinfo->m_assignedIP, ignored..
15/06/2011 12:55:43 ---> (CreateRandomIpList) IP [10.10.0.6] == m_routerinfo->m_assignedIP, ignored..
15/06/2011 12:55:43 ---> (CreateRandomIpList) IP [10.10.0.7] == m_routerinfo->m_assignedIP, ignored..
15/06/2011 12:55:43 ---> (CreateRandomIpList) IP [10.10.0.8] == m_routerinfo->m_assignedIP, ignored..
15/06/2011 12:55:43 ---> (CreateRandomIpList) IP [10.10.0.9] == m_routerinfo->m_assignedIP, ignored..
15/06/2011 12:55:43 ---> (CreateRandomIpList) IP [10.10.0.10] == m_routerinfo->m_assignedIP, ignored..
15/06/2011 12:55:43 ---> (CreateRandomIpList) IP [10.10.0.11] == m_routerinfo->m_assignedIP, ignored..
15/06/2011 12:55:43 ---> (CreateRandomIpList) IP [10.10.0.12] == m_routerinfo->m_assignedIP, ignored..
15/06/2011 12:55:43 ---> (CreateRandomIpList) IP [10.10.0.13] == m_routerinfo->m_assignedIP, ignored..
15/06/2011 12:55:43 ---> (CreateRandomIpList) IP [10.10.0.14] == m_routerinfo->m_assignedIP, ignored..
15/06/2011 12:55:43 ---> (CreateRandomIpList) IP [10.10.0.15] == m_routerinfo->m_assignedIP, ignored..
15/06/2011 12:55:43 ---> (CreateRandomIpList) Router No.[0], Final Free IP Pool Size [4049]
15/06/2011 12:55:43 ---> (SyncINI) MAC[D8-D3-85-9A-82-F7]
15/06/2011 12:55:43 ---> (SyncINI) remove free ip from list and add it to assigned [10.10.7.11]
15/06/2011 12:55:43 ---> (deleteSpecificNode) pop middle
15/06/2011 12:55:43 ---> (SyncINI) MAC[38-E7-D8-01-E4-CB]
15/06/2011 12:55:43 ---> (SyncINI) remove free ip from list and add it to assigned [10.10.3.128]
15/06/2011 12:55:43 ---> (deleteSpecificNode) pop middle
15/06/2011 12:55:43 ---> (SyncINI) MAC[00-26-C6-05-55-2A]
15/06/2011 12:55:43 ---> (SyncINI) remove free ip from list and add it to assigned [10.10.5.161]
15/06/2011 12:55:43 ---> (deleteSpecificNode) pop middle
15/06/2011 12:55:43 ---> (SyncINI) Total [3]
15/06/2011 12:55:53 ---> (Run) 0: request received [Wed Jun 15 12:55:53 2011]
15/06/2011 12:55:53 ---> (LookupClientData) Client [00-A0-C5-B5-E0-1F] not configured
15/06/2011 12:55:53 ---> (Run) 0: Message type [1], Host name [TACLAN-8]
15/06/2011 12:55:53 ---> (Run) 0: !bClientIsConfigured
15/06/2011 12:55:53 ---> (Delete Node) 0: next != NULL
15/06/2011 12:55:53 ---> (ObtainPoolIP) 0: Client has no requested address
15/06/2011 12:55:53 ---> (ObtainPoolIP) 0: Router[0], Auto config IP = 10.10.12.136, Order Type = 0
15/06/2011 12:55:54 ---> (LookupClientData) Client [00-A0-C5-B5-E0-1F] configured IP [10.10.12.136]
15/06/2011 12:55:54 ---> (ProcessRequest) 0: Response: offer the configured IP address
15/06/2011 12:55:54 ---> (PreparePositiveResponse) 0: Linux flag [0]
15/06/2011 12:55:54 ---> (ProcessRequest) 0: PreparePositiveResponse
15/06/2011 12:55:54 ---> (Run) 0: Sending a response to the client
15/06/2011 12:55:54 ---> (Run) 0: bc->sendto returns OK
15/06/2011 12:55:54 ---> (Run) 0: Finish..........
15/06/2011 12:55:54 ---> (Run) 1: request received [Wed Jun 15 12:55:54 2011]
15/06/2011 12:55:54 ---> (LookupClientData) Client [00-A0-C5-B5-E0-1F] configured IP [10.10.12.136]
15/06/2011 12:55:54 ---> (Run) 1: Message type [3], Host name [TACLAN-8]
15/06/2011 12:55:54 ---> (Run) 1: bClientIsConfigured
15/06/2011 12:55:54 ---> (Run) 1: requested_address [10.10.12.136]
15/06/2011 12:55:54 ---> (LookupClientData) Client [00-A0-C5-B5-E0-1F] configured IP [10.10.12.136]
15/06/2011 12:55:54 ---> (ProcessRequest) 1: Response: hand out the configured IP address
15/06/2011 12:55:54 ---> (PreparePositiveResponse) 1: Linux flag [0]
15/06/2011 12:55:54 ---> (ProcessRequest) 1: ipaddr==requested_address, PreparePositiveResponse
15/06/2011 12:55:54 ---> (Run) 1: Sending a response to the client
15/06/2011 12:55:54 ---> (Run) 1: bc->sendto returns OK
15/06/2011 12:55:54 ---> (Run) 1: Finish..........
15/06/2011 12:55:58 ---> (Run) 2: request received [Wed Jun 15 12:55:58 2011]
15/06/2011 12:55:58 ---> (LookupClientData) Client [00-A0-C5-B5-E0-1F] configured IP [10.10.12.136]
15/06/2011 12:55:58 ---> (Run) 2: Message type [3], Host name [TACLAN-8]
15/06/2011 12:55:58 ---> (Run) 2: bClientIsConfigured
15/06/2011 12:55:58 ---> (Run) 2: ciaddr [10.10.12.136]
15/06/2011 12:55:58 ---> (LookupClientData) Client [00-A0-C5-B5-E0-1F] configured IP [10.10.12.136]
15/06/2011 12:55:58 ---> (ProcessRequest) 2: Response: hand out the configured IP address
15/06/2011 12:55:58 ---> (PreparePositiveResponse) 2: Linux flag [0]
15/06/2011 12:55:58 ---> (ProcessRequest) 2: ipaddr==ciaddr, PreparePositiveResponse
15/06/2011 12:55:58 ---> (Run) 2: Sending a response to the client
15/06/2011 12:55:58 ---> (Run) 2: bc->sendto returns OK
15/06/2011 12:55:58 ---> (Run) 2: Finish..........
15/06/2011 13:06:30 ---> (Run) 3: request received [Wed Jun 15 13:06:30 2011]
15/06/2011 13:06:30 ---> (LookupClientData) Client [00-A0-C5-B5-E0-1F] configured IP [10.10.12.136]
15/06/2011 13:06:30 ---> (Run) 3: Message type [7], Host name []
15/06/2011 13:06:30 ---> (Run) 3: bClientIsConfigured
15/06/2011 13:06:31 ---> (Add Node) 3: Tail in pool!=NULL [10.10.15.254]
15/06/2011 13:06:31 ---> (Add Node) 3: New Tail!=NULL [10.10.12.136]
15/06/2011 13:06:31 ---> (Run) 3: DHCPRELEASE Router[0], Released IP [10.10.12.136]
15/06/2011 13:06:31 ---> (LookupClientData) Client [00-A0-C5-B5-E0-1F] configured IP [10.10.12.136]
15/06/2011 13:06:32 ---> (ProcessRequest) 3: DHCPRELEASE: mac[00-A0-C5-B5-E0-1F] entry deleted
15/06/2011 13:06:32 ---> (Run) 3: Finish..........
15/06/2011 13:19:53 ---> (StopDHCPServer) Close threads
15/06/2011 13:19:53 ---> (Run) 4: request received [Wed Jun 15 13:19:53 2011]
15/06/2011 13:19:53 ---> (CheckExpireThread) Service Shutting Down
15/06/2011 13:19:53 ---> (~CDhcpServer) DHCP Server terminated
15/06/2011 13:19:53 ---> (CDhcpServer) DHCP Server started
15/06/2011 13:19:53 ---> (CDhcpServer) Adapter 0 with IP address 192.168.1.25 found but not used
15/06/2011 13:19:53 ---> (CDhcpServer) Failover mode [0]
15/06/2011 13:19:53 ---> (CreateRandomIpList) Router[0], Added m_assigned_ip[10.10.0.1]
15/06/2011 13:19:53 ---> (CreateRandomIpList) Router[0], Added m_assigned_ip[10.10.0.2]
15/06/2011 13:19:53 ---> (CreateRandomIpList) Router[0], Added m_assigned_ip[10.10.0.3]
15/06/2011 13:19:53 ---> (CreateRandomIpList) Router[0], Added m_assigned_ip[10.10.0.4]
15/06/2011 13:19:53 ---> (CreateRandomIpList) Router[0], Added m_assigned_ip[10.10.0.5]
15/06/2011 13:19:53 ---> (CreateRandomIpList) Router[0], Added m_assigned_ip[10.10.0.6]
15/06/2011 13:19:53 ---> (CreateRandomIpList) Router[0], Added m_assigned_ip[10.10.0.7]
15/06/2011 13:19:53 ---> (CreateRandomIpList) Router[0], Added m_assigned_ip[10.10.0.8]
15/06/2011 13:19:53 ---> (CreateRandomIpList) Router[0], Added m_assigned_ip[10.10.0.9]
15/06/2011 13:19:53 ---> (CreateRandomIpList) Router[0], Added m_assigned_ip[10.10.0.10]
15/06/2011 13:19:53 ---> (CreateRandomIpList) Router[0], Added m_assigned_ip[10.10.0.11]
15/06/2011 13:19:53 ---> (CreateRandomIpList) Router[0], Added m_assigned_ip[10.10.0.12]
15/06/2011 13:19:53 ---> (CreateRandomIpList) Router[0], Added m_assigned_ip[10.10.0.13]
15/06/2011 13:19:53 ---> (CreateRandomIpList) Router[0], Added m_assigned_ip[10.10.0.14]
15/06/2011 13:19:53 ---> (CreateRandomIpList) Router[0], Added m_assigned_ip[10.10.0.15]
15/06/2011 13:19:53 ---> (CreateRandomIpList) Router No.[0], Pool Size [4095]
15/06/2011 13:19:53 ---> (CreateRandomIpList) Base [10.10.0.0]
15/06/2011 13:19:53 ---> (CreateRandomIpList) Gateway [10.10.0.1]
15/06/2011 13:19:53 ---> (CreateRandomIpList) Mask [255.255.240.0]
15/06/2011 13:19:53 ---> (CreateRandomIpList) New IP [10.10.0.0] == Base IP - ignored..
15/06/2011 13:19:53 ---> (CreateRandomIpList) New IP [10.10.0.1] == Router IP - ignored..
15/06/2011 13:19:53 ---> (CreateRandomIpList) IP [10.10.0.1] == m_routerinfo->m_assignedIP, ignored..
15/06/2011 13:19:53 ---> (CreateRandomIpList) IP [10.10.0.2] == m_routerinfo->m_assignedIP, ignored..
15/06/2011 13:19:53 ---> (CreateRandomIpList) IP [10.10.0.3] == m_routerinfo->m_assignedIP, ignored..
15/06/2011 13:19:53 ---> (CreateRandomIpList) IP [10.10.0.4] == m_routerinfo->m_assignedIP, ignored..
15/06/2011 13:19:53 ---> (CreateRandomIpList) IP [10.10.0.5] == m_routerinfo->m_assignedIP, ignored..
15/06/2011 13:19:53 ---> (CreateRandomIpList) IP [10.10.0.6] == m_routerinfo->m_assignedIP, ignored..
15/06/2011 13:19:53 ---> (CreateRandomIpList) IP [10.10.0.7] == m_routerinfo->m_assignedIP, ignored..
15/06/2011 13:19:53 ---> (CreateRandomIpList) IP [10.10.0.8] == m_routerinfo->m_assignedIP, ignored..
15/06/2011 13:19:53 ---> (CreateRandomIpList) IP [10.10.0.9] == m_routerinfo->m_assignedIP, ignored..
15/06/2011 13:19:53 ---> (CreateRandomIpList) IP [10.10.0.10] == m_routerinfo->m_assignedIP, ignored..
15/06/2011 13:19:53 ---> (CreateRandomIpList) IP [10.10.0.11] == m_routerinfo->m_assignedIP, ignored..
15/06/2011 13:19:53 ---> (CreateRandomIpList) IP [10.10.0.12] == m_routerinfo->m_assignedIP, ignored..
15/06/2011 13:19:53 ---> (CreateRandomIpList) IP [10.10.0.13] == m_routerinfo->m_assignedIP, ignored..
15/06/2011 13:19:53 ---> (CreateRandomIpList) IP [10.10.0.14] == m_routerinfo->m_assignedIP, ignored..
15/06/2011 13:19:53 ---> (CreateRandomIpList) IP [10.10.0.15] == m_routerinfo->m_assignedIP, ignored..
15/06/2011 13:19:53 ---> (CreateRandomIpList) Router No.[0], Final Free IP Pool Size [4049]
15/06/2011 13:19:53 ---> (SyncINI) MAC[D8-D3-85-9A-82-F7]
15/06/2011 13:19:53 ---> (SyncINI) remove free ip from list and add it to assigned [10.10.7.11]
15/06/2011 13:19:53 ---> (deleteSpecificNode) pop middle
15/06/2011 13:19:53 ---> (SyncINI) MAC[38-E7-D8-01-E4-CB]
15/06/2011 13:19:53 ---> (SyncINI) remove free ip from list and add it to assigned [10.10.3.128]
15/06/2011 13:19:53 ---> (deleteSpecificNode) pop middle
15/06/2011 13:19:53 ---> (SyncINI) MAC[00-26-C6-05-55-2A]
15/06/2011 13:19:53 ---> (SyncINI) remove free ip from list and add it to assigned [10.10.5.161]
15/06/2011 13:19:53 ---> (deleteSpecificNode) pop middle
15/06/2011 13:19:53 ---> (SyncINI) Total [3]
15/06/2011 13:19:56 ---> (StopDHCPServer) Close threads
15/06/2011 13:19:56 ---> (CheckExpireThread) Service Shutting Down
15/06/2011 13:19:56 ---> (~CDhcpServer) DHCP Server terminated
15/06/2011 13:19:56 ---> (CDhcpServer) DHCP Server started
15/06/2011 13:19:56 ---> (CDhcpServer) Adapter 0 with IP address 10.10.0.1 found
15/06/2011 13:19:56 ---> (CDhcpServer) Adapter 1 with IP address 192.168.1.25 found but not used
Back to top
alan
Forum facilitator


Joined: 26 Sep 2003
Posts: 4381

PostPosted: Wed Jun 15, 2011 11:37 am    
Post subject:

This log looks normal. Your problematic old log should be in FirstSpot\log\archive directory. Please zip the whole directory and then email to firstspot@patronsoft.com.

BTW, any abnormal error message Windows Event Viewer (Application Log)?
_________________
~ Patronsoft Limited ~
Back to top
Skjold



Joined: 15 Jun 2011
Posts: 16
Location: Denmark

PostPosted: Sat Jun 18, 2011 6:45 am    
Post subject:

Hey Alan

Yes, eventviewer told me that the dhcp allokator was disabled because the IP used on the NIC wasn't in the same range as the default ICS which was enabled by windows 7 when it registrered 2 NIC's. So I changed the IP under REGEDIT.

It now works perfectly Smile and thanks for pointing me in the right direction.
Back to top
Crusher



Joined: 13 Mar 2008
Posts: 62

PostPosted: Tue Aug 09, 2011 4:27 am    
Post subject:

Can you elaborate a bit on what you did to resolve this problem? I just installed FS on a new machine and I am now getting the same problem that you describe. The error message is:

Log Name: System
Source: Microsoft-Windows-SharedAccess_NAT
Date: 07/08/2011 8:27:59 PM
Event ID: 30013
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: Murray-PC
Description:
The DHCP allocator has disabled itself on IP address 10.20.7.1, since the IP address is outside the 192.168.137.0/255.255.255.0 scope from which addresses are being allocated to DHCP clients. To enable the DHCP allocator on this IP address, change the scope to include the IP address, or change the IP address to fall within the scope.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-SharedAccess_NAT" Guid="{A6F32731-9A38-4159-A220-3D9B7FC5FE5D}" EventSourceName="ipnathlp" />
<EventID Qualifiers="0">30013</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2011-08-08T00:27:59.000000000Z" />
<EventRecordID>4922</EventRecordID>
<Correlation />
<Execution ProcessID="0" ThreadID="0" />
<Channel>System</Channel>
<Computer>Murray-PC</Computer>
<Security />
</System>
<EventData Name="IP_AUTO_DHCP_LOG_NON_SCOPE_ADDRESS">
<Data Name="param1">10.20.7.1</Data>
<Data Name="param2">192.168.137.0</Data>
<Data Name="param3">255.255.255.0</Data>
</EventData>
</Event>
Back to top
Skjold



Joined: 15 Jun 2011
Posts: 16
Location: Denmark

PostPosted: Tue Aug 09, 2011 6:04 am    
Post subject:

I think it was here:
Hkey_Local_Machine\System\CurrentControlSet\Services\ICSharing\Settings\General

Look for the default ICS IP and change it to the one you want.
Back to top
Crusher



Joined: 13 Mar 2008
Posts: 62

PostPosted: Tue Aug 09, 2011 3:51 pm    
Post subject:

Thanks for the quick response. I looked for that but I don't have that key at all. I do have the 192.168.137.1 IP address showing up in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\SharedAccess\Parameters It is shown as ScopeAddress and as ScopeAddressBackup.

I tried changing those to 10.20.7.1 and rebooted and restarted FS but am getting the same error message. I can't seem to find where this 192.168.137.1 address is coming from, as it does not appear anywhere else in the Registry.

Any further help would be greatly appreciated!
Back to top
Crusher



Joined: 13 Mar 2008
Posts: 62

PostPosted: Tue Aug 09, 2011 4:09 pm    
Post subject:

Alan, since my machine seems to be insisting the 10.20.7.1 default address is outside the scope of the DHCP allocator, can I change the Visitor Network Interface IP to 192.168.137.1 in Dispatcher???? Will this cause other problems? Do you think this would get rid of the error message I keep getting along with the shutdown of the DHCP service???

Thanks for your help!!!
Back to top
Display posts from previous:   
Post new topic   Reply to topic    FirstSpot Forum Index -> Pre-sales Support Forum All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group