Thu Jan 10 16:45:18 PST 2008
- Previous message: [Slony1-general] Re: Query about Slony-i from Colombia
- Next message: [Slony1-general] Replicating a replicated data
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi Glyn, It's not something silly like the /data/postgres directory being owned by postgres and having 700 perms ? Cheers James > > > Message: 4 > Date: Thu, 10 Jan 2008 04:40:41 -0800 (PST) > From: Glyn Astill <glynastill at yahoo.co.uk> > Subject: Re: [Slony1-general] Slony startup scripts > To: Christopher Browne <cbbrowne at ca.afilias.info> > Cc: slony1-general at lists.slony.info > Message-ID: <69062.47809.qm at web25804.mail.ukl.yahoo.com> > Content-Type: text/plain; charset=3Diso-8859-1 > > Hi Chris, > > It seems it may not be the start-stop-daemon afterall. I changed my > script to not use it and just start via su. > > E.g. I have this: > > su - $PGUSER -c "$SLONDAEMON -f $SLONCONF &" >> "$SLONLOG" 2>&1 < > /dev/null > echo "su - $PGUSER -c '$SLONDAEMON -f $SLONCONF &' >> "$SLONLOG" 2>&1 > < /dev/null" > > And it echos to the screen the following > > su - slony -c '/usr/local/pgsql/bin/slon -f /data/postgres/slon.conf' > >> /data/postgres/ > slon.log 2>&1 < /dev/null > > Does that look wrong? > > Either way, I end up with the following in my log file: > > 2008-01-10 12:34:59 GMT ERROR could not open configuration file > "/data/postgres/slon.conf" > 2008-01-10 12:34:59 GMT CONFIG main: slon version 1.2.12 starting up > usage: /usr/local/pgsql/bin/slon [options] clustername conninfo > > And slon.conf is there: > > -rwxrw-rw- 1 slony slony 4513 2008-01-09 17:55 > /data/postgres/slon.conf > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.slony.info/pipermail/slony1-general/attachments/20080111/= 696ca6d4/attachment-0001.htm
- Previous message: [Slony1-general] Re: Query about Slony-i from Colombia
- Next message: [Slony1-general] Replicating a replicated data
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-general mailing list