+ -
当前位置:首页 → 问答吧 → [求助]IP配置丢失问题

[求助]IP配置丢失问题

时间:2008-12-12

来源:互联网

我们有一个suse 10 sp1,昨天发现不能访问,后经本地登陆后发现,ip地址的配置丢失了,请问怎么会造成这种问题,如何处理?

作者: fanbin198161   发布时间: 2008-12-12

另发现问题出现之前,机器自动重启过一次。
是不是因为重启而造成配置丢失的,但是我们之前重启服务器的时候也没有出现这个问题。

作者: fanbin198161   发布时间: 2008-12-12

在线寻求答案

作者: fanbin198161   发布时间: 2008-12-15

重新配置IP地址,可行否?

作者: ggghai   发布时间: 2008-12-15

引用:
作者: ggghai
重新配置IP地址,可行否?
可以,重新配置就好了。
不过这个情况比较诡异,因为是生产系统,所以想要查清楚到底是什么原因。而且是莫名其妙的自动重启了。

作者: fanbin198161   发布时间: 2008-12-15

引用:
作者: fanbin198161
Dec 9 22:40:49 App1 zmd: ShutdownManager (WARN): Preparing to sleep...
Dec 9 22:40:49 App1 zmd: ShutdownManager (WARN): Going to sleep, waking up at 12/10/2008 21:30:49
Dec 9 22:40:52 App1 sshd[17388]: Did not receive identification string from 10.4.206.58
Dec 9 22:40:57 App1 sshd[17392]: Did not receive identification string from 10.4.206.58
Dec 9 22:41:02 App1 sshd[17396]: Did not receive identification string from 10.4.206.58
Dec 9 22:41:07 App1 sshd[17400]: Did not receive identification string from 10.4.206.58
Dec 9 22:41:12 App1 sshd[17404]: Did not receive identification string from 10.4.206.58
Dec 9 22:41:17 App1 sshd[17409]: Did not receive identification string from 10.4.206.58
Dec 9 22:41:22 App1 sshd[17413]: Did not receive identification string from 10.4.206.58
Dec 9 22:41:27 App1 sshd[17417]: Did not receive identification string from 10.4.206.58
Dec 9 22:41:32 App1 sshd[17421]: Did not receive identification string from 10.4.206.58
Dec 9 22:41:37 App1 sshd[17425]: Did not receive identification string from 10.4.206.58
Dec 9 22:41:42 App1 sshd[17429]: Did not receive identification string from 10.4.206.58
Dec 9 22:43:19 App1 syslog-ng[2879]: syslog-ng version 1.6.8 starting
Dec 9 22:43:20 App1 network: Starting the DHCP DBUS Daemon
Dec 9 22:43:20 App1 network: Starting the NetworkManagerDispatcher
Dec 9 22:43:20 App1 network: Starting the NetworkManager
Dec 9 22:43:20 App1 dhcdbd: Started up.
Dec 9 22:43:20 App1 network: If service network should wait until connection is established
Dec 9 22:43:20 App1 network: then set /etc/sysconfig/network/config:NM_ONLINE_TIMEOUT
Dec 9 22:43:21 App1 auditd[3078]: Init complete, auditd 1.2.9 listening for events
Dec 9 22:43:21 App1 xinetd[3221]: Reading included configuration file: /etc/xinetd.d/chargen [file=/etc/xinetd.conf] [line=26]
Dec 9 22:43:22 App1 xinetd[3221]: Reading included configuration file: /etc/xinetd.d/chargen-udp [file=/etc/xinetd.d/chargen-udp] [line=14]
Dec 9 22:43:22 App1 xinetd[3221]: Reading included configuration file: /etc/xinetd.d/cups-lpd [file=/etc/xinetd.d/cups-lpd] [line=15]
Dec 9 22:43:22 App1 xinetd[3221]: Reading included configuration file: /etc/xinetd.d/cvs [file=/etc/xinetd.d/cvs] [line=11]
Dec 9 22:43:22 App1 xinetd[3221]: Reading included configuration file: /etc/xinetd.d/daytime [file=/etc/xinetd.d/daytime] [line=16]
Dec 9 22:43:22 App1 xinetd[3221]: Reading included configuration file: /etc/xinetd.d/daytime-udp [file=/etc/xinetd.d/daytime-udp] [line=14]
Dec 9 22:43:22 App1 xinetd[3221]: Reading included configuration file: /etc/xinetd.d/echo [file=/etc/xinetd.d/echo] [line=15]
Dec 9 22:43:22 App1 xinetd[3221]: Reading included configuration file: /etc/xinetd.d/echo-udp [file=/etc/xinetd.d/echo-udp] [line=14]
Dec 9 22:43:22 App1 xinetd[3221]: Reading included configuration file: /etc/xinetd.d/fam [file=/etc/xinetd.d/fam] [line=15]
Dec 9 22:43:22 App1 xinetd[3221]: Reading included configuration file: /etc/xinetd.d/netstat [file=/etc/xinetd.d/netstat] [line=17]
Dec 9 22:43:22 App1 xinetd[3221]: Reading included configuration file: /etc/xinetd.d/rsync [file=/etc/xinetd.d/rsync] [line=16]
Dec 9 22:43:22 App1 xinetd[3221]: Reading included configuration file: /etc/xinetd.d/servers [file=/etc/xinetd.d/servers] [line=12]
Dec 9 22:43:22 App1 xinetd[3221]: Reading included configuration file: /etc/xinetd.d/services [file=/etc/xinetd.d/services] [line=14]
Dec 9 22:43:22 App1 xinetd[3221]: Reading included configuration file: /etc/xinetd.d/swat [file=/etc/xinetd.d/swat] [line=14]
Dec 9 22:43:22 App1 xinetd[3221]: Reading included configuration file: /etc/xinetd.d/systat [file=/etc/xinetd.d/systat] [line=12]
Dec 9 22:43:22 App1 xinetd[3221]: Reading included configuration file: /etc/xinetd.d/time [file=/etc/xinetd.d/time] [line=17]
Dec 9 22:43:22 App1 xinetd[3221]: Reading included configuration file: /etc/xinetd.d/time-udp [file=/etc/xinetd.d/time-udp] [line=15]
Dec 9 22:43:22 App1 xinetd[3221]: Reading included configuration file: /etc/xinetd.d/vnc [file=/etc/xinetd.d/vnc] [line=15]
Dec 9 22:43:22 App1 xinetd[3221]: removing chargen
Dec 9 22:43:22 App1 xinetd[3221]: removing chargen
Dec 9 22:43:22 App1 xinetd[3221]: removing printer
Dec 9 22:43:22 App1 xinetd[3221]: removing cvspserver
Dec 9 22:43:22 App1 xinetd[3221]: removing daytime
Dec 9 22:43:22 App1 xinetd[3221]: removing daytime
Dec 9 22:43:22 App1 xinetd[3221]: removing echo
Dec 9 22:43:22 App1 xinetd[3221]: removing echo
Dec 9 22:43:22 App1 xinetd[3221]: removing fam
Dec 9 22:43:22 App1 xinetd[3221]: removing netstat
Dec 9 22:43:22 App1 xinetd[3221]: removing rsync
Dec 9 22:43:22 App1 xinetd[3221]: removing servers
Dec 9 22:43:22 App1 xinetd[3221]: removing services
Dec 9 22:43:22 App1 xinetd[3221]: removing swat
Dec 9 22:43:22 App1 xinetd[3221]: removing systat
Dec 9 22:43:22 App1 xinetd[3221]: removing time
Dec 9 22:43:22 App1 xinetd[3221]: removing time
Dec 9 22:43:22 App1 xinetd[3221]: removing vnc2
Dec 9 22:43:22 App1 xinetd[3221]: removing vnc3
Dec 9 22:43:22 App1 xinetd[3221]: removing vnchttpd2
Dec 9 22:43:22 App1 xinetd[3221]: removing vnchttpd3
Dec 9 22:43:22 App1 xinetd[3221]: xinetd Version 2.3.14 started with libwrap loadavg options compiled in.
Dec 9 22:43:22 App1 xinetd[3221]: Started working: 2 available services
Dec 9 22:43:22 App1 sshd[3613]: Server listening on 0.0.0.0 port 22.
Dec 9 22:43:23 App1 rcpowersaved: CPU frequency scaling is not supported by your processor.
Dec 9 22:43:23 App1 rcpowersaved: enter 'CPUFREQ_ENABLED=no' in /etc/powersave/cpufreq to avoid this warning.
Dec 9 22:43:23 App1 rcpowersaved: Cannot load cpufreq governors - No cpufreq driver available
Dec 9 22:43:23 App1 rcpowersaved: s2ram does not know your machine. See 's2ram -i' for details. (127)
Dec 9 22:43:23 App1 rcpowersaved: Use SUSPEND2RAM_FORCE=yes to override this detection.
Dec 9 22:43:24 App1 syslog-ng[2879]: Changing permissions on special file /dev/xconsole
Dec 9 22:43:24 App1 syslog-ng[2879]: Changing permissions on special file /dev/tty10
Dec 9 22:43:24 App1 kernel: klogd 1.4.1, log source = /proc/kmsg started.
Dec 9 22:43:24 App1 kernel: ACPI: Power Button (FF) [PWRF]
Dec 9 22:43:24 App1 kernel: audit(1228833801.240:3): audit_pid=3078 old=0 by auid=4294967295
Dec 9 22:43:24 App1 kernel: IA-32 Microcode Update Driver: v1.14 <[email protected]>
Dec 9 22:43:24 App1 kernel: IA-32 Microcode Update Driver v1.14 unregistered
Dec 9 22:43:24 App1 kernel: bnx2: eth0: using MSI
Dec 9 22:43:24 App1 kernel: bnx2: eth1: using MSI
Dec 9 22:43:25 App1 /usr/sbin/cron[3886]: (CRON) STARTUP (V5.0)
Dec 9 22:43:35 App1 zmd: Daemon (WARN): Not starting remote web server
Dec 9 23:43:19 App1 syslog-ng[2879]: STATS: dropped 0
Dec 9 23:43:27 App1 zmd: ShutdownManager (WARN): Preparing to sleep...
Dec 9 23:43:27 App1 zmd: ShutdownManager (WARN): Going to sleep, waking up at 12/10/2008 22:33:27
Dec 10 00:43:20 App1 syslog-ng[2879]: STATS: dropped 0
Dec 10 01:43:20 App1 syslog-ng[2879]: STATS: dropped 0
这是机器重启的日志信息

作者: fanbin198161   发布时间: 2008-12-15

在grub的kernel行加上 CPUFREQ_ENABLED=no SUSPEND2RAM_FORCE=yes 试试,似乎休眠的问题

作者: ggghai   发布时间: 2008-12-15