radsluk
11 post(s)
|
Hi, i’m on virtual server running slackware 12, i’ve got root access after install the following error apear:
Setup is now ready to begin installing BitNami Redmine Stack on your computer.
Do you want to continue? [Y/n]: y
----------------------------------------------------------------------------
Please wait while Setup installs BitNami Redmine Stack on your computer.
Installing
0% ______________ 50% ______________ 100%
########################################
Error: There has been an error.
Unknown error while running /opt/redmine-0.6.4-0/subversion/scripts/ctl.sh start
Press [Enter] to continue :
|
|
|
beltran
Administrator
371 post(s)
|
Hi radsluk,
We have tested on several linux distributions but not in Slackware. We are downloading now the distribution to try to solve this issue. What error is showed when you execute ”/opt/redmine-0.6.4-0/subversion/scripts/ctl.sh start” manually?
Thanks.
|
|
|
radsluk
11 post(s)
|
Hi beltran, no it shows immediately after installer reaches 100%
|
|
|
beltran
Administrator
371 post(s)
|
Yes, I can see this in your post. But if you execute manually:
/opt/redmine-0.6.4-0/subversion/scripts/ctl.sh start
what is the output of this command?
|
|
|
radsluk
11 post(s)
|
aaa after that command it starts subversion
/opt/redmine-0.6.4-0/subversion/scripts/ctl.sh : subversion started at port 3695
but what to do after this? :)
|
|
|
beltran
Administrator
371 post(s)
|
It is strange, it seems there are not any errors. I have installed the Redmine stack in a Slackware 12.1 and everything runs well. Do you have enough free space? Could you send me the /tmp/bitrock_installer.log file? My email is beltran at bitnami dot org, thanks.
|
|
|
radsluk
11 post(s)
|
Hi, i’ve found that mysql wasn’t problem – it’s mongrel rails or ROR i ihope – here’s what happened:
root@server:/opt/redmine-0.6.4-0# /opt/redmine-0.6.4-0/ctlscript.sh start
nohup: redirecting stderr to stdout
Starting mysqld.bin daemon with databases from /opt/redmine-0.6.4-0/mysql/data
/opt/redmine-0.6.4-0/mysql/scripts/ctl.sh : mysql started at port 3306
!!! Configuration file does not exist. Run mongrel_rails cluster::configure.
cluster::start reported an error. Use mongrel_rails cluster::start -h to get help.
Syntax OK
/opt/redmine-0.6.4-0/apache2/scripts/ctl.sh : httpd started at port 80
root@server:/opt/redmine-0.6.4-0/redmine/config#
root@server:/opt/redmine-0.6.4-0/ruby/bin# /opt/redmine-0.6.4-0/ruby/bin/mongrel_rails cluster::configure
!!! Path to config file not valid: config/mongrel_cluster.yml
cluster::configure reported an error. Use mongrel_rails cluster::configure -h to get help.bq.
|
|
|
radsluk
11 post(s)
|
and for the people who don’t want to install svn (i had it already installed) – thanks beltran :)
$ ./bitnami-redmine*.bin—subversion_server 0
|
|
|
beltran
Administrator
371 post(s)
|
Hi radsluk,
You can try this command to create the configuration file for mongrel cluster:
$ . /opt/redmine-0.6.4-0/scripts/setenv.sh $ mongrel_rails cluster::configure -e production -p 3001 -N 2 -C /opt/redmine-0.6.4-0/redmine/config/mongrel_cluster.yml
|
|
|
radsluk
11 post(s)
|
Hi beltran, i’ve tried to run the command and it returns:
root@server:/opt/redmine-0.6.4-0# mongrel_rails cluster::configure -e production -p 3001 -N 2 -C /opt/redmine-0.6.4-0/redmine/config/mongrel_cluster.yml -bash: mongrel_rails: command not found
|
|
|
beltran
Administrator
371 post(s)
|
Hi,
Maybe you forgot the first line. This line exports the environment variables:
$ . /opt/redmine-0.6.4-0/scripts/setenv.sh
or
$ source /opt/redmine-0.6.4-0/scripts/setenv.sh
Then you can type any ruby command.
Also you can write the complete path:
$ /opt/redmine-0.6.4-0/ruby/bin/mongrel_rails cluster::configure -e production -p 3001 -N 2 -C /opt/redmine-0.6.4-0/redmine/config/mongrel_cluster.yml
|
|
|
radsluk
11 post(s)
|
Oh thanks man that one with source /opt/... worked
now i have another issue :D
root@server:/opt/redmine-0.6.4-0/redmine/config# mongrel_rails mongrel::start -P /tmp/pids/mongrel.pid -l /opt/redmine-0.6.4-0/redmine/log/mongrel.log !!! Path to docroot not valid: public mongrel::start reported an error. Use mongrel_rails mongrel::start -h to get help. root@server:/opt/redmine-0.6.4-0/redmine/config#
|
|
|
beltran
Administrator
371 post(s)
|
Hi,
It seems that you haven’t executed the command into the redmine folder. Try to execute the same command into the /opt/remdine-0.6.4-0/redmine directory.
|
|
|
radsluk
11 post(s)
|
hi, is it the final state of runnig it? it seems like memory overload – we are on virtual server of 256M dedicated memory .. 666 MHz CPU 256 MB RAM 10 GB space
root@server:/opt/redmine-0.6.4-0/redmine# mongrel_rails mongrel::start -P /tmp/pids/mongrel.pid -l /opt/redmine-0.6.4-0/redmine/log/mongrel.log
- Starting Mongrel listening at 0.0.0.0:3000
- Starting Rails with development environment…
GLoc v1.1 running in development mode. Strings can be modified at runtime.
- Rails loaded.
- Loading any Rails specific GemPlugins
- Signals ready. TERM => stop. USR2 => restart. INT => stop (no restart).
- Rails signals registered. HUP => reload (without restart). It might not work well.
- Mongrel 1.1.3 available at 0.0.0.0:3000
- Use CTRL-C to stop.
|
|
|
beltran
Administrator
371 post(s)
|
Yes,
You should access to redmine at http://ip:3000.
We configure the Redmine Stack with a two mongrel cluster and Apache as a load balancer. We can not reproduce your issues but you can create the mongrel cluster with the command that I sent you in the last post. Then you can start the cluster with:
$ /opt/redmine-0.6.4-0/ctlscript.sh start redmine
And you can access to redmine at http://ip:80.
|
|
|
radsluk
11 post(s)
|
Hi, beltran after
/opt/redmine-0.6.4-0/ctlscript.sh start redmine
it says:
root@server:/opt/redmine-0.6.4-0/ruby/config# /opt/redmine-0.6.4-0/ruby/bin/mongrel_rails cluster::configure -e production -p 3001 -N 2 -C /opt/redmine-0.6.4-0/redmine/config/mongrel_cluster.yml Writing configuration file to /opt/redmine-0.6.4-0/redmine/config/mongrel_cluster.yml. root@server:/opt/redmine-0.6.4-0/ruby/config# /opt/redmine-0.6.4-0/ctlscript.sh start redmine starting port 3001 !!! Path to pid file not valid: tmp/pids/mongrel.3001.pid mongrel::start reported an error. Use mongrel_rails mongrel::start -h to get help. starting port 3002 !!! Path to pid file not valid: tmp/pids/mongrel.3002.pid mongrel::start reported an error. Use mongrel_rails mongrel::start -h to get help. root@server:/opt/redmine-0.6.4-0/ruby/config#
|
|
|
beltran
Administrator
371 post(s)
|
Hi radsluk,
Try to delete all the temporary files into the /opt/redmine-0.6.4-0/redmine/tmp/pids folder, kill all ruby process (killall .ruby.bin) and restart the application. It seems a problem with pids files.
|