After a today upgrade to 6-STABLE postgresql doesn't start at boot. Strange beavior, if I run `/usr/local/etc/rc.d/010.pgsql.sh start' it starts correctly. 010.pgsql.sh is the same of updated ports. This is 010.pgsql.sh : http://www.deana.it/010.pgsql.sh Doug, this is resuls of running `sh rc' whit your patch: http://www.deana.it/rc.late # grep postgresql_enable /etc/rc.conf postgresql_enable="YES" This is the only one script doesn't working>From a fresh boot:db # ps ax | grep postmaster 875 p0 S+ 0:00.00 grep postmaster db # /usr/local/etc/rc.d/010.pgsql.sh rcvar # postgresql $postgresql_enable=YES db # /usr/local/etc/rc.d/010.pgsql.sh start db # ps ax | grep postmaster 903 p0 S 0:00.03 /usr/local/bin/postmaster -D /usr/local/pgsql/data (postgres) 908 p0 S 0:00.00 postmaster: stats buffer process (postgres) 909 p0 S 0:00.00 postmaster: stats collector process (postgres) 914 p0 S+ 0:00.00 grep postmaster thanks in advance. -- Cris, member of G.U.F.I Italian FreeBSD User Group http://www.gufi.org/
On Thu, 22 Dec 2005 00:50:07 +0100 Cristiano Deana <cristiano.deana@gmail.com> wrote:> After a today upgrade to 6-STABLE postgresql doesn't start at boot. > Strange beavior, if I run `/usr/local/etc/rc.d/010.pgsql.sh start' it > starts correctly. > 010.pgsql.sh is the same of updated ports. > > This is 010.pgsql.sh : > http://www.deana.it/010.pgsql.sh > > Doug, this is resuls of running `sh rc' whit your patch: > http://www.deana.it/rc.late > > # grep postgresql_enable /etc/rc.conf > postgresql_enable="YES" > > This is the only one script doesn't workingOn your system :) Squid and samba have been reported on ports and I'm working on cups, which with the current script behaves strangely like it doesn't receive "start". But, as in your case, it starts by hand. Please check if you get a /usr/local/etc/rc.d/010.pgsql.sh: unknown directive .............. Usage: /usr/local/etc/rc.d/010.pgsql.sh [fast|force|one](start|stop|restart|rcvar|reload|initdb|status|poll) on boot, I'm very curios to see what directive it receives. -- IOnut - Unregistered ;) FreeBSD "user" "Intellectual Property" is nowhere near as valuable as "Intellect" BOFH excuse #336: the xy axis in the trackball is coordinated with the summer solstice
> After a today upgrade to 6-STABLE postgresql doesn't start at boot. > Strange beavior, if I run `/usr/local/etc/rc.d/010.pgsql.sh start' it > starts correctly. > 010.pgsql.sh is the same of updated ports. > > This is 010.pgsql.sh : > http://www.deana.it/010.pgsql.sh > > Doug, this is resuls of running `sh rc' whit your patch: > http://www.deana.it/rc.late > > # grep postgresql_enable /etc/rc.conf > postgresql_enable="YES" > > This is the only one script doesn't workingI have the same problem the error on startup is: pg_ctl: unrecognized operation mode "faststart" try "pg_ctl --help" for more information