我们在Hyper上有一个Ubuntu,在它上我们安装了一个LAMP服务器,并且可以从内部网访问一个内部域。
每天我们必须重新启动它,因为到服务器的连接会下降。
当我们登录到VM时,网络被关闭了,根本没有互联网。
我看到了日志,凌晨2点发生了一些事情
以下是更多信息:
Linux桌面2.6.32-38-通用#83-Ubuntu Jan 4 11:13:04 UTC 2012 i686 GNU/Linux
cat /etc/网络/接口
自动显示输入回环自动seth0 i面seth0 inet
cat /etc/dhcp3 3/dhclient.conf
选项ntp 3442-无类-静态-路由代码121 =无符号整数8的数组;发送主机名"";请求子网掩码、广播地址、时间偏移、路由器、域名、域名服务器、域搜索、主机名、netbios名称-服务器、netbios-范围、接口-mtu、ntp 3442-无类静态路由、ntp-服务器;
ifconfig
eth2链接附件:以太网HWaddr 00:15:5d:01:05:16 inet6 :192.168.1.103 Bcast:192.168.1.255掩码:255.255.255.0 inet6 addr: fe80:215:5dff:fe01:516/64作用域:连接广播运行的组播MTU:1500度量:1 RX数据包:245080错误:0删除:0溢出:0帧:0 TX数据包:26105错误:0丢弃:0溢出:0载体:0冲突:0 txqueuelen:1,000个RX字节:30436098(30.4MB) TX字节:7172154(7.1MB) lo Link encap:本地回环inet6 :127.0.0.1掩码:255.0.0.0 inet6 addr: 1/128作用域:运行MTU:16436 Metric:1 RX数据包:114个丢弃:0溢出:0帧:0帧:0TX数据包:114个错误:0丢弃:0溢出:0载波:0冲突:0 TX字节:0 RX字节:8886 (8.8 KB) TX字节:8886 (8.8 KB)
还有一些原木:
vim /var/log/kern.log
Aug 13 02:14:16 hpjs-desktop kernel: [ 4.438320] EXT4-fs (sda1): INFO: recovery required on readonly filesystem
Aug 13 02:14:16 hpjs-desktop kernel: [ 4.438327] EXT4-fs (sda1): write access will be enabled during recovery
Aug 13 02:14:16 hpjs-desktop kernel: [ 12.096040] EXT4-fs (sda1): orphan cleanup on readonly fs
Aug 13 02:14:16 hpjs-desktop kernel: [ 12.096040] EXT4-fs (sda1): ext4_orphan_cleanup: deleting unreferenced inode 7340040
Aug 13 02:14:16 hpjs-desktop kernel: [ 12.096040] EXT4-fs (sda1): ext4_orphan_cleanup: deleting unreferenced inode 7340039
Aug 13 02:14:16 hpjs-desktop kernel: [ 12.096040] EXT4-fs (sda1): ext4_orphan_cleanup: deleting unreferenced inode 7340038
Aug 13 02:14:16 hpjs-desktop kernel: [ 12.096040] EXT4-fs (sda1): ext4_orphan_cleanup: deleting unreferenced inode 7340037
Aug 13 02:14:16 hpjs-desktop kernel: [ 12.096040] EXT4-fs (sda1): ext4_orphan_cleanup: deleting unreferenced inode 7340036
Aug 13 02:14:16 hpjs-desktop kernel: [ 12.096040] EXT4-fs (sda1): 5 orphan inodes deleted
Aug 13 02:14:16 hpjs-desktop kernel: [ 12.096040] EXT4-fs (sda1): recovery complete
Aug 13 02:14:16 hpjs-desktop kernel: [ 12.190173] EXT4-fs (sda1): mounted filesystem with ordered data mode
Aug 13 02:14:16 hpjs-desktop kernel: [ 36.468053] Adding 5448696k swap on /dev/hda5. Priority:-1 extents:1 across:5448696k
Aug 13 02:14:16 hpjs-desktop kernel: [ 36.577612] udev: starting version 151
Aug 13 02:14:16 hpjs-desktop kernel: [ 36.869644] piix4_smbus 0000:00:07.3: SMBus base address uninitialized - upgrade BIOS or use force_addr=0xaddr
Aug 13 02:14:16 hpjs-desktop kernel: [ 37.029617] VMBUS_DRV: generating uevent - VMBUS_DEVICE_CLASS_GUID={c5295816-f63a-4d5f-8d1a4daf999ca185}
Aug 13 02:14:16 hpjs-desktop kernel: [ 37.029645] VMBUS_DRV: generating uevent - VMBUS_DEVICE_CLASS_GUID={32412632-86cb-44a2-9b5c50d1417354f5}
Aug 13 02:14:16 hpjs-desktop kernel: [ 37.029751] VMBUS_DRV: generating uevent - VMBUS_DEVICE_CLASS_GUID={cfa8b69e-5b4a-4cc0-b98b8ba1a1f3f95a}
Aug 13 02:14:16 hpjs-desktop kernel: [ 37.029778] VMBUS_DRV: generating uevent - VMBUS_DEVICE_CLASS_GUID={ba6163d9-04a1-4d29-b60572e2ffb1dc7f}
Aug 13 02:14:16 hpjs-desktop kernel: [ 37.029843] VMBUS_DRV: generating uevent - VMBUS_DEVICE_CLASS_GUID={f8615163-df3e-46c5-913ff2d2f965ed0e}
Aug 13 02:14:16 hpjs-desktop kernel: [ 37.323305] lp: driver loaded but no devices found
Aug 13 02:14:16 hpjs-desktop kernel: [ 37.325365] vga16fb: initializing
Aug 13 02:14:16 hpjs-desktop kernel: [ 37.325370] vga16fb: mapped to 0xc00a0000
Aug 13 02:14:16 hpjs-desktop kernel: [ 37.325433] fb0: VGA16 VGA frame buffer device
Aug 13 02:14:16 hpjs-desktop kernel: [ 37.508816] udev: renamed network interface eth0 to eth2
Aug 13 02:14:16 hpjs-desktop kernel: [ 39.431272] psmouse serio1: ID: 12 00 64
Aug 13 02:14:16 hpjs-desktop kernel: [ 39.975057] trackpoint.c: failed to get extended button data
Aug 13 02:14:16 hpjs-desktop kernel: [ 40.876129] Console: switching to colour frame buffer device 80x30
Aug 13 02:14:16 hpjs-desktop kernel: [ 41.271321] type=1505 audit(1407910454.512:2): operation="profile_load" pid=533 name="/sbin/dhclient3"
Aug 13 02:14:16 hpjs-desktop kernel: [ 41.273609] type=1505 audit(1407910454.516:3): operation="profile_replace" pid=516 name="/sbin/dhclient3"
Aug 13 02:14:16 hpjs-desktop kernel: [ 41.274548] type=1505 audit(1407910454.516:4): operation="profile_load" pid=516 name="/usr/lib/NetworkManager/nm-dhcp-client.action"
Aug 13 02:14:16 hpjs-desktop kernel: [ 41.275072] type=1505 audit(1407910454.516:5): operation="profile_load" pid=516 name="/usr/lib/connman/scripts/dhclient-script"
Aug 13 02:14:16 hpjs-desktop kernel: [ 42.203697] type=1505 audit(1407910455.447:6): operation="profile_replace" pid=533 name="/usr/lib/NetworkManager/nm-dhcp-client.action"
Aug 13 02:14:16 hpjs-desktop kernel: [ 42.204264] type=1505 audit(1407910455.448:7): operation="profile_replace" pid=533 name="/usr/lib/connman/scripts/dhclient-script"
Aug 13 02:14:16 hpjs-desktop kernel: [ 43.175228] type=1505 audit(1407910456.416:8): operation="profile_load" pid=627 name="/usr/share/gdm/guest-session/Xsession"
Aug 13 02:14:16 hpjs-desktop kernel: [ 43.194934] type=1505 audit(1407910456.436:9): operation="profile_replace" pid=629 name="/sbin/dhclient3"
Aug 13 02:14:16 hpjs-desktop kernel: [ 43.195875] type=1505 audit(1407910456.436:10): operation="profile_replace" pid=629 name="/usr/lib/NetworkManager/nm-dhcp-client.action"
Aug 13 02:14:16 hpjs-desktop kernel: [ 43.242447] type=1505 audit(1407910456.484:11): operation="profile_replace" pid=629 name="/usr/lib/connman/scripts/dhclient-script"
Aug 13 02:14:18 hpjs-desktop kernel: [ 45.288537] IBM TrackPoint firmware: 0x01, buttons: 0/0
Aug 13 02:14:18 hpjs-desktop kernel: [ 45.289856] input: TPPS/2 IBM TrackPoint as /devices/platform/i8042/serio1/input/input3
Aug 13 02:14:19 hpjs-desktop kernel: [ 46.344868] ppdev: user-space parallel port driver最新情况:


发布于 2014-08-13 12:13:06
我不能评论,所以我会在这里回答。
这行udev: renamed network interface eth0 to eth2不是您日志中的问题吗?有关解析的一些示例,请参见http://blog.giuseppeurso.net/udev-renamed-network-interface-eth-to-eth/或http://tadek.pietraszek.org/blog/2008/03/04/wth-eth0-got-renamed-to-eth2-after-an-upgrade/。
https://askubuntu.com/questions/510761
复制相似问题