Re: [ADMIN] Data dir

1999-01-10 Thread Gregg Berkholtz
Have you run "initdb" as the PostgreSQL superuser? If you are just installing 6.3.2 you may want to download the latest version (6.4.2) from www.postgresql.org Francisco Javier wrote: > Hi there ... I'm trying to install postgresql-6.3.2 on a Linux machine. > Everything seems to be good but the

[ADMIN] Data dir

1999-01-10 Thread Francisco Javier
Hi there ... I'm trying to install postgresql-6.3.2 on a Linux machine. Everything seems to be good but the install process (configure, make all, make install) do not create the data directory in my psql directory. As postgres superuser I do ... ./configure --prefix=/home/service/postgres make

Re: [ADMIN] my postgres.init file

1999-01-10 Thread Terry Mackintosh
Hi On Sat, 9 Jan 1999, Vance Greenway wrote: > hmmm, that raised another error: > > Starting postgres: stdin: is not a tty How are you trying to run it??? The file should reside in /etc/rc.d/init/ and be called like this: /etc/rc.d/init/postgres.init start or /etc/rc.d/init/postgres.init sto

Re: [ADMIN] my postgres.init file

1999-01-10 Thread Benjamin Gonay
Hi Vance, To start the postmaster, at startup, as root, do : su - postgres -c "postmaster .." (with your needed options) This doesn't need any password, as it's root which start your script instead of (really) an other user, here the 'postgres' user account. Be carefull to NOT FORGET the '

Re: [ADMIN] my postgres.init file

1999-01-10 Thread Vance Greenway
hmmm, that raised another error: Starting postgres: stdin: is not a tty any ideas on that one? what is a tty anyway? sure appreciate your help. -Original Message- From: Terry Mackintosh <[EMAIL PROTECTED]> To: Vance Greenway <[EMAIL PROTECTED]> Cc: [EMAIL PROTECTED] <[EMAIL PROTECTED