pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Database starting failed !
4+ messages / 2 participants
[nested] [flat]

* Database starting failed !
@ 2001-01-19 16:32  Mario Tanguay <mtanguay@uforce.com>
  0 siblings, 1 reply; 4+ messages in thread

From: Mario Tanguay @ 2001-01-19 16:32 UTC (permalink / raw)
  To: pgsql-admin

Hi,

I tried to start the database, (after installing all, compile all,
create database....) and when I try the postmaster -D ...
I have always this message :

====================================

> postgres -D /netergynet/postgresql/data -B 50000
DEBUG:  Data Base System is starting up at Fri Jan 19 11:17:58 2001
DEBUG:  Data Base System was interrupted being in production at Fri Jan
19 11:09:35 2001
DEBUG:  Data Base System is in production state at Fri Jan 19 11:17:58
2001
FindExec: could not find a postgres to execute...
FATAL 1:  postgres: could not locate executable, bailing out...
FATAL 1:  postgres: could not locate executable, bailing out...

=================================================

Is there anybody can help me !

Mario

--
____________________________________
Mario Tanguay

Team leader
Netergy Networks
Tel (514) 282-8484x466 Fax (514) 282-9898
Email mario.tanguay@uforce.com
111 Duke, 5th floor
Montreal
Quebec
H3C 2M1
CANADA

______________________________________________

"Si tu téléphones à une voyante et qu'elle ne répond pas avant que ça
sonne, c'est pas bon signe. Ne la consulte pas !"
______________________________________________

"Certaines personnes voient les choses telles qu'elles sont et demandent
pourquoi et d'autres rêvent des choses qui n'ont jamais existé et
demandent pourquoi pas"
______________________________________________





^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: Database starting failed !
@ 2001-01-19 18:21  Stefan Huber <schweinsaug@crosswinds.net>
  parent: Mario Tanguay <mtanguay@uforce.com>
  0 siblings, 2 replies; 4+ messages in thread

From: Stefan Huber @ 2001-01-19 18:21 UTC (permalink / raw)
  To: pgsql-admin

Hi Mario!

>FATAL 1:  postgres: could not locate executable, bailing out...

seems to me, that the user, you are starting postgres as, cannot find some executable. Make sure, all Postgres binaries are reachable via PATH. (issue echo $PATH on the commandline to see the current paths, if you're using a Un*x).
If this doesn't help, try increasing the debuglevel (-d 5) and see, if the postmaster gives you a hint of what file it can't find.

HTH,
Stefan





^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: Database starting failed !
@ 2001-01-19 19:23  Mario Tanguay <mtanguay@uforce.com>
  parent: Stefan Huber <schweinsaug@crosswinds.net>
  1 sibling, 0 replies; 4+ messages in thread

From: Mario Tanguay @ 2001-01-19 19:23 UTC (permalink / raw)
  To: pgsql-admin

Hi,

First, thank you, I have solved one part of my problems...  Now I have this other error message.... and I haved create my database with the "initdb -D /netergynet/postgresql/data" command

=========================================
> postgres -D /netergynet/postgresql/data -B 50000 -d 5
binding ShmemCreate(key=0, size=417033216)
DEBUG:  Data Base System is starting up at Fri Jan 19 14:18:25 2001
DEBUG:  Data Base System was shut down at Fri Jan 19 14:16:32 2001
DEBUG:  Data Base System is in production state at Fri Jan 19 14:18:25 2001
FindExec: searching PATH ...
ValidateBinary: can't stat "/usr/sbin/postgres"
ValidateBinary: can't stat "/usr/local/bin/postgres"
ValidateBinary: can't stat "/usr/dt/bin/postgres"
ValidateBinary: can't stat "/usr/bin/postgres"
ValidateBinary: can't stat "/usr/ucb/postgres"
ValidateBinary: can't stat "/etc/postgres"
FindExec: found "/netergynet/postgresql/bin/postgres" using PATH
started: host= user=postgres database=postgres
InitPostgres
FATAL 1:  Database "postgres" does not exist in the system catalog.
FATAL 1:  Database "postgres" does not exist in the system catalog.
proc_exit(0)
shmem_exit(0)
exit(0)
==========================================

Thank's in advance !!!!

Mario

Stefan Huber wrote:

> Hi Mario!
>
> >FATAL 1:  postgres: could not locate executable, bailing out...
>
> seems to me, that the user, you are starting postgres as, cannot find some executable. Make sure, all Postgres binaries are reachable via PATH. (issue echo $PATH on the commandline to see the current paths, if you're using a Un*x).
> If this doesn't help, try increasing the debuglevel (-d 5) and see, if the postmaster gives you a hint of what file it can't find.
>
> HTH,
> Stefan

--
____________________________________
Mario Tanguay

Team leader
Netergy Networks
Tel (514) 282-8484x466 Fax (514) 282-9898
Email mario.tanguay@uforce.com
111 Duke, 5th floor
Montreal
Quebec
H3C 2M1
CANADA

______________________________________________

"Si tu téléphones à une voyante et qu'elle ne répond pas avant que ça sonne, c'est pas bon signe. Ne la consulte pas !"
______________________________________________

"Certaines personnes voient les choses telles qu'elles sont et demandent pourquoi et d'autres rêvent des choses qui n'ont jamais existé et demandent pourquoi pas"
______________________________________________





^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: Database starting failed !
@ 2001-01-19 20:39  Stefan Huber <schweinsaug@crosswinds.net>
  parent: Stefan Huber <schweinsaug@crosswinds.net>
  1 sibling, 0 replies; 4+ messages in thread

From: Stefan Huber @ 2001-01-19 20:39 UTC (permalink / raw)
  To: pgsql-admin

Hello again, Mario!

>started: host= user=postgres database=postgres
>InitPostgres
>FATAL 1:  Database "postgres" does not exist in the system catalog.

Are you sure, you have a database calles postgres? Normally the initial Database is called "template1"...but as I see, you don't even call for a database "postgres"...ahem. Have you tried starting postgres with
  postmaster -D /netergynet/postgresql/data -B 50000 -d 5

Stefan




^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2001-01-19 20:39 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-01-19 16:32 Database starting failed ! Mario Tanguay <mtanguay@uforce.com>
2001-01-19 18:21 ` Stefan Huber <schweinsaug@crosswinds.net>
2001-01-19 19:23   ` Mario Tanguay <mtanguay@uforce.com>
2001-01-19 20:39   ` Stefan Huber <schweinsaug@crosswinds.net>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox