Re: Scrash y Base de Datos Eliminada

From: "Lic(dot) Martin Marques" <martin(at)bugs(dot)unl(dot)edu(dot)ar>
To: Mario Gonzalez <gonzalemario(at)gmail(dot)com>, Freddy Arraez <farraez(at)interactivedata(dot)com(dot)ve>
Cc: postgres Help <pgsql-es-ayuda(at)postgresql(dot)org>
Subject: Re: Scrash y Base de Datos Eliminada
Date: 2005-12-26 19:01:38
Message-ID: Pine.LNX.4.61.0512261558280.1767@bugs.unl.edu.ar
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

On Mon, 26 Dec 2005, Mario Gonzalez wrote:

> No te olvides de mandar una copia a la lista!

On 26/12/05, Freddy Arraez <farraez(at)interactivedata(dot)com(dot)ve> wrote:
> El lun, 26-12-2005 a las 15:26 -0300, Mario Gonzalez escribió:
>
> [postgres(at)app root]$ echo $PGDATA
> /usr/local/pgsql/data
>
> La variable PGDATA como ven, esta seteada.
>
> Ahi es donde esta la BD.
>
> En data hay:
>
> [postgres(at)app data]$ ls -al
> total 252
> drwx------ 8 postgres postgres 4096 dic 26 14:26 .
> drwxrwxr-x 11 postgres postgres 4096 dic 26 13:11 ..
> drwx------ 10 postgres postgres 4096 dic 26 14:20 base
> drwx------ 2 postgres postgres 4096 dic 26 14:26 global
> drwx------ 2 postgres postgres 65536 dic 26 12:29 pg_clog
> -rw------- 1 postgres postgres 3557 dic 15 12:52 pg_hba.conf
> -rw------- 1 postgres postgres 1460 dic 15 12:35 pg_ident.conf
> drwx------ 2 postgres postgres 77824 dic 26 13:09 pg_subtrans
> drwx------ 2 postgres postgres 4096 ago 4 18:32 pg_tblspc
> -rw------- 1 postgres postgres 4 ago 4 18:32 PG_VERSION
> drwx------ 3 postgres postgres 4096 dic 26 10:01 pg_xlog
> -rw------- 1 postgres postgres 11059 ago 4 18:46 postgresql.conf
> -rw------- 1 postgres postgres 30 dic 26 13:40 postmaster.opts
> [postgres(at)app data]$

$ ls -l $PGDATA/base/

> Uso RAID 1. y acabo de reiniciar el Server. volvi a entrar en el psql y
> nada:

$ psql -l

> [postgres(at)app logs]$ psql
> Welcome to psql 8.0.3, the PostgreSQL interactive terminal.
>
> Type: \copyright for distribution terms
> \h for help with SQL commands
> \? for help with psql commands
> \g or terminate with semicolon to execute query
> \q to quit
>
> postgres=# \l
> List of databases
> Name | Owner | Encoding
> ------+-------+----------
> (0 rows)
>
> postgres=#

Esto es de lo mas extraño. A que base de datos se esta conectando si
despues le termina diciendo que no hay ninguna??? 8-/

--
15:50:01 up 4 days, 3:02, 2 users, load average: 0.41, 0.54, 0.92
---------------------------------------------------------
Lic. Martín Marqués | SELECT 'mmarques' ||
Centro de Telemática | '@' || 'unl.edu.ar';
Universidad Nacional | DBA, Programador,
del Litoral | Administrador
---------------------------------------------------------

In response to

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Jaime Casanova 2005-12-26 19:10:24 Re: Scrash y Base de Datos Eliminada
Previous Message Mario Gonzalez 2005-12-26 18:51:50 Re: Scrash y Base de Datos Eliminada