500 OOPS: cannot change directory:/root/
Login failed
這是因為啟用firewall, 在不停用fireall的情況下解決方式如下:
飛小豬 發表在 痞客邦 留言(0) 人氣(425)
body { margin: 0 0 0 0; padding:0 0 0 0 }
td,div { font-family:Comic Sans MS;font-size:9pt;vertical-align:top }
body { margin: 0 0 0 0; padding:0 0 0 0 }
.transcript { background-color:#d2d2d2; }
.messageBlock { margin-left:4px; margin-bottom:3px }
.message { margin-left:100px; word-wrap:break-word; white-space:-moz-pre-wrap; _white-space:pre; }
.messageCont { margin-left:100px; word-wrap:break-word; white-space:-moz-pre-wrap; _white-space:pre;}
.other { color:#39577a;vertical-align:top;font-weight:bold;font-style:normal;float:left; width:95px; }
.myself { color:#da8103;font-style:normal;font-weight:bold;font-style:normal;float:left; width:95px; }
.otherCont { font-size:8px;text-align:right; color:#39577a;font-family:Arial,Lucida Grande;font-style:normal;vertical-align:top;font-weight:bold;float:left; width:95px; }
.myselfCont { font-size:8px;text-align:right; color:#da8103;font-family:Arial,Lucida Grande;font-style:normal;vertical-align:top;font-weight:bold;float:left; width:95px; }
.system { margin-left:4px; word-wrap:break-word;color:#da8103;font-style:normal;font-weight:normal; white-space:-moz-pre-wrap; _white-space:pre; }
.showTimestamp { margin-right:3px; float:right; color:#999999;font-style:normal;font-weight:normal; }
.other1 { color:#ac2000;vertical-align:top;font-weight:bold;font-style:normal;float:left; width:95px; }
.otherCont1 { font-size:8px;text-align:right; color:#ac2000;font-family:Arial,Lucida Grande;font-style:normal;vertical-align:top;font-weight:bold;float:left; width:95px; }
.other2 { color:#3c9fa8;vertical-align:top;font-weight:bold;font-style:normal;float:left; width:95px; }
.otherCont2 { font-size:8px;text-align:right; color:#3c9fa8;font-family:Arial,Lucida Grande;font-style:normal;vertical-align:top;font-weight:bold;float:left; width:95px; }
.other3 { color:#e25614;vertical-align:top;font-weight:bold;font-style:normal;float:left; width:95px; }
.otherCont3 { font-size:8px;text-align:right; color:#e25614;font-family:Arial,Lucida Grande;font-style:normal;vertical-align:top;font-weight:bold;float:left; width:95px; }
.other4 { color:#0b6ac8;vertical-align:top;font-weight:bold;font-style:normal;float:left; width:95px; }
.otherCont4 { font-size:8px;text-align:right; color:#0b6ac8;font-family:Arial,Lucida Grande;font-style:normal;vertical-align:top;font-weight:bold;float:left; width:95px; }
.other5 { color:#b23290;vertical-align:top;font-weight:bold;font-style:normal;float:left; width:95px; }
.otherCont5 { font-size:8px;text-align:right; color:#b23290;font-family:Arial,Lucida Grande;font-style:normal;vertical-align:top;font-weight:bold;float:left; width:95px; }
.other6 { color:#02e7c7;vertical-align:top;font-weight:bold;font-style:normal;float:left; width:95px; }
.otherCont6 { font-size:8px;text-align:right; color:#02e7c7;font-family:Arial,Lucida Grande;font-style:normal;vertical-align:top;font-weight:bold;float:left; width:95px; }
.other7 { color:#5b3284;vertical-align:top;font-weight:bold;font-style:normal;float:left; width:95px; }
.otherCont7 { font-size:8px;text-align:right; color:#5b3284;font-family:Arial,Lucida Grande;font-style:normal;vertical-align:top;font-weight:bold;float:left; width:95px; }
.tsDisplay { display:block }
You can configure it with "smit user" or edit directly /etc/security/limits
Check the next values:
default:
fsize = -1
fsize_hard = -1
You also can check the actual limits with ulimit -a command.
Note: After you change the user you must logoff and login again in order to
take the changes effective.
飛小豬 發表在 痞客邦 留言(0) 人氣(276)
"uninstall" on Solaris you remove the packages pertaining to the thing you want to uninstall:# pkginfo | grep JDK
system SUNWj3irt JDK 1.4 I18N run time environment
system SUNWj5cfg JDK 5.0 Host Config. (1.5.0_07)
system SUNWj5dev JDK 5.0 Dev. Tools (1.5.0_07)
system SUNWj5dmo JDK 5.0 Demo Programs (1.5.0_07)
system SUNWj5dmx JDK 5.0 64-bit Demo Programs (1.5.0_06)
system SUNWj5dvx JDK 5.0 64-bit Dev. Tools (1.5.0_06)
system SUNWj5jmp JDK 5.0 Man Pages: Japan (1.5.0_07)
system SUNWj5man JDK 5.0 Man Pages (1.5.0_07)
system SUNWj5rt JDK 5.0 Runtime Env. (1.5.0_07)
system SUNWj5rtx JDK 5.0 64-bit Runtime Env. (1.5.0_06)
飛小豬 發表在 痞客邦 留言(0) 人氣(266)
這應該是通用的,如果我有發現有不一樣的地方,我再補上來
Stop DB2 with db2inst1 authority
#su - db2inst1
#db2stop
飛小豬 發表在 痞客邦 留言(0) 人氣(197)
先檢查telnet 有沒有開啟服務:
# chkconfig --list|grep telnet
ekrb5-telnet: off
krb5-telnet: off
如果如上是沒開啟的話
飛小豬 發表在 痞客邦 留言(0) 人氣(237)
今天裝 RHEL 5 的時候有遇到一些問題
花了一些時間才解決,我暫時先記錄下來
所以看這篇應該會覺得有點亂,等有空了再來慢慢整理
Linux 啟動到 enabling /etc/fstab swap 後停止不動
飛小豬 發表在 痞客邦 留言(0) 人氣(376)
1. Open a new Terminal with root authority 2. Open X server authority
# xhost + 3. Change account to notes
# su - notes 4. Tell X that please draw the GUI in which server and which console
# export DISPLAY=localhost:0.0 5. Change directory to notesdata folder, for example
# cd opt/ibm/notesdata
飛小豬 發表在 痞客邦 留言(0) 人氣(275)