Unix Technical Forum

Help - Urgent

This is a discussion on Help - Urgent within the pgsql Hackers forums, part of the PostgreSQL category; --> Hi, I am unable to restart the PostgreSQL. I am using redhat Linux 9 with postgresql 7.4.5. Unexpectedly due ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Hackers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-11-2008, 04:25 AM
ElayaRaja S
 
Posts: n/a
Default Help - Urgent

Hi,
I am unable to restart the PostgreSQL. I am using redhat Linux 9
with postgresql 7.4.5. Unexpectedly due to ups problem my server was
shutdown once. After that i am unable to restart the server. How to
stop and start.
Present status is running. If i tried to start i am getting as

1) bash-2.05b$ pg_ctl start
pg_ctl: Another postmaster may be running. Trying to start postmaster anyway.
FATAL: database files are incompatible with server
DETAIL: The data directory was initialized by PostgreSQL version 7.3,
which is not compatible with this version 7.4.5.
pg_ctl: cannot start postmaster
Examine the log output.

2)bash-2.05b$ pg_ctl restart
/usr/local/pgsql/bin/pg_ctl: line 274: kill: (5637) - No such process
waiting for postmaster to shut
down.............................................. ..................
failed
pg_ctl: postmaster does not shut down

3) bash-2.05b$ pg_ctl stop
/usr/local/pgsql/bin/pg_ctl: line 274: kill: (5637) - No such process
waiting for postmaster to shut
down.............................................. ..................
failed
pg_ctl: postmaster does not shut down

Note: Before my server shutdown i can able to do lot of times start /
stop / restart.
But now i am unable to stop it. Please help me.


--
Warm Regards,

S.ElayaRaja
Mobile: (+91) 98450 59540
E-Mail: elayaraja.s@gmail.com
raja_nk@hotmail.com

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-11-2008, 04:25 AM
Jonah H. Harris
 
Posts: n/a
Default Re: Help - Urgent

Did you not see the posts by Richard and Dennis?

ElayaRaja S wrote:

>Hi,
> I am unable to restart the PostgreSQL. I am using redhat Linux 9
>with postgresql 7.4.5. Unexpectedly due to ups problem my server was
>shutdown once. After that i am unable to restart the server. How to
>stop and start.
> Present status is running. If i tried to start i am getting as
>
>1) bash-2.05b$ pg_ctl start
>pg_ctl: Another postmaster may be running. Trying to start postmaster anyway.
>FATAL: database files are incompatible with server
>DETAIL: The data directory was initialized by PostgreSQL version 7.3,
>which is not compatible with this version 7.4.5.
>pg_ctl: cannot start postmaster
>Examine the log output.
>
>2)bash-2.05b$ pg_ctl restart
>/usr/local/pgsql/bin/pg_ctl: line 274: kill: (5637) - No such process
>waiting for postmaster to shut
>down............................................. ...................
>failed
>pg_ctl: postmaster does not shut down
>
>3) bash-2.05b$ pg_ctl stop
>/usr/local/pgsql/bin/pg_ctl: line 274: kill: (5637) - No such process
>waiting for postmaster to shut
>down............................................. ...................
>failed
>pg_ctl: postmaster does not shut down
>
>Note: Before my server shutdown i can able to do lot of times start /
>stop / restart.
> But now i am unable to stop it. Please help me.
>
>
>
>



---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 04:16 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com