I have a DirectoryIndex in /etc/apache2/mods-enabled/dir.conf. The line is:
DirectoryIndex index.html index.cgi index.pl index.php index.xhtml
Some parts of hobbit appear to be running when I look in the ps list, and new entries periodically appear in the logs. But whatever part of it generates the pages is failing.
--Dan
From: Josh Luthman [mailto:josh at imaginenetworksllc.com] Sent: Tuesday, July 08, 2008 5:14 PM To: hobbit at hswn.dk Subject: Re: [hobbit] Configuration question
Two issues then - Hobbit isn't running as bb.html isn't being generated.
Secondly DirectoryIndex has to be mentioned, as you have apach2.conf I'm sure it is debian - do a grep /etc/httpd/* -R DirectoryIndex
Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
On Tue, Jul 8, 2008 at 5:08 PM, Daniel Elswit <de21 at cornell.edu> wrote:
Earlier today I had a permissions problem, but I've since modified the permissions to allow both the hobbit user and www-data full access to the /usr/bin/hobbit tree (and it's world-readable/executable) and haven't seen new instances of permissions errors recently. Nothing has shown up recently in the bb-display.log. hobbitlaunch.log still has the "Task bbdisplay terminated by signal 6" errors.
I'm assuming that bbgen generates the pages? If the hobbit user manually runs bbgen it just says "aborted". Not sure if that's normal. There is no bb.html on the entire system, and no index.html in anything related to hobbit. There is no DirectoryIndex statement in apache2.conf.
--Dan
From: Ralph Mitchell [mailto:ralphmitchell at gmail.com] Sent: Tuesday, July 08, 2008 3:53 PM
To: hobbit at hswn.dk Subject: Re: [hobbit] Configuration question
When you go to that url you should get the hobbit display page. You're not, because bbdisplay is crashing. Is there anything interesting in bb-display.log??
Ralph Mitchell
On Tue, Jul 8, 2008 at 2:41 PM, Daniel Elswit <de21 at cornell.edu> wrote:
Thanks for the reply! The trailing slash gives me the directory listing of /hobbit (gifs, help, html, menu, etc.) The alias statement is:
Alias /hobbit/ "/usr/bin/hobbit/server/www/"
Hobbit does in fact live in /usr/bin/hobbit.
--Dan
From: Josh Luthman [mailto:josh at imaginenetworksllc.com] Sent: Tuesday, July 08, 2008 3:23 PM To: hobbit at hswn.dk Subject: Re: [hobbit] Configuration question
Try the address http://localhost/hobbit/ (note the trailing slash)
What is your Alias statement in apache2.conf?
Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
On Tue, Jul 8, 2008 at 3:18 PM, Daniel Elswit <de21 at cornell.edu> wrote:
Hello. I'm attempting to set up Hobbit 4.2 on a Debian box (very clean - Hobbit is the only thing it's doing.) I followed all the directions - loaded the prerequisites, patched with the all-in-one patch, added the hobbit-specific lines into apache2.conf, etc. It compiled and installed just fine, and the service starts. But when I go to the http://localhost/hobbit page, I get a "404 not found" error. The apache2.conf file points to the ~hobbit/server/www directory but I don't see any html files there or in the subdirectory "html" under that. In the hobbitlaunch.log I see a number of "Task bbdisplay terminated by signal 6"... not sure if that's related. Any thoughts? I'm starting to run out of options to try.
Thanks! --Dan
============================================= Daniel Elswit IT Security & Operations, College of Agriculture & Life Sciences Cornell University Ithaca, NY, USA de21 at cornell.edu (607) 255-5658 http://www.cals.cornell.edu/cals/cals-it/
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk