Good morning,
I'm having problems starting OpenEMM
I have a VPS server with 2Gb of RAM memory, managed by cPanel / WHM I installed OpenEMM for use with internal SMTP sending through.
But I do not know which setting to move the program to work correctly.
When booting with the command "openemm.sh start" get the following message:
Start / home / openemm / bin / scripts / BAV-update.py .. done.
Start / home / openemm / bin / scripts / BAV-trigger.py .. done.
Start / home / openemm / bin / scripts / .. bavd.py done.
Start / home / openemm / bin / L AVB-INFO .. done.
Start python / home / openemm / bin / scripts / .. recovery.py done.
Start / home / openemm / bin / scripts / update.py account bounce .. done.
Start / home / openemm / bin / scripts / .. pickdist.py done.
Start / home / openemm / bin / scripts / .. semu.py done.
Start / home / openemm / bin / scripts / .. slrtscn.py done.
/ home / openemm / bin / openemm.sh: line 42: [: 15666: unary operator expected
Starting up Tomcat ......
Check Java installation: OK
Check Tomcat installation: OK
Using CATALINA_BASE: / home / openemm
Using CATALINA_HOME: / usr / local / jakarta / tomcat
Using CATALINA_TMPDIR: / home / openemm / temp
Using JRE_HOME: / opt / openemm / java
Using CLASSPATH: / usr / local / jakarta / tomcat / bin / bootstrap.jar
I do not know what you mean "unary operator expected"
The Tomcat is installed by Apache in WHM, but it is working properly.
What setting should I change to start the OpenEMM, can anyone help me?
Error starting: "15666: unary operator expected"
Moderator: moderator
-
- Posts: 5
- Joined: Thu Mar 18, 2010 12:39 pm
-
- Site Admin
- Posts: 2628
- Joined: Thu Aug 03, 2006 10:20 am
- Location: Munich, Germany
- Contact:
Re: Error starting: "15666: unary operator expected"
Line 42 of openemm.sh contains code
to check if Tomcat is already running.
Variable $JPS_RUNNING_PID is set 6 lines before with
This expression should return a single value, but according to your error message it does not. Just enter expression
at your Linux prompt and check the value(s) returned.
Code: Select all
if [ $JPS_RUNNING_PID ]; then
Variable $JPS_RUNNING_PID is set 6 lines before with
Code: Select all
JPS_RUNNING_PID=`ps -eo pid,command|grep org.apache.catalina|grep -v grep|awk '{print $1}'`
Code: Select all
ps -eo pid,command|grep org.apache.catalina|grep -v grep|awk '{print $1}'
OpenEMM Maintainer