Hi Thanks for the information:
I used the getenforce and the result says: Enforcing.
Checking the audit log gives me this error:
type=AVC msg=audit(1561555586.173:6325): avc: denied { name_connect
} for pid=15077 comm="java" des
t=5432 scontext=system_u:system_r:tomcat_t:s0
tcontext=system_u:object_r:postgresql_port_t:s0 tclass=t
cp_socket permissive=0
type=SYSCALL msg=audit(1561555586.173:6325): arch=c000003e syscall=42
success=no exit=-13 a0=35 a1=7f6
7977312f0 a2=1c a3=224 items=0 ppid=1 pid=15077 auid=4294967295 uid=53
gid=53 euid=53 suid=53 fsuid=53
egid=53 sgid=53 fsgid=53 tty=(none) ses=4294967295 comm="java"
exe="/usr/lib/jvm/java-1.8.0-openjdk-1
.8.0.212.b04-0.el7_6.x86_64/jre/bin/java"
subj=system_u:system_r:tomcat_t:s0 key=(null)
Running the CLI dspace database command gives me this result:
dspace databse test
Attempting to connect to database using these configurations:
- URL: jdbc:postgresql://localhost:5432/dspace
- Driver: org.postgresql.Driver
- Username: dspace
- Password: [hidden]
- Schema:
Testing connection...
Connected successfully!
Also when I run the command to connect to postgres, it runs fine as well:
As the dspace use I run the psql command, and get this:
psql (9.2.24)
Type "help" for help.
dspace=>
Run \l command and get this:
List of databases
Name | Owner | Encoding | Collate | Ctype | Access
privileges
-----------+----------+----------+------------+------------+-----------------------
dspace | dspace | UTF8 | en_US.utf8 | en_US.utf8 |
postgres | postgres | LATIN1 | en_US | en_US |
template0 | postgres | LATIN1 | en_US | en_US |
=c/postgres +
| | | | |
postgres=CTc/postgres
template1 | postgres | UTF8 | en_US.utf8 | en_US.utf8 |
(4 rows)
I'm still not able to get the xmlui running.
Thanks
Keith