Web interface inaccessible through port 8080

EDITED See last post for new details.



I've followed the directions here: http://confluence.jetbrains.com/display/YTD5/Linux.+YouTrack+JAR+as+a+Service however when I try to use the command

service youtrack start

I get the following message: "/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

After that message nothing happens and there is no youtrack.pid in the standalone directory.
0
22 comments
Avatar
Permanently deleted user
Can a developer or support member please respond so I at least know where to start when attempting to fix this issue?
0
Hi Chris,
Please, look at wrapper logs: home/youtrack/standalone/logs/wrapper.log.
Also, under what user do you execute the command "service youtrack start"? Usually, you need to run it with sudo:
sudo service youtrack start
0
Avatar
Permanently deleted user
Thank you for the reply!

I'm logged in as root so sudo is not needed.

wrapper.log does exist in the logs directory but is empty.
0
Ok, lets check 'youtrack' user permissions. Please, execute the following commands:
ls -l /home | grep youtrack
ls -laR /home/youtrack/standalone
0
Avatar
Permanently deleted user
Sure here are the results of both commands:

ls -l /home | grep youtrack drwx------ 3 youtrack   youtrack   4096 Apr  2 18:16 youtrack

ls -laR /home/youtrack/standalone /home/youtrack/standalone: total 66048 drwxr-xr-x 9 youtrack youtrack     4096 Apr  2 18:19 . drwx------ 3 youtrack youtrack     4096 Apr  2 18:16 .. drwxr-xr-x 2 youtrack youtrack     4096 Apr  2 18:15 bin drwxr-xr-x 2 youtrack youtrack     4096 Apr  2 19:29 conf drwxr-xr-x 2 youtrack youtrack     4096 Apr  2 18:15 doc drwxr-xr-x 2 youtrack youtrack     4096 Apr  2 18:15 jdoc -rw-r--r-- 1 youtrack youtrack      365 Oct 16  2010 jdoc.tar.gz drwxr-xr-x 2 youtrack youtrack     4096 Apr  2 18:15 lib drwxr-xr-x 2 youtrack youtrack     4096 Apr  4 13:10 logs drwxr-xr-x 4 youtrack youtrack     4096 Oct 16  2010 src -rw-r--r-- 1 youtrack youtrack 67514662 Mar 18 14:10 youtrack-5.1.2.jar lrwxrwxrwx 1 youtrack youtrack       18 Apr  2 18:19 youtrack.jar -> youtrack-5.1.2.jar /home/youtrack/standalone/bin: total 392 drwxr-xr-x 2 youtrack youtrack   4096 Apr  2 18:15 . drwxr-xr-x 9 youtrack youtrack   4096 Apr  2 18:19 .. -rw-r--r-- 1 youtrack youtrack  50068 Oct 16  2010 demoapp -rwxr-xr-x 1 youtrack youtrack  50517 Oct 16  2010 testwrapper -rwxr-xr-x 1 youtrack youtrack 272426 Oct 16  2010 wrapper /home/youtrack/standalone/conf: total 32 drwxr-xr-x 2 youtrack youtrack 4096 Apr  2 19:29 . drwxr-xr-x 9 youtrack youtrack 4096 Apr  2 18:19 .. -rw-r--r-- 1 youtrack youtrack 8011 Oct 16  2010 demoapp.conf -rw-r--r-- 1 youtrack youtrack 4925 Apr  2 19:29 wrapper.conf -rw-r--r-- 1 youtrack youtrack 8173 Oct 16  2010 wrapper.conf.bak /home/youtrack/standalone/doc: total 196 drwxr-xr-x 2 youtrack youtrack   4096 Apr  2 18:15 . drwxr-xr-x 9 youtrack youtrack   4096 Apr  2 18:19 .. -rw-r--r-- 1 youtrack youtrack    451 Oct 16  2010 index.html -rw-r--r-- 1 youtrack youtrack    191 Oct 16  2010 readme.txt -rw-r--r-- 1 youtrack youtrack 156687 Oct 16  2010 revisions.txt -rw-r--r-- 1 youtrack youtrack  20373 Oct 16  2010 wrapper-community-license-1.1.txt /home/youtrack/standalone/jdoc: total 12 drwxr-xr-x 2 youtrack youtrack 4096 Apr  2 18:15 . drwxr-xr-x 9 youtrack youtrack 4096 Apr  2 18:19 .. -rw-r--r-- 1 youtrack youtrack  318 Oct 16  2010 index.html /home/youtrack/standalone/lib: total 320 drwxr-xr-x 2 youtrack youtrack   4096 Apr  2 18:15 . drwxr-xr-x 9 youtrack youtrack   4096 Apr  2 18:19 .. -rwxr-xr-x 1 youtrack youtrack  47091 Oct 16  2010 libwrapper.so -rw-r--r-- 1 youtrack youtrack  67897 Oct 16  2010 wrapperdemo.jar -rw-r--r-- 1 youtrack youtrack 114841 Oct 16  2010 wrapper.jar -rw-r--r-- 1 youtrack youtrack  67002 Oct 16  2010 wrappertest.jar /home/youtrack/standalone/logs: total 8 drwxr-xr-x 2 youtrack youtrack 4096 Apr  4 13:10 . drwxr-xr-x 9 youtrack youtrack 4096 Apr  2 18:19 .. -rw-r--r-- 1 youtrack youtrack    0 Oct 16  2010 wrapper.log /home/youtrack/standalone/src: total 16 drwxr-xr-x 4 youtrack youtrack 4096 Oct 16  2010 . drwxr-xr-x 9 youtrack youtrack 4096 Apr  2 18:19 .. drwxr-xr-x 2 youtrack youtrack 4096 Apr  2 18:15 bin drwxr-xr-x 2 youtrack youtrack 4096 Apr  2 18:15 conf /home/youtrack/standalone/src/bin: total 64 drwxr-xr-x 2 youtrack youtrack  4096 Apr  2 18:15 . drwxr-xr-x 4 youtrack youtrack  4096 Oct 16  2010 .. -rw-r--r-- 1 youtrack youtrack 50003 Oct 16  2010 sh.script.in /home/youtrack/standalone/src/conf: total 16 drwxr-xr-x 2 youtrack youtrack 4096 Apr  2 18:15 . drwxr-xr-x 4 youtrack youtrack 4096 Oct 16  2010 .. -rw-r--r-- 1 youtrack youtrack 7813 Oct 16  2010 wrapper.conf.in
0
Ok. It looks correct.
Please, check JAVA_HOME variable in init script points to right java directory.
0
Avatar
Permanently deleted user
Ah an extra slash trailing the path :)

So... now a youtrack.pid file appears temporarily and then disappears.

I checked wrapper.log and found this:

STATUS | wrapper  | 2014/04/04 14:57:21 | --> Wrapper Started as Daemon STATUS | wrapper  | 2014/04/04 14:57:21 | Java Service Wrapper Community Edition 64-bit 3.5.6 STATUS | wrapper  | 2014/04/04 14:57:21 |   Copyright (C) 1999-2010 Tanuki Software, Ltd. All Rights Reserved. STATUS | wrapper  | 2014/04/04 14:57:21 |     http://wrapper.tanukisoftware.com STATUS | wrapper  | 2014/04/04 14:57:21 | Launching a JVM... INFO   | jvm 1    | 2014/04/04 14:57:21 | WrapperManager: Initializing... INFO   | jvm 1    | 2014/04/04 14:57:21 | WrapperSimpleApp Error: Unable to locate the class jetbrains.charisma.standalone.CharismaStandalone : java.lang.ClassNotFoundException: jetbrains.charisma.standalone.CharismaStandalone INFO   | jvm 1    | 2014/04/04 14:57:21 | INFO   | jvm 1    | 2014/04/04 14:57:21 | WrapperSimpleApp Usage: INFO   | jvm 1    | 2014/04/04 14:57:21 |   java org.tanukisoftware.wrapper.WrapperSimpleApp { app_class{/app_method} } [app_arguments] INFO   | jvm 1    | 2014/04/04 14:57:21 | INFO   | jvm 1    | 2014/04/04 14:57:21 | Where: INFO   | jvm 1    | 2014/04/04 14:57:21 |   app_class:      The fully qualified class name of the application to run. INFO   | jvm 1    | 2014/04/04 14:57:21 |   app_arguments:  The arguments that would normally be passed to the INFO   | jvm 1    | 2014/04/04 14:57:21 |    applictiion. ERROR  | wrapper  | 2014/04/04 14:57:23 | JVM exited while loading the application.
0
Hi,
It seems there is not enough memory. Try to increase it.
To do it edit wrapper.conf file and add/edit these parameters:
wrapper.java.additional.3=-Xmx1024m
wrapper.java.additional.4=-XX:MaxPermSize=256m

P.S. Please, note that you have to adjust the parameters' ordinal numbers.
0
Avatar
Permanently deleted user
Okay added the first line and edited the second from 128m to 256m.

Same error appears in logs/wrapper.log

The server has 2GB of memory available to it. JVM also is set use 512M initially up to a maximum of 1G.
0
Hm, try re-downloading the jar file. May be it was partially downloaded or corrupted.
Also, you can check md5 sums of downloaded file.
0
Avatar
Permanently deleted user
I appreciate the ongoing help Alex. Thanks a bunch!

So after downloading a new jar and confirming that checksums in fact do match (4f6815998fcfca3f7ea3de584e96451d) I get the log below.

Permissions are still the same and all files are owned by youtrack. I'm not sure where exactly the denied permissions are originating.

logs/wrapper.log
STATUS | wrapper  | 2014/04/07 20:50:39 | --> Wrapper Started as Daemon
STATUS | wrapper  | 2014/04/07 20:50:39 | Java Service Wrapper Community Edition 64-bit 3.5.6
STATUS | wrapper  | 2014/04/07 20:50:39 |   Copyright (C) 1999-2010 Tanuki Software, Ltd. All Rights Reserved.
STATUS | wrapper  | 2014/04/07 20:50:39 |     http://wrapper.tanukisoftware.com
STATUS | wrapper  | 2014/04/07 20:50:39 | 
STATUS | wrapper  | 2014/04/07 20:50:40 | Launching a JVM...
INFO   | jvm 1    | 2014/04/07 20:50:40 | WrapperManager: Initializing...
INFO   | jvm 1    | 2014/04/07 20:50:40 | Jetty home folder is [/home/youtrack/.youtrack]
INFO   | jvm 1    | 2014/04/07 20:50:40 | log4j:WARN No appenders could be found for logger (jetbrains.mps.webr.standalone.runtime.WebServer).
INFO   | jvm 1    | 2014/04/07 20:50:40 | log4j:WARN Please initialize the log4j system properly.
INFO   | jvm 1    | 2014/04/07 20:50:40 | 2014-04-07 20:50:40.857:INFO:oejs.Server:jetty-8.y.z-SNAPSHOT
INFO   | jvm 1    | 2014/04/07 20:50:40 | 2014-04-07 20:50:40.885:INFO:oejw.WebInfConfiguration:Extract jar:file:/home/youtrack/standalone/youtrack-5.1.2.jar!/ to /home/youtrack/.youtrack/work/jetty-0.0.0.0-777-youtrack-5.1.2.jar--any-/webapp
INFO   | jvm 1    | 2014/04/07 20:50:45 | 2014-04-07 20:50:44.917:WARN:oejuc.AbstractLifeCycle:FAILED SelectChannelConnector@0.0.0.0:777: java.net.SocketException: Permission denied
INFO   | jvm 1    | 2014/04/07 20:50:45 | java.net.SocketException: Permission denied
INFO   | jvm 1    | 2014/04/07 20:50:45 |     at sun.nio.ch.Net.bind0(Native Method)
INFO   | jvm 1    | 2014/04/07 20:50:45 |     at sun.nio.ch.Net.bind(Net.java:444)
INFO   | jvm 1    | 2014/04/07 20:50:45 |     at sun.nio.ch.Net.bind(Net.java:436)
INFO   | jvm 1    | 2014/04/07 20:50:45 |     at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:214)
INFO   | jvm 1    | 2014/04/07 20:50:45 |     at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
INFO   | jvm 1    | 2014/04/07 20:50:45 |     at org.eclipse.jetty.server.nio.SelectChannelConnector.open(SelectChannelConnector.java:187)
INFO   | jvm 1    | 2014/04/07 20:50:45 |     at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:316)
INFO   | jvm 1    | 2014/04/07 20:50:45 |     at org.eclipse.jetty.server.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:265)
INFO   | jvm 1    | 2014/04/07 20:50:45 |     at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
INFO   | jvm 1    | 2014/04/07 20:50:45 |     at org.eclipse.jetty.server.Server.doStart(Server.java:288)
INFO   | jvm 1    | 2014/04/07 20:50:45 |     at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
INFO   | jvm 1    | 2014/04/07 20:50:45 |     at jetbrains.mps.webr.standalone.runtime.WebServer.start(WebServer.java:80)
INFO   | jvm 1    | 2014/04/07 20:50:45 |     at jetbrains.charisma.standalone.CharismaStandalone.startServer(CharismaStandalone.java:104)
INFO   | jvm 1    | 2014/04/07 20:50:45 |     at jetbrains.charisma.standalone.CharismaStandalone.main(CharismaStandalone.java:46)
INFO   | jvm 1    | 2014/04/07 20:50:45 |     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO   | jvm 1    | 2014/04/07 20:50:45 |     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
INFO   | jvm 1    | 2014/04/07 20:50:45 |     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO   | jvm 1    | 2014/04/07 20:50:45 |     at java.lang.reflect.Method.invoke(Method.java:606)
INFO   | jvm 1    | 2014/04/07 20:50:45 |     at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:272)
INFO   | jvm 1    | 2014/04/07 20:50:45 |     at java.lang.Thread.run(Thread.java:744)
INFO   | jvm 1    | 2014/04/07 20:50:45 | 2014-04-07 20:50:44.918:WARN:oejuc.AbstractLifeCycle:FAILED org.eclipse.jetty.server.Server@19a8ac5e: java.net.SocketException: Permission denied
INFO   | jvm 1    | 2014/04/07 20:50:45 | java.net.SocketException: Permission denied
INFO   | jvm 1    | 2014/04/07 20:50:45 |     at sun.nio.ch.Net.bind0(Native Method)
INFO   | jvm 1    | 2014/04/07 20:50:45 |     at sun.nio.ch.Net.bind(Net.java:444)
INFO   | jvm 1    | 2014/04/07 20:50:45 |     at sun.nio.ch.Net.bind(Net.java:436)
INFO   | jvm 1    | 2014/04/07 20:50:45 |     at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:214)
INFO   | jvm 1    | 2014/04/07 20:50:45 |     at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
INFO   | jvm 1    | 2014/04/07 20:50:45 |     at org.eclipse.jetty.server.nio.SelectChannelConnector.open(SelectChannelConnector.java:187)
INFO   | jvm 1    | 2014/04/07 20:50:45 |     at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:316)
INFO   | jvm 1    | 2014/04/07 20:50:45 |     at org.eclipse.jetty.server.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:265)
INFO   | jvm 1    | 2014/04/07 20:50:45 |     at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
INFO   | jvm 1    | 2014/04/07 20:50:45 |     at org.eclipse.jetty.server.Server.doStart(Server.java:288)
INFO   | jvm 1    | 2014/04/07 20:50:45 |     at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
INFO   | jvm 1    | 2014/04/07 20:50:45 |     at jetbrains.mps.webr.standalone.runtime.WebServer.start(WebServer.java:80)
INFO   | jvm 1    | 2014/04/07 20:50:45 |     at jetbrains.charisma.standalone.CharismaStandalone.startServer(CharismaStandalone.java:104)
INFO   | jvm 1    | 2014/04/07 20:50:45 |     at jetbrains.charisma.standalone.CharismaStandalone.main(CharismaStandalone.java:46)
INFO   | jvm 1    | 2014/04/07 20:50:45 |     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO   | jvm 1    | 2014/04/07 20:50:45 |     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
INFO   | jvm 1    | 2014/04/07 20:50:45 |     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO   | jvm 1    | 2014/04/07 20:50:45 |     at java.lang.reflect.Method.invoke(Method.java:606)
INFO   | jvm 1    | 2014/04/07 20:50:45 |     at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:272)
INFO   | jvm 1    | 2014/04/07 20:50:45 |     at java.lang.Thread.run(Thread.java:744)
INFO   | jvm 1    | 2014/04/07 20:50:45 | 2014-04-07 20:50:44.922:INFO:oejsh.ContextHandler:stopped o.e.j.w.WebAppContext{,file:/home/youtrack/.youtrack/work/jetty-0.0.0.0-777-youtrack-5.1.2.jar--any-/webapp/},/home/youtrack/standalone/youtrack-5.1.2.jar
INFO   | jvm 1    | 2014/04/07 20:50:45 | WrapperSimpleApp: 
INFO   | jvm 1    | 2014/04/07 20:50:45 | WrapperSimpleApp Error: Encountered an error running main:
INFO   | jvm 1    | 2014/04/07 20:50:45 | WrapperSimpleApp Error: java.net.SocketException: Permission denied
INFO   | jvm 1    | 2014/04/07 20:50:45 | WrapperSimpleApp Error:     at sun.nio.ch.Net.bind0(Native Method)
INFO   | jvm 1    | 2014/04/07 20:50:45 | WrapperSimpleApp Error:     at sun.nio.ch.Net.bind(Net.java:444)
INFO   | jvm 1    | 2014/04/07 20:50:45 | WrapperSimpleApp Error:     at sun.nio.ch.Net.bind(Net.java:436)
INFO   | jvm 1    | 2014/04/07 20:50:45 | WrapperSimpleApp Error:     at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:214)
INFO   | jvm 1    | 2014/04/07 20:50:45 | WrapperSimpleApp Error:     at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
INFO   | jvm 1    | 2014/04/07 20:50:45 | WrapperSimpleApp Error:     at org.eclipse.jetty.server.nio.SelectChannelConnector.open(SelectChannelConnector.java:187)
INFO   | jvm 1    | 2014/04/07 20:50:45 | WrapperSimpleApp Error:     at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:316)
INFO   | jvm 1    | 2014/04/07 20:50:45 | WrapperSimpleApp Error:     at org.eclipse.jetty.server.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:265)
INFO   | jvm 1    | 2014/04/07 20:50:45 | WrapperSimpleApp Error:     at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
INFO   | jvm 1    | 2014/04/07 20:50:45 | WrapperSimpleApp Error:     at org.eclipse.jetty.server.Server.doStart(Server.java:288)
INFO   | jvm 1    | 2014/04/07 20:50:45 | WrapperSimpleApp Error:     at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
INFO   | jvm 1    | 2014/04/07 20:50:45 | WrapperSimpleApp Error:     at jetbrains.mps.webr.standalone.runtime.WebServer.start(WebServer.java:80)
INFO   | jvm 1    | 2014/04/07 20:50:45 | WrapperSimpleApp Error:     at jetbrains.charisma.standalone.CharismaStandalone.startServer(CharismaStandalone.java:104)
INFO   | jvm 1    | 2014/04/07 20:50:45 | WrapperSimpleApp Error:     at jetbrains.charisma.standalone.CharismaStandalone.main(CharismaStandalone.java:46)
INFO   | jvm 1    | 2014/04/07 20:50:45 | WrapperSimpleApp Error:     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO   | jvm 1    | 2014/04/07 20:50:45 | WrapperSimpleApp Error:     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
INFO   | jvm 1    | 2014/04/07 20:50:45 | WrapperSimpleApp Error:     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO   | jvm 1    | 2014/04/07 20:50:45 | WrapperSimpleApp Error:     at java.lang.reflect.Method.invoke(Method.java:606)
INFO   | jvm 1    | 2014/04/07 20:50:45 | WrapperSimpleApp Error:     at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:272)
INFO   | jvm 1    | 2014/04/07 20:50:45 | WrapperSimpleApp Error:     at java.lang.Thread.run(Thread.java:744)
STATUS | wrapper  | 2014/04/07 20:50:46 | on_exit trigger matched.  Restarting the JVM.  (Exit code: 1)
0
Hi,
It's because YT runs on privileged port 777. Try to use port > 1024. It's common practice to use ports 8080, 8088, 8888 and so on.
0
Avatar
Permanently deleted user
Okay changed the port back to 8080 and it looks like the process is running correctly.

Firewall is open on TCP port 8080 however if I go to that port nothing comes up. Displays "webpage not available" following the timeout period.

This is what wrapper.log now contains. which looks okay to me:

logs/wrapper.log
STATUS | wrapper  | 2014/04/08 16:30:17 | --> Wrapper Started as Daemon
STATUS | wrapper  | 2014/04/08 16:30:17 | Java Service Wrapper Community Edition 64-bit 3.5.6
STATUS | wrapper  | 2014/04/08 16:30:17 |   Copyright (C) 1999-2010 Tanuki Software, Ltd. All Rights Reserved.
STATUS | wrapper  | 2014/04/08 16:30:17 |     http://wrapper.tanukisoftware.com
STATUS | wrapper  | 2014/04/08 16:30:17 | 
STATUS | wrapper  | 2014/04/08 16:30:17 | Launching a JVM...
INFO   | jvm 1    | 2014/04/08 16:30:17 | WrapperManager: Initializing...
INFO   | jvm 1    | 2014/04/08 16:30:18 | Jetty home folder is [/home/youtrack/.youtrack]
INFO   | jvm 1    | 2014/04/08 16:30:18 | log4j:WARN No appenders could be found for logger (jetbrains.mps.webr.standalone.runtime.WebServer).
INFO   | jvm 1    | 2014/04/08 16:30:18 | log4j:WARN Please initialize the log4j system properly.
INFO   | jvm 1    | 2014/04/08 16:30:18 | 2014-04-08 16:30:18.452:INFO:oejs.Server:jetty-8.y.z-SNAPSHOT
INFO   | jvm 1    | 2014/04/08 16:30:18 | 2014-04-08 16:30:18.479:INFO:oejw.WebInfConfiguration:Extract jar:file:/home/youtrack/standalone/youtrack-5.1.2.jar!/ to /home/youtrack/.youtrack/work/jetty-0.0.0.0-8080-youtrack-5.1.2.jar--any-/webapp
INFO   | jvm 1    | 2014/04/08 16:30:22 | 2014-04-08 16:30:22.521:INFO:oejs.AbstractConnector:Started SelectChannelConnector@0.0.0.0:8080
0
From what machine are you trying to access YT? Try to open YT from the machine where YT is installed. From current log I see that YT listens on port 8080, but it is not initialized yet. On first request initialization process will be finished.
0
Avatar
Permanently deleted user
The machine is a remote server. Is it possible to access what we need without the server being physically here?
0
If the firewall settings are correct you should be able to access YT on remote host.
But if there are some problems you can use ssh and port forwarding to do that.
For example, like this:
ssh -L8080:localhost:8080 user@server

After that go to http://localhost:8080 on local machine.
P.S. The ssh tunnel will work only while ssh session is active.
0
Hi Chris,
Did you manage to run YT in the end?
0
Avatar
Permanently deleted user
Hey Alexander,

Sorry I was busy doing hardware changes and didn't have time to test it out.

I run that ssh command on the remote server or my local machine first? The server is running CentOS however my local machine is Windows 7.

Thanks!
0
Avatar
Permanently deleted user
Are you able to clarify this for me?

Thanks!
0
Hi Chris,
Am I right that you're using Putty to connect to remote host?
If so, you can see this page for details on how to setup port forwarding.
0
Also, I'd like to remind you that from logs I see the problem is not in YT. The log shows YT started successfully. You can try disabling firewall for some time and accessing YT directly from your machine.
0
Avatar
Permanently deleted user
Excellent! I was able to tunnel to set up YouTrack initially and it's now accessible and working live.

Thank you very much for your help Alex I couldn't have completed this without you!
0

Please sign in to leave a comment.