<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    狼愛上貍

    我胡漢三又回來了

    GT4中的globus-start-container和globus-stop-container所遇到的問題

    今天在使用GT4時,采用globus-start-container啟動容器和globus-stop-container終止容器時遇到一些問題,現歸納如下:
    1.首先采用globus-start-container -nosec啟動容器,這個命令在運行GT4例子程序中會經常用到。
    2.然后使用globus-stop-container終止容器。
    但是發現,如果我采用globus-stop-container命令終止容器的使用,會出現:connection refused的錯誤。
    另外一個窗口采用globus-start-container -nosec啟動容器的時候,卻說Address in use。

    百思不得其解,最后參考Globus網站,并通過自己的實踐,終于解決了這個問題:
    1.首先關于globus-start-container,globus.org上是這樣描述的:

    Starts a standalone container. By default a secure container is started on port 8443 and is accessible via HTTPS. On successful startup a list of services will be displayed on the console. By default the non secure (HTTP) container is started on port 8080.

    2.如果為globus-start-container加上-nosec參數時,即使用globus-start-container -nosec命令時

    Starts a non secure (HTTP) container. Please note that this option only disables transport security. Message security still can be used.

    3.然后關于globus-stop-container,globus.org上是這樣描述的:

    Stops a standalone container. By default this command will attempt to stop a container running on localhost:8443 and perform a soft shutdown.

    這樣就可以明白為什么采用globus-start-container -nosec是在8080端口啟動的container,而globus-stop-container要去8443端口關閉container,就會出現connection refused的錯誤,而且container也沒有真正關閉。
    而這個時候再次去啟動container時,因為上次的container沒有關閉,仍然回占用它所使用的端口,所以就會出現address in use的錯誤了。
    所以在一般情況下,直接采用Ctrl-C關閉container是一個好方法。
    如果要想通過globus-stop-container來關閉container的話,在啟動的時候需要采用globus-start-container不加-nosec參數。

    在使用globus-stop-container來關閉container時還要注意一個問題,就是關于權限問題。

    By default globus-stop-container must be executed with the same credentials as the container it is running with. If the ShutdownService or the container is configured with separate private key and certificate files (usually /etc/grid-security/containercert.pem and /etc/grid-security/containerkey.pem) do the following to stop the container:

     $ grid-proxy-init -cert /etc/grid-security/containercert.pem \
    -key /etc/grid-security/containerkey.pem \
    -out containerproxy.pem
    $ setenv X509_USER_PROXY containerproxy.pem
    $ globus-stop-container
    $ unsetenv X509_USER_PROXY
    $ rm containerproxy.pem
    

    上面這段話的含義是globus-stop-container使用和container一樣的證書來執行該命令,這里使用
    containercert.pem和containerkey.pem來生成一個containerproxy.pem,最后使用這個代理證書來關閉
    container。如果你遇到說找不到/tmp/x509up-uuid(uid是你用來執行globus-stop-container的用戶的uid)
    文件的情況,可以試圖采用上面的方式來解決這個問題。

    posted on 2008-05-28 12:05 狼愛上貍 閱讀(893) 評論(6)  編輯  收藏 所屬分類: Globus

    評論

    # re: GT4中的globus-start-container和globus-stop-container所遇到的問題 [未登錄] 2008-05-28 15:02 nancy

    你在XP下安裝的GT4也是可以使用證書是嗎?????  回復  更多評論   

    # re: GT4中的globus-start-container和globus-stop-container所遇到的問題 2008-06-17 18:34 bubble

    還在做gt4嗎,能不能留個聯系方式,qq或郵箱,向你學習學習  回復  更多評論   

    # re: GT4中的globus-start-container和globus-stop-container所遇到的問題 2008-08-25 17:08 大爺

    好  回復  更多評論   

    # re: GT4中的globus-start-container和globus-stop-container所遇到的問題 2008-08-25 17:09 大爺

    大家一起頂上去啊 好帖  回復  更多評論   

    # re: GT4中的globus-start-container和globus-stop-container所遇到的問題 2008-08-25 17:09 大爺

    絕對好帖  回復  更多評論   

    # re: GT4中的globus-start-container和globus-stop-container所遇到的問題 2008-08-25 17:09 大爺

    精彩好帖  回復  更多評論   

    主站蜘蛛池模板: 亚洲成a人无码亚洲成www牛牛 | 国外成人免费高清激情视频| 午夜亚洲国产理论秋霞| 最近的2019免费中文字幕| 亚洲真人无码永久在线| 亚洲高清偷拍一区二区三区| 国产成人亚洲精品91专区高清 | 中文字幕在线视频免费观看| 久久亚洲色一区二区三区| 国产免费内射又粗又爽密桃视频| 亚洲综合伊人久久大杳蕉| 中文字幕日本人妻久久久免费| 无码久久精品国产亚洲Av影片| 日韩精品人妻系列无码专区免费| 99久久亚洲综合精品成人网| 成人午夜免费福利视频| 天天爽亚洲中文字幕| 波多野结衣免费视频观看| 黄 色一级 成 人网站免费| 亚洲AV乱码一区二区三区林ゆな| 亚洲毛片免费观看| 亚洲精品无码乱码成人| 国产亚洲日韩在线a不卡| 亚洲无码视频在线| 性xxxx视频免费播放直播| 亚洲综合丁香婷婷六月香| 国产精品麻豆免费版| 中文字幕的电影免费网站| 亚洲精品视频在线观看免费| 最新亚洲成av人免费看| 久久久久亚洲av无码专区喷水| 在线观看特色大片免费视频| 美女视频免费看一区二区| 久久九九亚洲精品| 久草在视频免费福利| 亚洲中文久久精品无码1| 国产小视频在线观看免费| 免费福利在线视频| 亚洲国产精品精华液| 好看的亚洲黄色经典| 免费看大美女大黄大色|