Bug 96981
| Summary: | postmaster does not restart after ungraceful exit | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | Laurent Deniel <laurent.deniel> | ||||
| Component: | postgresql | Assignee: | Tom Lane <tgl> | ||||
| Status: | CLOSED RAWHIDE | QA Contact: | |||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 9 | CC: | hhorak | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2004-10-05 19:34:23 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
Created attachment 92242 [details]
patch to /etc/init.d/postgresql
The init script is currently being completely overhauled. I will make sure that your suggestion is taken into consideration. I've finally found a hack that solves this problem without the risks involved in forcibly deleting the lock file. It's fixed for FC3 and RHEL3 U4. See bug #134090. |
From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01 Description of problem: In case of ungraceful exit of postmaster (or machine crash), the postmaster deamon can no longer be restarted at boot phase or using /etc/init.d/postgresql start Version-Release number of selected component (if applicable): 7.3.2 How reproducible: Always Steps to Reproduce: 1./etc/init.d/postgresql stop 2.touch /var/lib/pgsql/data/postmaster.pid 3./etc/init.d/postgresql start Actual Results: [FAILED] Expected Results: [OK] Additional info: Fix attached.