postgresql no slackware14 [RESOLVIDO]

1. postgresql no slackware14 [RESOLVIDO]

Daniel
danielcrvg

(usa Slackware)

Enviado em 04/03/2013 - 16:38h

pow eu consegui instalar o postgre pelo SlackBuild mas nao to conseguindo inicializar o servico, fica dando access denied.

alguma sugestao???

dani3l@blackpearl:~$ postgres -D /var/lib/pgsql/data
postgres cannot access the server configuration file "/var/lib/pgsql/data/postgresql.conf": Permission denied

sendo q eu ja tinha add tanto o grupo, quanto o usuario "postgres" com os comandos:

groupadd -g 209 postgres
useradd -u 209 -g 209 -d /var/lib/pgsql postgres


dani3l@blackpearl:~$ initdb /var/lib/pgsql/data
The files belonging to this database system will be owned by user "dani3l".
This user must also own the server process.

The database cluster will be initialized with locales
COLLATE: C
CTYPE: en_US
MESSAGES: en_US
MONETARY: en_US
NUMERIC: en_US
TIME: en_US
The default database encoding has accordingly been set to "LATIN1".
The default text search configuration will be set to "english".

initdb: could not access directory "/var/lib/pgsql/data": Permission denied
dani3l@blackpearl:~$



  






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts