Welcome to Knowage Q&A, where you can ask questions and receive answers from other members of the community.
0 votes
1 view

I download Knowage-6.0.0-CE-Installer-Unix-20170616.zip

 To install in debian 8 with jre 1.8 and mysql 5.7 (this configuration worked with RC version)

The instalation is ok, but when I try to start server, show me this message:

Using CATALINA_BASE:   /home/anter-2016-1/Downloads/knowage/knowage60/Knowage-Server-CE
Using CATALINA_HOME:   /home/anter-2016-1/Downloads/knowage/knowage60/Knowage-Server-CE
Using CATALINA_TMPDIR: /home/anter-2016-1/Downloads/knowage/knowage60/Knowage-Server-CE/temp
Using JRE_HOME:        /usr
Using CLASSPATH:       /home/anter-2016-1/Downloads/knowage/knowage60/Knowage-Server-CE/bin/bootstrap.jar:/home/anter-2016-1/Downloads/knowage/knowage60/Knowage-Server-CE/bin/tomcat-juli.jar
Usage: catalina.sh ( commands ... )
commands:
  debug             Start Catalina in a debugger
  debug -security   Debug Catalina with a security manager
  jpda start        Start Catalina under JPDA debugger
  run               Start Catalina in the current window
  run -security     Start in the current window with security manager
  start             Start Catalina in a separate window
  start -security   Start in a separate window with security manager
  stop              Stop Catalina, waiting up to 5 seconds for the process to end
  stop n            Stop Catalina, waiting up to n seconds for the process to end
  stop -force       Stop Catalina, wait up to 5 seconds and then use kill -KILL if still running
  stop n -force     Stop Catalina, wait up to n seconds and then use kill -KILL if still running
  configtest        Run a basic syntax check on server.xml - check exit code for result
  version           What version of tomcat are you running?
Note: Waiting for the process to end and use of the -force option require that $CATALINA_PID is defined

Help me please to resolve this problem.

in Installer by (180 points)

1 Answer

+4 votes
 
Best answer
Hi, elopez76

I had this problem too. I solved it by changing the content of the file setenv.sh (located in the same folder as catalina.sh and start.sh) with the following:

echo "running setenv.sh script"
CATALINA_OPTS="-Xms128m -Xmx2048m -XX:MaxPermSize=512m -server"

Of course you can change the values of the parameters accordingly, but i guess the "CATALINA_OPTS=" made the trick.

Please, give it a try and let me know!

Cheers

Giovanni
by (1.5k points)
selected by
Yeah.  Thanks Giovanni
Thanks Giovanni, we'll update the installer ASAP.
A new installer CE for Unix is available.
...