Page 3 of 3

Re: installing openemm 2019 not working on centos

Posted: Fri Dec 06, 2019 9:47 pm
by maschoff
Same result with the latest runtime version 19.10.009.010. The runtime script is independent from the version of the frontend and backend. Since you insist that the problem is on our side and I run out of ideas I will hereby end this thread.

Re: installing openemm 2019 not working on centos

Posted: Fri Dec 06, 2019 10:56 pm
by JuergenB
Thanks Mr Aschoff,

i appriciate your help to get the dbcfg configured and to get OpenEMM 2019 running.

The Wiki asked us users to contribute feedback and questions to improve the documentation,
installation, configuration and administration of OpenEMM.

I followed the installation guide and the python script seems to fail (OpenEMMInstaller.py).

Could you please add some Informations to the wiki and the next Install & Admin Guide?

I`d like to find more information how to configure dbcfg manually?
Can you add the required steps to add the user to mariadb and create the empy content database?

I will wait for the next release (runtime and Admin Guide), maybe my detailed install log will be of any help then..

Thanks.

Re: installing openemm 2019 not working on centos

Posted: Sat Dec 07, 2019 10:23 pm
by JuergenB
Hello again,

i took a copy of some files from OpenEMM-19.04.000.459 OVA .
From /home/openemm/tomcat/bin/* … i copied these files !

emm.sh
emm.sh.additional.properties
make-memory-dump-cron-wrapper.sh
make-memory-dump.sh
make-thread-dump.sh
openemm.sh
OpenEMMInstaller.py
OpenEMMInstaller.sh
setenv.sh
single-shot-thread-dump.sh
tempcleaner.sh

I moved these files to the clean CentOS 7 Installation where i extracted openemm-runtime-19.10.009.010.tar.gz before.
And where the latest Release didn´t work at all.

Here i copied these old files into /home/openemm/tomcat/bin/ replacing the indepent script files ...

The /home/openemm/bin/OpenEmmInstaller.sh works.

Jürgen

[solved] installing openemm 2019 not working on centos

Posted: Wed Dec 18, 2019 11:45 am
by JuergenB
With the new runtime release 19.10.009.012 the Installation is fine now.

Thanks

Re: installing openemm 2019 not working on centos

Posted: Mon Jan 06, 2020 8:41 am
by chanhlinh
Hi there

I still have the same issue with the latest version 19.10.009.012

---OpenEMM status:
Operating System (OS): CentOS 7
Python version: 2.7.5 (default, Aug 7 2019, 00:51:29) [GCC 4.8.5 20150623 (Red Hat 4.8.5-39)]
Postfix Version: 2.10.1
DB client version: /opt/rh/rh-mariadb102/root/usr/bin/mysql Ver 15.1 Distrib 10.2.22-MariaDB, for Linux (x86_64) using EditLine wrapper
Database Connection: OK
Database version: MariaDB 10.2.22-MariaDB
OpenEMM database structure does NOT exist :D :D :D
Currently running database threads ratio (Current: 1, Maximum: 1): 1.0
Java version: 1.8.0_232 (OpenJDK)
Java JCE Unlimited-Key-Strength: OK
Tomcat version: 9.0.21.0
Wkhtml version: wkhtmltopdf 0.12.5 (with patched qt)
OpenEMMApplication is NOT running

I have tried lot of ways but still can not install. :(

-- here is my info ---
Root mode: On
Host: srv.icfo.vn
Runtime Version: 19.10.009.012
Manual Version: Unknown
OpenEMM Version: Unknown
System-Url: Unknown
OpenEMMBackend Version: Unknown

Current menu: Change database configuration (dbcfg)

Database configuration for openemm:
dbms = mariadb
host = 127.0.0.1
jdbc-connect = jdbc:mariadb://127.0.0.1/openemm?zeroDateTimeBehavior=convertToNull&useUnicode=true&characterEncoding=UTF-8
jdbc-driver = org.mariadb.jdbc.Driver
name = openemm
password = 123456
user = openemm

Please choose entry name to change (Blank => Back):
-------

Please kindly help me on this issue, I would very appreciate it.

Thanks & Regards
CL

Re: installing openemm 2019 not working on centos

Posted: Mon Jan 06, 2020 8:54 am
by maschoff
Please update to the latest runtime version 19.10.009.015. If this does not help, start the OpenEMMInstaller with option -debug and post its output here.

Re: installing openemm 2019 not working on centos

Posted: Mon Jan 06, 2020 9:33 am
by chanhlinh
maschoff wrote: Mon Jan 06, 2020 8:54 am Please update to the latest runtime version 19.10.009.015. If this does not help, start the OpenEMMInstaller with option -debug and post its output here.
Thank you very much for your reply, where I can download 015? (on website, only 012 available) --> https://www.agnitas.de/en/download/openemm-binaries/

Please be advised.

Thanks so much!
CL

Re: installing openemm 2019 not working on centos

Posted: Mon Jan 06, 2020 9:53 am
by JuergenB
Please try to upgrade all packages with the update menu.

This will update all module (installer, frontend, backend, etc).

Juergen

Re: installing openemm 2019 not working on centos

Posted: Mon Jan 06, 2020 10:03 am
by maschoff
Once you have your first runtime installed, you should use the OpenEMMInstaller for any updates: It is much more convenient and it always gives you access to the latest releases.

Re: installing openemm 2019 not working on centos

Posted: Mon Jan 06, 2020 10:23 am
by chanhlinh
JuergenB wrote: Mon Jan 06, 2020 9:53 am Please try to upgrade all packages with the update menu.

This will update all module (installer, frontend, backend, etc).

Juergen
Hi Juergen

I have updated to 015 but still can not install, hereinafter is my out put of -debug:


-----


Starting python ...
================================
= OpenEMM Installer v19.10.001 =
================================
Debug mode: On
Root mode: On
Host: srv.icfo.vn
Runtime Version: 19.10.009.015
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)

Current menu: Main

Please choose (Blank => Quit):
1. Show OpenEMM status
2. Configuration
3. Security
4. Install or update package from AGNITAS Website
5. Install or update package from local file
6. Install or update package from AGNITAS Cloud
7. Switch OpenEMM version
8. Restart OpenEMM
(Send configuration and log files in email) not available
0. Quit
>

Re: installing openemm 2019 not working on centos

Posted: Mon Jan 06, 2020 10:44 am
by maschoff
Now you should install the backend and frontend of OpenEMM as described in the OpenEMM Wiki (https://wiki.openemm.org) in chapter 4.4.

Re: installing openemm 2019 not working on centos

Posted: Mon Jan 06, 2020 10:46 am
by chanhlinh
And show status-----

Current menu: Show OpenEMM status

OpenEMM status:
Operating System (OS): CentOS 7
Python version: 2.7.5 (default, Aug 7 2019, 00:51:29) [GCC 4.8.5 20150623 (Red Hat 4.8.5-39)]
Postfix Version: 2.10.1
DB client version: /opt/rh/rh-mariadb102/root/usr/bin/mysql Ver 15.1 Distrib 10.2.22-MariaDB, for Linux (x86_64) using EditLine wrapper
Database Connection: ERROR
Check currently running database threads: ERROR
Error: <class '_mysql_exceptions.OperationalError'>
Java version: 1.8.0_232 (OpenJDK)
Java JCE Unlimited-Key-Strength: OK
Tomcat version: 9.0.24.0
Wkhtml version: wkhtmltopdf 0.12.5 (with patched qt)
OpenEMMApplication is NOT running

>