Hi,
I am trying to setup Gitorious on my localbox. I am currently facing
two issues.
1. Forbidden error when trying to run gitorious with https localhost
When I try to run gitorious with
http://localhost it gives me the
"File Structure" of all the files. When I try to run the same on
https://localhost I get the below error:-
Forbidden
You don't have permission to access / on this server.
Apache/2.2.17 (Ubuntu) Server at localhost Port 443
[doubt] ==> Is this got to do with the flie permissions of my
certificate .key and .pem files? Currently they are owned by a local
user, should they be owned by root ?
2. I am unable to start background processes like poller, git-daemon,
ultrasphinx. Please find below the error I am getting wrt the same.
For e.g. when I run the command /etc/init.d/git-poller start, the
error I get is:-
Starting poller: /etc/profile.d/rvm.sh: line 51: __rvm_add_to_path:
command not found
/usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in
`gem_original_require': no such file to load -- daemons (LoadError)
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in
`require'
from /var/www/gitorious/script/poller:12
FAILURE
My Gem Env is:-
RubyGems Environment:
- RUBYGEMS VERSION: 1.8.15
- RUBY VERSION: 1.8.7 (2010-08-16 patchlevel 302) [x86_64-linux]
- INSTALLATION DIRECTORY: /home/mohnish/.rvm/gems/ruby-1.9.2-
p290@abc
- RUBY EXECUTABLE: /usr/bin/ruby1.8
- EXECUTABLE DIRECTORY: /home/mohnish/.rvm/gems/ruby-1.9.2-p290@abc/
bin
- RUBYGEMS PLATFORMS:
- ruby
- x86_64-linux
- GEM PATHS:
- /home/mohnish/.rvm/gems/ruby-1.9.2-p290@abc
- /home/mohnish/.rvm/gems/ruby-1.9.2-p290@global
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- REMOTE SOURCES:
-
http://rubygems.org/
I am not sure what I am missing. Your insights would of real help.
Thank you.