-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Le 07/06/2010 09:14, Machiel Richards a écrit :
> Hi All
(...)

> 
>     when running the initcluster.sk I get the following error message:
> 
> preamble.sk:5: ERROR: syntax error at or near =
> 
> 
>   I have attached both files and hoping that someone could assist please.
> 
> Preamble.sk:
> 
>               define CLUSTER test;
>               define DEBIAN1 1;
>               define DEBIAN2 2;
> 
>               cluster = @CLUSTER;

The exact syntax is :

cluster name = @CLUSTER;

>               node @DEBIAN1 admin
>             conninfo = 'dbname=postgres host=debian1 user=slony';
>               node @DEBIAN2 admin
>             conninfo = 'dbname=postgres host=debian2 user=slony';
> 
> 
> Initcluster.sk:
> 
>                #!/usr/bin/slonik
> 
>               # File: initcluster.sk
> 
>               include <preamble.sk>;

There is no ';' at the end of this line.

Best regards,
Stéphane Schildknecht
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkwMqycACgkQA+REPKWGI0GHsgCgi57W4+4Lh720vEI6sHZmwgkB
4QMAn0ZI2EJAqDp/o9jilQvPj/Jq17O9
=e7w8
-----END PGP SIGNATURE-----
_______________________________________________
Slony1-general mailing list
[email protected]
http://lists.slony.info/mailman/listinfo/slony1-general

Reply via email to