After Redhat/Centos come to Debian, hey where are all my known commands and files ….. Round1

i’m too new to Debian, really its very hard to adapt after Redhat and Centos but have to :)

First error after installation on log files, its good to fine out messages file on there

WebApp01 mpt-statusd: detected non-optimal RAID status

Aaa, i couldn’t find out great solution but too much people think that its a bug and seen on vmware, but good that i know how can i stop to get such error

issue come from mph-statusd deamon , its looks like used query LSI SCSI HBAs , related process like below

root      1293     1  0 22:05 ?        00:00:00 /usr/bin/daemon /etc/init.d/mpt-statusd check_mpt
root      1294  1293  0 22:05 ?        00:00:00 /bin/sh /etc/init.d/mpt-statusd check_mpt

Need to be stop such deamon on status, but how :D this is fantastic, no any command i know but found it

install the related tools to do it like below

apt-get install rcconf

and then run rcconf and its easy remove the asterisk from mph-statusd, if you want remove then its gone

its exactly execute command update-rc.d, command out like below

update-rc.d: using dependency based boot sequencing
update-rc.d: warning: mpt-statusd start runlevel arguments (none) do not match LSB Default-Start values (2 3 4 5)
update-rc.d: warning: mpt-statusd stop runlevel arguments (0 1 2 3 4 5 6) do not match LSB Default-Stop values (0 1 6)

Second error is locale , i was afraid zoo much but same thing on my article helped me , just add lines below under /etc/environment, logout and logon, perfect, working

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”).

to fix ->

LANG=en_US.utf-8
LC_ALL=en_US.utf-8

Just wonder that vmware tools work with it ? I don’t know, downloaded , untar it under /usr/local/src and execute perl vmware-install.pl , error :D

Error: Unable to find the binary installation directory (answer BINDIR)
in the installer database file “/etc/vmware-tools/locations”.

Nice article http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1013159

rm /etc/vmware-tools/locations

This is happened because i was started installation for test the perl, after some overwrite questions now real questions like where is the binary files :)

But before the installation pls check you have gcc and kernel headers , if you do not have install it

apt-get install gcc

apt-get install linux-headers-$(uname -r)

apt-get install make

Note : Still first DVD is mounted

Then install the vmware tools again, reboot the system and check vmware tools status, for me its working

Round 1 over ;)

VM

About these ads

Posted on 07/08/2012, in Linux and tagged , , , , , . Bookmark the permalink. Leave a comment.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 68 other followers

%d bloggers like this: