[SOLVED]DHCP server problem

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[SOLVED]DHCP server problem

Postby mackowiakp » Mar 16th, '15, 13:18

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
Linux is like wigwam. No Windows, no Gates but Apache inside

WARNING ! The administrator has the right to refuse to install WINDOWS, invoking the conscience clause
mackowiakp
 
Posts: 660
Joined: May 23rd, '13, 07:32
Location: Gdynia, Poland

Re: [SOLVED]DHCP server problem

Postby mackowiakp » Mar 16th, '15, 16:32

Finally I urpme/urpmi dhcp related packeges, and it works
Linux is like wigwam. No Windows, no Gates but Apache inside

WARNING ! The administrator has the right to refuse to install WINDOWS, invoking the conscience clause
mackowiakp
 
Posts: 660
Joined: May 23rd, '13, 07:32
Location: Gdynia, Poland

Re: [SOLVED]DHCP server problem

Postby doktor5000 » Mar 16th, '15, 21:35

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.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18059
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest