Page 1 of 1

[SOLVED]DHCP server problem

PostPosted: Mar 16th, '15, 13:18
by mackowiakp
Both Apache and DHCP servers does not want to start (I wrote about HTTP in other post)

So my logs from dhcpd server start:

Code: Select all
[root@mackowiak BACK-30GB]# service dhcpd start           
Redirecting to /bin/systemctl start dhcpd.service
Job for dhcpd.service failed. See 'systemctl status dhcpd.service' and 'journalctl -xn' for details.
[root@mackowiak BACK-30GB]# systemctl status dhcpd.service
dhcpd.service - DHCPv4 Server Daemon
   Loaded: loaded (/usr/lib/systemd/system/dhcpd.service; enabled)
   Active: failed (Result: exit-code) since pon 2015-03-16 11:41:25 CET; 11s ago
  Process: 12225 ExecStart=/usr/sbin/dhcpd -pf /run/dhcpd/dhcpd.pid -cf $CONFIGFILE -lf $LEASEFILE $OPTIONS $INTERFACES (code=exited, status=1/FAILURE)

mar 16 11:41:25 mackowiak.no-ip.org dhcpd[12225]: mailing list, please read the section on the README about
mar 16 11:41:25 mackowiak.no-ip.org dhcpd[12225]: submitting bug reports and requests for help.
mar 16 11:41:25 mackowiak.no-ip.org dhcpd[12225]: Please do not under any circumstances send requests for
mar 16 11:41:25 mackowiak.no-ip.org dhcpd[12225]: help directly to the authors of this software - please
mar 16 11:41:25 mackowiak.no-ip.org dhcpd[12225]: send them to the appropriate mailing list as described in
mar 16 11:41:25 mackowiak.no-ip.org dhcpd[12225]: the README file.
mar 16 11:41:25 mackowiak.no-ip.org dhcpd[12225]: exiting.
mar 16 11:41:25 mackowiak.no-ip.org systemd[1]: dhcpd.service: control process exited, code=exited status=1
mar 16 11:41:25 mackowiak.no-ip.org systemd[1]: Failed to start DHCPv4 Server Daemon.
mar 16 11:41:25 mackowiak.no-ip.org systemd[1]: Unit dhcpd.service entered failed state.
[root@mackowiak BACK-30GB]# journalctl -xn
-- Logs begin at nie 2015-02-08 08:56:43 CET, end at pon 2015-03-16 11:41:25 CET. --
mar 16 11:41:25 mackowiak.no-ip.org dhcpd[12225]: mailing list, please read the section on the README about
mar 16 11:41:25 mackowiak.no-ip.org dhcpd[12225]: submitting bug reports and requests for help.
mar 16 11:41:25 mackowiak.no-ip.org dhcpd[12225]: Please do not under any circumstances send requests for
mar 16 11:41:25 mackowiak.no-ip.org dhcpd[12225]: help directly to the authors of this software - please
mar 16 11:41:25 mackowiak.no-ip.org dhcpd[12225]: send them to the appropriate mailing list as described in
mar 16 11:41:25 mackowiak.no-ip.org dhcpd[12225]: the README file.
mar 16 11:41:25 mackowiak.no-ip.org dhcpd[12225]: exiting.
mar 16 11:41:25 mackowiak.no-ip.org systemd[1]: dhcpd.service: control process exited, code=exited status=1
mar 16 11:41:25 mackowiak.no-ip.org systemd[1]: Failed to start DHCPv4 Server Daemon.
mar 16 11:41:25 mackowiak.no-ip.org systemd[1]: Unit dhcpd.service entered failed state.


Can anybody help me? I will send any other logs ASAP.

My system is M4 32 bit.

[EDIT]

I wanted re-install dhcpd but VERY strange result I got:

Code: Select all
[root@mackowiak ~]# urpme dhcp
unknown packege: dhcp

Re: [SOLVED]DHCP server problem

PostPosted: Mar 16th, '15, 16:32
by mackowiakp
Finally I urpme/urpmi dhcp related packeges, and it works

Re: [SOLVED]DHCP server problem

PostPosted: Mar 16th, '15, 21:35
by doktor5000
mackowiakp wrote:[EDIT]

I wanted re-install dhcpd but VERY strange result I got:

Code: Select all
[root@mackowiak ~]# urpme dhcp
unknown packege: dhcp


That because there is no package called dhcp, simple as that.

Code: Select all
┌─[doktor5000@Mageia5]─[20:33:36]─[~]
└──╼ urpmf -f --name -m dhcp | sort -u
dhcpcd-6.7.1-1.mga5.i586:Core 32bit Release
dhcpcd-6.7.1-1.mga5.x86_64:Core Release
dhcp-client-4.3.2-1.mga5.i586:Core 32bit Release
dhcp-client-4.3.2-1.mga5.x86_64:Core Release
dhcp-common-4.3.2-1.mga5.i586:Core 32bit Release
dhcp-common-4.3.2-1.mga5.x86_64:Core Release
dhcp-devel-4.3.2-1.mga5.i586:Core 32bit Release
dhcp-devel-4.3.2-1.mga5.x86_64:Core Release
dhcp-doc-4.3.2-1.mga5.i586:Core 32bit Release
dhcp-doc-4.3.2-1.mga5.x86_64:Core Release
dhcp-forwarder-0.8-13.mga5.i586:Core 32bit Release
dhcp-forwarder-0.8-13.mga5.x86_64:Core Release
dhcping-1.2-17.mga5.i586:Core 32bit Release
dhcping-1.2-17.mga5.x86_64:Core Release
dhcp-relay-4.3.2-1.mga5.i586:Core 32bit Release
dhcp-relay-4.3.2-1.mga5.x86_64:Core Release
dhcp-server-4.3.2-1.mga5.i586:Core 32bit Release
dhcp-server-4.3.2-1.mga5.x86_64:Core Release
dhcpxd-1.0.3-31.mga5.i586:Core 32bit Release
dhcpxd-1.0.3-31.mga5.x86_64:Core Release
fusiondirectory-plugin-dhcp-1.0.8.1-5.mga5.noarch:Core 32bit Release
fusiondirectory-plugin-dhcp-1.0.8.1-5.mga5.noarch:Core Release
nagios-check_dhcp-2.0.3-5.mga5.i586:Core 32bit Release
nagios-check_dhcp-2.0.3-5.mga5.x86_64:Core Release
ppp-dhcp-2.4.7-6.mga5.i586:Core 32bit Release
ppp-dhcp-2.4.7-6.mga5.x86_64:Core Release


Apart from that,
Code: Select all
urpmi --replacepkgs --replacefiles dhcp-server
would have reinstalled it.