<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時(shí),采用globus-start-container啟動(dòng)容器和globus-stop-container終止容器時(shí)遇到一些問題,現(xiàn)歸納如下:
    1.首先采用globus-start-container -nosec啟動(dòng)容器,這個(gè)命令在運(yùn)行GT4例子程序中會(huì)經(jīng)常用到。
    2.然后使用globus-stop-container終止容器。
    但是發(fā)現(xiàn),如果我采用globus-stop-container命令終止容器的使用,會(huì)出現(xiàn):connection refused的錯(cuò)誤。
    另外一個(gè)窗口采用globus-start-container -nosec啟動(dòng)容器的時(shí)候,卻說Address in use。

    百思不得其解,最后參考Globus網(wǎng)站,并通過自己的實(shí)踐,終于解決了這個(gè)問題:
    1.首先關(guān)于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參數(shù)時(shí),即使用globus-start-container -nosec命令時(shí)

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

    3.然后關(guān)于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端口啟動(dòng)的container,而globus-stop-container要去8443端口關(guān)閉container,就會(huì)出現(xiàn)connection refused的錯(cuò)誤,而且container也沒有真正關(guān)閉。
    而這個(gè)時(shí)候再次去啟動(dòng)container時(shí),因?yàn)樯洗蔚腸ontainer沒有關(guān)閉,仍然回占用它所使用的端口,所以就會(huì)出現(xiàn)address in use的錯(cuò)誤了。
    所以在一般情況下,直接采用Ctrl-C關(guān)閉container是一個(gè)好方法。
    如果要想通過globus-stop-container來關(guān)閉container的話,在啟動(dòng)的時(shí)候需要采用globus-start-container不加-nosec參數(shù)。

    在使用globus-stop-container來關(guān)閉container時(shí)還要注意一個(gè)問題,就是關(guān)于權(quán)限問題。

    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一樣的證書來執(zhí)行該命令,這里使用
    containercert.pem和containerkey.pem來生成一個(gè)containerproxy.pem,最后使用這個(gè)代理證書來關(guān)閉
    container。如果你遇到說找不到/tmp/x509up-uuid(uid是你用來執(zhí)行g(shù)lobus-stop-container的用戶的uid)
    文件的情況,可以試圖采用上面的方式來解決這個(gè)問題。

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

    評(píng)論

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

    你在XP下安裝的GT4也是可以使用證書是嗎?????  回復(fù)  更多評(píng)論   

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

    還在做gt4嗎,能不能留個(gè)聯(lián)系方式,qq或郵箱,向你學(xué)習(xí)學(xué)習(xí)  回復(fù)  更多評(píng)論   

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

    好  回復(fù)  更多評(píng)論   

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

    大家一起頂上去啊 好帖  回復(fù)  更多評(píng)論   

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

    絕對(duì)好帖  回復(fù)  更多評(píng)論   

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

    精彩好帖  回復(fù)  更多評(píng)論   

    主站蜘蛛池模板: 最近中文字幕完整免费视频ww | 中文字幕无码成人免费视频| 亚洲香蕉在线观看| 国产一卡二卡≡卡四卡免费乱码| 国产精品免费在线播放| 91亚洲国产成人久久精品网站| 在线成人a毛片免费播放| 国产三级在线免费观看| 亚洲人妖女同在线播放| 亚洲一区二区三区在线视频| 国产免费丝袜调教视频| 特级做a爰片毛片免费看| 亚洲A∨无码无在线观看| 在线观着免费观看国产黄| 久久久久国产精品免费免费不卡 | 国产色爽免费无码视频| 亚洲人成77777在线播放网站不卡| 国产成人毛片亚洲精品| 最新免费jlzzjlzz在线播放| 中国国产高清免费av片| 亚洲AV综合永久无码精品天堂| 亚洲AV无码一区二区三区DV| 国产女高清在线看免费观看| 51在线视频免费观看视频| www一区二区www免费| 亚洲男人的天堂网站| 亚洲理论片在线观看| 国产亚洲精品a在线无码| 日本人的色道www免费一区| 亚洲精品视频免费在线观看| 两性色午夜视频免费播放| 亚洲av无一区二区三区| 亚洲成AV人片久久| 亚洲av永久无码精品漫画| 亚洲欧洲一区二区三区| 国产精品二区三区免费播放心| 国产免费AV片在线播放唯爱网| 久久久久国产免费| 曰批全过程免费视频在线观看无码 | a色毛片免费视频| 人人爽人人爽人人片A免费|