pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Raigo77@solo.delfi.ee
To: pgsql-admin@postgresql.org
Subject: Starting PostgreSQL 7.3.4 with Webmin on Mandrake 9.1
Date: 20 Aug 2003 03:41:03 -0700
Message-ID: <80df3db1.0308200241.27f4ce5a@posting.google.com> (raw)

I just installed PostgreSQL 7.3.4 (new default install) and setting up
Webmin to be able to administrate it. Postgres is installed to default
location /usr/local/pgsql

My question: what is the correct command for starting PostgreSQL
server with Webmin and for bootup?

from command line (as root) I successfully did it with: 
/usr/local/pgsql/bin/postmaster -D /usr/local/pgsql/data 

but when I run it with Webmin I get:
Failed to start database server :

"root" execution of the PostgreSQL server is not permitted.

The server must be started under an unprivileged user id to prevent
a possible system security compromise.  See the documentation for
more information on how to properly start the server.


in install documentation I have options: 
1)/usr/local/pgsql/bin/postmaster -D /usr/local/pgsql/data
and 
2)nohup /usr/local/pgsql/bin/postmaster -D /usr/local/pgsql/data \
            </dev/null >>server.log 2>&1 </dev/null &

the second one didn't work from command line either for me.

I also tried with: 
/etc/rc.d/init.d/postgresql start
I get No such file or directory.

 What is the correct way to do it?

also, I would be glad to read what is the command for starting
Postgres in bootup. can I use the same command?


thanks for all ideas.



view thread (2+ messages)  latest in thread

Message-ID: <80df3db1.0308200241.27f4ce5a@posting.google.com>
Permalink:  ../80df3db1.0308200241.27f4ce5a@posting.google.com/
Also on:    postgresql.org/message-id/80df3db1.0308200241.27f4ce5a@posting.google.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: Raigo77@solo.delfi.ee
  Subject: Re: Starting PostgreSQL 7.3.4 with Webmin on Mandrake 9.1
  In-Reply-To: <80df3db1.0308200241.27f4ce5a@posting.google.com>
  References: <80df3db1.0308200241.27f4ce5a@posting.google.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox