From: | Jeff Hamann <jeff(dot)d(dot)hamann(at)gmail(dot)com> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | getting postgres server on freebsd startup? |
Date: | 2011-06-16 17:29:53 |
Message-ID: | 9BF4A05A-DF69-4208-8177-8954A37EFFC0@gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
I've installed and tested postgresql just fine on FreeBSD 8.2.
I've been trying to get postgresql (the server) to start on bootup using /etc/rc.conf system.
I'm using the script from the tarball (found in the contrib/start-scripts/freebsd of postreges tarball)
I can't seem to get it to work on FreeBSD 8.2 amd64 (I don't think the arch is important here, but you never know).
As instructed in the script, I've moved the file to /usr/local/etc/rc.d/postgresql
I've added the "postgresql_enable=YES" to /etc/rc/conf.
I know I'm missing some magic here (http://www.freebsd.org/doc/en_US.ISO8859-1/articles/rc-scripting/index.html perhaps?)
I've /usr/local/pgsql/bin./postgres --help'd too and can't seem to get traction.
Can you please help? I'm sure this is something simple I'm neglecting.
Please don't respond with "Why don't you just use the ports collection?" There's reasons - like: 1) need to build from source, 3) it's for a tutorial, and 3) postgresql90-server isn't building.
Respectfully,
Jeff.
Jeff Hamann, PhD
PO Box 1421
Corvallis, Oregon 97339-1421
541-754-2457
jeff.hamann[at]forestinformatics[dot]com
jeff.d.hamann[at]gmail[dot]com
http://www.forestinformatics.com
http://forufus.blogspot.com/
http://seekingalpha.com/author/jeff-d-hamann
>
From | Date | Subject | |
---|---|---|---|
Next Message | BRUSSER Michael | 2011-06-16 17:32:57 | Re: Invalid byte sequence for encoding "UTF8": 0xedbebf |
Previous Message | Bill Moran | 2011-06-16 16:57:11 | Re: You could be a PostgreSQL Patch Reviewer! |