I'm having the same problem.
Trying to access calibre as an online cataloge using
http://192.168.1.2:8005/stanza
results in it offering to download stanza as thought it were a book.
calibre version 0.5.9
I'm afraid I am not tech savvy enough to run things in terminals. Sorry