Coreform 202x Segmentation faults (Ubuntu 18.04)

@scot ,

Thanks for the detailed explanation. I have a question regarding the license:

I am accessing a floating license that is hosted in a different computer. In the previous instruction for the docker, how do I put my license in a license.lic file?

Thanks,
Josimar

Write a file like this one:

HOST <IP address or hostname> ANY 5053
ISV csimsoft

Name it license.lic.

@scot

Thanks again for the detailed help. I am new to docker as well. Right now I am having the following error for the second command that you sent above:

The command that I typed is the following:

sudo docker container run -d -p 6080:6080 -p 5900:5900 -v /dev/shm:/dev/shm -v ~/Coreform/Docker/Data --name cubit_gui centos_gui_1

The error message is the following:

Unable to find image ‘centos_gui_1:latest’ locally
docker: Error response from daemon: pull access denied for centos_gui_1, repository does not exist or may require ‘docker login’: denied: requested access to the resource is denied.
See ‘docker run --help’.

Let me know if you have any insights.

Thanks,
Josimar

Sorry, switch cubit_gui and centos_gui_1. The --name argument is the name of the container, the last argument is the name of the image you built with docker build and should match the -t argument there.

Thanks,

The correct command is then

sudo docker container run -d -p 6080:6080 -p 5900:5900 -v /dev/shm:/dev/shm -v :/home/coreform/data --name centos_gui_1 cubit_gui

@scot

Now the issue is that coreform cubit cannot connect to my license server.

How can I give you the rlm_diagnostic without disclosing my remote server information to the general public?

Thanks,
Josimar

Here is the image of the error message:

To fix that, instead of passing in the -p options when you run the docker container, run it with --network=host. Your container will then use the host network instead of port forwarding, and should be able to reach your license server.

@scot

Ok, so the new updated command should be:

sudo docker container run -d --network=host -v /dev/shm:/dev/shm -v :/home/coreform/data --name centos_gui_1 cubit_gui

@scot,

When I tried the command above with --network=host, then now the http://localhost:6080/#/ does not work anymore. I get a failed connection error, see below.

Would you know how to fix this?

Thanks,
Josimar

What does sudo docker logs centos_gui_1 say?

@scot,

Here is the output:

output.zip (3.8 KB)

The error is here:

127.0.0.1 - - [22/Oct/2021 19:17:10] connecting to: localhost:5900
handler exception: [Errno 111] Connection refused

Open ports 5900 and 6800 in your firewall.

@scot,

Unfortunately still does not work:

Here is the output from sudo docker logs centos_gui_1:

output.zip (2.5 KB)

I open up the ports that you mentioned:

sudo ufw status verbose

Status: active
Logging: on (low)
Default: deny (incoming), allow (outgoing), deny (routed)
New profiles: skip

To                         Action      From
--                         ------      ----
22/tcp                     ALLOW IN    Anywhere                  
22                         ALLOW IN    Anywhere                  
5900                       ALLOW IN    Anywhere                  
6800                       ALLOW IN    Anywhere                  
6080                       ALLOW IN    Anywhere                  
22/tcp (v6)                ALLOW IN    Anywhere (v6)             
22 (v6)                    ALLOW IN    Anywhere (v6)             
5900 (v6)                  ALLOW IN    Anywhere (v6)             
6800 (v6)                  ALLOW IN    Anywhere (v6)             
6080 (v6)                  ALLOW IN    Anywhere (v6)

If that’s not working, then you’ll have to run the docker container with the -p options again and talk to your network administrator about connecting your docker container to your local network or VPN that your license server is on.

@scot,

Thank you for the help. I figure it out the problem. Everything is working now and I am all set.

Thanks,
Josimar