detected non-optimal RAID status

หลังจากที่เราติดตั้ง debian ลงใน vmware แล้ว ส่วนมากเราจะเจออะไรแบบนี้


db mpt-statusd: detected non-optimal RAID status

วิธีแก้ ง่ายๆครับ

# /etc/init.d/mpt-statusd stop
# echo RUNDAEMON=no > /etc/default/mpt-statusd

innotop debian

# innotop -u root -p password -h localhost
Can’t locate Term/ in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /usr/bin/innotop line 1341.
BEGIN failed–compilation aborted at /usr/bin/innotop line 1341.

# aptitude -y install libterm-readkey-perl
The following NEW packages will be installed:
0 packages upgraded, 1 newly installed, 0 to remove and 8 not upgraded.
Need to get 33.7 kB of archives. After unpacking 139 kB will be used.
Get:1 squeeze/main libterm-readkey-perl amd64 2.30-4 [33.7 kB]
Fetched 33.7 kB in 2s (11.6 kB/s)
Selecting previously deselected package libterm-readkey-perl.
(Reading database … 31153 files and directories currently installed.)
Unpacking libterm-readkey-perl (from …/libterm-readkey-perl_2.30-4_amd64.deb) …
Processing triggers for man-db …
Setting up libterm-readkey-perl (2.30-4) …

LC_ALL = (unset),

จาก blog เก่า perl-warning-setting-locale-failed

ตอนนี้มี parameter เพิ่มมาครับ

Traceback (most recent call last):       
  File "/usr/bin/apt-listchanges", line 33, in <module>
    from ALChacks import *
  File "/usr/share/apt-listchanges/", line 32, in <module>
    sys.stderr.write(_("Can't set locale; make sure $LC_* and $LANG are correct!\n"))
NameError: name '_' is not defined
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = "en_US:en",
	LC_ALL = (unset),
	LC_CTYPE = "UTF-8",
	LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory


export LANGUAGE=en_US.UTF-8
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8
locale-gen en_US.UTF-8


dpkg-reconfigure locales