{"id":279,"date":"2007-07-30T22:05:00","date_gmt":"2007-07-30T22:05:00","guid":{"rendered":"http:\/\/marvelliu.wordpress.com\/2007\/07\/30\/set-up-gt4"},"modified":"2007-07-30T22:05:00","modified_gmt":"2007-07-30T22:05:00","slug":"set-up-gt4","status":"publish","type":"post","link":"https:\/\/marvelliu.space\/?p=279","title":{"rendered":"Set up GT4"},"content":{"rendered":"<p>Damn scim, I can not input Chinese with pinyin, sigh.<\/p>\n<p>OK, today Smile let me set up the GT4 environment and study WSRF programming. I need to do the former thing at first.<\/p>\n<p>First I have to install the GT4 binaries, it goes well.<\/p>\n<p>Second, configure the system, refer http:\/\/www.globus.org\/toolkit\/docs\/4.0\/admin\/docbook\/quickstart.html#q-first.<\/p>\n<p>In most of the part it seems correct, but there are some exceptions:<\/p>\n<p>1 postgresql: <\/p>\n<p>root@choate:~# vim \/var\/lib\/postgres\/postmaster.conf <br \/>root@choate:~# grep POSTMASTER \/var\/lib\/postgres\/postmaster.conf <br \/>POSTMASTER_OPTIONS=&#8221;-i&#8221;<br \/>root@choate:~# vim \/var\/lib\/postgres\/data\/pg_hba.conf <br \/>root@choate:~# grep rftDatabase \/etc\/postgresql\/pg_hba.conf <br \/>host rftDatabase &#8220;globus&#8221; &#8220;140.221.8.31&#8221; 255.255.255.255 md5<\/p>\n<p>This is not true in Debian sid. The former file postmaster.conf  doesn&#8217;t exist and the latter file pg_hba.conf is \/etc\/postgresql\/8.2\/main\/pg_hba.conf.<\/p>\n<p>2 When I start globus, the log shows some error:<br \/>Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP\/IP connections. Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP\/IP connections. <\/p>\n<p>I googled it, and found the answer:<\/p>\n<p>modify postgresql.conf as follows:<\/p>\n<p> 56 listen_addresses = &#8216;*&#8217;<br \/> 57 #listen_addresses = &#8216;localhost&#8217;     # what IP address(es) to listen on;<br \/> 58                     # comma-separated list of addresses;<br \/> 59                     # defaults to &#8216;localhost&#8217;, &#8216;*&#8217; = all<br \/> 60                     # (change requires restart)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Damn scim, I can not input Chinese with pinyin, sigh. OK, today Smile let me set up the GT4 environment and study WSRF programming. I need to do the former thing at first. First I have to install the GT4 binaries, it goes well. Second, configure the system, refer http:\/\/www.globus.org\/toolkit\/docs\/4.0\/admin\/docbook\/quickstart.html#q-first. In most of the part &hellip; <a href=\"https:\/\/marvelliu.space\/?p=279\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Set up GT4&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21],"tags":[],"class_list":["post-279","post","type-post","status-publish","format-standard","hentry","category-tech"],"_links":{"self":[{"href":"https:\/\/marvelliu.space\/index.php?rest_route=\/wp\/v2\/posts\/279","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/marvelliu.space\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/marvelliu.space\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/marvelliu.space\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/marvelliu.space\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=279"}],"version-history":[{"count":0,"href":"https:\/\/marvelliu.space\/index.php?rest_route=\/wp\/v2\/posts\/279\/revisions"}],"wp:attachment":[{"href":"https:\/\/marvelliu.space\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=279"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/marvelliu.space\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=279"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/marvelliu.space\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=279"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}