cht電腦資訊Linux
adm Find login register

install jre 後造成的 msec error

eliu

joined: 2007-08-09
posted: 11468
promoted: 617
bookmarked: 187
新竹, 台灣
1subject: install jre 後造成的 msec error Promote 0 Bookmark 02007-11-25quote  
install SUN jre (java run time) 在 Mandriva 後每天會接到一個 E-mail, 有點討厭。
/etc/cron.daily/msec: error: %verify(jre-1.6.0_03-fcs.i586) scriptlet failed, exit status 4
 
# rpm -V jre-1.6.0_03-fcs.i586
.M......  c /etc/init.d/jexec
 
可能是我的 kernel 沒有 compile 執行 java 可執行檔造成的,也就是執行 java 的 file 可以自動執行 /usr/bin/java,我用不到的東西。
後來發現可以這樣解決。
cd  /etc/init.d
# rm jexec
# touch jexec
# chmod 755 jexec 
edited: 1

cht電腦資訊Linux
adm Find login register
views:3877