From: Saul de Paula Nunes <saul(at)durr(dot)com(dot)br>
To: pgsql-ports(at)postgresql(dot)org
Subject:
Date: 2004-10-05 16:58:15
Message-ID: 2B14C43555649D43BAB990CB65F2117F253C97@DBRMX
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-ports

No speak ingles!
Por favor alguem sabe como resolver isso no Debian, rs, pelo amor de
Deus!!!!!!!!!!!

Vejam se pode me ajudar, sou administrador de rede e conheço muito pouco de
banco e preciso instalar um postgres para um amigo em Debian 3.
Tentei a versao que acompanha o Debian, dando um apt-get, porem ao final da
instalação parece que não consegue escrever em /etc/init.d/ o script de
inicialização do postgres (Daemon) dizendo que não tem permissão, como
resolvo, isso? Será que tem como dar-me um Help. Abaixo segue o problema em
negrito. Valeu!

**************************
Enter default encoding (SQL_ASCII):
>Now installing the PostgreSQL database files in /var/lib/postgres/data
>su - postgres -c cd /var/lib/postgres; . ./.bash_profile; LANG= initdb
>--encoding SQL_ASCII --pgdata /var/lib/postgres/data
>The files belonging to this database system will be owned by user
>"postgres".
>This user must also own the server process.
>
>Fixing permissions on existing directory /var/lib/postgres/data... ok
>creating directory /var/lib/postgres/data/base... ok
>creating directory /var/lib/postgres/data/global... ok
>creating directory /var/lib/postgres/data/pg_xlog... ok
>creating directory /var/lib/postgres/data/pg_clog... ok
>creating template1 database in /var/lib/postgres/data/base/1... ok
>creating configuration files... ok
>initializing pg_shadow... ok
>enabling unlimited row size for system tables... ok
>creating system views... ok
>loading pg_description... ok
>vacuuming database template1... ok
>copying template1 to template0... ok
>
>Success. You can now start the database server using:
>
> /usr/lib/postgresql/bin/postmaster -D /var/lib/postgres/data
>or
> /usr/lib/postgresql/bin/pg_ctl -D /var/lib/postgres/data -l logfile
>start
>
>PostgreSQL database now installed.
>Use /usr/bin/createdb to create a specific database and
>/usr/bin/createuser to enable other users to connect to a
>PostgreSQL database.
>
>In the first instance, these commands must be run by the
>user 'postgres'.
>
>/var/lib/dpkg/info/postgresql.postinst: /etc/init.d/postgresql: Permission
>denied
O que faço, para resolver isso. Tentei baixar a ultima versão
postgresql-7.4.5 do site oficial, compilei (.configure --witouht-readline e
instalei make install, essa tb não cria o script. HELP!! Preciso saber como
levantar a porta! 5432

Saul Nunes
Analista - Tecnologia da Informação
Dürr Brasil Ltda.
Rua Arnaldo Magniccaro, 500
04691-903 - São Paulo - SP - Brasil

Telefone: (11) 5633.3698
Fax: (11) 5633.3639
E-mail: saul(at)durr(dot)com(dot)br
Internet: www.durr.com.br

Browse pgsql-ports by date

  From Date Subject
Next Message Geminia Insurance Co. Ltd 2004-10-07 06:01:23 Installation Error
Previous Message Reini Urban 2004-10-05 16:23:28 Re: postgresql 8.0 and tsearch2 install under cygwin