pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Cannot start PGSQL
5+ messages / 2 participants
[nested] [flat]

* Cannot start PGSQL
@ 2008-03-20 04:37 smp <smp762001@yahoo.co.in>
  2008-03-20 04:49 ` Re: Cannot start PGSQL Devrim GÜNDÜZ <devrim@CommandPrompt.com>
  0 siblings, 1 reply; 5+ messages in thread

From: smp @ 2008-03-20 04:37 UTC (permalink / raw)
  To: pgsql-admin

I'm a novice & I'm trying to start posgtres by doing /etc/init.d/postgresql start.

It starts.
But the next min if i try to check the process by doing ps -auwx | grep post, I dont see any process.

My installation is in /var/lib/pgsql/data.

There is nothing in serverlog.

What can be the reason?

How do i enable logging to serverlog

Tnx & regards,
Sachin


      Did you know? You can CHAT without downloading messenger. Go to http://in.messenger.yahoo.com/webmessengerpromo.php/ 

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

* Re: Cannot start PGSQL
  2008-03-20 04:37 Cannot start PGSQL smp <smp762001@yahoo.co.in>
@ 2008-03-20 04:49 ` Devrim GÜNDÜZ <devrim@CommandPrompt.com>
  0 siblings, 0 replies; 5+ messages in thread

From: Devrim GÜNDÜZ @ 2008-03-20 04:49 UTC (permalink / raw)
  To: smp <smp762001@yahoo.co.in>; +Cc: pgsql-admin

Hi,

On Thu, 2008-03-20 at 10:07 +0530, smp wrote:
> 
> There is nothing in serverlog.
> 
> What can be the reason?

Check /var/lib/pgsql/pgstartup.log , if it exists.

Regards,
-- 
Devrim GÜNDÜZ , RHCE
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
Managed Services, Shared and Dedicated Hosting
Co-Authors: plPHP, ODBCng - http://www.commandprompt.com/

Attachments:

  signature.asc (application/pgp-signature, 188B) download

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

* Cannot start PGSQL
@ 2008-03-20 04:43 smp <smp762001@yahoo.co.in>
  0 siblings, 0 replies; 5+ messages in thread

From: smp @ 2008-03-20 04:43 UTC (permalink / raw)
  To: pgsql-admin

I'm a novice & I'm trying to start posgtres by doing /etc/init.d/postgresql start.
 
It starts.
But the next min if i try to check the process by doing ps -auwx | grep post, I dont see any process.
 
My installation is in /var/lib/pgsql/data.
 
There is nothing in serverlog.
 
What can be the reason?
 
How do i enable logging to serverlog
 
Tnx & regards,
Sachin


      Share files, take polls, and discuss your passions - all under one roof. Go to http://in.promos.yahoo.com/groups

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

* Re: Cannot start PGSQL
@ 2008-03-20 05:24 smp <smp762001@yahoo.co.in>
  2008-03-20 05:29 ` Re: Cannot start PGSQL Devrim GÜNDÜZ <devrim@CommandPrompt.com>
  0 siblings, 1 reply; 5+ messages in thread

From: smp @ 2008-03-20 05:24 UTC (permalink / raw)
  To: Devrim GÜNDÜZ <devrim@CommandPrompt.com>; +Cc: pgsql-admin

i get message as below

FATAL:  database files are incompatible with server
DETAIL:  The database cluster was initialized with PG_CONTROL_VERSION 71, but the server was compiled with PG_CONTROL_VERSION 812.
HINT:  It looks like you need to initdb.




----- Original Message ----
From: Devrim GÜNDÜZ <devrim@CommandPrompt.com>
To: smp <smp762001@yahoo.co.in>
Cc: pgsql-admin@postgresql.org
Sent: Thursday, 20 March, 2008 10:19:06 AM
Subject: Re: [ADMIN] Cannot start PGSQL

Hi,

On Thu, 2008-03-20 at 10:07 +0530, smp wrote:
> 
> There is nothing in serverlog.
> 
> What can be the reason?

Check /var/lib/pgsql/pgstartup.log , if it exists.

Regards,
-- 
Devrim GÜNDÜZ , RHCE
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
Managed Services, Shared and Dedicated Hosting
Co-Authors: plPHP, ODBCng - http://www.commandprompt.com/


      Download prohibited? No problem. CHAT from any browser, without download. Go to http://in.messenger.yahoo.com/webmessengerpromo.php/

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

* Re: Cannot start PGSQL
  2008-03-20 05:24 Re: Cannot start PGSQL smp <smp762001@yahoo.co.in>
@ 2008-03-20 05:29 ` Devrim GÜNDÜZ <devrim@CommandPrompt.com>
  0 siblings, 0 replies; 5+ messages in thread

From: Devrim GÜNDÜZ @ 2008-03-20 05:29 UTC (permalink / raw)
  To: smp <smp762001@yahoo.co.in>; +Cc: pgsql-admin

Hi,

On Thu, 2008-03-20 at 10:54 +0530, smp wrote:

> FATAL:  database files are incompatible with server
> DETAIL:  The database cluster was initialized with PG_CONTROL_VERSION
> 71, but the server was compiled with PG_CONTROL_VERSION 812.
> HINT:  It looks like you need to initdb.

You have an old (7.1) version installed on that directory. If you took
backups, you need to remove /var/lib/pgsql/data directory, recreate it
with postgres user, and initdb that directory before you can start
PostgreSQL.

Probably:

service postgresql initdb
service postgresql start

will do the work for you.

Regards,

Regards,
-- 
Devrim GÜNDÜZ , RHCE
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
Managed Services, Shared and Dedicated Hosting
Co-Authors: plPHP, ODBCng - http://www.commandprompt.com/

Attachments:

  signature.asc (application/pgp-signature, 188B) download

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


end of thread, other threads:[~2008-03-20 05:29 UTC | newest]

Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2008-03-20 04:37 Cannot start PGSQL smp <smp762001@yahoo.co.in>
2008-03-20 04:49 ` Devrim GÜNDÜZ <devrim@CommandPrompt.com>
2008-03-20 04:43 Cannot start PGSQL smp <smp762001@yahoo.co.in>
2008-03-20 05:24 Re: Cannot start PGSQL smp <smp762001@yahoo.co.in>
2008-03-20 05:29 ` Devrim GÜNDÜZ <devrim@CommandPrompt.com>

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