close

要建立Slony-I cluster時,依文件範例,寫了一支slonik的執行檔,名叫initcluster.sk,用來起始slony cluster,內容如下:

#!/opt/PostgresPlus/8.3R2AS/dbserver/bin/slonik
#file initcluster.sk
include <preamble.sk>
init cluster (id=1, comment='hostname=10.10.10.1');

然後加上執行權限後執行,
$ chmod aug+x initcluster.sk
$ ./initcluster.sk

./initcluster.sk:7: failed to parse EnterpriseDB 8.3.0.112 on i686-pc-linux-gnu, compiled by GCC gcc (GCC) 4.1.0 for DB version

上網找只有一篇有相同的錯誤,也沒有人有解決的方法。

arrow
arrow
    全站熱搜

    來自大海的心 發表在 痞客邦 留言(1) 人氣()