I am trying to set the environment variables for my OpenEMM 20.04 installation as demands administration guide at page 23.
Here is the output
Code: Select all
================================
= OpenEMM Installer v20.04.003 =
================================
Host: mm3.v2v.net
Runtime Version: 20.04.000.043
Manual Version: Unknown
OpenEMM Version: Unknown
System-Url: Unknown
OpenEMMBackend Version: Unknown
DB Connection cannot be established. (Maybe DB user or DB connection parameters for OpenEMM were not configured)
DB structure does not exist. (Maybe OpenEMM is not installed)
Mandatory emmProperties file is missing (Maybe OpenEMM is not installed)
Basic webapplication configuration for JAVA is missing or invalid. Please configure.
Current menu: Configure basic environment (Java, Tomcat, Tomcat-Native, Wkhtml)
Current webapp basic configuration:
JAVA_HOME:
CATALINA_HOME:
Tomcat-Native: None
WKHTMLTOPDF:
WKHTMLTOIMAGE:
Do you want to change this configuration? (y/N, Blank => Cancel):
> y
Please enter path for JAVA_HOME (Blank => Cancel):
> /usr/lib/jvm/java
Please enter path for CATALINA_HOME (Blank => Skip configuration of existing Tomcat and install some):
> /home/openemm/tomcat/
Invalid variable for CATALINA_HOME
Code: Select all
[openemm@mm3 ~]$ ls -lha
total 3.9M
drwx------ 11 openemm openemm 4.0K Sep 14 18:25 .
drwxr-xr-x. 3 root root 4.0K Sep 11 21:32 ..
-rw------- 1 openemm openemm 987 Sep 14 18:37 .bash_history
-rw-r--r-- 1 openemm openemm 18 Nov 8 2019 .bash_logout
-rw-r--r-- 1 openemm openemm 192 Sep 12 12:08 .bash_profile
-rw-r--r-- 1 openemm openemm 312 Nov 8 2019 .bashrc
drwxrwxr-x 2 openemm openemm 4.0K Sep 14 21:30 bin
lrwxrwxrwx 1 openemm root 25 Sep 12 12:03 conf -> /home/openemm/tomcat/conf
drwxr-xr-x 2 openemm root 4.0K Sep 12 12:03 etc
lrwxrwxrwx 1 openemm root 25 Sep 12 12:03 logs -> /home/openemm/tomcat/logs
-rw------- 1 openemm openemm 18 Sep 14 18:25 .mysql_history
-rw-r--r-- 1 openemm openemm 3.8M Sep 11 22:32 openemm-runtime-20.04.000.043.tar.gz
drwxr-xr-x 5 root root 4.0K Sep 14 19:21 opt
drwxr-xr-x 3 openemm root 4.0K Sep 14 15:52 release
drwxr-xr-x 2 openemm openemm 4.0K Sep 11 22:00 .ssh
drwxr-xr-x 2 openemm root 4.0K Sep 12 12:03 temp
lrwxrwxrwx 1 openemm openemm 7 May 29 09:08 tomcat -> tomcat9
drwxrwxr-x 6 openemm openemm 4.0K May 29 09:08 tomcat9
-rw------- 1 openemm openemm 1.1K Sep 14 15:33 .viminfo
drwxrwxr-x 2 openemm openemm 4.0K May 29 09:08 webapps
drwxrwxr-x 2 openemm openemm 4.0K May 29 09:08 webapps-leave-empty
Code: Select all
[openemm@mm3 ~]$ ls -lha opt
total 24M
drwxr-xr-x 5 root root 4.0K Sep 14 19:21 .
drwx------ 11 openemm openemm 4.0K Sep 14 18:25 ..
lrwxrwxrwx 1 root root 12 Sep 11 22:46 python3 -> Python-3.8.5
drwxr-xr-x 23 openemm openemm 4.0K Sep 11 22:52 Python-3.8.5
-rw-r--r-- 1 root root 24M Jul 20 15:04 Python-3.8.5.tgz
drwxr-xr-x 3 root root 4.0K Sep 14 19:22 tomcat
drwxr-xr-x 3 root root 4.0K Sep 14 19:21 tomcat-native-1.2.24
Code: Select all
[openemm@mm3 ~]$ ls -lha opt/tomcat
total 424K
drwxr-xr-x 3 root root 4.0K Sep 14 19:22 .
drwxr-xr-x 5 root root 4.0K Sep 14 19:21 ..
lrwxrwxrwx 1 root root 38 Sep 14 19:22 tomcat-native -> /home/openemm/opt/tomcat-native-1.2.24
drwxr-xr-x 8 openemm openemm 4.0K Apr 24 19:25 tomcat-native-1.2.24-src
-rw-r--r-- 1 root root 410K Apr 24 20:06 tomcat-native-1.2.24-src.tar.gz
Fernando