Not signed in (Sign In)

Vanilla 1.1.5a is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorimkane
    • CommentTimeNov 13th 2011
     
    My host (ServInt) says they can only install OpenJDK (not Sun Java) on CentOS. I'm not sure if they're misinformed or what.

    When I run ./jetprofiler nothing happens.

    Any ideas?
  1.  
    Please check the logs, should be found in ~/.jetprofiler/logs/ or possibly the installation dir/logs. What do they say?
    • CommentAuthorimkane
    • CommentTimeNov 13th 2011
     
    Hi Bjron,

    Thanks for your help. Unfortunately the logs dir is empty.

    Here's what I did to run Jet Profiler:

    root@vps [/usr/local/bin/jetprofiler]# ./jetprofiler
    root@vps [/usr/local/bin/jetprofiler]#

    Cheers,
    Kane
  2.  
    Hi Kane,

    sorry, the logs directory should be ~/.jetprofilerformysql/logs.

    Still no logs? The start script ./jetprofiler should give an error message when it fails. You can try to add some debugging. Edit the start script and replace the last three lines with:

    else
    echo "Got here"
    echo java -cp $CLASSPATH -Djp.workspace="$HOMEDIR/.jetprofilerformysql/" $JAVAOPTS $*
    java -verbose -cp $CLASSPATH -Djp.workspace="$HOMEDIR/.jetprofilerformysql/" $JAVAOPTS $*
    fi

    Please try it and paste back the results.
    • CommentAuthorimkane
    • CommentTimeNov 14th 2011
     
    Hi Bjorn,

    I can't see the ~/.jetprofilerformysql/logs directory anywhere.

    I replaced those 3 lines and here's the output:
    https://docs.google.com/open?id=0BzZ15fC7uFuHMjE2YTMxMDEtZmVmZS00YTNiLTkwOWMtM2YxNjRkYzljN2E2
  3.  
    The logs according to your start script should be in:

    /root/.jetprofilerformysql/

    Anything there?

    It seems as if the application does start ok, but then exits after a while. Do you have X running on the computer? This might be obvious, but the application needs a gui to run.

    I tried it using OpenJDK 1.6.0_22 / Ubuntu and it worked for me.
    • CommentAuthorimkane
    • CommentTimeNov 14th 2011
     
    Haha, chit. I'm stupid.

    Yeah I was running the command through Putty from my Win7 laptop on my dedicated web server. I have no idea how to get a GUI going on a Linux machine that's hosted in some data center somewhere. :(
  4.  
    Okay, at least we found the problem :)

    What you can do is run Jet Profiler on your laptop and set up an SSH tunnel from your laptop to your dedicated web server. This will tunnel the MySQL traffic from/to your computer so Jet Profiler will be able to connect. See this post for more info:

    http://www.jetprofiler.com/forum/discussion/8/mysql-ssh-tunnel/
    • CommentAuthorimkane
    • CommentTimeNov 15th 2011
     
    Thanks, you rock!
  5.  
    You're welcome :)