Created attachment 888663 [details] diff -u postgresql92-postgresql.dist postgresql92-postgresql > postgresql92.patch Description of problem: The postgresql init script is prepared to be copied (or symlinked) but it has its local variable 'pidfile' defined like: pidfile="/var/run/postmaster.${PGPORT}.pid" This makes the script differentiate lock files for separated instances just based on the PGPORT. If the PGPORT has the same value for more then one postgres server, these init servers may not co-exist without additional changes of the script. The 'pidfile' variable should be ideally defined before sourcing per-instance configuration file and reuse ${NAME} variable somehow. The attached patch file could be useful. Version-Release number of selected component (if applicable): * postgresql92-postgresql-server-9.2.7-2.el6 provides postgresql92-postgresql How reproducible: * it is the default behaviour Additional info: * Bug 996492 also documented this but the customer with this problem is now experiencing it with Software Collections hence this bug.
Now it's too late for RHSCL-1.1, so moving to RHSCL-1.2.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHEA-2015-1055.html