posts - 13,  comments - 4,  trackbacks - 0
          Linux環(huán)境VNC服務安裝、配置與使用http://blog.chinaunix.net/space.php?uid=57865&do=blog&cuid=1982905

          UNIX 系統(tǒng)
          http://www.linuxsir.org/bbs/showthread.php?s=c5e7da060762ad290ad8d2bd26bac6e0&t=195579

          CDE問題的troubleshooting http://blog.chinaunix.net/space.php?uid=9816449&do=blog&cuid=80800

          HP-UX 11i下安裝VNC  http://www.chinaunix.net/jh/8/576126.html

          ORA-01207: old control file完全解決方案    
          http://bbs.chinaunix.net/thread-2070372-1-1.html
          posted @ 2011-08-29 17:09 身在半空 閱讀(307) | 評論 (0)編輯 收藏

          WebLogic9.2拒絕訪問的異常分析及解決方案
          之前分析不對,特此改正

          一、 故障概述

          近三個月來,已有3次發(fā)生業(yè)務自動開通系統(tǒng)執(zhí)行平臺維護系統(tǒng)訪問異常,所有頁面拒絕訪問并提示:

          Connection rejected, the server is in the RUNNING state. Starting service weblogic.application.internal.BackgroundDeploymentService$WaitForBackgroundCompletion, 110 of 112. Last service weblogic.deploy.service.internal.adminserver.HeartbeatService took 2ms.

          多點施工管理平臺維護系統(tǒng)同時出現(xiàn)上述問題,部署這兩個維護系統(tǒng)的WebLogic服務器服務異常。

          該故障使工單查詢、系統(tǒng)監(jiān)控、失敗工單轉(zhuǎn)移和受理等功能無法使用。對業(yè)務工單的自動執(zhí)行無影響,所有執(zhí)行服務器正常。

          每次均是采用強制停止服務后重啟的方式恢復服務。

          二、 故障描述

          訪問業(yè)務自動開通系統(tǒng)執(zhí)行平臺維護系統(tǒng)和多點施工管理平臺維護系統(tǒng)均報以下異常:

          Connection rejected, the server is in the RUNNING state. Starting service weblogic.application.internal.BackgroundDeploymentService$WaitForBackgroundCompletion, 110 of 112. Last service weblogic.deploy.service.internal.adminserver.HeartbeatService took 2ms.

          此時,網(wǎng)絡狀況、設備狀態(tài)、服務器操作系統(tǒng)均正常;WebLogic應用服務器異常,其控制臺無法正常訪問,顯示報告同業(yè)務自動開通系統(tǒng)執(zhí)行平臺維護系統(tǒng),且不能正常停止WebLogic服務。

          經(jīng)查,WebLogic應用服務器在記錄以下日志后無法正常訪問:

          ####<2011-8-13 上午104615 CST> <Critical> <Server> <tfh-node2> <TFHWEB> <DynamicListenThread[Default]> <<WLS Kernel>> <> <> <1313203575118> <BEA-002616> <Failed to listen on channel "Default" on 132.60.5.29:8080, failure count: 2, failing for 1 seconds, java.net.SocketException: 無效的自變量>

          ####<2011-8-13 上午104659 CST> <Critical> <Server> <tfh-node2> <TFHWEB> <DynamicListenThread[Default]> <<WLS Kernel>> <> <> <1313203619270> <BEA-002617> <Attempting to close and reopen the server socket on on channel "Default" on 132.60.5.29:8080.>

          ####<2011-8-13 上午104709 CST> <Notice> <Server> <tfh-node2> <TFHWEB> <DynamicListenThread[Default]> <<WLS Kernel>> <> <> <1313203629287> <BEA-002614> <Reopening channel "Default" on 132.60.5.29:8080.>

          ####<2011-8-13 上午104709 CST> <Notice> <Server> <tfh-node2> <TFHWEB> <DynamicListenThread[Default]> <<WLS Kernel>> <> <> <1313203629787> <BEA-002615> <After having failed to listen, the server is now listening on channel "Default" on 132.60.5.29:8080.>

          之后所有訪問均記錄如下日志:

          ####<2011-8-13 上午104709 CST> <Notice> <Server> <tfh-node2> <TFHWEB> <DynamicListenThread[Default]> <<WLS Kernel>> <> <> <1313203629787> <BEA-002615> <After having failed to listen, the server is now listening on channel "Default" on 132.60.5.29:8080.>

           

          三、 處理過程和解決方法

          使用正常停止WebLogic服務的命令無法停止服務,強行killWebLogic服務進程,并按照正常流程啟動WebLogic服務

          。

          、    故障分析和建議

          1、故障的原因分析

          此故障是由WebLogic9.2bug導致,Oracle官方解釋如下:

          Solaris 9 或更高版本上使用 JDK 1.5 時,半閉套接口上的任何設置操作都會引發(fā) SocketException。這延遲了服務器在相同端口上接受新連接,而且如果故障間的最大補償時間達到最大值,還會導致回收服務器套接口。

          需要安裝CR283953補丁解決該BUG

          以下為Oracle官方對CR283953補丁的英文解釋:

          http://docs.oracle.com/cd/E13222_01/wls/docs100/issues/known_resolved.html

          On Solaris 9 or later, with JDK 1.5, any set operation on a half-closed socket throws a SocketException. This delayed the server in accepting new connections on the same port and also caused the server socket to be recycled if the maximum backoff time between failures reaches its maximum.

          Solution:

          WebLogic Server no longer throws an exception in connection with a set operation on half-closed sockets.

           

          2、改進措施和計劃

          1.WebLogic服務編寫守護程序,定時查看WebLogic服務狀態(tài),若出現(xiàn)故障則重啟WebLogic服務。守護程序采用crontab+shell腳本實現(xiàn),參見

          掃描日志重啟WebLogic服務shell腳本。

          2.獲取CR283953補丁,并安裝。BEA已被oracle收購,補丁已不能免費下載,具體詢oracle客服。

           

           

          posted @ 2011-08-16 17:31 身在半空 閱讀(3629) | 評論 (3)編輯 收藏
          操作系統(tǒng):Solaris
          1.使用oracle用戶進行定時備份,添加crontab時要用root用戶添加,執(zhí)行命令為:crontab -e oracle;
          2.shell腳本中不能使用“()”,如
          exp ywkt/ywkt@ywkt buffer=64000 file=/backup/config_$dd.dmp log=/backup/exp_config.log tables=(ACTIONTYPEIDLIST,RESOURCE_CONFIGURE)。會提示紅色括號附件錯誤。

          附個人感覺有用的鏈接:
          http://space.itpub.net/4227/viewspace-68717
          http://www.itpub.net/thread-92487-1-1.html
          posted @ 2011-06-09 15:47 身在半空 閱讀(568) | 評論 (0)編輯 收藏

          說明:IbosExecHistory系列表是提供歷史數(shù)據(jù)查詢的歷史表;

          IbosExecHistory為試圖;

          IbosExecHistory_XXXX中“XXXX”為年份,供存放該年所有歷史數(shù)據(jù),此類表做歷史數(shù)據(jù)備份用,不提供維護系統(tǒng)查詢;

          IbosExecHistory_month_X中“X”為月份(1-9不加0),此類表做循環(huán)使用,根據(jù)維護系統(tǒng)要求查詢時提供6個月內(nèi)數(shù)據(jù),故在此前六個月之外的數(shù)據(jù)可清楚。最后及時清楚,否則將造成與往年數(shù)據(jù)共存現(xiàn)象,較難分離。若造成累計,建議將數(shù)據(jù)使用bcp導出后,對文件進行操作,不要在數(shù)據(jù)庫中進行操作。

          工作原理:為減少對數(shù)據(jù)庫性能造成影響,使用bcptruncate table操作,做truncate table時應謹慎。

          本文目的:提供IbosExecHistory_month_X表歷史數(shù)據(jù)清除步驟。

          注:以下步驟以20105月份歷史數(shù)據(jù)清除為例,在實際操作中需更改重要sql語句,謹記。

          具體步驟:

          1.查詢年份表中是否已有該月數(shù)據(jù),結果為0,則順序執(zhí)行

          select count(*) from IbosExecHistory_2010 where SendTime>='2010-05-01' and SendTime<'2010-06-01'

          2.查詢月份表中是否已清除,結果不為0,則順序執(zhí)行

          select count(*) from IbosExecHistory_month_5

          3.使用bcp命令進行數(shù)據(jù)導出,bcp命令OS命令,在已安裝sybase數(shù)據(jù)庫客戶端的系統(tǒng)上方可使用

          bcp test..IbosExecHistory_month_5 out d:\IbosExecHistory_month_5.txt -c -t "{" -r "\r\n" -Uibos -Pibos123 -Stfh28

          4.使用bcp命令進行數(shù)據(jù)導入

          bcp test..IbosExecHistory_2010 in d:\IbosExecHistory_month_5.txt -c -t "{" -r "\r\n" -Uibos -Pibos123 -Stfh28

          5.清除月份表數(shù)據(jù)

          truncate table IbosExecHistory_month_5

          posted @ 2010-12-22 15:54 身在半空 閱讀(294) | 評論 (0)編輯 收藏
               摘要: Oracle SQL Developer外觀改為windows后啟動異常的解決方法

          刪除我的文檔下面的 \AppData\Roaming\SQL Developer文件夾即可。  閱讀全文
          posted @ 2010-06-24 11:01 身在半空 閱讀(1604) | 評論 (0)編輯 收藏

          引自:http://www.examda.com/linux/fudao/20090928/091946607.html

          在Windows和Linux(Fedora/Ubuntu/RedHat)中安裝了NetBeans后,會遇到菜單等顯示亂碼的 問題。這里告訴大家如何解決中文顯示亂碼的問題,包括Windows、Fedora、Ubuntu下NetBeans中文亂碼解決辦法。

          一、Windows下NetBeans中文亂碼解決辦法

          l              找到你的Netbeans安裝目錄下的etc文件夾

          l              用記事本打開netbeans.conf

          l              找到netbeans_default_options(不是最后那個帶句號的…), 在其屬性的最后(引號以內(nèi))加一個空格, 再加上-J-Dfile.encoding=UTF-8

          二、Fedora   NetBeans中文亂碼解決辦法

          l              拷貝/usr/share/fonts/zh_CN/TrueType中的ttf文件到你的JDK安裝目錄下 jre/lib/fonts/fallback里,如果在”java安裝目錄/jre/lib/fonts”下沒有”fallback”這個目錄, 可以手工創(chuàng)建一個,即可解決。

          l              如果還不行的話,打開Netbeans的默認配置文件:我的在/home/www.dengchao.org/netbeans-6.5.1/etc /netbeans.conf。

          l              找到netbeans_default_options這一項(注意不要在#后面,那個是注釋)。

          l              在最后加上:(空格)-J-Duser.language=zh -J-Duser.country=CNs -J-Dfile.encoding=UTF-8

          三、Ubuntu NetBeans中文亂碼解決辦法

          l              在$JAVA_HOME/jre/lib/fonts目錄下創(chuàng)建一名為fallback的目錄

          l              將一可顯示中文的字體放到fallback目錄下,可以到Ubuntu字體目錄(/usr/share/fonts)去復制一份或者用ln命令做一個硬鏈 接到該目錄(注:軟鏈接無效)

          l              再運行NetBeans(or NetBean)即可

          posted @ 2010-05-16 13:44 身在半空 閱讀(1278) | 評論 (0)編輯 收藏

          <2010年5月>
          2526272829301
          2345678
          9101112131415
          16171819202122
          23242526272829
          303112345

          常用鏈接

          留言簿

          隨筆檔案

          文章檔案

          搜索

          •  

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 榕江县| 留坝县| 平远县| 仲巴县| 榆中县| 即墨市| 锦州市| 丘北县| 班戈县| 商洛市| 阿拉善右旗| 太湖县| 麻江县| 昌都县| 定结县| 布拖县| 黎城县| 莱西市| 襄城县| 深圳市| 洪雅县| 慈利县| 开原市| 页游| 福泉市| 商南县| 桐庐县| 科技| 茶陵县| 山阴县| 诸城市| 景泰县| 新安县| 虎林市| 白水县| 屯留县| 濮阳市| 方城县| 洞口县| 邵东县| 汨罗市|