Glyn Astill glynastill at yahoo.co.uk
Wed Jan 9 10:55:50 PST 2008
Hi Chris,

If I do "/usr/local/pgsql/bin/slon -f /data/postgres/slon.conf" at in
the terminal it works, however it does not from the startup script.

Will try strace now...

--- Christopher Browne <cbbrowne at ca.afilias.info> wrote:

> Glyn Astill <glynastill at yahoo.co.uk> writes:
> > I now get the following error:
> >
> > Way5b:/data/postgres# /etc/init.d/slony start
> > Starting Slon: Starting /usr/local/pgsql/bin/slon...
> > 2008-01-09 18:21:03 GMT ERROR  could not open configuration file
> > "/data/postgres/slon.conf"
> > 2008-01-09 18:21:03 GMT CONFIG main: slon version 1.2.12 starting
> up
> >
> > The file is there, is owned by postgres with read write
> permissions.
> >
> > Any ideas
> 
> Run strace against it to see if it says anything interesting?
> 
> e.g. - run:
> 
> % strace /path/to/slon -f /data/postgres/slon.conf >
> /tmp/output.log 2> /tmp/output.err
> 
> and then look through the trace to see what system calls failed
> -- 
> let name="cbbrowne" and tld="acm.org" in String.concat "@"
> [name;tld];;
> http://cbbrowne.com/info/linuxdistributions.html
> "It's like  a house   of cards  that   Godzilla  has  been 
> blundering
> through."  -- Moon, describing how system messages work on ITS
> 



      __________________________________________________________
Sent from Yahoo! Mail - a smarter inbox http://uk.mail.yahoo.com




More information about the Slony1-general mailing list