Christopher Browne | 9 Jan 2008 19:51

Re: Slony startup scripts

Glyn Astill <glynastill@...> 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 " <at> " [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

Gmane