[OSM-talk] Recent API outage
80n
80n80n at gmail.com
Mon Apr 16 13:01:34 BST 2007
Nick
Would it be sensible to go back to the last good backup and then debug this
somewhere else?
80n
On 4/16/07, Nick Hill <nick at nickhill.co.uk> wrote:
>
> Following package changes/upgrades on the API server (known as www) a
> series of
> problems with API came about.
>
> I reverted all packages I could find related to the API back, but the API
> is
> still not functioning.
>
> I have verified that auth is working again, as is database connectivity to
> the
> OSM database from www.
>
> I am seeing logged errors like:
>
> [Mon Apr 16 11:00:57 2007] [error] mod_ruby: error in ruby
> [Mon Apr 16 11:00:57 2007] [error] mod_ruby:
> /var/www/openstreetmap/ruby/osm/osm/dao.rb:952:in `get_multi': undefined
> method
> `each_hash' for nil:NilClass (NoMethodError)
> [Mon Apr 16 11:00:57 2007] [error] mod_ruby: from
> /var/www/openstreetmap/ruby/osm/osm/dao.rb:1117:in
> `get_multis_from_segments'
> [Mon Apr 16 11:00:57 2007] [error] mod_ruby: from
> /var/www/openstreetmap/ruby/osm/osm/dao.rb:1116:in `each_hash'
> [Mon Apr 16 11:00:57 2007] [error] mod_ruby: from
> /var/www/openstreetmap/ruby/osm/osm/dao.rb:1116:in
> `get_multis_from_segments'
> [Mon Apr 16 11:00:57 2007] [error] mod_ruby: from
> /var/www/openstreetmap/ruby/api/0.3/map.rb:80
> [Mon Apr 16 11:00:57 2007] [error] mod_ruby: from
> /var/www/openstreetmap/ruby/api/0.3/map.rb:77:in `each'
> [Mon Apr 16 11:00:57 2007] [error] mod_ruby: from
> /var/www/openstreetmap/ruby/api/0.3/map.rb:77
> [Mon Apr 16 11:00:57 2007] [error] mod_ruby: from
> /usr/lib/ruby/1.8/apache/ruby-run.rb:53:in `load'
> [Mon Apr 16 11:00:57 2007] [error] mod_ruby: from
> /usr/lib/ruby/1.8/apache/ruby-run.rb:53:in `handler'
>
>
> It seems as if each_hash method is failing on the database object.
> However,
> separate scripts verify database connectivity, and relevant files as far
> as I
> know have been reverted.
>
> Any rubyists able to help me debug this are welcome.
>
>
> Thanks
>
>
> Nick.
>
>
> _______________________________________________
> talk mailing list
> talk at openstreetmap.org
> http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20070416/c4156602/attachment.html>
More information about the talk
mailing list