This forum is no longer active. Please post your questions to our new community site

[linux] [jrubystack] error when stopping

Subscribe to [linux] [jrubystack] error when stopping 5 post(s), 2 voice(s)

Avatar rob99 20 post(s)


I started using the jrubystack as a possible alternative to rubystack (beta 0) when I dont have root access on linux. It seems to install fine. Thanks!

I’m getting error stopping though. Note the “Cannot find …” part is NOT where I installed, but is below home for my user. I suspect it’s using user home rather than the install path somewhere.


bash-3.00$ ./ stop
Cannot find /opt/mypath/apache-tomcat-5.5.23/bin/
This file is needed to run this program
/opt/mypath/bin//jrubystack-1.0-beta-0/apache-tomcat/scripts/ : tomcat could not be stopped
STOPPING server from pid file /opt/mypath/bin//jrubystack-1.0-beta-0/mysql/data/
080311 12:16:33 mysqld ended

/opt/mypath/bin//jrubystack-1.0-beta-0/mysql/scripts/ : mysql stopped
bash-3.00$ uname -a
Linux MELLIDCAL02 2.6.9-42.0.3.ELsmp #1 SMP Mon Sep 25 17:24:31 EDT 2006 x86_64×86_64×86_64 GNU/Linux

Avatar Manuel 71 post(s)

Hi rob99,

Did you installed the stack as root? Are you running the stack as root or normal user?

BitNami stacks installed as root should be started as root too. If you want to have your stack installed under ”/opt/mypath” and run it as normal user you can create that path manually as root and them give the normal user write permissions to it. If this is not your case let us know what is it.


Avatar rob99 20 post(s)

Hi Manuel,

I don’t root access. Installed and running as same non root user.

Only thing I can think of is, at the end of the install, it prompted to start and I accepted. THEN I had to ./rubyconsole. Does that mean it started outside of rubyconsole? Or maybe it takes care of that automatially.

Anyway, I’m in rubyconsole when this happens…

Avatar Manuel 71 post(s)

Hi rob99,

The path /opt/mypath/apache-tomcat-5.5.23 doesn’t correspond with a typical BitNami path for Tomcat. Did you manually set the CATALINA_HOME path or added/modified something in the stack?

Avatar rob99 20 post(s)

Nope. /opt/mypath is my users home, which is why I suspect something is linking to home instead of the install dir (which is actually /opt/mypath/bin).

I haven’t changed anything – it’s a new install (as non root) to which I’ve added an existing rails app in the projects dir…