On 2012-07-01 01:58, Vladimir Stavrinov wrote: > On Sun, Jul 01, 2012 at 01:39:30AM +0200, Andreas Beckmann wrote: > >> + '[' '!' -S /var/run/postgresql/.s.PGSQL.5432 ']' >> + i=11 >> + sleep 1 >> + '[' 11 -gt 10 ']' >> + exit 1 >> dpkg: error processing postgres-xc (--configure): >> subprocess installed post-installation script returned error exit status 1 >> Errors were encountered while processing: >> postgres-xc >> >> Where should the socket come from? > > > It created when coordinator starts. Try to start/stop it with init > script and see what prevents to do so.
One step further. So installation fails if policy-rc.d is configured to forbid starting of services ... Next problem (after I manually ran service postgres-xc start): + i=1 + '[' '!' -S /var/run/postgresql/.s.PGSQL.5432 ']' + sudo su - postgres-xc -c 'psql postgres -c "CREATE NODE dn1 WITH (TYPE=datanode, PORT=15432); CREATE NODE dn2 WITH (TYPE=datanode, PORT=15433); select pgxc_pool_reload();"' /var/lib/dpkg/info/postgres-xc.postinst: line 144: sudo: command not found dpkg: error processing postgres-xc (--configure): subprocess installed post-installation script returned error exit status 127 Andreas -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org