I tried accessing cpu from the main screen and it failed. Here is the access_log entry. I can't make any sense out of it.
172.31.38.62 - - [30/May/2007:16:27:19 -0400] "GET /hobbit-cgi/bb-hostsvc.sh?HOST=batman&SERVICE=cpu HTTP/1.1" 404 297 "http://batman/hobbit/" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"
Robert Manocchia
UNIX System Administrator
IDEXX Laboratories
207 556-6860
EMail Robert-Manocchia at idexx.com
-----Original Message----- From: Stewart_Larsen at doh.state.fl.us [mailto:Stewart_Larsen at doh.state.fl.us]
Sent: Wednesday, May 30, 2007 4:17 PM To: hobbit at hswn.dk Subject: RE: [hobbit] Hobbit 4.2.0
Might I suggest checking the apache log files to see what he thinks he's serving versus what you think he should be serving?
-- Stewart Larsen
From: Manocchia, Robert [mailto:Robert-Manocchia at IDEXX.com] Sent: Wednesday, May 30, 2007 2:39 PM To: 'hobbit at hswn.dk' Subject: RE: [hobbit] Hobbit 4.2.0
Steve:
I've looked at the data files and they look of owner by hobbit:users and all 755. It must be something else I'm missing.
Robert Manocchia
UNIX System Administrator
IDEXX Laboratories
207 556-6860
EMail Robert-Manocchia at idexx.com
-----Original Message----- From: Steve Holmes [mailto:sholmes42 at mac.com] Sent: Wednesday, May 30, 2007 2:21 PM To: hobbit at hswn.dk Subject: Re: [hobbit] Hobbit 4.2.0
Bob, I think you want to look in /var/hobbit/data (or the equivalent for your configuration).
Steve.
On 5/30/07, Manocchia, Robert < Robert-Manocchia at idexx.com <mailto:Robert-Manocchia at idexx.com> > wrote:
Thanks Bob. Where do I look for the data files?
Robert Manocchia
UNIX System Administrator
IDEXX Laboratories
207 556-6860
EMail Robert-Manocchia at idexx.com <mailto:Robert-Manocchia at idexx.com>
-----Original Message----- From: Bob Gordon [mailto:rgordonjr at gmail.com <mailto:rgordonjr at gmail.com> ] Sent: Wednesday, May 30, 2007 2:04 PM To: hobbit at hswn.dk <mailto:hobbit at hswn.dk> Subject: Re: [hobbit] Hobbit 4.2.0
On 5/30/07, Manocchia, Robert < Robert-Manocchia at idexx.com <mailto:Robert-Manocchia at idexx.com> > wrote:
I have the main screen for hobbit up and running on a Linux 2 server. However when I click on any of the colored icons I get the message Page Not Found. Is this a permissions problem or is it that apache does not know where to look for the page?
When I had the problem it was a permissions issue.
-- --==[ Bob Gordon ]==--
-- Lots of people think they're charitable if they give away their old clothes and things they don't want. It isn't charity to give away things you want to get rid of and it isn't a sacrifice to do things you don't mind doing. -Myrtle Reed, author (1874-1911)
Spam <https://antispam.doh.ad.state.fl.us/canit/b.php?c=s&i=147126557&m=8989837f6 691> Not <https://antispam.doh.ad.state.fl.us/canit/b.php?c=n&i=147126557&m=8989837f6 691> spam Forget <https://antispam.doh.ad.state.fl.us/canit/b.php?c=f&i=147126557&m=8989837f6 691> previous vote
Your access_log is not going to be much help. You need to check your error logs...
=G=
Manocchia, Robert wrote:
I tried accessing cpu from the main screen and it failed. Here is the access_log entry. I can’t make any sense out of it.
172.31.38.62 - - [30/May/2007:16:27:19 -0400] "GET /hobbit-cgi/bb-hostsvc.sh?HOST=batman&SERVICE=cpu HTTP/1.1" 404 297 "http://batman/hobbit/" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"
Robert Manocchia
UNIX System Administrator
IDEXX Laboratories
207 556-6860
EMail Robert-Manocchia at idexx.com
-----Original Message----- *From:* Stewart_Larsen at doh.state.fl.us [mailto:Stewart_Larsen at doh.state.fl.us] *Sent:* Wednesday, May 30, 2007 4:17 PM *To:* hobbit at hswn.dk *Subject:* RE: [hobbit] Hobbit 4.2.0
Might I suggest checking the apache log files to see what he thinks he's serving versus what you think he should be serving?
-- Stewart Larsen
*From:* Manocchia, Robert [mailto:Robert-Manocchia at IDEXX.com] *Sent:* Wednesday, May 30, 2007 2:39 PM *To:* 'hobbit at hswn.dk' *Subject:* RE: [hobbit] Hobbit 4.2.0
Steve:
I’ve looked at the data files and they look of owner by hobbit:users and all 755. It must be something else I’m missing.
Robert Manocchia
UNIX System Administrator
IDEXX Laboratories
207 556-6860
EMail Robert-Manocchia at idexx.com
-----Original Message----- *From:* Steve Holmes [mailto:sholmes42 at mac.com] *Sent:* Wednesday, May 30, 2007 2:21 PM *To:* hobbit at hswn.dk *Subject:* Re: [hobbit] Hobbit 4.2.0
Bob, I think you want to look in /var/hobbit/data (or the equivalent for your configuration).
Steve.
On 5/30/07, *Manocchia, Robert* < Robert-Manocchia at idexx.com <mailto:Robert-Manocchia at idexx.com>> wrote:
Thanks Bob. Where do I look for the data files?
Robert Manocchia
UNIX System Administrator
IDEXX Laboratories
207 556-6860
EMail Robert-Manocchia at idexx.com <mailto:Robert-Manocchia at idexx.com>
-----Original Message----- *From:* Bob Gordon [mailto:rgordonjr at gmail.com <mailto:rgordonjr at gmail.com>] *Sent:* Wednesday, May 30, 2007 2:04 PM *To:* hobbit at hswn.dk <mailto:hobbit at hswn.dk> *Subject:* Re: [hobbit] Hobbit 4.2.0
On 5/30/07, *Manocchia, Robert* < Robert-Manocchia at idexx.com <mailto:Robert-Manocchia at idexx.com>> wrote:
I have the main screen for hobbit up and running on a Linux 2 server. However when I click on any of the colored icons I get the message Page Not Found. Is this a permissions problem or is it that apache does not know where to look for the page?
When I had the problem it was a permissions issue.
-- --==[ Bob Gordon ]==--
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
I installed a Hobbid server 4.2 by compiling all needed packets. The server is running well, so I can see the green points of the server, when I check the Hobbit server. But if I click on one of this green marks, for excample CPU, a download of a file (bb-hostsvc.sh) will start.
Why? I checked my apache config, but I could not find any wrong entrys. If I click on the mark for "trends", I can see the page and all standard entrys of it. rrd is also working well!
Maik -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGXp98r4r+EhimPOURApnRAJ9HuhyupJTLUsS7616hAKfh2iXE+QCgjm2T wVN7Y8pPDn2G0TzO579I5pM= =xdkE -----END PGP SIGNATURE-----
Hi
Is either the permissions on your cgi files or selinux is blocking you, try to set selinux to allow you
[root at cntrra20-rh-hobbit ~]# ls -l /usr/lib/hobbit/cgi-bin/ total 144 -rwxr-xr-x 1 root root 188 Aug 9 2006 bb-csvinfo.sh -rwxr-xr-x 1 root root 191 Aug 9 2006 bb-datepage.sh -rwxr-xr-x 1 root root 181 Aug 9 2006 bb-eventlog.sh -rwxr-xr-x 1 root root 186 Aug 9 2006 bb-findhost.sh -rwxr-xr-x 1 root root 214 Aug 9 2006 bb-histlog.sh -rwxr-xr-x 1 root root 171 Aug 9 2006 bb-hist.sh -rwxr-xr-x 1 root root 173 Aug 9 2006 bb-hostsvc.sh -rwxr-xr-x 1 root root 178 Aug 9 2006 bb-replog.sh -rwxr-xr-x 1 root root 228 Aug 9 2006 bb-rep.sh -rwxr-xr-x 1 root root 227 Aug 9 2006 bb-snapshot.sh -rwxr-xr-x 1 root root 341 Aug 9 2006 hobbit-certreport.sh -rwxr-xr-x 1 root root 211 Aug 9 2006 hobbitcolumn.sh -rwxr-xr-x 1 root root 267 Aug 9 2006 hobbit-confreport.sh -rwxr-xr-x 1 root root 172 Aug 9 2006 hobbit-ghosts.sh -rwxr-xr-x 1 root root 250 Aug 9 2006 hobbitgraph.sh -rwxr-xr-x 1 root root 184 Aug 9 2006 hobbit-hostgraphs.sh -rwxr-xr-x 1 root root 184 Aug 9 2006 hobbit-nkview.sh -rwxr-xr-x 1 root root 358 Aug 9 2006 hobbit-nongreen.sh [root at cntrra20-rh-hobbit ~]#
I don't like selinux you can permenantly diable it in the /etc/sysconfig/selinux file
On Thu, 2007-05-31 at 19:12 +0900, Maik Heinelt wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
I installed a Hobbid server 4.2 by compiling all needed packets. The server is running well, so I can see the green points of the server, when I check the Hobbit server. But if I click on one of this green marks, for excample CPU, a download of a file (bb-hostsvc.sh) will start.
Why? I checked my apache config, but I could not find any wrong entrys. If I click on the mark for "trends", I can see the page and all standard entrys of it. rrd is also working well!
Maik -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGXp98r4r+EhimPOURApnRAJ9HuhyupJTLUsS7616hAKfh2iXE+QCgjm2T wVN7Y8pPDn2G0TzO579I5pM= =xdkE -----END PGP SIGNATURE-----
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
-- Sello Tlabela <tlabelsd at telkom.co.za> Telkom SA
This e-mail and its contents are subject to the Telkom SA Limited
e-mail legal notice available at
http://www.telkom.co.za/TelkomEMailLegalNotice.PDF
On Thu, May 31, 2007 06:22, Sello Tlabela wrote:
Hi
Is either the permissions on your cgi files or selinux is blocking you, try to set selinux to allow you
Definitely an Apache issue, not Hobbit. In my experience, if there is _one_ file in the cgi directory that's not executable by the httpd process, it will serve _any_ of them as plain pages, and since your browser doesn't know what to do with a ".sh" file, it triggers the download prompt.
Do a chmod -R 755 (or 775 if you want group writable) on the cgi-bin directory itself. That will make sure of the file perms and also ensure that the httpd has "x" on the directory, which it needs to get into it.
Hi Maik,
here is a response from an older thread:
I had the same problem, but this worked for me:
We use the NAME tag in bb-hosts and this value is -wrongly- given as param. to the hobbitsvc.cgi.
Here an example with NAME="arwen (ESX Server for Linux)":
Have you tried it without the parentheses?? They can make a shell script do unexpected things...
Yes I did. The thing is the code should use the hostname not what is specified with the NAME tag.
The problem was solved by using the &BBHIKEY variable instead of &BBHOST in ~hobbit/server/web/trends_form
Greetings, Michael
-----Ursprüngliche Nachricht----- Von: Maik Heinelt [mailto:maik at vegasystems.com] Gesendet: Donnerstag, 31. Mai 2007 12:12 An: hobbit at hswn.dk Betreff: [hobbit] download instead of viewing the page
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
I installed a Hobbid server 4.2 by compiling all needed packets. The server is running well, so I can see the green points of the server, when I check the Hobbit server. But if I click on one of this green marks, for excample CPU, a download of a file (bb-hostsvc.sh) will start.
Why? I checked my apache config, but I could not find any wrong entrys. If I click on the mark for "trends", I can see the page and all standard entrys of it. rrd is also working well!
Maik -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGXp98r4r+EhimPOURApnRAJ9HuhyupJTLUsS7616hAKfh2iXE+QCgjm2T wVN7Y8pPDn2G0TzO579I5pM= =xdkE -----END PGP SIGNATURE-----
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Michael.Wiegard at materna.de wrote:
Hi Maik,
here is a response from an older thread:
I had the same problem, but this worked for me:
We use the NAME tag in bb-hosts and this value is -wrongly- given as param. to the hobbitsvc.cgi.
Here an example with NAME="arwen (ESX Server for Linux)":
Have you tried it without the parentheses?? They can make a shell script do unexpected things...
Yes I did. The thing is the code should use the hostname not what is specified with the NAME tag.
The problem was solved by using the &BBHIKEY variable instead of &BBHOST in ~hobbit/server/web/trends_form
Greetings, Michael
-----Ursprüngliche Nachricht----- Von: Maik Heinelt [mailto:maik at vegasystems.com] Gesendet: Donnerstag, 31. Mai 2007 12:12 An: hobbit at hswn.dk Betreff: [hobbit] download instead of viewing the page
I installed a Hobbid server 4.2 by compiling all needed packets. The server is running well, so I can see the green points of the server, when I check the Hobbit server. But if I click on one of this green marks, for excample CPU, a download of a file (bb-hostsvc.sh) will start.
Why? I checked my apache config, but I could not find any wrong entrys. If I click on the mark for "trends", I can see the page and all standard entrys of it. rrd is also working well!
Maik
Hi,
I also dont use SELinux and I tryed to find the trends_form file in the hobbit/server/web/, but I didnt found it.
The crazy thing is, it worked well at the first time. I just added one
client there. after that I couldn`t get some viewings!!
I also checked the permission and owner of the cgi folder. This settings looks also fine (755).
Maik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGXqcTr4r+EhimPOURAnsrAKDgveO7Fhze/HosRJSdm1KtVtr9aQCfTaBX awfTNzc0nMOA6SWkrNKqiXs= =CCf9 -----END PGP SIGNATURE-----
On Wednesday 30 May 2007 22:33, Galen Johnson wrote:
Your access_log is not going to be much help. You need to check your error logs...
Apart from the fact that the web server is answering with a 404 not found
<snip>
172.31.38.62 - - [30/May/2007:16:27:19 -0400] "GET /hobbit-cgi/bb-hostsvc.sh?HOST=batman&SERVICE=cpu HTTP/1.1" 404 297 "http://batman/hobbit/" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"
So this would seem that , as Henrik stated, this is a web server configuration issue.
At a guess, I think Bob, you do not have the hobbit-apache.conf file added to the main apache.conf file.
Cheers
Iain
Robert Manocchia
UNIX System Administrator
IDEXX Laboratories
207 556-6860
EMail Robert-Manocchia at idexx.com
-----Original Message----- *From:* Stewart_Larsen at doh.state.fl.us [mailto:Stewart_Larsen at doh.state.fl.us] *Sent:* Wednesday, May 30, 2007 4:17 PM *To:* hobbit at hswn.dk *Subject:* RE: [hobbit] Hobbit 4.2.0
Might I suggest checking the apache log files to see what he thinks he's serving versus what you think he should be serving?
-- Stewart Larsen
*From:* Manocchia, Robert [mailto:Robert-Manocchia at IDEXX.com] *Sent:* Wednesday, May 30, 2007 2:39 PM *To:* 'hobbit at hswn.dk' *Subject:* RE: [hobbit] Hobbit 4.2.0
Steve:
I’ve looked at the data files and they look of owner by hobbit:users and all 755. It must be something else I’m missing.
Robert Manocchia
UNIX System Administrator
IDEXX Laboratories
207 556-6860
EMail Robert-Manocchia at idexx.com
-----Original Message----- *From:* Steve Holmes [mailto:sholmes42 at mac.com] *Sent:* Wednesday, May 30, 2007 2:21 PM *To:* hobbit at hswn.dk *Subject:* Re: [hobbit] Hobbit 4.2.0
Bob, I think you want to look in /var/hobbit/data (or the equivalent for your configuration).
Steve.
On 5/30/07, *Manocchia, Robert* < Robert-Manocchia at idexx.com <mailto:Robert-Manocchia at idexx.com>> wrote:
Thanks Bob. Where do I look for the data files?
Robert Manocchia
UNIX System Administrator
IDEXX Laboratories
207 556-6860
EMail Robert-Manocchia at idexx.com <mailto:Robert-Manocchia at idexx.com>
-----Original Message----- *From:* Bob Gordon [mailto:rgordonjr at gmail.com <mailto:rgordonjr at gmail.com>] *Sent:* Wednesday, May 30, 2007 2:04 PM *To:* hobbit at hswn.dk <mailto:hobbit at hswn.dk> *Subject:* Re: [hobbit] Hobbit 4.2.0
On 5/30/07, *Manocchia, Robert* < Robert-Manocchia at idexx.com <mailto:Robert-Manocchia at idexx.com>> wrote:
I have the main screen for hobbit up and running on a Linux 2 server. However when I click on any of the colored icons I get the message Page Not Found. Is this a permissions problem or is it that apache does not know where to look for the page?
When I had the problem it was a permissions issue.
-- --==[ Bob Gordon ]==--
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
participants (7)
-
gjohnson@trantor.org
-
hobbit@epperson.homelinux.net
-
iain@shihad.org
-
maik@vegasystems.com
-
Michael.Wiegard@materna.de
-
Robert-Manocchia@IDEXX.com
-
tlabelsd@telkom.co.za