Re: Problems setting up slony-1

From: Christopher Browne <cbbrowne(at)acm(dot)org>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Problems setting up slony-1
Date: 2004-11-26 22:50:24
Message-ID: m3act4z0lr.fsf@knuth.knuth.cbbrowne.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

A long time ago, in a galaxy far, far away, geustace(at)godzone(dot)net(dot)nz (Glen Eustace) wrote:
> I am trying to setup slony-1 and need some off list assistance from
> someone who has got things going ( or at least knows more than me :-).
>
> I am running 7.4.6 on both master and slave but when I run the slonik
> script, I get the error.
>
> <stdin>:5: Initializing the cluster
> <stdin>:7: PGRES_FATAL_ERROR create schema "_GZ"; - ERROR: permission
> denied for database admin
> <stdin>:9: Could not initialize the cluster!
>
> I am using a 'slony' user which has createdb rights but the database
> admin was created by a different user.

The problem likely falls into one of two things:

a) pg_hba.conf is configured to deny access from the host you are
running slonik on;

b) The 'slony' user is not a superuser which, it is quite clearly
documented, it must be...
--
(reverse (concatenate 'string "gro.mca" "@" "enworbbc"))
<http://cbbrowne.dyndns.info:8741/cgi-bin/twiki/view/Sandbox/SlonyIAdministration>
Outside of a dog, a book is man's best friend. Inside of a dog, it's
too dark to read. -Groucho Marx

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Carlos Roberto Chamorro Mostacilla 2004-11-26 22:50:31 UnSubEscrib
Previous Message Jonathan Daugherty 2004-11-26 22:31:42 Bulk data insertion