[one-users] Sunstone Looping Login Page with Apache2+Passenger

Mohammad Fazli Ahmat Jalaluddin fazli.jalaluddin at gmail.com
Wed Aug 28 01:05:39 PDT 2013


Dear All,

I am thinking of installing multiple Sunstone Server by referring to this
page [1] and [2]:

My installation for OpenNebula 4.0 is self-contained mode in /var/lib/one
folder.

This is the step that I have taken by following the page with my
self-contained mode:

1. sudo gem install passenger
2. sudo passenger-install-apache2-module
3. chgrp www-data /var/lib/one/etc/sunstone-server.conf
4. sudo chgrp www-data /var/lib/one/etc/sunstone-server.conf
5. sudo chgrp www-data sunstone-plugins.yaml
6. sudo chgrp www-data ../var/.one/sunstone_auth
7. sudo chmod a+x /var/lib/one/
8. sudo chmod a+x /var/lib/one/var/.one/
9. sudo chgrp www-data /var/lib/one/var/
10. sudo chgrp www-data var/sunstone*
11. chmod g+w var/sunstone*
12. sudo chmod g+w var/sunstone*

Then, I configured the apache configuration file:

LoadModule passenger_module
/var/lib/gems/1.8/gems/passenger-4.0.14/buildout/apache2/mod_passenger.so
PassengerRoot /var/lib/gems/1.8/gems/passenger-4.0.14
PassengerDefaultRuby /usr/bin/ruby1.8
PassengerMaxInstancesPerApp 1

and also for the virtual host:

ServerName sunstone-server
# !!! Be sure to point DocumentRoot to 'public'!
DocumentRoot /var/lib/one/lib/sunstone/public
<Directory /var/lib/one/lib/sunstone/public>
        # This relaxes Apache security settings.
        AllowOverride all
        # MultiViews must be turned off.
        Options -MultiViews
</Directory>

I accessed my browser with sunstone IP; http://192.168.113.2 and can see
the Sunstone front page.
I try to login, it bounce back to the login page; http://192.168.113.2/login

Please help me.

Thank you.

Regards,
Fazli


[1]
http://opennebula.org/documentation:archives:rel4.0:suns_advance#deploying_sunstone_in_a_different_machine
[2]
http://lists.opennebula.org/pipermail/users-opennebula.org/2012-July/019694.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130828/4d149e62/attachment.htm>


More information about the Users mailing list