Wide-dhcp6-server installation

Issues related to applications and software problems
badboy
Posts: 9
Joined: 2011/08/05 03:42:55

Wide-dhcp6-server installation

Post by badboy » 2011/08/05 04:34:29

hi there, am new to centos
i installed wide-dhcp6-server by typing:


#yum install wide-dhcp6-server
Loaded plugins: fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
* base: centos.ipserverone.com
* extras: centos.ipserverone.com
* updates: centos.ipserverone.com
base | 3.7 kB 00:00
extras | 951 B 00:00
updates | 3.5 kB 00:01
Setting up Install Process
No package wide-dhcp6-server available.
Error: Nothing to do

how do i install it?
i also downloaded wide-dhcpv6-server_20070507-4_i386.deb
but some of them said there's no way to download deb package because its own to debian

Thanks :-)

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Wide-dhcp6-server installation

Post by pschaff » 2011/08/05 14:54:45

Welcome to the CentOS fora. Please see the recommended reading for new users linked in my signature, particularly [url=http://www.centos.org/modules/newbb/viewtopic.php?topic_id=14408&forum=47]Installing Software[/url] and [url=http://wiki.centos.org/AdditionalResources/Repositories]Repositories[/url].

Installing packages meant for other distros (even closely related ones that use RPM packages, such a Fedora) is never recommended.

See the [url=http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/s1-dhcp_for_ipv6_dhcpv6.html]upstream deployment guide[/url] - all that should be required is[code]yum install dhcp[/code]and proper configuration.

badboy
Posts: 9
Joined: 2011/08/05 03:42:55

Re: Wide-dhcp6-server installation

Post by badboy » 2011/08/05 16:16:50

hi, i cudnt find dhcpd6.conf packet on /etc/dhcp/dhcpd6.conf.

[root@ip6 /]# cd /etc/dhcp
[root@ip6 dhcp]# ls
dhclient.d

there's no dhcp6 packet on /usr/share/doc/

so there is no way to start the service:
# service dhcp6 start
dhcp6: unrecognized service

what shud i do?

regards xD

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: Wide-dhcp6-server installation

Post by pschaff » 2011/08/05 20:25:37

0. Spell correctly and don't abbreviate.
1. Read the documentation link provided.
2. Install.[code]yum install dhcp[/code]
3. Set up the service in /etc/dhcp/dhcpd6.conf per the documentation.
5. Enable the service at boot.[code]chkconfig dhcpd6 on[/code]
6. Start the service.[code]service dhcpd6 start[/code]
7. Test and fix as necessary.
8. Reply [SOLVED] as per [url=http://www.centos.org/modules/newbb/viewtopic.php?topic_id=28726&forum=54]Readme First[/url]. :-)

badboy
Posts: 9
Joined: 2011/08/05 03:42:55

Re: Wide-dhcp6-server installation

Post by badboy » 2011/08/06 03:31:09

hi, i did some steps:

1. yum install dhcp
2. set the service in /etc/dhcp/dhcpd6.conf

[code]
option domain-name-server 2001:470:35:270::1;
option domain-name "ipv6.badboy.com";

interface eth1 {
address-pool-pool1 3600;
};

pool pool1 {
range 2001:470:35:270::1000 to 2001:470:35:270::2000;
};
[/code]
3. enable the service:

[code]
[root@ip6 dhcp]# chkconfig dhcpd6 on
[/code]
4. start the service:

[code]
[root@ip6 dhcp]# service dhcpd6 start
Starting dhcpd (DHCPv6): [FAILED]
[/code]
it still FAILED!! :-(

[Moderator edited to insert [i]code[/i] tags so as to preserve the format.]

User avatar
TrevorH
Site Admin
Posts: 33191
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Wide-dhcp6-server installation

Post by TrevorH » 2011/08/06 11:17:05

There are presumably error messages in a log file - look in /var/log/messages and see if they are self explanatory or post them if you need help.

badboy
Posts: 9
Joined: 2011/08/05 03:42:55

Re: Wide-dhcp6-server installation

Post by badboy » 2011/08/07 11:49:00

the var/log/messages content is:

Aug 7 03:48:01 ip6 kernel: imklog 4.6.2, log source = /proc/kmsg started.
Aug 7 03:48:01 ip6 rsyslogd: [origin software="rsyslogd" swVersion="4.6.2" x-p$

what is it mean?

User avatar
TrevorH
Site Admin
Posts: 33191
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Wide-dhcp6-server installation

Post by TrevorH » 2011/08/07 11:52:26

If that's your entire /var/log/messages content then it probably means that it's been rotated and you should look in /var/log/messages.-YYYYMMDD instead.

badboy
Posts: 9
Joined: 2011/08/05 03:42:55

Re: Wide-dhcp6-server installation

Post by badboy » 2011/08/07 16:16:19

there are 3 types of messages:

1. messages: already mentioned before.

2. messages-20110731. Here are the latest message contents:

Jul 29 08:25:11 ip6 NetworkManager[1288]: Activation (eth1) starting connection 'System eth1'
Jul 29 08:25:11 ip6 NetworkManager[1288]: (eth1): device state change: 3 -> 4 (reason 0)
Jul 29 08:25:11 ip6 NetworkManager[1288]: Activation (eth1) Stage 1 of 5 (Device Prepare) scheduled...
Jul 29 08:25:11 ip6 NetworkManager[1288]: Activation (eth1) Stage 1 of 5 (Device Prepare) started...
Jul 29 08:25:11 ip6 NetworkManager[1288]: Activation (eth1) Stage 2 of 5 (Device Configure) scheduled...
Jul 29 08:25:11 ip6 NetworkManager[1288]: Activation (eth1) Stage 1 of 5 (Device Prepare) complete.
Jul 29 08:25:11 ip6 NetworkManager[1288]: Activation (eth1) Stage 2 of 5 (Device Configure) starting...
Jul 29 08:25:11 ip6 NetworkManager[1288]: (eth1): device state change: 4 -> 5 (reason 0)
Jul 29 08:25:11 ip6 NetworkManager[1288]: Activation (eth1) Stage 2 of 5 (Device Configure) successful.
Jul 29 08:25:11 ip6 NetworkManager[1288]: Activation (eth1) Stage 3 of 5 (IP Configure Start) scheduled.
Jul 29 08:25:11 ip6 NetworkManager[1288]: Activation (eth1) Stage 2 of 5 (Device Configure) complete.
Jul 29 08:25:11 ip6 NetworkManager[1288]: Activation (eth1) Stage 3 of 5 (IP Configure Start) started...
Jul 29 08:25:11 ip6 NetworkManager[1288]: (eth1): device state change: 5 -> 7 (reason 0)
Jul 29 08:25:11 ip6 NetworkManager[1288]: Activation (eth1) Stage 4 of 5 (IP4 Configure Get) scheduled...
Jul 29 08:25:11 ip6 NetworkManager[1288]: Activation (eth1) Stage 3 of 5 (IP Configure Start) complete.
Jul 29 08:25:11 ip6 NetworkManager[1288]: Activation (eth1) Stage 4 of 5 (IP4 Configure Get) started...
Jul 29 08:25:11 ip6 NetworkManager[1288]: Activation (eth1) Stage 5 of 5 (IP Configure Commit) scheduled...
Jul 29 08:25:11 ip6 NetworkManager[1288]: Activation (eth1) Stage 4 of 5 (IP4 Configure Get) complete.
Jul 29 08:25:11 ip6 NetworkManager[1288]: Activation (eth1) Stage 5 of 5 (IP Configure Commit) started...
Jul 29 08:25:11 ip6 avahi-daemon[1302]: Joining mDNS multicast group on interface eth1.IPv4 with address 202.47.88.67.
Jul 29 08:25:11 ip6 avahi-daemon[1302]: New relevant interface eth1.IPv4 for mDNS.
Jul 29 08:25:11 ip6 avahi-daemon[1302]: Registering new address record for 202.47.88.67 on eth1.IPv4.
Jul 29 08:25:12 ip6 NetworkManager[1288]: (eth1): device state change: 7 -> 8 (reason 0)
Jul 29 08:25:12 ip6 NetworkManager[1288]: Policy set 'System eth1' (eth1) as default for IPv4 routing and DNS.
Jul 29 08:25:12 ip6 NetworkManager[1288]: Updating /etc/hosts with new system hostname
Jul 29 08:25:12 ip6 NetworkManager[1288]: Activation (eth1) successful, device activated.
Jul 29 08:25:12 ip6 NetworkManager[1288]: Activation (eth1) Stage 5 of 5 (IP Configure Commit) complete.
Jul 29 08:25:12 ip6 nm-dispatcher.action: nm_dispatcher_action: Invalid connection: '(null)' / 'connection setting not found$
Jul 29 08:26:49 ip6 NetworkManager[1288]: ifcfg-rh: updating /etc/sysconfig/network-scripts/ifcfg-eth1
Jul 29 08:26:50 ip6 NetworkManager[1288]: ifcfg-rh: updating /etc/sysconfig/network-scripts/ifcfg-eth1
Jul 29 11:11:17 ip6 kernel: eth1: link down
Jul 29 11:11:17 ip6 NetworkManager[1288]: (eth1): carrier now OFF (device state 8, deferring action for 4 seconds)
Jul 29 11:11:21 ip6 NetworkManager[1288]: (eth1): device state change: 8 -> 2 (reason 40)
Jul 29 11:11:21 ip6 NetworkManager[1288]: (eth1): deactivating device (reason: 40).
Jul 29 11:11:22 ip6 avahi-daemon[1302]: Withdrawing address record for 202.47.88.67 on eth1.
Jul 29 11:11:22 ip6 avahi-daemon[1302]: Leaving mDNS multicast group on interface eth1.IPv4 with address 202.47.88.67.
Jul 29 11:11:22 ip6 avahi-daemon[1302]: Interface eth1.IPv4 no longer relevant for mDNS.
Jul 31 03:08:01 ip6 rsyslogd: [origin software="rsyslogd" swVersion="4.6.2" x-pid="1196" x-info="http://www.rsyslog.com"] rs$
Jul 31 03:08:01 ip6 kernel: Kernel logging (proc) stopped.

3. messages-20110807. here are the message contents:

Aug 2 13:28:31 ip6 yum: Installed: glibc-headers-2.12-1.7.el6_0.5.i686
Aug 2 13:28:32 ip6 yum: Installed: glibc-devel-2.12-1.7.el6_0.5.i686
Aug 2 13:28:34 ip6 yum: Installed: gcc-4.4.4-13.el6.i686
Aug 2 14:28:45 ip6 kernel: IPv6 over IPv4 tunneling driver
Aug 2 14:28:45 ip6 kernel: sit0: Disabled Privacy Extensions
Aug 2 14:28:45 ip6 kernel: he-ipv6: Disabled Privacy Extensions
Aug 2 15:19:25 ip6 kernel: [drm] nouveau 0000:01:00.0: nouveau_channel_free: freeing fifo 2
Aug 2 15:19:26 ip6 kernel: [drm] nouveau 0000:01:00.0: Allocating FIFO number 2
Aug 2 15:19:26 ip6 kernel: [drm] nouveau 0000:01:00.0: nouveau_channel_alloc: initialised FIFO 2
Aug 2 15:19:26 ip6 NetworkManager[1288]: [1312273166.338363] [nm-manager.c:1312] user_proxy_init(): could not init $
Aug 2 15:19:26 ip6 NetworkManager[1288]: [1312273166.341427] [nm-manager.c:1312] user_proxy_init(): could not init $
Aug 2 15:19:27 ip6 gdm-simple-greeter[9380]: Gtk-WARNING: gtkwidget.c:5460: widget not within a GtkWindowAug 4 16:53:02 ip6 kernel: sit1: Disabled Privacy Extensions
Aug 4 22:45:10 ip6 yum: Installed: radvd-1.6-1.el6.i686
Aug 6 08:59:51 ip6 yum: Installed: 12:dhcp-4.1.1-12.P1.el6_0.4.i686
Aug 6 10:15:53 ip6 dhcpd: Internet Systems Consortium DHCP Server 4.1.1-P1
Aug 6 10:15:53 ip6 dhcpd: Copyright 2004-2010 Internet Systems Consortium.
Aug 6 10:15:53 ip6 dhcpd: All rights reserved.
Aug 6 10:15:53 ip6 dhcpd: For info, please visit https://www.isc.org/software/dhcp/
Aug 6 10:15:53 ip6 dhcpd: /etc/dhcp/dhcpd6.conf line 7: unknown option dhcp.domain-name-server
Aug 6 10:15:53 ip6 dhcpd: option domain-name-server 2001:
Aug 6 10:15:53 ip6 dhcpd: ^
Aug 6 10:15:53 ip6 dhcpd: /etc/dhcp/dhcpd6.conf line 8: expecting a parameter or declaration
Aug 6 10:15:53 ip6 dhcpd:Aug 6 10:15:53 ip6 dhcpd: ^
Aug 6 10:15:53 ip6 dhcpd: /etc/dhcp/dhcpd6.conf line 12: expecting a parameter or declaration
Aug 6 10:15:53 ip6 dhcpd: };
Aug 6 10:15:53 ip6 dhcpd: ^
Aug 6 10:15:53 ip6 dhcpd: /etc/dhcp/dhcpd6.conf line 14: pool declared outside of network
Aug 6 10:15:53 ip6 dhcpd: pool
Aug 6 10:15:53 ip6 dhcpd: ^
Aug 6 10:15:53 ip6 dhcpd: /etc/dhcp/dhcpd6.conf line 16: expecting a parameter or declaration
Aug 6 10:15:53 ip6 dhcpd: };
Aug 6 10:15:53 ip6 dhcpd: ^
Aug 6 10:15:53 ip6 dhcpd: Configuration file errors encountered -- exiting
Aug 6 10:15:53 ip6 dhcpd:
Aug 6 10:15:53 ip6 dhcpd: This version of ISC DHCP is based on the release available
Aug 6 10:15:53 ip6 dhcpd: on ftp.isc.org. Features have been added and other changes
Aug 6 10:15:53 ip6 dhcpd: have been made to the base software release in order to make
Aug 6 10:15:53 ip6 dhcpd: it work better with this distribution.
Aug 6 10:15:53 ip6 dhcpd:
Aug 6 10:15:53 ip6 dhcpd: Please report for this software via the Red Hat Bugzilla site:
Aug 6 10:15:53 ip6 dhcpd: http://bugzilla.redhat.com
Aug 6 10:15:53 ip6 dhcpd:
Aug 6 10:15:53 ip6 dhcpd: exiting.
Aug 7 03:48:01 ip6 rsyslogd: [origin software="rsyslogd" swVersion="4.6.2" x-pid="1196" x-info="http://www.rsyslog.com"] rs$
Aug 7 03:48:01 ip6 kernel: Kernel logging (proc) stopped.

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: Wide-dhcp6-server installation

Post by pschaff » 2011/08/07 17:30:00

The only relevant information there seems to be in #3 - complaints about syntax errors in your configuration. Try to use something closer to the [url=http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/s1-dhcp_for_ipv6_dhcpv6.html]upstream example[/url] which for one thing has no semicolon after the closing brace.

Post Reply