Skip site navigation (1) Skip section navigation (2)

Re: postmaster start options on RedHat 7.1

From: hodges(at)xprt(dot)net
To: <pgsql-novice(at)postgresql(dot)org>
Subject: Re: postmaster start options on RedHat 7.1
Date: 2002-03-22 04:09:28
Message-ID: 3C9A3DF8.2032.ECC5C1@localhost (view raw or flat)
Thread:
Lists: pgsql-novice
I am trying to get postgresql started by remote login.
Ran this script


#!/bin/sh
exec /bin/su - postgres -c "/usr/bin/postmaster -D 
/usr/local/pgsql/data -i -B 4096 >> 
/usr/local/pgsql/server.log 2>&1" /dev/null

And get this result:
/usr/bin/postmaster does not find the database system.  
Expected to find it in the PGDATA directory 
"/usr/local/pgsql/data
", but unable to open file with pathname 
"/usr/local/pgsql/data/base/template1/pg_class".


pg_class doesn't seem to be on the box although when I 
was
physically present at the computer I think I was able 
to 
run psql and create a database.

So I guess are there some programs that I can run 
remotely (as root or whatever) to get the postgres 
files set up?

Thanks, Tom

In response to

pgsql-novice by date

Next:From: Duncan Adams (DNS)Date: 2002-03-22 09:18:54
Subject: Visio ODBC winnt Linux question
Previous:From: Joshua b. JoreDate: 2002-03-21 21:21:23
Subject: What is object-relational?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group