Postgresql scl enablepfffff. Persist already!

It might happen (usually to people who are sane in their mind) that you use the software collection just to get a newer version of Mariadb or Postgres or whatever is in there. So just to be clear: this is not the situation where you want to run two different version of the same package on the same system. That is booboo and if you found that in your workplace it means that the people preceding you didn’t exactly give a dam about having a safe environment and a pleasant workplace.

So CentOs and Red Hat software collection aficionados, let’s this nightmare begin.

So you reached the point where you installed, initialised, started and enabled the phreaking rh-postgresql96 service.

How do you carry on normal operation without hitting the constant problem of having to enable the scl (basically add a path to PATH and some libs).

Well I found this package: rh-postgresql96-syspaths.x86_64.
It is convenient, because as long as you didn’t set conflicting things up (read a different version of postgresql), this should make the software collection version behave exactly as it was part of the current package management, it avoids you a lot of typing and repetitive task, letting you focus on the juice. And yes, systemctl start postgresql will indeed work now.

This is the list of what yum search syspaths returns:

rh-haproxy18-haproxy-syspaths.x86_64 : Convenient wrappers for the rh-haproxy18-haproxy package; replaces the haproxy package
rh-mariadb102-mariadb-backup-syspaths.x86_64 : Convenient wrappers for the rh-mariadb102-mariadb-backup package; replaces the mariadb-backup package
rh-mariadb102-mariadb-config-syspaths.x86_64 : Convenient wrappers for the rh-mariadb102-mariadb-config package; replaces the mariadb-config package
rh-mariadb102-mariadb-server-galera-syspaths.x86_64 : Convenient wrappers for the rh-mariadb102-mariadb-server-galera package; replaces the mariadb-server-galera package
rh-mariadb102-mariadb-server-syspaths.x86_64 : Convenient wrappers for the rh-mariadb102-mariadb-server package; replaces the mariadb-server package
rh-mariadb102-mariadb-server-utils-syspaths.x86_64 : Convenient wrappers for the rh-mariadb102-mariadb-server-utils package; replaces the mariadb-server-utils package
rh-mariadb102-mariadb-syspaths.x86_64 : Convenient wrappers for the rh-mariadb102-mariadb package; replaces the mariadb package
rh-mariadb102-syspaths.x86_64 : System-wide wrappers for the rh-mariadb102 Software Collection
rh-mariadb103-mariadb-backup-syspaths.x86_64 : Convenient wrappers for the rh-mariadb103-mariadb-backup package; replaces the mariadb-backup package
rh-mariadb103-mariadb-config-syspaths.x86_64 : Convenient wrappers for the rh-mariadb103-mariadb-config package; replaces the mariadb-config package
rh-mariadb103-mariadb-server-galera-syspaths.x86_64 : Convenient wrappers for the rh-mariadb103-mariadb-server-galera package; replaces the mariadb-server-galera package
rh-mariadb103-mariadb-server-syspaths.x86_64 : Convenient wrappers for the rh-mariadb103-mariadb-server package; replaces the mariadb-server package
rh-mariadb103-mariadb-server-utils-syspaths.x86_64 : Convenient wrappers for the rh-mariadb103-mariadb-server-utils package; replaces the mariadb-server-utils package
rh-mariadb103-mariadb-syspaths.x86_64 : Convenient wrappers for the rh-mariadb103-mariadb package; replaces the mariadb package
rh-mariadb103-syspaths.x86_64 : System-wide wrappers for the rh-mariadb103 Software Collection
rh-mongodb34-mongo-tools-syspaths.x86_64 : Convenient wrappers for the rh-mongodb34-mongo-tools package; replaces the mongo-tools package
rh-mongodb34-mongodb-server-syspaths.x86_64 : Convenient wrappers for the rh-mongodb34-mongodb-server package; replaces the mongodb-server package
rh-mongodb34-mongodb-syspaths.x86_64 : Convenient wrappers for the rh-mongodb34-mongodb package; replaces the mongodb package
rh-mongodb34-syspaths.x86_64 : System-wide wrappers for the rh-mongodb34 Software Collection
rh-mongodb36-mongo-tools-syspaths.x86_64 : Convenient wrappers for the rh-mongodb36-mongo-tools package; replaces the mongo-tools package
rh-mongodb36-mongodb-server-syspaths.x86_64 : Convenient wrappers for the rh-mongodb36-mongodb-server package; replaces the mongodb-server package
rh-mongodb36-mongodb-syspaths.x86_64 : Convenient wrappers for the rh-mongodb36-mongodb package; replaces the mongodb package
rh-mongodb36-syspaths.x86_64 : System-wide wrappers for the rh-mongodb36 Software Collection
rh-mysql80-mysql-config-syspaths.x86_64 : Convenient wrappers for the rh-mysql80-mysql-config package; replaces the mysql-config package
rh-mysql80-mysql-server-syspaths.x86_64 : Convenient wrappers for the rh-mysql80-mysql-server package; replaces the mysql-server package
rh-mysql80-mysql-syspaths.x86_64 : Convenient wrappers for the rh-mysql80-mysql package; replaces the mysql package
rh-mysql80-syspaths.x86_64 : System-wide wrappers for the rh-mysql80 Software Collection
rh-postgresql10-postgresql-contrib-syspaths.x86_64 : Convenient wrappers for the rh-postgresql10-postgresql-contrib package; replaces the postgresql-contrib package
rh-postgresql10-postgresql-server-syspaths.x86_64 : Convenient wrappers for the rh-postgresql10-postgresql-server package; replaces the postgresql-server package
rh-postgresql10-postgresql-syspaths.x86_64 : Convenient wrappers for the rh-postgresql10-postgresql package; replaces the postgresql package
rh-postgresql10-syspaths.x86_64 : System-wide wrappers for the rh-postgresql10 Software Collection
rh-postgresql96-postgresql-contrib-syspaths.x86_64 : Convenient wrappers for the rh-postgresql96-postgresql-contrib package; replaces the postgresql-contrib package
rh-postgresql96-postgresql-server-syspaths.x86_64 : Convenient wrappers for the rh-postgresql96-postgresql-server package; replaces the postgresql-server package
rh-postgresql96-postgresql-syspaths.x86_64 : Convenient wrappers for the rh-postgresql96-postgresql package; replaces the postgresql package
rh-postgresql96-syspaths.x86_64 : System-wide wrappers for the rh-postgresql96 Software Collection

I found this out while installing cmdbuild 3.1 on Centos 7

 
(Visited 6 times, 1 visits today)

Author: Giuseppe Urso

Giuseppe lives in Haarlem now with his shiny dog, Filippa In 1982 received his first home computer, a Commodore 64, followed by Datasette and a 1541 Floppy Disk Drive. In 1999 he installed his first Linux distro (LRH6). In 2006 he switched to Debian as favourite OS. Giuseppe Urso actively sustains the Free Software Fundation and his founder Richard Mattew Stallman, he speaks to people trying to convince them to join the fight now, and about how important is to use Free Software only. He has a job as Infra Specialist at Hippo Enterprise Java Cms an Open Source Enterprise class Content Management System, one of the coolest company ever, in Amsterdam. He's always ready to install Debian on other people computers for free.

Leave a Reply

Your email address will not be published. Required fields are marked *

 

This site uses Akismet to reduce spam. Learn how your comment data is processed.