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

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


you tell me why i can execute "killall" successfully in solaris 2.6?
A: Just see the access mode of /usr/sbin/killall. If you can use it
with a common account identity, the access mode should be x-rsx-rx-r.
If you can not use it in a common account identity, the mode should
be x-r--r--r. You can change the mode as you like, whenever in 2.6,
or 2.7 or 2.8.

112 Q: I downloaded the SDM2.3 from the Download Center of "www.sun.com"
,read the White Paper and web detailed describing.But it is only the
OutLook of the software. I need the detailed document about how to
integrated my own network management application to Solstice.
A: I transfer this messag to Sun Service in Guangdong.

113 Q: 請問有沒有磁盤管理工具 。我們有一臺E450,有5塊硬盤,想做RAID,但是沒有工
具.
A: If the machine"s OS is solaris 2.8, the storage management software
is also installed in you machine. You can make the RAID by issuing
the command family: /usr/sbin/meta*; If you are not so familiar with
these commands. I can do it for you. or you can use solstice
disksuite, it is a GUI tool.

114 Q: 怎樣強(qiáng)制更改NIS客戶端的本地NIS數(shù)據(jù)表?有時候NIS客戶端和NIS服務(wù)器端有
時會出現(xiàn)不一致的情況.NIS服務(wù)器和NIS slave 服務(wù)器也會出現(xiàn)這種情況 。
A: 你可以用yppush和 ypxfr 來做這種工作 , 更常見的方法是把它們寫進(jìn)cron,定
期更新 , 具體步驟請查閱Answerbook.


115 Q: 為了將工作站設(shè)為從DHCP動態(tài)分配IP,并且將主機(jī)名由"unknown"改為原名
修改了/etc/init.d/rootusr,將dhcpinfo后面三行(不是四行)注釋掉;
hostname=`/sbin/dhcpinfo Hostname`
# case $? in
# 0) [ -z "$hostname" ] && hostname="unknown"
# 2) try_dhcp=no
esac
重啟后 , 提示:
/sbin/rcs:ysntax error at line 143 : "esac" unexpected
INIT:cannot creat /var/adm/utmp or /var/adm/utmpx
INIT:SINGLE USER MODE
輸入root口令后 , 只能運行在單用戶模式 , 且vi、ls等都不能用(#vi:not found)
如何才能打開/etc/init.d/rootusr文件進(jìn)行修改 , 恢復(fù)正常狀態(tài) 。
A: 請找一個SOLARIS的安裝啟動盤 , 使用以下方法可以修改rootusr文件 , 步驟如
下:
1.把你的solaris光盤放進(jìn)cdrom
2.鍵入stop a
3.當(dāng)出現(xiàn)"ok"字樣時,鍵入boot cdrom -s
4.cd /tmp
5.mkdir /tmp/xxx (xxx是什么東西無關(guān)緊要 , 隨便取一個名字 , 如test)
6.mount /dev/dsk/c0t0d0s0 /tmp/xxx (在這里c0t0d0s0是你的root盤)
7.運行csh
8.setenv TERM vt220
9.vi /tmp/xxx/etc/init.d/rootusr,把esac那行也注釋掉即可 。
10.把solaris光盤拿出 , reboot , 重啟動即可 。

116 Q: 一臺Ultra60工作站 , 其固定IP為10.11.105.247,用ifconfig hme0 dhcp
start總是失敗 , 如下所示 。
# netstat -a|grep 4999
# ifconfig hme0 dhcp start
May 7 20:11:11 hwMusa01 dhcpagent[478]: ERROR! Address 10.11.105.147
is already in use ifconfig: internal error in DHCP agent
# netstat -a|grep 4999
localhost.4999 *.* 0 0 0 0 LISTEN
localhost.4999 localhost.1023 32768 0 32768 0 TIME_WAIT

抓包發(fā)現(xiàn)是dhcp服務(wù)器offer的IP地址10.11.105.147被decline了 。手工運行
dhcpagent , 提示4999端口被使用了 。以前此工作站曾配置為固定IP:
10.11.105.147 , 但現(xiàn)在已改為10.11.105.247并重啟過多次 。請問 , 可能是什
么原因?qū)е耫hcp失敗??

A: 導(dǎo)致問題出現(xiàn)的原因是 , 由于客戶機(jī)在申請原來的被保留分配的IP時 , 服務(wù)器
發(fā)現(xiàn)這個IP不能夠被使用(已經(jīng)有其它機(jī)器使用了這個IP地址) 。使客戶機(jī)申
請失敗 , 并且使其中的某些進(jìn)程不能正常退出 , 繼續(xù)占用了端口4999而使后面
的申請不能進(jìn)行 。辦法是找到占用端口4999的進(jìn)程 , 殺掉即可 。找到這個進(jìn)程
的辦法是 , 這個申請進(jìn)程是帶有dhcp字樣的 。
# ps -e | grep dhcp

推薦閱讀