日本免费全黄少妇一区二区三区-高清无码一区二区三区四区-欧美中文字幕日韩在线观看-国产福利诱惑在线网站-国产中文字幕一区在线-亚洲欧美精品日韩一区-久久国产精品国产精品国产-国产精久久久久久一区二区三区-欧美亚洲国产精品久久久久

2 solaris基礎(chǔ)和常用知識( 四 )


現(xiàn)在需要安裝網(wǎng)絡(luò) , 怎樣增加一個interface 。目前只有l(wèi)o0 , 沒有hme0 。
A: 在 /etc 下 touch 一個空文件 hostname.hme0, 用 boot -r 命令重起.

72 Q: 在Sun Ultra 5工作站(安裝SOLARIS 2.6) , 每次開機(jī)時 , 都出現(xiàn)以下問題:
Restoring the system.Please Wait ... cpr_read_bitmap:Can"t
cpr_alloc bitmap0
Can"t read statefile bitmap,please reboot
Program terminated
{0} OK

每次開機(jī)都需要boot才能進(jìn)入 。
請問如何解決?
A: 首先, 在 ok 狀態(tài)下檢查 boot-file 參數(shù):
printenv boot-file
如果是 boot-file = -F cprboot 之類, 用如下命令:
set-default boot-file
再檢查一下.應(yīng)該是空才對.
如果不是, 則需要設(shè)置:
setenv boot-file -F ufsboot
重新啟動.

73 Q: 經(jīng)實(shí)驗(yàn) , 兩臺Sun工作站之間通過網(wǎng)絡(luò)發(fā)Syslog日志 , 也不支持漢字 , 該問題可
能是syslogd的問題 。
A: 估計是由于syslogd在望上傳輸時丟掉了字節(jié)的最高位.

74 Q: 如果需要ID:105181-15的patch,請問ID:105181-19可以代替嗎?ID毫最好兩位
是不是patch的版本號 , 如果是版本號有沒有前項(xiàng)兼容性?
A: 可以, 后兩位表示同一patch的版本號.

75 Q: 以下代碼在Forte C下導(dǎo)致編譯錯誤 , 請問如何解決?

template
void testimpl(int i1, int i2, p1* n1 = 0, p2* n2 = 0)
{
p1* pReq = new p1;
p2* pRsp = new p2;
}
void test()
{
int i = 0;
int j = 0;
testimpl( i, j);
}
A: 請下載新的patch更新Forte C

76 Q: 請問:如何設(shè)置工作站的最大客戶端數(shù)?現(xiàn)有一臺測試用機(jī) , 使用人較多 , 經(jīng)
常出現(xiàn)“無法得到pty”的提示 。
A: 在/etc/system ,可以用參數(shù) maxusers 設(shè)置,最大2048,如果這里沒有設(shè)置,默
認(rèn)為與系統(tǒng)內(nèi)存容量相同(以M記,最大為1024),

77 Q: I install visibroker into my solaris 2.7.
When I execute a example program,it cannot execute and tell me:
ld.so.1: Server: 致命的: liborb64r_so:打開失敗:無此文件或目錄
被殺掉

(Server is my program)
Can you tell me how to settle it?

A: you should set this envirnment variable: LD_LIBRARY_PATH

78 Q: 貴處有無磁帶機(jī)的使用手冊或指導(dǎo)說明?
A: answerbook 中系統(tǒng)管理員手冊 I 有使用說明.
answerbook 的文檔不是HTML格式,需要一個服務(wù)器程序轉(zhuǎn)換, 察看本機(jī)http進(jìn)
程看有沒有下面這個:

# ps -ef |grep http
# /usr/lib/ab2/dweb/sunos5/bin/dwhttpd /usr/lib/ab2/dweb/data

79 Q: 在 solaris 2.5.1 上 把 系統(tǒng)時間 改為 2004 年,無問題,然后把時間再改回
來后,整個Unix 死機(jī),請SUN工程師答復(fù). 具體操作為: 將操作系統(tǒng)時間設(shè)為
2004年3月1日,然后再將操作系統(tǒng)時間改回當(dāng)前的時間,則系統(tǒng)的CPU資源被兩個
進(jìn)程dtwm,dtfile嚴(yán)重占用,X Window反應(yīng)非常緩慢,在低配置的系統(tǒng)上導(dǎo)致系統(tǒng)
不可操作.同時顯示 "Warning:selected failed;error code 22.
A: 在窗口環(huán)境下或多用戶模式下來回切換時間 , 會導(dǎo)致不可預(yù)測的結(jié)果 , 所以 ,
如果當(dāng)真要執(zhí)行此類操作,請在單用戶模式下進(jìn)行.

80 Q: shell 文件中如何從文件中讀參數(shù)?
A: cat yourfile`

81 Q: 如何分析網(wǎng)絡(luò)負(fù)載 , 在SUN上面有沒有相應(yīng)的工具
A: netstat -i

82 Q: 請問目前SUN E250 , E450 , E3500支持的CPU主頻和緩存分別是多少?您能將這
些配置列表發(fā)給我嗎?
A: docs.sun.com 有 硬件的answerbook , 可以參考一下 。
現(xiàn)在支持的CPU到400M, 480M 產(chǎn)品已有.but still have not released

83 Q: mt -f /dev/rmt/0 有個參數(shù):retension中文為“拉緊” , 在磁帶操作中具體
做什么?
A: the man page of this command said it clearly:
Rewind the cartridge tape completely, then wind it
forward to the end of the reel and back to beginning-
of-tape to smooth out tape tension.

推薦閱讀