Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Benkku
Partner - Contributor III
Partner - Contributor III

Difficulties in installing Qlik Catalog related SW

I am installing Qlik Catalog SW on Linux Read Hat Enterprise 7.9 following the instructions of the installation guide: https://help.qlik.com/en-US/catalog/November2020/Content/Resources/PDFs/QlikCatalog_November_2020_Si...

I have got the first problem in section 2.3 Tomcat Installation. Basically, I am not able to connect to Tomcat with the browser.  Below is a detailed list of commands I have used. I have tried it using Firefox.

When trying to install Chrome I got other issues.

Any hints?

Thanks,

Bernardo Di Chiara

*** Installing Chrome ***

# sudo yum install glib
# sudo yum list glibc

# sudo wget https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
# sudo yum -y install redhat-lsb libXScrnSaver
# sudo yum -y localinstall google-chrome-stable_current_x86_64.rpm

>>>>>>>>>>>>>>>>>>>>>>>
Error: Package: google-chrome-stable-95.0.4638.54-1.x86_64 (/google-chrome-stable_current_x86_64)
Requires: libc.so.6(GLIBC_2.18)(64bit)
<<<<<<<<<<<<<<<<<<<<<<<

*** Installing Tomcat ***

Install wget (if not already installed):

# sudo yum install -y wget

Become the service account user:

# sudo su - qdcuser

Download Apache Tomcat and extract the file in usr/local/qdc:

$ cd /usr/local/qdc
$ wget https://archive.apache.org/dist/tomcat/tomcat-9/v9.0.38/bin/apache-tomcat-9.0.38.tar.gz
$ tar -xvf apache-tomcat-9.0.38.tar.gz

Overwrite <tomcat home>/conf/server.xml with the version expanded from the Qlik Catalog zip file:

$ cp /tmp/podium/config/tomcat9-server.xml /usr/local/qdc/apache-tomcat-9.0.38/conf/server.xml

Opening ports 8080 and 8443:

# sudo firewall-cmd --zone=public --permanent --add-port=8080/tcp
# sudo firewall-cmd --zone=public --permanent --add-port=8443/tcp
# sudo systemctl restart firewalld.service

Setup Apache Tomcat as a service to automatically start when Linux restarts:

# sudo cp /tmp/podium/config/tomcat.service /etc/systemd/system/
# sudo systemctl daemon-reload
# sudo systemctl enable tomcat.service

Edit the file /etc/systemd/system/tomcat.service to insert the correct user and group names:

# sudo nano /etc/systemd/system/tomcat.service

User=qdcuser
Group=qdcgroup

Start Tomcat manually:

$ cd /usr/local/qdc/apache-tomcat-9.0.38
$ ./bin/startup.sh

Browse to the following URL to verify that Tomcat is running:

https://localhost:8443

>>>>>>>>>>>>>>>>>>>>
Unable to connect

Firefox can’t establish a connection to the server at localhost:8443.
<<<<<<<<<<<<<<<<<<<<<

Labels (1)
1 Solution

Accepted Solutions
Benkku
Partner - Contributor III
Partner - Contributor III
Author

Hi again!

I followed the instructions at section 4.2.1 of the User Guide (4.2 Tomcat SSL Configuration > Local) and now it works by typing in the browser:

http://localhost:8080

Thanks for the help!

Bernardo

View solution in original post

3 Replies
Christopher_Ortega

Hi,

It appears that you are trying to connect securely (HTTPS) through port 8443. The steps you provided don't show that you configured for https.

Can you please make sure that port 8080 is open and try connecting via that port via HTTP?
Benkku
Partner - Contributor III
Partner - Contributor III
Author

Hi Christopher!

Thanks for your answer!

With port 8080 I get the following result:

"Secure Connection Failed

An error occurred during a connection to localhost:8080. SSL received a record that exceeded the maximum permissible length.

Error code: SSL_ERROR_RX_RECORD_TOO_LONG"

I am using Firefox since I have had challenges installing Chrome on Linux Red Hat (see above).

Benkku
Partner - Contributor III
Partner - Contributor III
Author

Hi again!

I followed the instructions at section 4.2.1 of the User Guide (4.2 Tomcat SSL Configuration > Local) and now it works by typing in the browser:

http://localhost:8080

Thanks for the help!

Bernardo