I usually run the following (HostedEngine):

[root@engine ~]# su - postgres
 
-bash-4.2$ source /opt/rh/rh-postgresql10/enable  
-bash-4.2$ psql engine


How did you try to access the Engine's DB ?

Best Regards,
Strahil Nikolov








В вторник, 20 октомври 2020 г., 17:00:37 Гринуич+3, [email protected] 
<[email protected]> написа: 





I am unable to connect to postgres database running on oVirt engine and while 
troubleshooting found below possible issue.

semanage fcontext -a -t postgresql_exec_t 
/opt/rh/rh-postgresql10/root/usr/bin/psql
ValueError: File spec /opt/rh/rh-postgresql10/root/usr/bin/psql conflicts with 
equivalency rule '/opt/rh/rh-postgresql10/root /'; Try adding '//usr/bin/psql' 
instead

Can someone help to resolve this issue.
_______________________________________________
Users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/[email protected]/message/JPWYVOHDVRLNISNH6WMW5KAWRBWI3NZP/
_______________________________________________
Users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/[email protected]/message/LKCIV56ELQRI4HTGK2VPYCP35YXMJYXF/

Reply via email to