The Wolf Of The Night
ҽ
л
ҵBlog
¹鵵...
·...
...
Ķ...
...
ͳ...
վ...
Դ
===========================================================
⻯⼰취
===========================================================

1VMware vCenter Convert FAILED: Unable to create a VSS snapshot of the source volume(s). Error code:2147549183 (0x8000FFFF)

취ڷнMS Shadow Copy Provider Volume Shadow Copy Service͸ΪԶ

2VMware vCenter Convert FAILED: Unable to format the volume mounted at 'D:ͬʱ־ҵError converting '¼Ӿ' to UTF16.

UTF16һֻ2ֽڴСˡ¼Ӿij̫ˣڴ̹潫ȥȻִconverter

failed a general system error occurred:ssl exception:the ssl handshake timed out

3ESXδװϵͳǰ̻ƶISOļѡconnectedconnect at power onͿɴӹǰװϵͳͻĬϴӲϵͳ

취ϵҼѡedit settings-options-boot options-power-on boot delayԺΪλĿӳ٣ĬΪ㣬Ϊ10000,ѡforce BIOS setupʹһBIOSͿ豸˳ˡ

4ESXϳTSC:1229670 CPU0:0 init:461: The Execute Disable/No Execute CPU feature is not enabled for this machineԭڼϵͳ BIOS н No-Execute Memory Protection ѡHPDell϶ࡣ

HP Dell ϵͳ BIOS зֱ No-Execute Memory Protection Execute Disable ѡ

5VcenterУرպVsphere clientVcenterʱ֡Vsphere client ޷VcenterӡĴ

취ȷVMware VirtualCenter ServerǷ

6 ESXHAʱһ̨ESXȷãһ̨óϢ£HA ִ : cmd addnode failed for secondary node: Internal AAM Error - agent could not start.: δ֪HAӢĴϢHA agent has an error : cmd addnode failed for primary node: Internal AAM Error - agent could not start. : Unknown HA error.

һ

ÿ̨Ϸֱֶhostsļʾ£

[root@servera ~]# cat /etc/hosts

127.0.0.1 localhost

::1 localhost

192.168.120.1 servera.vmware.com servera

192.168.120.2 serverb.vmware.com serverb

ע⣺мǼϺȥserveraserverb

DNSDNSؼȺϢ

7vSphere ClientESXvCenter Serverʱϵͳʾ:
<IP "clients.xml"ļʱ¼ϵϵͳԱ
ȷ
VirtualInfrastructure.Utils.HttpWebRequestProxyͳʼֵ趨쳣

vSphere 4.0Լ汾ǻDotNet 2.0ܵģ΢201069նDotNetһβ(KB980773)֮˲ݡWindows 7µDotNet汾3.5Windows 7ϰװʹvSphere Client 4.0Ҳ


1жKB980773
2vSphere Client4.04.0 Update 1ϣ4.0U1, 4.0U24.1֮ҪȷvSphere ClientBuildŲ208111
VMwareٷվظ°ͨûûȨޣҪкϷƷLicense󷽿ɣ
http://downloads.vmware.com/d/info/datacenter_downloads/vmware_vsphere_4/4
ѡ񵥶vSphere ClientvSphereװ


roninwei :2011.01.14 21:40 ::: ( LINUX&UNIX ) ::Ķ:(3746) :: (0) :: (0)
===========================================================
AIX澯ƵƷܽ
===========================================================
IBM澯ƵƷܽ
ƵƸ澯һӲ⣨ԴȿаȫӲҲɻƵ𣩣ȽӲϣ£
ϵͳжǷӲϣ
1Rootûִdiag
2س󣬽2advanced diagnostics routines
3ѡsystem verification
4ѡall resourcesس
5F7esc+7ִм⣻
6ؽǷڹϡ ڹϣ¼ϼerrpt Ca
޹ϣϽƵȻϨơ
һ
1Rootûִdiag
2س󣬽3Task Selection (Diagnostics, Advanced Diagnostics, Service Aids, etc.)
3ѡIdentify and Attention IndicatorsЩûѡH50
4Set System Attention Indicator to NormalSet ALL Identify Indicators to NORMALس
5F7esc+7ִС
жԴЧ
ɱ
ִ
# /usr/lpp/diagnostics/bin/usysfault -s normal
HMC̨ģHMC̨ϣHMC̨òְֻ취:
ѡеġSerivce Applications
->Serivce Focal Point
ҲLED ManagementԿLED StateҼ԰On״̬䵽Off״̬

roninwei :2011.01.14 21:39 ::: ( LINUX&UNIX ) ::Ķ:(234) :: (0) :: (0)
===========================================================
ESX SERVERpower-on boot delay
===========================================================

ESXδװϵͳǰ̻ƶISOļѡconnectedconnect at power onͿɴӹǰװϵͳͻĬϴӲϵͳҪӹں̵ܶʱڰF2ESCֻˡpower-on boot delay󣬾ͻ˵ָCD-ROMûѡ˹VMwareʾʾֻд12ʱ䣨ûУʹǺлBIOSò˵F2豸˵ESC

ϵҼѡedit settings-options-boot options-power-on boot delayԺΪλĿӳ٣ĬΪ㣬Ϊ10000,ѡforce BIOS setupʹһBIOSͿ豸˳ˡ


roninwei :2010.11.24 10:26 ::: ( LINUX&UNIX ) ::Ķ:(413) :: (0) :: (0)
===========================================================
EXP-00091 Exporting questionable statistics
===========================================================

һDBAʹexp,impͨû˵expĹпܾEXP00091 Exporting questionable statistics.EXPϢʵexperror messageԭΪexpڵĻеNLS_LANGDBеNLS_CHARACTERSETһ¡

step 01鿴DBеNLS_CHARACTERSETֵṩַ

select * from nls_database_parameters t where t.parameter='NLS_CHARACTERSET'
or
select * from v$nls_parameters where parameter='NLS_CHARACTERSET';

SQL> select * from v$nls_parameters where parameter='NLS_CHARACTERSET';

PARAMETER VALUE
---------------------------------------------------------------------
NLS_CHARACTERSET ZHT16BIG5

step 02step 01NLS_CHARACTERSETZHT16BIG5趨expĻ

WINNT> set NLS_LANG=AMERICAN_AMERICA.ZHT16BIG5
LINUX> export NLS_LANG=AMERICAN_AMERICA.ZHT16BIG5

exp-91oracle error message ˵

oerr exp 91
00091, 00000, "Exporting questionable statistics."
// *Cause: Export was able export statistics, but the statistics may not be
// usuable. The statistics are questionable because one or more of
// the following happened during export: a row error occurred, client
// character set or NCHARSET does not match with the server, a query
// clause was specified on export, only certain partitions or
// subpartitions were exported, or a fatal error occurred while
// processing a table.
// *Action: To export non-questionable statistics, change the client character
// set or NCHARSET to match the server, export with no query clause,
// export complete tables. If desired, import parameters can be
// supplied so that only non-questionable statistics will be imported,
// and all questionable statistics will be recalculated.

ԭģ http://vongates.itpub.net/post/2553/18625


roninwei :2010.11.24 10:25 ::: ( ) ::Ķ:(217) :: (0) :: (0)
===========================================================
Wordļ,޷༭Ľ취
===========================================================

һWordļˣ߲ͨ˵ġȡĵ һ㶼룬û룬оЧˣȻԷһ򵥵İ취

½һWordļڹϵ㡰롱ѡļҪ༭ļѡͿ


roninwei :2010.03.13 19:41 ::: ( Windows ) ::Ķ:(632) :: (0) :: (0)
===========================================================
untitled
===========================================================
˵ػίŴġ

roninwei :2010.01.19 13:07 ::: ( 㲥̨ ) ::Ķ:(359) :: (0) :: (0)
===========================================================
ȸйʽɢ н
===========================================================

ͨŲҵѶͨŲҵ߶һϤȸйȫԱڽٿᣬgoogle CEOʩȷʾй̸ʧܣȸйʽɢ

ߴӹȸйڲ˽⵽ȫԱɢﷹȡнͬʱgoogleȸйԱƸܲ޷ֹ˾ȱְλ

Ϣʿ͸¶Ժڽٿ飬ԹȸĴ


roninwei :2010.01.15 18:50 ::: ( 㲥̨ ) ::Ķ:(484) :: (0) :: (0)
===========================================================
Kelly Clarkson - Because Of You
===========================================================

Kelly Clarkson - Because Of You

I will not make the same mistakes that you did Ҳ᷸㷸Ĵ
I will not let myself ҲԼ
Cause my heart so much misery ҵ˿
I will not break the way you did Ҳƻķʽ
You fell so hard ǿĵ
I've learned the hard way Ѿѧĵ·
To never let it get that far ȥԶΪֹ
Because of you Ϊ
I never stray too far from the sidewalk ҴԶе
Because of you Ϊ
I learned to play on the safe side so I don t get hurt ѧڰȫĵطˣԾͲ
Because of you Ϊ
I find it hard to trust not only me, but everyone around me ҷֺȥԼԼߵ
Because of you Ϊ
I am afraid Һ
I lose my way ʧ
And it s not too long before you point it out ָIJǰ
I cannot cry Ҳܿ
Because you know that s weakness in your eyes Ϊ֪ҵ
I'm forced to fake ұȥαװ
A smile, a laugh everyday of my life ΢Ц.Ц,ҵеÿһ
My heart can't possibly break ҵIJ
When it wasn't even whole to start with һʼͲ
Because of you Ϊ
I never stray too far from the sidewalk ҴԶе
Because of you Ϊ
I learned to play on the safe side so I don t get hurt ѧڰȫĵطˣԾͲ
Because of you Ϊ
I find it hard to trust not only me, but everyone around me ҷֺȥԼԼߵ
Because of you Ϊ
I am afraid Һ
I watched you die ҿȥ
I heard you cry every night in your sleep ÿڴϿ
I was so young ҵʱ̫С
You should have known better than to lean on me Ӧ֪һЩҸõİ취
You never thought of anyone else ûпǹ˵ĸ
You just saw your pain ֻԼʹ
And now I cry in the middle of the night ҹ
For the same damn thing ҲΪͬǴ
Because of you Ϊ
I never stray too far from the sidewalk ҴԶе
Because of you Ϊ
I learned to play on the safe side so I don't get hurt ѧڰȫĵطˣԾͲ
Because of you Ϊ
I try my hardest just to forget everything ҾŬȥ
Because of you Ϊ
I don't know how to let anyone else in Ҳ֪κ
Because of you Ϊ
I'm ashamed of my life because it s empty Ϊҵе߳ Ϊǿյ
Because of you Ϊ
I am afraid Һ
Because of you Ϊ
Because of you Ϊ


roninwei :2009.12.25 17:46 ::: ( Ƽ ) ::Ķ:(339) :: (0) :: (0)
===========================================================
ϵͳoracle listener.log
===========================================================

ڲӰϵͳеoracle listener.log

oracle(nightwolf)[/oracle/app/oracle/product/9.2/network/log]ls -al
total 3107042
drwxr-xr-x 2 oracle dba 1024 May 31 2009 .
drwxr-xr-x 14 oracle dba 1024 Jun 1 2004 ..
-rw-rw---- 1 oracle dba 481 Jun 1 2004 dbsnmp.log
-rw-rw-r-- 1 oracle dba 211 Jun 1 2004 dbsnmp.nohup
-rw-r--r-- 1 oracle dba 1586371734 Dec 1 11:27 listener.log
-rw-rw---- 1 oracle dba 405 Jun 1 2004 nmiconf.log
-rw-r--r-- 1 oracle dba 4289 Jan 10 2008 sqlnet.log
-rw-r--r-- 1 oracle dba 1487 Jul 21 11:27 start.log
-rw-r--r-- 1 oracle dba 1477 Jul 21 11:25 stop.log
oracle(nightwolf)[/oracle/app/oracle/product/9.2/network/log]lsnrctl set log_status off
LSNRCTL for HPUX: Version 9.2.0.4.0 - Production on 01-DEC-2009 11:29:22
Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=nightwolf)(PORT=1521)))
LISTENER parameter "log_status" set to OFF
The command completed successfully
oracle(nightwolf)[/oracle/app/oracle/product/9.2/network/log]ls
dbsnmp.log dbsnmp.nohup listener.log nmiconf.log sqlnet.log start.log stop.log
oracle(nightwolf)[/oracle/app/oracle/product/9.2/network/log]ls -al
total 3105884
drwxr-xr-x 2 oracle dba 1024 May 31 2009 .
drwxr-xr-x 14 oracle dba 1024 Jun 1 2004 ..
-rw-rw---- 1 oracle dba 481 Jun 1 2004 dbsnmp.log
-rw-rw-r-- 1 oracle dba 211 Jun 1 2004 dbsnmp.nohup
-rw-r--r-- 1 oracle dba 1586374111 Dec 1 11:29 listener.log
-rw-rw---- 1 oracle dba 405 Jun 1 2004 nmiconf.log
-rw-r--r-- 1 oracle dba 4289 Jan 10 2008 sqlnet.log
-rw-r--r-- 1 oracle dba 1487 Jul 21 11:27 start.log
-rw-r--r-- 1 oracle dba 1477 Jul 21 11:25 stop.log
oracle(nightwolf)[/oracle/app/oracle/product/9.2/network/log]mv listener.log listener.log.bak
oracle(nightwolf)[/oracle/app/oracle/product/9.2/network/log]ls -al
total 3105884
drwxr-xr-x 2 oracle dba 1024 Dec 1 11:29 .
drwxr-xr-x 14 oracle dba 1024 Jun 1 2004 ..
-rw-rw---- 1 oracle dba 481 Jun 1 2004 dbsnmp.log
-rw-rw-r-- 1 oracle dba 211 Jun 1 2004 dbsnmp.nohup
-rw-r--r-- 1 oracle dba 1586374111 Dec 1 11:29 listener.log.bak
-rw-rw---- 1 oracle dba 405 Jun 1 2004 nmiconf.log
-rw-r--r-- 1 oracle dba 4289 Jan 10 2008 sqlnet.log
-rw-r--r-- 1 oracle dba 1487 Jul 21 11:27 start.log
-rw-r--r-- 1 oracle dba 1477 Jul 21 11:25 stop.log
oracle(nightwolf)[/oracle/app/oracle/product/9.2/network/log]lsnrctl set log_status on
LSNRCTL for HPUX: Version 9.2.0.4.0 - Production on 01-DEC-2009 11:30:21
Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=nightwolf)(PORT=1521)))
LISTENER parameter "log_status" set to ON
The command completed successfully
oracle(nightwolf)[/oracle/app/oracle/product/9.2/network/log]lsnrctl status
LSNRCTL for HPUX: Version 9.2.0.4.0 - Production on 01-DEC-2009 11:30:42
Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=nightwolf)(PORT=1521)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for HPUX: Version 9.2.0.4.0 - Production
Start Date 05-NOV-2009 15:25:35
Uptime 25 days 20 hr. 5 min. 7 sec
Trace Level off
Security OFF
SNMP OFF
Listener Parameter File /oracle/app/oracle/product/9.2/network/admin/listener.ora
Listener Log File /oracle/app/oracle/product/9.2/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=nightwolf)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=nightwolf)(PORT=8080))(Presentation=HTTP)(Session=RAW))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=nightwolf)(PORT=2100))(Presentation=FTP)(Session=RAW))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "ora9iems" has 1 instance(s).
Instance "ora9irta", status UNKNOWN, has 1 handler(s) for this service...
Service "ora9irta" has 1 instance(s).
Instance "ora9irta", status READY, has 2 handler(s) for this service...
Service "ora9irtaXDB" has 1 instance(s).
Instance "ora9irta", status READY, has 1 handler(s) for this service...
The command completed successfully
oracle(nightwolf)[/oracle/app/oracle/product/9.2/network/log]ls -al
total 3105902
drwxr-xr-x 2 oracle dba 1024 Dec 1 11:30 .
drwxr-xr-x 14 oracle dba 1024 Jun 1 2004 ..
-rw-rw---- 1 oracle dba 481 Jun 1 2004 dbsnmp.log
-rw-rw-r-- 1 oracle dba 211 Jun 1 2004 dbsnmp.nohup
-rw-r--r-- 1 oracle dba 1326 Dec 1 11:31 listener.log
-rw-r--r-- 1 oracle dba 1586374111 Dec 1 11:29 listener.log.bak
-rw-rw---- 1 oracle dba 405 Jun 1 2004 nmiconf.log
-rw-r--r-- 1 oracle dba 4289 Jan 10 2008 sqlnet.log
-rw-r--r-- 1 oracle dba 1487 Jul 21 11:27 start.log
-rw-r--r-- 1 oracle dba 1477 Jul 21 11:25 stop.log

ΪֹѾµ listener.log


roninwei :2009.12.06 16:40 ::: ( LINUX&UNIX ) ::Ķ:(907) :: (0) :: (0)
===========================================================
linux PS1 ʾ
===========================================================
ע⣺

ʹ÷

# PS1='Զ'

עߵĵ

ʾ PS1='(u@H d t)$'

----------------------------------------------------------------------------------------------------------------

PS1ûƽʱʾ

PS2һû꣬ȴڶʾ

LinuxϵͳʾϵͳPS1ġһϵͳĬϵʽǣ[username@host Ŀ¼]$.

echo $PS1ԵõPS1ֵPS1="[u@h w]"$

¼ԸPS1ʾʽǵ˳¼ϵͳʽֱϵͳĬϵʽˣҪ׸ıʽֻܴļиġ

PSûĿ¼µ.bash_profileжġ

# .bash_profile

# Get the aliases and functions

if [ -f ~/.bashrc ]; then

. ~/.bashrc

fi

# User specific environment and startup programs

#趨PS1ֵ

PS1="[u@h w]$"

PATH=$PATH:$HOME/bin

#ʹexportPS1ʹshellЧ,ROOTûҲôʽ

#export PS1 Ҫ

export PATH

unset USERNAME

˵˵Ĭϵ壺

d ڣʽΪweekday month date磺"Mon Aug 1"

H ơ磺ҵĻΪfc4.linuxƾfc4.linux

h ȡĵһ֣Ϊfc4.linuxʡ

t ʾʱΪ24Сʱʽ磺HHMMSS

T ʾʱΪ12Сʱʽ

A ʾʱΪ24СʱʽHHMM

u ǰû˺

v BASHİ汾Ϣ

w ĹĿ¼ơĿ¼ ~

W basenameȡùĿ¼ƣֻгһĿ¼

# ´ĵڼ

$ ʾַrootʱʾΪ# ͨûΪ$


roninwei :2009.11.04 22:40 ::: ( LINUX&UNIX ) ::Ķ:(411) :: (0) :: (0)