[Kete] Installing Kete on Debian Lenny
John Billings
john at nimhq.net
Tue May 12 22:21:20 NZST 2009
Hi,
I'm working on getting kete running on a Lenny VPS. Just following the
Etch tutorial, I've managed to get it mostly installed, but stuck on
configuring the site. The site I'm working on is here:
http://newitmake.org/
I'm not really sure whats supposed to be on the front page, I went
through the install menus and I tried adding a basket, but on the front
page now I get this:
===
500 Error!
Oops! An error has prevented this page from loading.
It has been logged and will be looked into by a system Administrator
shortly.
What now?
Hit the Back button on your browser to return to the page you were on.
===
I peeked at the Production log:
===
kete at kete:~/nim$ tail log/production.log
/usr/local/lib/ruby/gems/1.8/gems/passenger-2.0.3/lib/passenger/spawn_manager.rb:213:in
`spawn_rails_application'
/usr/local/lib/ruby/gems/1.8/gems/passenger-2.0.3/lib/passenger/spawn_manager.rb:122:in
`spawn_application'
/usr/local/lib/ruby/gems/1.8/gems/passenger-2.0.3/lib/passenger/spawn_manager.rb:247:in
`handle_spawn_application'
/usr/local/lib/ruby/gems/1.8/gems/passenger-2.0.3/lib/passenger/abstract_server.rb:317:in
`__send__'
/usr/local/lib/ruby/gems/1.8/gems/passenger-2.0.3/lib/passenger/abstract_server.rb:317:in
`main_loop'
/usr/local/lib/ruby/gems/1.8/gems/passenger-2.0.3/lib/passenger/abstract_server.rb:168:in
`start_synchronously'
/usr/local/lib/ruby/gems/1.8/gems/passenger-2.0.3/bin/passenger-spawn-server:46
Rendering template within layouts/application
Rendering errors/error500 (500)
===
Before this, I was having trouble with the Zebra integration. It seems
there was discrepancy somewhere about what port it should be on. It
appears to be running on port 9999:
kete at kete:~$ lsof -i | grep zebra
zebrasrv 1705 kete 4u IPv6 2031 TCP *:9999 (LISTEN)
In the administration interface, it had the "public" server on port
9901, I tried changing that here:
http://newitmake.org/site/zoom_dbs/list
Here is a cut/paste of the table there:
===
Zoom Dbs
Database name Description Host Port Zoom user Oai Pmh Repository Sets
No Entries
public Where we store our publicly searchable records (about topics,
images, videos, etc.). localhost 9999 kete -
loading indicator Edit Delete Show
private Where we store records that are only searchable to privileged
Kete users (about topics, images, video, etc.). localhost 9902 kete -
loading indicator Edit Delete Show
===
I followed the docs I found in zebradb/README to start up Zebra, when I
start without daemonizing, I just noticed the private instance is not
starting:
kete at kete:~/nim/zebradb$ zebrasrv -f conf/kete-zebra-servers.xml
09:56:12-12/05 [log] zebra_start 2.0.36 ../conf/zebra-private.cfg
09:56:12-12/05 [log] Loaded filter module
/usr/lib/idzebra-2.0/modules/mod-alvis.so
09:56:12-12/05 [log] Loaded filter module
/usr/lib/idzebra-2.0/modules/mod-text.so
09:56:12-12/05 [log] Loaded filter module
/usr/lib/idzebra-2.0/modules/mod-grs-marc.so
09:56:12-12/05 [log] Loaded filter module
/usr/lib/idzebra-2.0/modules/mod-dom.so
09:56:12-12/05 [log] Loaded filter module
/usr/lib/idzebra-2.0/modules/mod-grs-xml.so
09:56:12-12/05 [log] Loaded filter module
/usr/lib/idzebra-2.0/modules/mod-grs-regx.so
09:56:12-12/05 [log] zebra_start 2.0.36 ../conf/zebra-public.cfg
09:56:12-12/05 [log] Loaded filter module
/usr/lib/idzebra-2.0/modules/mod-alvis.so
09:56:12-12/05 [log] Loaded filter module
/usr/lib/idzebra-2.0/modules/mod-text.so
09:56:12-12/05 [log] Loaded filter module
/usr/lib/idzebra-2.0/modules/mod-grs-marc.so
09:56:12-12/05 [log] Loaded filter module
/usr/lib/idzebra-2.0/modules/mod-dom.so
09:56:12-12/05 [log] Loaded filter module
/usr/lib/idzebra-2.0/modules/mod-grs-xml.so
09:56:12-12/05 [log] Loaded filter module
/usr/lib/idzebra-2.0/modules/mod-grs-regx.so
09:56:12-12/05 [server] Adding dynamic listener on private_spec id=1
09:56:12-12/05 [fatal] Failed to listen on private_spec
09:56:12-12/05 [server] Adding dynamic listener on public_spec id=2
09:56:12-12/05 [fatal] Failed to listen on public_spec
09:56:12-12/05 [server] Adding dynamic listener on tcp:@:9999 id=0
09:56:12-12/05 [server] Starting server zebrasrv pid=1703
Well I'm not sure why the private one is not starting, and how that
affects things. I did try to create a basket and upload some files, but
this only produces some more 500 errors like above.
Thanks for any insight into this.
Best,
John
More information about the Kete
mailing list