I've just installed the rails port on a new machine and restored the
"openstreetmap" db from an old machine. I then made two tests:
1. Checked the connection and login from withing the local machine.
2. Checked the connection and login over network.
The first test went fine. But the second had problems.
Firstly, the response was very slow. Secondly, the login part(just visiting the
login page) terminated with an abortion. See the stack trace below.
What could cause the problem? Could it be my fault when i restored the db from
the old machine? Btw, the old osm installation worked badly over network too. I
also restarted the server to reproduce the problem but all went fine, though
the response over network is still slow.
[2011-11-11 15:10:15.322157 #16130] Processing UserController#login (for
192.168.0.103 at 2011-11-11 15:10:15) [GET]
[2011-11-11 15:10:15.322823 #16130] Parameters: {"action"=>"login",
"referer"=>"/", "controller"=>"user"}
[2011-11-11 15:10:16.579277 #16130] Rendering template within layouts/site
[2011-11-11 15:10:16.579389 #16130] Rendering user/login
[2011-11-11 15:10:16.601303 #16130] Rendered layouts/_head (5.0ms)
[2011-11-11 15:10:16.602499 #16130] Rendered layouts/_flash (0.1ms)
[2011-11-11 15:10:16.613336 #16130] Completed in 1289ms (View: 35, DB: 1) | 200
OK [http://192.168.0.106/login?referer=%2F]
[2011-11-11 15:10:16.814215 #16130] SQL (0.3ms) SET client_min_messages TO
'panic'
[2011-11-11 15:10:16.814611 #16130] SQL (0.2ms) SET
standard_conforming_strings = on
[2011-11-11 15:10:16.815007 #16130] SQL (0.3ms) SET client_min_messages TO
'notice'
[2011-11-11 15:10:16.831865 #16130] Processing UserController#login (for
192.168.0.103 at 2011-11-11 15:10:16) [GET]
[2011-11-11 15:10:16.832014 #16130] Parameters: {"action"=>"login",
"referer"=>"/", "controller"=>"user"}
[2011-11-11 15:10:18.122212 #16130] Rendering template within layouts/site
[2011-11-11 15:10:18.122342 #16130] Rendering user/login
[2011-11-11 15:10:18.143842 #16130] Rendered layouts/_head (4.9ms)
[2011-11-11 15:10:18.145015 #16130] Rendered layouts/_flash (0.1ms)
[2011-11-11 15:10:18.155836 #16130] Completed in 1324ms (View: 34, DB: 1) | 200
OK [http://192.168.0.106/login?referer=%2F]
/usr/lib/ruby/gems/1.8/gems/i18n-0.6.0/lib/i18n/core_ext/hash.rb:13: [BUG]
Segmentation fault
ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]
Aborted_______________________________________________
dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/dev