From Bugzilla Helper: User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows 98; T312461) Description of problem: If the postmaster daemon has stopped, the postmastar daemon will not start by "/etc/rc.d/init.d/postgresql restart". Version-Release number of selected component (if applicable): postgresql-7.1.3-2 How reproducible: Always Steps to Reproduce: 1. # /etc/rc.d/init.d/postgresql status postgresql is stopped. 2. # /etc/rc.d/init.d/postgresql restart 3. # /etc/rc.d/init.d/postgresql status postgresql is stopped. Additional info: This problem was solved by following patch. *** postgresql.orig Mon Apr 1 00:19:33 2002 --- postgresql Mon Apr 1 00:19:55 2002 *************** *** 164,170 **** if [ "$pid" == "" ]; then rm -f /var/run/postmaster.pid rm -f /var/lock/subsys/postgresql ! exit 0; fi echo -n $"Stopping postgresql service: " # Check for older PGDATA location. --- 164,170 ---- if [ "$pid" == "" ]; then rm -f /var/run/postmaster.pid rm -f /var/lock/subsys/postgresql ! return; fi echo -n $"Stopping postgresql service: " # Check for older PGDATA location.
Fixed in newer version, like 7.2.1-2