rbeckman-nextgen / test-mc3

0 stars 0 forks source link

Linux: display error on commands: mcservice or mcserver #1771

Closed rbeckman-nextgen closed 4 years ago

rbeckman-nextgen commented 4 years ago

Display error on commands: mcservice or mcserveur (eg mcservice status) * Command executed from Mirth install directory (= $HOME): /opt/mirthconnect/

Example:
$ mcservice status => result:

Testing JVM in / usr ... Error /usr/local/bin/mcservice: line79: / opt/mirthconnect/.install4j: is a folder Error /usr/local/bin/mcservice: line80: / opt/mirthconnect/.install4j: is a folder .../...

=== Environment: Platform Suse Linux SLES 11 SP1 64-bit JVM: Java JotSpot ™ 64-Bit Server VM 1.6.0_23-b05 java_home: usr/java/jdk1.6.0_23 /bin/ ... Database: Postgres 8.3.9 Local (Included with SLES 11 Linux distribution) ===

Initial installation for this test: mirthconnect-2.1.0.5371.b631-linux.rpm logged as root, => Default installation, directory: /opt/mirthconnect/

Post-installation: => Creation of a unix account: mirth2, change owner recursive, on directory: /opt/mirthconnect/ owner become: mirth2 => Start / stop the server mirth with mcserver (nohup) or mcservice (mcservice start)

In both cases, systematic error above. However, Mirth ESB is started or stopped despite the display of this error.

Imported Issue. Original Details: Jira Issue Key: MIRTH-1807 Reporter: bruno.martin@chu-dijon.fr Created: 2011-03-28T05:02:50.000-0700

rbeckman-nextgen commented 4 years ago

May be a small problem with scripts: mcommand, mcserver & mcservice coding: db_file=$HOME/.install4j (a directory, not a file) Launch over root account (without error), create a .install4j directory under /

Imported Comment. Original Details: Author: bruno.martin@chu-dijon.fr Created: 2011-03-28T08:16:06.000-0700

rbeckman-nextgen commented 4 years ago

I have contacted install4j regarding this issue, awaiting a response.

Imported Comment. Original Details: Author: geraldb Created: 2011-03-29T11:28:55.000-0700

rbeckman-nextgen commented 4 years ago

Resolved with install4j beta on build system.

Imported Comment. Original Details: Author: geraldb Created: 2011-04-05T15:55:31.000-0700