Availability Report not working
The Availability Report on the web just stopped working. It created the directory in the "rep", but nothing goes inside it. The webpage redirects to the correct location, but it's empty.
Any ideas on what to look for? Nothing I can see in any of the logs indicates a problem.. Is there any "debug" that can be turned on to figure out why it's not working now? Not sure how long it's been this way, but it has the problem when it try to generate it on the web, it appears to be able to generate it via our daily script, just not via the web anymore.
Thanks.
---Eric
On Thu, Jan 03, 2008 at 08:59:43AM -0500, Eric Meddaugh wrote:
Any ideas on what to look for? Nothing I can see in any of the logs indicates a problem.. Is there any "debug" that can be turned on to figure out why it's not working now? Not sure how long it's been this way, but it has the problem when it try to generate it on the web, it appears to be able to generate it via our daily script, just not via the web anymore.
This smells like a permissions problem to me. Check that the webserver userid/group has write permissions to the www/rep/ directory.
If that doesn't help, you can login/su so you have the user/group-ID of your webserver, and then run the CGI by hand like this:
REQUEST_METHOD=GET
SCRIPT_NAME=bb-rep.sh
QUERY_STRING="start-mon=Jan&start-day=1&start-yr=2008&end-mon=1&end-day=3&end-yr=2008&style=crit"
~hobbit/cgi-bin/bb-rep.sh
Henrik
I did check permissions, the directory is getting created correctly, just nothing going inside of it, after running this:
Content-type: multipart/mixed;boundary=bbrep-29231-1199369692
--bbrep-29231-1199369692 Content-type: text/html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Set-Cookie" CONTENT="pagepath=; path=/"> <META HTTP-EQUIV="Set-Cookie" CONTENT="host=; path=/"> <TITLE>Hobbit Availability Report : Jan 01 2008 - Jan 03 2008</TITLE>
<!-- Styles for the menu bar --> <link rel="stylesheet" type="text/css" href="/menu/menu.css">
<!-- The favicon image --> <link rel="shortcut icon" href="/gifs/favicon-blue.ico">
</HEAD>
<BODY BGCOLOR="blue" BACKGROUND="/gifs/bkg-blue.gif" TEXT="#D8D8BF" LINK="#00FFAA" VLINK="#FFFF44">
<TABLE SUMMARY="Topline" WIDTH="100%"> <TR><TD HEIGHT=16> </TD></TR> <!-- For the menu bar --> <TR> <TD VALIGN=MIDDLE ALIGN=LEFT WIDTH="30%"> <FONT FACE="Arial, Helvetica" SIZE="+1" COLOR="silver"><B>RIT Hobbit</B></FONT> </TD> <TD VALIGN=MIDDLE ALIGN=CENTER WIDTH="40%"> <CENTER><FONT FACE="Arial, Helvetica" SIZE="+1" COLOR="silver"><B>Availability Report</B></FONT></CENTER> </TD> <TD VALIGN=MIDDLE ALIGN=RIGHT WIDTH="30%"> <FONT FACE="Arial, Helvetica" SIZE="+1" COLOR="silver"><B>Jan 01 2008
- Jan 03 2008</B></FONT> </TD> </TR> <TR> <TD COLSPAN=3> <HR WIDTH="100%"> </TD> </TR> </TABLE> <BR>
<CENTER><A NAME=begindata> </A> <BR><BR><BR><BR> <H3>Generating report for the period: Jan 01 2008 - Jan 03 2008 (crit)<BR> <P><P> Done...Report is <A HREF="/rep/29231-1199369692/">here</a>.</P></BODY></HTML> --bbrep-29231-1199369692
Content-Type: text/html
<HTML><HEAD> <META HTTP-EQUIV="REFRESH" CONTENT="0; URL=/rep/29231-1199369692/" </HEAD><BODY>Report is available <a href="/rep/29231-1199369692/">here</a></BODY></HTML>
--bbrep-29231-1199369692
It seems to have a trailing "--bbrep-29231-1199369692", which is the directory name.
-----Original Message----- From: Henrik Stoerner [mailto:henrik at hswn.dk] Sent: Thursday, January 03, 2008 09:07 To: hobbit at hswn.dk Subject: Re: [hobbit] Availability Report not working
On Thu, Jan 03, 2008 at 08:59:43AM -0500, Eric Meddaugh wrote:
Any ideas on what to look for? Nothing I can see in any of the logs indicates a problem.. Is there any "debug" that can be turned on to figure out why it's not working now? Not sure how long it's been this way, but it has the problem when it try to generate it on the web, it appears to be able to generate it via our daily script, just not via the web anymore.
This smells like a permissions problem to me. Check that the webserver userid/group has write permissions to the www/rep/ directory.
If that doesn't help, you can login/su so you have the user/group-ID of your webserver, and then run the CGI by hand like this:
REQUEST_METHOD=GET
SCRIPT_NAME=bb-rep.sh
QUERY_STRING="start-mon=Jan&start-day=1&start-yr=2008&end-mon=1&end-day=
3&end-yr=2008&style=crit"
~hobbit/cgi-bin/bb-rep.sh
Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
Also...that content-type at the start looks "odd"
-----Original Message----- From: Eric Meddaugh [mailto:etmsys at rit.edu] Sent: Thursday, January 03, 2008 09:17 To: hobbit at hswn.dk Subject: RE: [hobbit] Availability Report not working
I did check permissions, the directory is getting created correctly, just nothing going inside of it, after running this:
Content-type: multipart/mixed;boundary=bbrep-29231-1199369692
--bbrep-29231-1199369692 Content-type: text/html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Set-Cookie" CONTENT="pagepath=; path=/"> <META HTTP-EQUIV="Set-Cookie" CONTENT="host=; path=/"> <TITLE>Hobbit Availability Report : Jan 01 2008 - Jan 03 2008</TITLE>
<!-- Styles for the menu bar --> <link rel="stylesheet" type="text/css" href="/menu/menu.css">
<!-- The favicon image --> <link rel="shortcut icon" href="/gifs/favicon-blue.ico">
</HEAD>
<BODY BGCOLOR="blue" BACKGROUND="/gifs/bkg-blue.gif" TEXT="#D8D8BF" LINK="#00FFAA" VLINK="#FFFF44">
<TABLE SUMMARY="Topline" WIDTH="100%"> <TR><TD HEIGHT=16> </TD></TR> <!-- For the menu bar --> <TR> <TD VALIGN=MIDDLE ALIGN=LEFT WIDTH="30%"> <FONT FACE="Arial, Helvetica" SIZE="+1" COLOR="silver"><B>RIT Hobbit</B></FONT> </TD> <TD VALIGN=MIDDLE ALIGN=CENTER WIDTH="40%"> <CENTER><FONT FACE="Arial, Helvetica" SIZE="+1" COLOR="silver"><B>Availability Report</B></FONT></CENTER> </TD> <TD VALIGN=MIDDLE ALIGN=RIGHT WIDTH="30%"> <FONT FACE="Arial, Helvetica" SIZE="+1" COLOR="silver"><B>Jan 01 2008
- Jan 03 2008</B></FONT> </TD> </TR> <TR> <TD COLSPAN=3> <HR WIDTH="100%"> </TD> </TR> </TABLE> <BR>
<CENTER><A NAME=begindata> </A> <BR><BR><BR><BR> <H3>Generating report for the period: Jan 01 2008 - Jan 03 2008 (crit)<BR> <P><P> Done...Report is <A HREF="/rep/29231-1199369692/">here</a>.</P></BODY></HTML> --bbrep-29231-1199369692
Content-Type: text/html
<HTML><HEAD> <META HTTP-EQUIV="REFRESH" CONTENT="0; URL=/rep/29231-1199369692/" </HEAD><BODY>Report is available <a href="/rep/29231-1199369692/">here</a></BODY></HTML>
--bbrep-29231-1199369692
It seems to have a trailing "--bbrep-29231-1199369692", which is the directory name.
-----Original Message----- From: Henrik Stoerner [mailto:henrik at hswn.dk] Sent: Thursday, January 03, 2008 09:07 To: hobbit at hswn.dk Subject: Re: [hobbit] Availability Report not working
On Thu, Jan 03, 2008 at 08:59:43AM -0500, Eric Meddaugh wrote:
Any ideas on what to look for? Nothing I can see in any of the logs indicates a problem.. Is there any "debug" that can be turned on to figure out why it's not working now? Not sure how long it's been this way, but it has the problem when it try to generate it on the web, it appears to be able to generate it via our daily script, just not via the web anymore.
This smells like a permissions problem to me. Check that the webserver userid/group has write permissions to the www/rep/ directory.
If that doesn't help, you can login/su so you have the user/group-ID of your webserver, and then run the CGI by hand like this:
REQUEST_METHOD=GET
SCRIPT_NAME=bb-rep.sh
QUERY_STRING="start-mon=Jan&start-day=1&start-yr=2008&end-mon=1&end-day=
3&end-yr=2008&style=crit"
~hobbit/cgi-bin/bb-rep.sh
Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
On Thu, Jan 03, 2008 at 09:17:33AM -0500, Eric Meddaugh wrote:
Also...that content-type at the start looks "odd"
Content-type: multipart/mixed;boundary=bbrep-29231-1199369692
Nope, that is correct. It's a multi-part document.
Regards, Henrik
Here's the snapshot try....any ideas??
$ cat test2.sh #!/bin/sh
REQUEST_METHOD=GET
SCRIPT_NAME=bb-snapshot.sh
QUERY_STRING="mon=Jan&day=2&yr=2008&hour=9&min=48&sec=00"
/home/hobbit/cgi-bin/bb-snapshot.sh
$ sh test2.sh Content-type: multipart/mixed;boundary=bbrep-27304-1199371887
bbrep-27304-1199371887 Content-type: text/html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD>
<TITLE>Hobbit - Snapshot Report</TITLE>
<!-- Styles for the menu bar --> <link rel="stylesheet" type="text/css" href="/menu/menu.css">
<!-- The favicon image --> <link rel="shortcut icon" href="/gifs/favicon-blue.ico">
</HEAD>
<BODY BGCOLOR="blue" BACKGROUND="/gifs/bkg-blue.gif" TEXT="#D8D8BF" LINK="#00FFAA" VLINK="#FFFF44">
<TABLE SUMMARY="Topline" WIDTH="100%"> <TR><TD HEIGHT=16> </TD></TR> <!-- For the menu bar --> <TR> <TD VALIGN=MIDDLE ALIGN=LEFT WIDTH="30%"> <FONT FACE="Arial, Helvetica" SIZE="+1" COLOR="silver"><B>RIT Hobbit</B></FONT> </TD> <TD VALIGN=MIDDLE ALIGN=CENTER WIDTH="40%"> <CENTER><FONT FACE="Arial, Helvetica" SIZE="+1" COLOR="silver"><B>Snapshot Report</B></FONT></CENTER> </TD> <TD VALIGN=MIDDLE ALIGN=RIGHT WIDTH="30%"> <FONT FACE="Arial, Helvetica" SIZE="+1" COLOR="silver"><B>Jan 02 2008</B></FONT> </TD> </TR> <TR> <TD COLSPAN=3> <HR WIDTH="100%"> </TD> </TR> </TABLE> <BR>
<CENTER><A NAME=begindata> </A> <BR><BR><BR><BR> <H3>Generating snapshot: Jan 02 2008<BR> <P><P> Done...<P></BODY></HTML> bbrep-27304-1199371887
Content-Type: text/html
<HTML><HEAD> <META HTTP-EQUIV="REFRESH" CONTENT="0; URL=/snap/27304-1199371887/" </HEAD><BODY BGCOLOR="000000"></BODY></HTML>
bbrep-27304-1199371887
-----Original Message----- From: Henrik Stoerner [mailto:henrik at hswn.dk] Sent: Thursday, January 03, 2008 09:46 To: hobbit at hswn.dk Subject: Re: [hobbit] Availability Report not working
On Thu, Jan 03, 2008 at 09:17:33AM -0500, Eric Meddaugh wrote:
Also...that content-type at the start looks "odd"
Content-type: multipart/mixed;boundary=bbrep-29231-1199369692
Nope, that is correct. It's a multi-part document.
Regards, Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
Snapshot does not work either....creates the directory, just not the files...
-----Original Message----- From: Henrik Stoerner [mailto:henrik at hswn.dk] Sent: Thursday, January 03, 2008 09:07 To: hobbit at hswn.dk Subject: Re: [hobbit] Availability Report not working
On Thu, Jan 03, 2008 at 08:59:43AM -0500, Eric Meddaugh wrote:
Any ideas on what to look for? Nothing I can see in any of the logs indicates a problem.. Is there any "debug" that can be turned on to figure out why it's not working now? Not sure how long it's been this way, but it has the problem when it try to generate it on the web, it appears to be able to generate it via our daily script, just not via the web anymore.
This smells like a permissions problem to me. Check that the webserver userid/group has write permissions to the www/rep/ directory.
If that doesn't help, you can login/su so you have the user/group-ID of your webserver, and then run the CGI by hand like this:
REQUEST_METHOD=GET
SCRIPT_NAME=bb-rep.sh
QUERY_STRING="start-mon=Jan&start-day=1&start-yr=2008&end-mon=1&end-day=
3&end-yr=2008&style=crit"
~hobbit/cgi-bin/bb-rep.sh
Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
participants (2)
-
etmsys@rit.edu
-
henrik@hswn.dk