Cannot start wizard setup

Hi,

I’ve just installed Razuna 1.7 and necessary tools onto my CentOS 6 server and started Tomcat.
However I wasn’t able to launch the set up wizard with my server IP address.

http://23.253.245.97/razuna - not working
http://23.253.245.97:8080/razuna - not working

I am wondering if there is a step I missed.
Is it because apache is running?
Sorry I am very new to this and might miss some really basic steps.

Any help will be greatly appreciated.

Thanks!

The IP address and port seems to be correct. You do have Java 7 installed,
yes?

Yes Java is installed.

java version “1.7.0_75”
Java™ SE Runtime Environment (build 1.7.0_75-b13)
Java HotSpot™ 64-Bit Server VM (build 24.75-b04, mixed mode)

Thanks!

Well, then it looks like Tomcat can’t start up. Look into the Tomcat logs for any issues.

Thanks!

I am getting memory error.

Java HotSpot™ 64-Bit Server VM warning: INFO: os::commit_memory(0x00000000c0130000, 986513408, 0) failed; error=‘Cannot allocate memory’ (errno=12)

There is insufficient memory for the Java Runtime Environment to continue.
Native memory allocation (malloc) failed to allocate 986513408 bytes for committing reserved memory.
An error report file with more information is saved as:
/opt/razuna/tomcat/bin/hs_err_pid29693.log
Java HotSpot™ 64-Bit Server VM warning: INFO: os::commit_memory(0x00000000c0130000, 986513408, 0) failed; error=‘Cannot allocate memory’ (errno=12)

I’ve added: export JAVA_OPTS="-Xms256m -Xmx512m -XX:MaxPermSize=128m" to setenv.sh as advised in the wiki and restarted but still can solve.

Thanks again!

Where do we advise such a low memory setting?

You should use something like: -Xms2G -Xmx2G -XX:MaxPermSize=512m

I must’ve read the wrong section.
I saw it here under Permanent Memory Generation: http://wiki.razuna.com/display/ecp/Adjusting+Memory+Settings+for+Tomcat

I’ve add your advice and restart but still not work. Maybe I have something wrong in my code??

Here’s my setenv.sh code:

export JAVA_OPTS="-Xms2G -Xmx2G -XX:MaxPermSize=512m"
CATALINA_OPTS="$CATALINA_OPTS -server -Xss1M -Xms1G -Xmx1G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -Djava.awt.headless=true -Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true -Dmail.mime.decodeparameters=true -XX:+PrintGCDateStamps -XX:-OmitStackTraceInFastThrow -Djava.security.egd=file:/dev/./urandom"

Perm Gen size needs to be increased if encountering OutOfMemoryError: PermGen problems. Specifying PermGen size is not valid on IBM JDKs

PRGDIR=dirname $0
RAZUNA_MAX_PERM_SIZE=512m
if [ -f “${PRGDIR}/permgen.sh” ]; then
echo “Detecting JVM PermGen support…”
. ${PRGDIR}/permgen.sh
if [ $JAVA_PERMGEN_SUPPORTED = “true” ]; then
echo “PermGen switch is supported. Setting to ${RAZUNA_MAX_PERM_SIZE}”
CATALINA_OPTS="-XX:PermSize=${RAZUNA_MAX_PERM_SIZE} -XX:MaxPermSize=${RAZUNA_MAX_PERM_SIZE} ${CATALINA_OPTS}"
else
echo “PermGen switch is NOT supported and will NOT be set automatically.”
fi
fi

export CATALINA_OPTS

Thanks!

Remove the first line with JAVA_OPTS as every where you refer to
CATALINA_OPTS.

Even then I don’t think this is the issue. Like I said, look in the
catalina.out log file and look for the error during startup. If it is
memory related than the setend.sh is the right file to work with.

Thanks!

I couldn’t figure it out and I started over again with the installation in a separate server.
Everything seems to be installed correctly.

104.239.157.229:8080/razuna

I’ve made sure port 8080 is open.
I’ve ran through the log files and doesn’t see the service being stopped.
I exported the log file here so you can see.
http://104.239.157.229/catalina.out
http://104.239.157.229/catalina.2015-06.08.log

I am stuck and not sure what to do.

Thanks again and i really appreciate your time.

http://104.239.157.229/catalina.2015-06-08.log - this is the correct path

Thanks!

I got it to work. Apparently I had the port blocked by firewall. Thanks!