[Linux-Tech]Etch to Lenny Dhcp3的问题

Debian lenny已经发行成为正式版了,版本号为5.0

今天早上我把其他一台服务器给升级了,感觉很多软件包都更新了(其中包括dhcp3-server).下午突然发现网络出现了问题,client无法获取到IP.


经检查发现另一台(etch)服务器的dhcp3给down掉了,不知道原因.而且起不起来,看syslog信息并没有报错,也没其他有用的日记.



Internet Systems Consortium DHCP Server V3.1.1

Copyright 2004-2008 Internet Systems Consortium.

All rights reserved.

For info, please visit http://www.isc.org/sw/dhcp/

WARNING: Host declarations are global. They are not limited to the scope you declared them in.

Wrote 0 deleted host decls to leases file.

Wrote 0 new dynamic host decls to leases file.

Wrote 15 leases to leases file.

Listening on LPF/eth0/00:19:d1:24:6c:75/localnets

Sending on LPF/eth0/00:19:d1:24:6c:75/localnets

Sending on Socket/fallback/fallback-net

failover peer dhcp-failover: I move from normal to startup




上面是dhcp3d输出的信息.google上没找到有价值的,很是奇怪!



因为我的环境是由两台server做dhcp failover,我不清楚为什么一台down了(etch这台),而更一台(已经升级为lenny)是可以运行的,这为什么还导致服务不能正常工作,当然可能是我的网络结构问题(还没有仔细研究这个问题).



log里的提示貌似没有问题,如果没有报错,应该不是软件本身的问题,而且长久以来都很正常.



试了一下把关于failover的配置去掉后,service可以起起来了,初步判断是由failover这部分造成的.



后经多次尝试,偶尔注意么了这么一段信息"no compatible 3"



貌似说dhcp3.1并不兼容3.0,看到这里自己也觉得有点不可能.不过不管怎么说,只能试试.



到lenny上show了一下dhcp3-server的信息



lenny#aptitude show dhcp3-server



发现的确是3.1.x的版本



etch#aptitude show dhcp3-server



Package: dhcp3-server

State: installed

Automatically installed: no

Version: 3.0.4-13

Priority: optional

Section: net

Maintainer: Eloy A. Paris

Uncompressed Size: 836k

Depends: debianutils (>= 2.8.2), dhcp3-common (= 3.0.4-13), libc6 (>= 2.3.6-6), debconf (>= 0.5) | debconf-2.0

Conflicts: dhcp

Provided by: udhcpd

Description: DHCP server for automatic IP address assignment

This is the DHCP server from version 3 of the Internet Software Consortium DHCP package. For more information visit the ISC web

site at http://www.isc.org. 



Dynamic Host Configuration Protocol (DHCP) is a protocol like BOOTP (actually dhcpd includes much of the functionality of BOOTPD!).

It assigns IP addresses to clients based on lease times. DHCP is used extensively by Microsoft and more recently also by Apple. It

is probably essential in any multi-platform environment. 



Multiple Ethernet Interfaces are supported by this DHCP package.



Tags: interface::daemon, network::configuration, network::server, protocol::dhcp, protocol::ip, role::program, use::configuring



etch上的确是3.0,虽然很不愿意相信,但也得试试.



同样把现在的etch的sources.list改成lenny



etch#aptitude update && aptitude install dhcp3-server



后经升级dhcp3-server升级为3.1.x后,服务正常.问题解决.



很郁闷,花了我这么多时间原来只是版本不兼容造成的.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值