Changes between Version 131 and Version 132 of FAQ
- Timestamp:
- Nov 29, 2017, 3:24:26 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FAQ
v131 v132 385 385 386 386 === 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 387 Likely 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). 389 388 {{{ 390 389 ERROR [08:58:34] ApplicationMain@105: Error when initializing petascope's configurations … … 393 392 }}} 394 393 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 {{{ 394 There 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 {{{ 400 398 # to install semanage tool 401 399 sudo yum install setroubleshoot-server … … 413 411 sudo semanage port -a -t http_port_t -p tcp 7009 414 412 sudo semanage port -a -t http_port_t -p tcp 7010 415 413 }}}