Youtrack on CentOS 5.5 no *.pid

Hi,

i have VPS with CentOS 5.5 and 512 mb, Java installed successfully.

[root@vm304 logs]# java -version
java version "1.6.0_23"
Java(TM) SE Runtime Environment (build 1.6.0_23-b05)
Java HotSpot(TM) 64-Bit Server VM (build 19.0-b09, mixed mode)

but when i try to run youtrack no *.pid is created just empty wrapper.log file.

[root@vm304 logs]# /sbin/service youtrack start
Starting youtrack...
"/home/youtrack/standalone/bin/wrapper" "/home/youtrack/standalone/conf/wrapper.conf" wrapper.syslog.ident=youtrack wrapper.pidfile="/home/youtrack/standalone//youtrack.pid" wrapper.daemonize=TRUE
[root@vm304 logs]# /sbin/service youtrack stop
Stopping youtrack...
youtrack was not running.
[root@vm304 logs]# ls -l
total 4
-rw-r--r-- 1 root root 0 Oct 16 18:02 wrapper.log

Any ideas? Should there be problem with low memory? Installation of CentOS is fresh any other SW running.

1 comment
Comment actions Permalink

Solved.

As i mentioned no *.pid was created even log was empty.

1. Ensure that youtrack user has right to folder /youtrack and all sub items. If no use chown :-)

2. Youtrack at least for my purposes runs successfuly on CentOS VPS with 512M but Tanuki wrapper.conf

must be modified.

# Initial Java Heap Size (in MB)

wrapper.java.initmemory=128

# Maximum Java Heap Size (in MB)

wrapper.java.maxmemory=256

In original version linked from tutorial is minimal value approx 1500M and that causes error with "low heap memory".
0

Please sign in to leave a comment.