Re: [one-users] OpenNebula 2.2 Sunstone Error : Unable to Login

2011-04-06 Thread Jaime Melis
Hi,

It seems that you don't have write permissions in /var/log/one, could you
try the following?
touch /var/log/one/test
If that's the problem try to fix it with chown or chmod.

However, you shouldn't be having that problem, how have you installed
OpenNebula? what package and what distro?

Regards,
Jaime

On Wed, Apr 6, 2011 at 7:12 AM, KING LABS kinglabs...@gmail.com wrote:

 Hi ,

 I have been trying to install and configure 2.2 with Sunstone. I unable to
 login into the sunstone . The details of the error are as follows when I log
 in as a normal user on the frontend.

 Also when i try while logged in as oneadmin I get

 oneadmin@frontend:~$ sunstone-server start
 /usr/bin/sunstone-server: line 70: /var/log/one/sunstone.log: Permission
 denied
 sunstone-server started
 oneadmin@frontend:~$


 Please correct me if I am missing anything.








 -



 RuntimeError - ONE_AUTH file not present:
  /usr/lib/one/ruby/OpenNebula.rb:93:in `initialize'
  /usr/lib/one/sunstone/models/SunstoneServer.rb:51:in `new'
  /usr/lib/one/sunstone/models/SunstoneServer.rb:51:in `authorize'
  /usr/lib/one/sunstone/sunstone-server.rb:48:in `build_session'
  /usr/lib/one/sunstone/sunstone-server.rb:120:in `POST /login'
  /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:1125:in `call'
  /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:1125:in
 `compile!'
  /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:709:in
 `instance_eval'
  /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:709:in
 `route_eval'
  /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:693:in `route!'
  /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:741:in
 `process_route'
  /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:738:in `catch'
  /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:738:in
 `process_route'
  /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:692:in `route!'
  /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:691:in `each'
  /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:691:in `route!'
  /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:826:in
 `dispatch!'
  /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:619:in `call!'
  /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:791:in
 `instance_eval'
  /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:791:in `invoke'
  /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:791:in `catch'
  /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:791:in `invoke'
  /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:619:in `call!'
  /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:604:in `call'
  /var/lib/gems/1.8/gems/rack-1.2.2/lib/rack/session/abstract/id.rb:63:in
 `context'
  /var/lib/gems/1.8/gems/rack-1.2.2/lib/rack/session/abstract/id.rb:58:in
 `call'
  /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/showexceptions.rb:21:in
 `call'
  /var/lib/gems/1.8/gems/rack-1.2.2/lib/rack/methodoverride.rb:24:in `call'
  /var/lib/gems/1.8/gems/rack-1.2.2/lib/rack/commonlogger.rb:18:in `call'
  /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:1245:in `call'
  /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:1276:in
 `synchronize'
  /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:1245:in `call'
  /var/lib/gems/1.8/gems/rack-1.2.2/lib/rack/lint.rb:48:in `_call'
  /var/lib/gems/1.8/gems/rack-1.2.2/lib/rack/lint.rb:36:in `call'
  /var/lib/gems/1.8/gems/rack-1.2.2/lib/rack/showexceptions.rb:24:in `call'
  /var/lib/gems/1.8/gems/rack-1.2.2/lib/rack/commonlogger.rb:18:in `call'
  /usr/lib/ruby/1.8/rack/content_length.rb:13:in `call'
  /usr/lib/ruby/1.8/rack/chunked.rb:15:in `call'
  /usr/lib/ruby/1.8/thin/connection.rb:76:in `pre_process'
  /usr/lib/ruby/1.8/thin/connection.rb:74:in `catch'
  /usr/lib/ruby/1.8/thin/connection.rb:74:in `pre_process'
  /usr/lib/ruby/1.8/thin/connection.rb:57:in `process'
  /usr/lib/ruby/1.8/thin/connection.rb:42:in `receive_data'
  /usr/lib/ruby/1.8/eventmachine.rb:240:in `run_machine'
  /usr/lib/ruby/1.8/eventmachine.rb:240:in `run'
  /usr/lib/ruby/1.8/thin/backends/base.rb:57:in `start'
  /usr/lib/ruby/1.8/thin/server.rb:156:in `start'
  /usr/lib/ruby/1.8/rack/handler/thin.rb:14:in `run'
  /usr/lib/ruby/1.8/rack/server.rb:155:in `start'
  /usr/lib/ruby/1.8/rack/server.rb:83:in `start'
  /usr/bin/rackup:4
 127.0.0.1 - - [06/Apr/2011 01:07:05] POST /login HTTP/1.1 500 138892
 0.0876
 127.0.0.1 - - [06/Apr/2011 01:07:05] POST /login HTTP/1.1 500 138892
 0.0885
 ^C
 king@frontend:~$

 -

 ___
 Users mailing list
 Users@lists.opennebula.org
 

Re: [one-users] OpenNebula 2.2 Sunstone Error : Unable to Login

2011-04-06 Thread Toens Bueker
Jaime Melis jme...@opennebula.org wrote:

 It seems that you don't have write permissions in /var/log/one, could you try
 the following?
 touch /var/log/one/test
 If that's the problem try to fix it with chown or chmod.
 
 However, you shouldn't be having that problem, how have you installed
 OpenNebula? what package and what distro?

Another question would be as which user the server is running. I had a
login problem once when I didn't start the onestone server as the
one user.

Regards,
Töns
-- 
There is no safe distance.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] OpenNebula 2.2 Sunstone Error : Unable to Login

2011-04-06 Thread Jaime Melis
Hello,

I forgot to mention that you need to set the ONE_AUTH environment variable:
http://opennebula.org/documentation:rel2.2:cg#opennebula_users

Regards,
Jaime

On Wed, Apr 6, 2011 at 10:44 AM, Jaime Melis jme...@opennebula.org wrote:

 Hi,

 It seems that you don't have write permissions in /var/log/one, could you
 try the following?
 touch /var/log/one/test
 If that's the problem try to fix it with chown or chmod.

 However, you shouldn't be having that problem, how have you installed
 OpenNebula? what package and what distro?

 Regards,
 Jaime

  On Wed, Apr 6, 2011 at 7:12 AM, KING LABS kinglabs...@gmail.com wrote:

  Hi ,

 I have been trying to install and configure 2.2 with Sunstone. I unable to
 login into the sunstone . The details of the error are as follows when I log
 in as a normal user on the frontend.

 Also when i try while logged in as oneadmin I get

 oneadmin@frontend:~$ sunstone-server start
 /usr/bin/sunstone-server: line 70: /var/log/one/sunstone.log: Permission
 denied
 sunstone-server started
 oneadmin@frontend:~$


 Please correct me if I am missing anything.








 -



 RuntimeError - ONE_AUTH file not present:
  /usr/lib/one/ruby/OpenNebula.rb:93:in `initialize'
  /usr/lib/one/sunstone/models/SunstoneServer.rb:51:in `new'
  /usr/lib/one/sunstone/models/SunstoneServer.rb:51:in `authorize'
  /usr/lib/one/sunstone/sunstone-server.rb:48:in `build_session'
  /usr/lib/one/sunstone/sunstone-server.rb:120:in `POST /login'
  /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:1125:in `call'
  /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:1125:in
 `compile!'
  /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:709:in
 `instance_eval'
  /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:709:in
 `route_eval'
  /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:693:in `route!'
  /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:741:in
 `process_route'
  /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:738:in `catch'
  /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:738:in
 `process_route'
  /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:692:in `route!'
  /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:691:in `each'
  /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:691:in `route!'
  /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:826:in
 `dispatch!'
  /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:619:in `call!'
  /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:791:in
 `instance_eval'
  /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:791:in `invoke'
  /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:791:in `catch'
  /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:791:in `invoke'
  /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:619:in `call!'
  /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:604:in `call'
  /var/lib/gems/1.8/gems/rack-1.2.2/lib/rack/session/abstract/id.rb:63:in
 `context'
  /var/lib/gems/1.8/gems/rack-1.2.2/lib/rack/session/abstract/id.rb:58:in
 `call'
  /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/showexceptions.rb:21:in
 `call'
  /var/lib/gems/1.8/gems/rack-1.2.2/lib/rack/methodoverride.rb:24:in `call'
  /var/lib/gems/1.8/gems/rack-1.2.2/lib/rack/commonlogger.rb:18:in `call'
  /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:1245:in `call'
  /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:1276:in
 `synchronize'
  /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:1245:in `call'
  /var/lib/gems/1.8/gems/rack-1.2.2/lib/rack/lint.rb:48:in `_call'
  /var/lib/gems/1.8/gems/rack-1.2.2/lib/rack/lint.rb:36:in `call'
  /var/lib/gems/1.8/gems/rack-1.2.2/lib/rack/showexceptions.rb:24:in `call'
  /var/lib/gems/1.8/gems/rack-1.2.2/lib/rack/commonlogger.rb:18:in `call'
  /usr/lib/ruby/1.8/rack/content_length.rb:13:in `call'
  /usr/lib/ruby/1.8/rack/chunked.rb:15:in `call'
  /usr/lib/ruby/1.8/thin/connection.rb:76:in `pre_process'
  /usr/lib/ruby/1.8/thin/connection.rb:74:in `catch'
  /usr/lib/ruby/1.8/thin/connection.rb:74:in `pre_process'
  /usr/lib/ruby/1.8/thin/connection.rb:57:in `process'
  /usr/lib/ruby/1.8/thin/connection.rb:42:in `receive_data'
  /usr/lib/ruby/1.8/eventmachine.rb:240:in `run_machine'
  /usr/lib/ruby/1.8/eventmachine.rb:240:in `run'
  /usr/lib/ruby/1.8/thin/backends/base.rb:57:in `start'
  /usr/lib/ruby/1.8/thin/server.rb:156:in `start'
  /usr/lib/ruby/1.8/rack/handler/thin.rb:14:in `run'
  /usr/lib/ruby/1.8/rack/server.rb:155:in `start'
  /usr/lib/ruby/1.8/rack/server.rb:83:in `start'
  /usr/bin/rackup:4
 127.0.0.1 - - [06/Apr/2011 01:07:05] POST /login HTTP/1.1 500 138892
 0.0876
 127.0.0.1 - - [06/Apr/2011 01:07:05] POST /login HTTP/1.1 500 138892
 0.0885
 ^C
 king@frontend:~$

 

Re: [one-users] OpenNebula 2.2 Sunstone Error : Unable to Login

2011-04-06 Thread KINGLABS
I have installed using express installation script. and I am using 
Ubuntu 10.04 LTS. I have changed the packages to the latest one in the 
script.


I have been doing this since the script is available for all updated 
versions. I will change the permissions as suggested and shall update on 
this.

If that's the problem try to fix it with chown or chmod.

However, you shouldn't be having that problem, how have you installed 
OpenNebula? what package and what distro?


Regards,
Jaime

On Wed, Apr 6, 2011 at 7:12 AM, KING LABS kinglabs.in 
http://kinglabs.in@gmail.com http://gmail.com wrote:


Hi ,

I have been trying to install and configure 2.2 with Sunstone. I
unable to login into the sunstone . The details of the error are
as follows when I log in as a normal user on the frontend.

Also when i try while logged in as oneadmin I get

oneadmin@frontend:~$ sunstone-server start
/usr/bin/sunstone-server: line 70: /var/log/one/sunstone.log:
Permission denied
sunstone-server started
oneadmin@frontend:~$


Please correct me if I am missing anything.








-



RuntimeError - ONE_AUTH file not present:
 /usr/lib/one/ruby/OpenNebula.rb:93:in `initialize'
 /usr/lib/one/sunstone/models/SunstoneServer.rb:51:in `new'
 /usr/lib/one/sunstone/models/SunstoneServer.rb:51:in `authorize'
 /usr/lib/one/sunstone/sunstone-server.rb:48:in `build_session'
 /usr/lib/one/sunstone/sunstone-server.rb:120:in `POST /login'
 /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:1125:in
`call'
 /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:1125:in
`compile!'
 /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:709:in
`instance_eval'
 /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:709:in
`route_eval'
 /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:693:in
`route!'
 /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:741:in
`process_route'
 /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:738:in
`catch'
 /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:738:in
`process_route'
 /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:692:in
`route!'
 /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:691:in
`each'
 /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:691:in
`route!'
 /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:826:in
`dispatch!'
 /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:619:in
`call!'
 /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:791:in
`instance_eval'
 /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:791:in
`invoke'
 /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:791:in
`catch'
 /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:791:in
`invoke'
 /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:619:in
`call!'
 /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:604:in
`call'
 /var/lib/gems/1.8/gems/rack-1.2.2/lib/rack/session/abstract/id.rb:63:in
`context'
 /var/lib/gems/1.8/gems/rack-1.2.2/lib/rack/session/abstract/id.rb:58:in
`call'
 /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/showexceptions.rb:21:in
`call'
 /var/lib/gems/1.8/gems/rack-1.2.2/lib/rack/methodoverride.rb:24:in `call'
 /var/lib/gems/1.8/gems/rack-1.2.2/lib/rack/commonlogger.rb:18:in
`call'
 /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:1245:in
`call'
 /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:1276:in
`synchronize'
 /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:1245:in
`call'
 /var/lib/gems/1.8/gems/rack-1.2.2/lib/rack/lint.rb:48:in `_call'
 /var/lib/gems/1.8/gems/rack-1.2.2/lib/rack/lint.rb:36:in `call'
 /var/lib/gems/1.8/gems/rack-1.2.2/lib/rack/showexceptions.rb:24:in `call'
 /var/lib/gems/1.8/gems/rack-1.2.2/lib/rack/commonlogger.rb:18:in
`call'
 /usr/lib/ruby/1.8/rack/content_length.rb:13:in `call'
 /usr/lib/ruby/1.8/rack/chunked.rb:15:in `call'
 /usr/lib/ruby/1.8/thin/connection.rb:76:in `pre_process'
 /usr/lib/ruby/1.8/thin/connection.rb:74:in `catch'
 /usr/lib/ruby/1.8/thin/connection.rb:74:in `pre_process'
 /usr/lib/ruby/1.8/thin/connection.rb:57:in `process'
 /usr/lib/ruby/1.8/thin/connection.rb:42:in `receive_data'
 /usr/lib/ruby/1.8/eventmachine.rb:240:in `run_machine'
 /usr/lib/ruby/1.8/eventmachine.rb:240:in `run'
 /usr/lib/ruby/1.8/thin/backends/base.rb:57:in `start'
 /usr/lib/ruby/1.8/thin/server.rb:156:in `start'
 /usr/lib/ruby/1.8/rack/handler/thin.rb:14:in `run'
 /usr/lib/ruby/1.8/rack/server.rb:155:in `start'
 

Re: [one-users] OpenNebula 2.2 Sunstone Error : Unable to Login

2011-04-06 Thread KINGLABS
It worked after I changed the permissions for sunstone to oneadmin user 
, the following is what I observed.


king@frontend:/$ ls -lrt /var/log/one/
total 1392
-rw-r--r-- 1 root root  25601 2011-04-06 01:10 sunstone.log
-rw-r--r-- 1 oneadmin oneadmin 606478 2011-04-06 06:34 sched.log
-rw--- 1 oneadmin oneadmin 348766 2011-04-06 06:34 one_xmlrpc.log
-rw-r--r-- 1 oneadmin oneadmin 421791 2011-04-06 06:34 oned.log

While I understand the permission issue, I am puzzled about what went 
wrong with permissions of sunstone.log,


touch /var/log/one/test works without any issues.

I have used 2.2 .deb files in the express install script.

Regards,
Kinglabs

On 04/06/2011 03:06 PM, Jaime Melis wrote:

Hello,

I forgot to mention that you need to set the ONE_AUTH environment 
variable:

http://opennebula.org/documentation:rel2.2:cg#opennebula_users

Regards,
Jaime

On Wed, Apr 6, 2011 at 10:44 AM, Jaime Melis jme...@opennebula.org 
mailto:jme...@opennebula.org wrote:


Hi,

It seems that you don't have write permissions in /var/log/one,
could you try the following?
touch /var/log/one/test
If that's the problem try to fix it with chown or chmod.

However, you shouldn't be having that problem, how have you
installed OpenNebula? what package and what distro?

Regards,
Jaime

On Wed, Apr 6, 2011 at 7:12 AM, KING LABS kinglabs.in
http://kinglabs.in@gmail.com http://gmail.com wrote:

Hi ,

I have been trying to install and configure 2.2 with Sunstone.
I unable to login into the sunstone . The details of the error
are as follows when I log in as a normal user on the frontend.

Also when i try while logged in as oneadmin I get

oneadmin@frontend:~$ sunstone-server start
/usr/bin/sunstone-server: line 70: /var/log/one/sunstone.log:
Permission denied
sunstone-server started
oneadmin@frontend:~$


Please correct me if I am missing anything.








-



RuntimeError - ONE_AUTH file not present:
 /usr/lib/one/ruby/OpenNebula.rb:93:in `initialize'
 /usr/lib/one/sunstone/models/SunstoneServer.rb:51:in `new'
 /usr/lib/one/sunstone/models/SunstoneServer.rb:51:in `authorize'
 /usr/lib/one/sunstone/sunstone-server.rb:48:in `build_session'
 /usr/lib/one/sunstone/sunstone-server.rb:120:in `POST /login'
 /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:1125:in
`call'
 /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:1125:in
`compile!'
 /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:709:in
`instance_eval'
 /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:709:in
`route_eval'
 /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:693:in
`route!'
 /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:741:in
`process_route'
 /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:738:in
`catch'
 /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:738:in
`process_route'
 /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:692:in
`route!'
 /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:691:in
`each'
 /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:691:in
`route!'
 /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:826:in
`dispatch!'
 /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:619:in
`call!'
 /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:791:in
`instance_eval'
 /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:791:in
`invoke'
 /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:791:in
`catch'
 /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:791:in
`invoke'
 /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:619:in
`call!'
 /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:604:in
`call'
 /var/lib/gems/1.8/gems/rack-1.2.2/lib/rack/session/abstract/id.rb:63:in
`context'
 /var/lib/gems/1.8/gems/rack-1.2.2/lib/rack/session/abstract/id.rb:58:in
`call'
 
/var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/showexceptions.rb:21:in
`call'
 /var/lib/gems/1.8/gems/rack-1.2.2/lib/rack/methodoverride.rb:24:in
`call'
 /var/lib/gems/1.8/gems/rack-1.2.2/lib/rack/commonlogger.rb:18:in
`call'
 /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:1245:in
`call'
 /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:1276:in
`synchronize'