Tematy związane z oprogramowaniem, instalacją, konfiguracją
			
		
		
			
				
																			
								romel 							 
									
		Posty:  11  		Rejestracja:  10 kwietnia 2014, 09:20 		
		
						
						
		 
		
						
					
													
							
						
									
						Post 
					 
								autor: romel   »  24 lipca 2017, 10:24 
			
			
			
			
			
			Jak w temacie.
Po aktualizacji DHCP nie startuje. Ale jednak coś działa, bo przydziela IP.
Po próbie uruchomienia: 
dostaje komunikat:
Kod: Zaznacz cały 
● isc-dhcp-server.service - LSB: DHCP server
   Loaded: loaded (/etc/init.d/isc-dhcp-server; generated; vendor preset: enabled)
   Active: failed (Result: exit-code) since Mon 2017-07-24 10:19:18 CEST; 14s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 24613 ExecStart=/etc/init.d/isc-dhcp-server start (code=exited, status=1/FAILURE)
    Tasks: 1 (limit: 4915)
   CGroup: /system.slice/isc-dhcp-server.service
           └─1005 /usr/sbin/dhcpd -4 -q -cf /etc/dhcp/dhcpd.conf
lip 24 10:19:17 debian systemd[1]: Starting LSB: DHCP server...
lip 24 10:19:17 debian isc-dhcp-server[24613]: Launching both IPv4 and IPv6 servers (please configure INTERFACES in /etc/default/isc-dhcp-server if you only want one or the other).
lip 24 10:19:18 debian isc-dhcp-server[24613]: Starting ISC DHCPv4 server: dhcpddhcpd service already running (pid file /var/run/dhcpd.pid currenty exists) ... failed!
lip 24 10:19:18 debian systemd[1]: isc-dhcp-server.service: Control process exited, code=exited status=1
lip 24 10:19:18 debian systemd[1]: Failed to start LSB: DHCP server.
lip 24 10:19:18 debian systemd[1]: isc-dhcp-server.service: Unit entered failed state.
lip 24 10:19:18 debian systemd[1]: isc-dhcp-server.service: Failed with result 'exit-code'.
Z góry dzięki za pomoc.
 
			
			
													
					Ostatnio zmieniony 26 lipca 2017, 07:24 przez 
romel , łącznie zmieniany 1 raz.
									
 
			
						
										
						 
		 
				
		
		 
	 
				
		
		
			
				
								pawkrol 							 
						Moderator 			
		Posty:  939  		Rejestracja:  03 kwietnia 2011, 10:25 		
		
						
						
		 
		
						
					
													
							
						
									
						Post 
					 
								autor: pawkrol   »  24 lipca 2017, 13:10 
			
			
			
			
			
			Przecież działa 
Kod: Zaznacz cały 
lip 24 10:19:18 debian isc-dhcp-server[24613]: Starting ISC DHCPv4 server: dhcpddhcpd service already running (pid file /var/run/dhcpd.pid currenty exists) ... failed!
 
			
			
									
						
										
						 
		 
				
		
		 
	 
				
		
		
			
				
																			
								romel 							 
									
		Posty:  11  		Rejestracja:  10 kwietnia 2014, 09:20 		
		
						
						
		 
		
						
					
													
							
						
									
						Post 
					 
								autor: romel   »  24 lipca 2017, 13:42 
			
			
			
			
			
			No, tak i rzeczywiście przydziela IP, ale skąd w takim razie te komunikaty w Debianie 8 ich nie było. 
Zrobiłem restart dhcp i to samo wywala.
			
			
									
						
										
						 
		 
				
		
		 
	 
				
		
		
			
				
								lizard 							 
						Beginner 			
		Posty:  287  		Rejestracja:  08 lutego 2016, 18:47 		
		
						
						
		 
		
						
					
													
							
						
									
						Post 
					 
								autor: lizard   »  24 lipca 2017, 17:25 
			
			
			
			
			
			Zatrzymaj usługę dhcp (systemctl), ubij wszystkie procesy dhcpd (kill `pidof dhcpd`) i usuń plik /var/run/dhcpd.pid. Ustaw w /etc/default/isc-dhcp-server interfejsy, na których ma pracować dhcpd dla IPv4 i IPv6 (zmienne INTERFACESv4 i INTERFACESv6). Uruchom usługę jeszcze raz i ciesz się brakiem komunikatów. 
 
To wszystko można wywnioskować z komunikatów, jakie przedstawiłeś.
			
			
									
						
										
						 
		 
				
		
		 
	 
				
		
		
			
				
																			
								romel 							 
									
		Posty:  11  		Rejestracja:  10 kwietnia 2014, 09:20 		
		
						
						
		 
		
						
					
													
							
						
									
						Post 
					 
								autor: romel   »  25 lipca 2017, 12:57 
			
			
			
			
			
			Wielkie dzięki, pomogło, komunikaty zniknęły. 
Jeżeli można to mam jeszcze podobną sytuację z fail2ban, po aktualizacji do 9 wyrzuca komunikaty i nie chce startować, o pidach nie ma info w komunikatach. Co dziwne dałem restart fail2ban poprzez Webmina i jakby ruszył, ale po wpisaniu "systemctl status fail2ban.service" wywala komunikaty:
Kod: Zaznacz cały 
● fail2ban.service - Fail2Ban Service
   Loaded: loaded (/lib/systemd/system/fail2ban.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Tue 2017-07-25 12:52:44 CEST; 2min 33s ago
     Docs: man:fail2ban(1)
  Process: 32459 ExecStart=/usr/bin/fail2ban-client -x start (code=exited, status=255)
lip 25 12:52:44 debian systemd[1]: fail2ban.service: Control process exited, code=exited status=255
lip 25 12:52:44 debian systemd[1]: Failed to start Fail2Ban Service.
lip 25 12:52:44 debian systemd[1]: fail2ban.service: Unit entered failed state.
lip 25 12:52:44 debian systemd[1]: fail2ban.service: Failed with result 'exit-code'.
lip 25 12:52:44 debian systemd[1]: fail2ban.service: Service hold-off time over, scheduling restart.
lip 25 12:52:44 debian systemd[1]: Stopped Fail2Ban Service.
lip 25 12:52:44 debian systemd[1]: fail2ban.service: Start request repeated too quickly.
lip 25 12:52:44 debian systemd[1]: Failed to start Fail2Ban Service.
lip 25 12:52:44 debian systemd[1]: fail2ban.service: Unit entered failed state.
lip 25 12:52:44 debian systemd[1]: fail2ban.service: Failed with result 'exit-code'.
Problem poruszyłem tu: 
viewtopic.php?f=18&t=34697&p=193383#p193383  
			
			
									
						
										
						 
		 
				
		
		 
	 
				
		
		
			
				
								marcin1982 							 
						Moderator 			
		Posty:  1732  		Rejestracja:  05 maja 2011, 12:59 		
		
											Lokalizacja:  Zagłębie Dąbrowskie 
							
						
		 
		
						
					
													
							
						
									
						Post 
					 
								autor: marcin1982   »  25 lipca 2017, 19:31 
			
			
			
			
			
			romel  
 
Proszę oznaczyć temat jako rozwiązany zgodnie z regulaminem forum.