473,396 Members | 1,772 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

postmaster shutdown failed

Hello All,

After starting the postmaster, I just entered in
database like:

$ psql test
Welcome to psql 7.4.2, the PostgreSQL interactive
terminal.

Type: \copyright for distribution terms
\h for help with SQL commands
\? for help on internal slash commands
\g or terminate with semicolon to execute query
\q to quit

test=# LOG: received smart shutdown request
test=#

When I stop the postmaster in another session or in
terminal, I got the following error:

$ pg_ctl -D /var/opt/iexpress/postgresql stop
waiting for postmaster to shut
down.............................................. ..................
failed
pg_ctl: postmaster does not shut down
$

Is there any other way to shutdown in this situation?
(Or)
How to know whether database is accessed or not?
(Or)
How to shutdown the postmaster safely from the above
situation?

Regs,
Durai.


__________________________________________________ __________
Yahoo! Messenger - Communicate instantly..."Ping"
your friends today! Download Messenger Now
http://uk.messenger.yahoo.com/download/index.html

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

Nov 23 '05 #1
1 3724
On Thursday May 20 2004 10:11, Durai raj wrote:
When I stop the postmaster in another session or in
terminal, I got the following error:

$ pg_ctl -D /var/opt/iexpress/postgresql stop
waiting for postmaster to shut
down.............................................. ..................
failed
pg_ctl: postmaster does not shut down
$

Is there any other way to shutdown in this situation?
(Or)
How to know whether database is accessed or not?
(Or)
How to shutdown the postmaster safely from the above
situation?


You probably have an open transaction in your psql session which prevents
the "smart" shutdown from completing. You can either finish your
transactions (for smart shutdown) or you can roll them back (with "fast"
shutdown). See the manual ... for 7.3, it's

http://www.postgresql.org/docs/7.3/s...-shutdown.html

and also the man page for pg_ctl options to invoke smart/fast/immediate
shutdowns.

HTH.
---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings

Nov 23 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: psql-mail | last post by:
Help! Postmaster is segfaulting i think. I am running RH_AS_3beta, postgresql 7.3.4 compiled from postgresql-7.3. 4-1PGDG.src.rpm on ia64 arch. Tsearch2 compiled from tsearch-v2-stable.tar.gz ...
0
by: Jeremiah Elliott | last post by:
I have a java application that pulls data off db2/400 an inserts it into a postgres(7.3.2) database. The jdbc errors out with this message: ConnectionBean: Driver not loaded Something unusual has...
0
by: Kaushik Roy | last post by:
Problem : When starting the postmaster ( DB Server ) we can see the following on the console : Incorrectly built binary which accesses errno, h_errno or _res directly.. Needs to be fixed. DEBUG: ...
2
by: Brian Worth | last post by:
I have just upgraded from VB 4.0 to VB .NET 2002. One program under VB 4.0 was able to shut down or restart the (windows XP) machine using a series of API calls. (Getlasterror, GetCurrentProcess,...
0
by: Vadim Rapp | last post by:
Hello, I found (at http://uk.builder.com/programming/windows/0,39026618,20271637,00.htm) the following code to close vb.net application when system shutdown is initiated: Const WM_ENDSESSION...
0
by: Melanie Bergeron | last post by:
Hi all! I have a big problem installing postmaster as a service under Windows XP with cygwin. I already installed postgresql on 2 machines without problems but this machine really seem to don't...
0
by: Robert Fitzpatrick | last post by:
I am getting 'postmaster does not shut down' when trying to stop the database with '.../pg_ctl -D /path/to/datadir stop -m fast. How should I proceed to get the database shut down and restarted?...
2
by: Ying Lu | last post by:
Hello all, I met a problem about cannot start postmaster. The situation I met is that I was running postmaster, but because of the server closed all my konsole. As a result, I did not...
0
by: Anony Mous | last post by:
We have an installation of PG8.0 Beta1 running on a win 2000 server box. After a normal shutdown and restart of the computer, the database service would not restart. Error message was: "Could...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.