On Sáb 07 Dic 2002 10:24, Jean Fleurant wrote:
>
> Thanks.
> I've started the service and did not receive any error message.
>
> Now I'd like to have acceess to a datatbase.  I think that I need to
> start the postmaster.
>
> I've run command "postmaster -D /var/lib/pgsql/data/" but I get
> following error message:
> FATAL 1:  could not read permissions of directory /var/lib/pgsql/data/
>
> I'm using a user I've created on installation. With this user, I cannot
> have access to the /var/lib/pgsql directory (no permission).
>
>  Here is the info for this directory: drwx------    4 postgres
> postgres     4096 déc  7 00:11 pgsql
>
> I've tried to execute "postmaster -D /var/lib/pgsql/data/" with the root
> userid and I get this error.
>
> "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.

Just use the init script that comes with PostgreSQL!!!

/etc/init.d/postgres [start|stop|restart|status] # As root

Or, as user postgres (are you doing this as postgres user, right?) 

# pg_ctl start

-- 
Porqué usar una base de datos relacional cualquiera,
si podés usar PostgreSQL?
-----------------------------------------------------------------
Martín Marqués                  |        [EMAIL PROTECTED]
Programador, Administrador, DBA |       Centro de Telematica
                       Universidad Nacional
                            del Litoral
-----------------------------------------------------------------



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to