Usage Note 34247: PostgreSQL might not shut down when using the stoppgsql.sh script
PostgreSQL might not shut down when you try to stop it using the stoppgsql.sh script. You also might receive the following message:
waiting for postmaster to shut down............................................................... failed
pg_ctl: postmaster does not shut down
To resolve this issue, perform the following steps:
- Ensure that Xythos has stopped.
- Add "&" to the end of the command, according to the following example:
./stoppgsql.sh &
You should receive the following message that indicates that PostgreSQL has shut down successfully:
waiting for postmaster to shut down....<Date Time> LOG: logger shutting down
done
postmaster stopped
You can also confirm that PostgreSQL has been shut down by performing one of the following commands:
ps -ef | grep post
netstat -an | grep 5432
If no results are returned, PostgreSQL has been shut down.
Operating System and Release Information
| SAS System | Xythos WebFile Server OEM Package | 64-bit Enabled AIX | | |
| 64-bit Enabled HP-UX | | |
| 64-bit Enabled Solaris | | |
| Solaris for x64 | | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
| Date Modified: | 2008-12-22 13:53:14 |
| Date Created: | 2008-12-17 13:20:45 |