[Bug 473644] New:=?UTF-8?Q?=20System=20startup=20script=20for=20PostgreSQL=20doesn=C2=B4t=20start=20the=20database=20after=20a=20power=20failure?=
https://bugzilla.novell.com/show_bug.cgi?id=473644 Summary: System startup script for PostgreSQL doesn´t start the database after a power failure Classification: openSUSE Product: openSUSE 11.0 Version: Final Platform: x86 OS/Version: openSUSE 11.0 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: seefree@bol.com.br QAContact: qa@suse.de Found By: --- User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; pt-BR; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5 After a power failure, the startup script for postgreSQL doesn´t remove all files necessary to get that database working. The script remove files /tmp/.s.PGSQL.5432 and ~datadir/postmaster.pid but it doesn´t remove file /tmp/.s.PGSQL.5432.lock Reproducible: Always Steps to Reproduce: 1.run rcpostgresql start 2.simulate a power failure 3.run rcpostgreql start and get a fail Actual Results: I cannot connect do database The forgot file should be added to the script. Default script lines: ## remove old socket, if it exists and no daemon is running. checkproc -p $PIDFILE $H || { rm -f /tmp/.s.PGSQL.5432 $PIDFILE } Correct script lines: ## remove old socket, if it exists and no daemon is running. checkproc -p $PIDFILE $H || { rm -f /tmp/.s.PGSQL.5432 /tmp/.s.PGSQL.5432.lock $PIDFILE } -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=473644
Petr Uzel
https://bugzilla.novell.com/show_bug.cgi?id=473644
User max@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=473644#c1
Reinhard Max
participants (1)
-
bugzilla_noreply@novell.com