Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
tutorial:adm:czechidm_installation [2019/06/10 13:13]
urbanl old revision restored (2019/03/18 14:46)
tutorial:adm:czechidm_installation [2019/06/10 13:17]
urbanl [10. Final Steps]
Line 439: Line 439:
 Follow some final configuration steps: [[tutorial:adm:czechidm_installation_finalize|]]. Follow some final configuration steps: [[tutorial:adm:czechidm_installation_finalize|]].
  
-=== Known Isues === +=== On CentOS set permisive mod on Tomcat === 
-It is possible that, on some distros, SELinux will deny acces to the database for tomcat. The tomcat will error to the ''/var/log/tomcat/catalina.out''or ''/var/log/messages'' line similar to ''org.postgresql.util.PSQLException: Connection to localhost:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.''.+SELinux will deny acces to the database for tomcat and won't allow create files by him. The tomcat will write error to the ''/var/log/tomcat/catalina.out''or ''/var/log/messages'' line similar to ''org.postgresql.util.PSQLException: Connection to localhost:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.''.
  
-If this happens, set the permissive mode for tomcat:+To fix this we need set the permissive mode for tomcat:
 <code> <code>
 semanage permissive -a tomcat_t semanage permissive -a tomcat_t
  • by kralikf