RESOLVED
Thanks again to everyone for their suggestions. I tried them all and still no luck, then just by dumb luck, I vi'ed the shell scripts in /usr/libexec/hobbit/cgi-bin and /usr/libexec/hobbit/cgi-secure.
They were all pointing at /opt/hobbit/server/etc/ rather than /usr/libexec/hobbit/server/etc
I modified each shell script and everything works now.
As to why the shell scripts were screwed up......well I have tried several installs...the first into /opt/hobbit.....so either I missed something when I was cleaning up between installs, or...I also noticed that the hobbit-4.2.0 directory and its contents were not owned by root.root so maybe that had an effect.
Thank you again for all your suggestions...it was luck not skill on my part that brought me to the answer.
Paul
-----Original Message-----
From: Long, Michael C [CARD] [mailto:user-70b211a0d438@xymon.invalid]
Sent: Fri 10/5/2007 1:46 PM
To: user-ae9b8668bcde@xymon.invalid
Cc:
Subject: [hobbit] RE: CGI script errors / browser attempts to download file
SELINUX turned on?
-----Original Message-----
From: McIlrath, Paul [mailto:user-03ec167d2f2d@xymon.invalid]
Sent: Friday, October 05, 2007 1:26 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: CGI script errors / browser attempts to download file
Hi,
Thanks everyone for your recommendations on my first noob post. They
really helped.
I decided to create a new thread for this problem.
"
http://<MYSERVERNAME>/hobbit/bb.html is working normally and brings me
up to the normal "Main View" screen. The "All Non-Green" screen works
as well. But everything else....and I mean everything else....my
browser tries to download a file rather than run the cgi script to
generate the new page/report.
I checked and made sure my hobbit-server.cgi file points at the
/usr/libexec/hobbit/cgi-bin directory, and I also made sure that my
http.conf file points at the right cgi-bin for hobbit-cgi and cgi-
secure for hobbit-seccgi. Im stumped!
Has anyone seen this behaviour before?
Paul
</PRE>The information contained in this e-mail message may be
confidential and protected from disclosure. If you are not the intended
recipient, any dissemination, distribution or copying is strictly
prohibited. If you think that you have received this e-mail message in
error, please e-mail the sender at user-732e5d44368c@xymon.invalid
</PRE>The information contained in this e-mail message may be confidential and protected from disclosure. If you are not the intended recipient, any dissemination, distribution or copying is strictly prohibited. If you think that you have received this e-mail message in error, please e-mail the sender at user-732e5d44368c@xymon.invalid