Changes between Version 131 and Version 132 of FAQ


Ignore:
Timestamp:
Nov 29, 2017, 3:24:26 PM (6 years ago)
Author:
Dimitar Misev
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • FAQ

    v131 v132  
    385385
    386386=== Petascope cannot connect to rasdaman in Centos 7 ===
    387 The problem is tomcat user running petascope web application from (e.g: /var/lib/tomcat/webapps) couldn't have permission to connect these ports: 7001-7010 (specified in rasmgr.conf) for rasmgr, rasservers in petascope.log
    388 
     387Likely the problem is that the tomcat user running petascope (/var/lib/tomcat/webapps/rasdaman.war) doesn't have permission to connect to ports 7001-7010 for rasmgr and rasservers (specified in rasmgr.conf).
    389388{{{
    390389ERROR [08:58:34] ApplicationMain@105: Error when initializing petascope's configurations
     
    393392}}}
    394393
    395 
    396 There are 2 solutions for it:
    397  * Disable SELinux completely with setenforce 0 [https://www.tecmint.com/disable-selinux-temporarily-permanently-in-centos-rhel-fedora/].
    398  * Allow these ports 7001-7010 could be accessed for http with these commands [http://cockpit-project.org/guide/133/listen.html]
    399  {{{
     394There are two ways to fix this issue:
     395 * Disable SELinux temporarily with `setenforce 0` or permanently by editing `/etc/sysconfig/selinux` and rebooting (more details [https://www.tecmint.com/disable-selinux-temporarily-permanently-in-centos-rhel-fedora/ here]).
     396 * Allow ports 7001-7010 to be accessible for http with these commands ([http://cockpit-project.org/guide/133/listen.html more details]):
     397{{{
    400398   # to install semanage tool
    401399   sudo yum install setroubleshoot-server
     
    413411   sudo semanage port -a -t http_port_t -p tcp 7009
    414412   sudo semanage port -a -t http_port_t -p tcp 7010
    415  }}}
     413}}}