Starting PostgreSQL 7.3.4 server with Webmin
| От | Raigo77@solo.delfi.ee (Raigo) |
|---|---|
| Тема | Starting PostgreSQL 7.3.4 server with Webmin |
| Дата | |
| Msg-id | 80df3db1.0308191412.3fa384ad@posting.google.com обсуждение |
| Ответы |
Re: Starting PostgreSQL 7.3.4 server with Webmin
|
| Список | pgsql-novice |
I just installed PostgreSQL 7.3.4 (new default install) and setting up
Webmin to be able to administrate it. My question: what is the correct
command here for staring PostgreSQL server?
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 even work from command line. 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.
В списке pgsql-novice по дате отправления: