求助!smartd启动失败,不能进图形界面解决方案
用虚拟机VWM4。5安装FC1安装好之后遇到 SMARTD 启动 FAILED
进不了图像界面
问题困扰了一个通宵+一个下午了
求解!! 在别的论坛上找到如下解决方案:
See "man smartctl". The error is likely do to it trying to access you cdrom. See the below example where hda is a cdrom drive, and hde and hdg are hard drives.
# service smartd restart
Shutting down smartd:
Starting smartd:
# tail /var/log/messages
==> /var/log/messages <==
Jan 15 15:20:49 localhost smartd: smartd shutdown failed
Jan 15 15:20:49 localhost smartd: smartd version 5.21 Copyright (C) 2002-3 Bruce Allen
Jan 15 15:20:49 localhost smartd: Home page is http://smartmontools.sourceforge.net/
Jan 15 15:20:49 localhost smartd: Opened configuration file /etc/smartd.conf
Jan 15 15:20:49 localhost smartd: Configuration file /etc/smartd.conf parsed.
Jan 15 15:20:49 localhost smartd: Device: /dev/hda, opened
Jan 15 15:20:49 localhost smartd: Device: /dev/hda, unable to read Device Identity Structure
Jan 15 15:20:49 localhost smartd: Unable to register ATA device /dev/hda at line 30 of file /etc/smartd.conf
Jan 15 15:20:49 localhost smartd: Unable to register device /dev/hda (no Directive -d removable). Exiting.
Jan 15 15:20:49 localhost smartd: smartd startup failed
# vi /etc/smartd.conf
Change
/dev/hda -H -m root localhost localdomain
to
/dev/hde -H -m root localhost localdomain
/dev/hdg -H -m root localhost localdomain
# service smartd restart
Shutting down smartd:
Starting smartd: [ OK ]
# tail /var/log/messages
==> /var/log/messages <==
Jan 15 15:23:50 localhost smartd: Configuration file /etc/smartd.conf parsed.
Jan 15 15:23:50 localhost smartd: Device: /dev/hde, opened
Jan 15 15:23:50 localhost smartd: Device: /dev/hde, not found in smartd database.
Jan 15 15:23:50 localhost smartd: Device: /dev/hde, is SMART capable. Adding to "monitor" list.
Jan 15 15:23:50 localhost smartd: Device: /dev/hdg, opened
Jan 15 15:23:50 localhost smartd: Device: /dev/hdg, not found in smartd database.
Jan 15 15:23:51 localhost smartd: Device: /dev/hdg, is SMART capable. Adding to "monitor" list.
Jan 15 15:23:51 localhost smartd: Monitoring 2 ATA and 0 SCSI devices
Jan 15 15:23:51 localhost smartd: smartd has fork()ed into background mode. New PID=18127.
Jan 15 15:23:51 localhost smartd: smartd startup succeeded
但是修改后重启 SMARTD 就会遇到 VWM 报错
之后什么都干不了了 /dev/hda -H -m root localhost localdomain <----这里有问题吗?/hda就是第一个硬盘啊
/dev/hde -H -m root localhost localdomain <----------这两个都不知道是那个盘的
/dev/hdg -H -m root localhost localdomain
看不懂……………… 我遇到的错误如下:
Jan 15 15:20:49 localhost smartd: smartd shutdown failed
Jan 15 15:20:49 localhost smartd: smartd version 5.21 Copyright (C) 2002-3 Bruce Allen
Jan 15 15:20:49 localhost smartd: Home page is http://smartmontools.sourceforge.net/
Jan 15 15:20:49 localhost smartd: Opened configuration file /etc/smartd.conf
Jan 15 15:20:49 localhost smartd: Configuration file /etc/smartd.conf parsed.
Jan 15 15:20:49 localhost smartd: Device: /dev/hda, opened
Jan 15 15:20:49 localhost smartd: Device: /dev/hda, no found hda in smartd database.
Jan 15 15:20:49 localhost smartd: lacks SMARTD capability
Jan 15 15:20:49 localhost smartd: to proceed anyway, use '-Tpremissive' Directive.
Jan 15 15:20:49 localhost smartd: Unable to register ATA device /dev/hda at line 30 of file /etc/smartd.conf
Jan 15 15:20:49 localhost smartd: Unable to register device /dev/hda (no Directive -d removable). Exiting.
Jan 15 15:20:49 localhost smartd: smartd startup failed hda是硬盘,不是某个分区。
你对系统做了什么修改? 没有作过修改
安装好启动就是这个样子 hda是硬盘一
可是我查找了我的硬件配置
的确是有hda这个DD
可是smartd就是辨别不出来 方法有两个:
1:搜索一下以前的贴,可能别人解决了。这也可能是FC的一个BUG。
2:用单用户模式进入LINUX(具体的进入单用户模式看置顶),运行setup,在system service里把smartd前的*去掉,让系统不启动它。 昨天晚上已经搜索过了相关网页
就只找到我发的那个方案
可是行不通至于进LINUX单用户,这个没有尝试过
等一下可以试一下
可是不运行smartd对系统会有什么影响呢?? 解决不了这个问题了
我安装了FC3
在虚拟机了
好慢的样子
痛苦………… 以前安装RH的时候从来没有遇到过
我以为是VWM的版本跟FC1的版本不兼容的问题
现在安装FC3跟VWM4。5。2就没有问题了
主要是太慢了
想死了算了
很想用linux的
主要是有些东西在win下放不开
经常要用到的
页:
[1]