顯示具有 Troule Shooting 標籤的文章。 顯示所有文章
顯示具有 Troule Shooting 標籤的文章。 顯示所有文章

2009年10月14日 星期三

Outlook 與 Project Web Access整合問題解決步驟

Ken`s blog : 2009/10/14 (陰雨)
1. 先從EPM網頁系統 -> 個人設定 -> 設定Outlook同步處理
2. 下載並安裝 Project Web Access 元件。(必須關閉Outlook)
3. 開啟Outlook, 若出現"安裝失敗..."時,關閉Outlook並依步驟4處理後,在開啟Outlook。若無,則進入步驟5。
4. 開啟主機對FSO的支援:在CMD視窗下,輸入"regsvr32 scrrun.dll"即可。(若要關閉對FSO支援,輸入" regsvr32 /u scrrun.dll"即可)
5. Outlook會連線到預設的Project,所以先取先Login。
6. 在Outlook -> 工具 ->選項 -> Project Web Access -> 進階選項 -> 輸入登入資訊 ,在Project Web Access UPL中輸入"http://yoko-epm/pwa/"。
7. 在Outlook -> 工具 -> Project Web Access,選擇"匯入新的工作分派",即可將Project server上的個人相關專案工作項目匯入Outlook工作中。

2008年11月18日 星期二

Troule Shooting:網路連線不正常中段時處理

在網路連線時,若是遠端伺服器不正常中斷socket時,常常會造成用戶端不正常結束或工作不正常,此時在linux上的處理方式:
因linux kernel會發出SIGPIPE的信號,所以在程式開始的時候可以使用"signal(SIGPIPE, handler function);"註冊收到此一訊號時的處理涵式,如此就可以避免程式使用預設的處理涵式,進一步造成對程式的損害。
ps:signal很好用,可以處理很多例外的事件。

2008年11月7日 星期五

Troule Shooting:openRTSP無法接收internet packet

Streaming over TCP

By default, incoming data (RTP and RTCP packets) are streamed using UDP. If, however, you have a broken Internet connection that (for whatever reason) does not pass incoming UDP packets, then you can ask that the incoming data be streamed over TCP instead. (It will use the same TCP connection as RTSP.)

To do this, add the option

    -rtsp-stream-over-tcp 
to MPlayer. (Note that TCP streaming can be used only with "rtsp://" URLs; it can't be used with sessions that are specified using a SDP file.)

2008年11月6日 星期四

Troule Shooting:tail: 無法開啟 ‘+43’ 來讀取資料

問題:
在FC下装arm-elf-tools-20040427.sh的时候出现
# ./arm-elf-tools-20040427.sh
tail: 无法打开 “+43” 读取数据: 没有那个文件或目录
gunzip: stdin: not in gzip format

方案一:
#tail -n+43 arm-elf-tools-20040427.sh >> 1.tar.gz
#tar zxvf 1.tar.gz
这样子你会得到一个usr的文件夹。。
然后: cp -R usr /
方案二:
这是由于脚本中的tail没写对,必须加一个 -n 参数。
#vi arm-elf-tools-20040427.sh
将第39行的代码:
tail +${SKIP} ${SCRIPT} | gunzip | tar xvf -
改成如下:
tail -n +${SKIP} ${SCRIPT} | gunzip | tar xvf