Also...that content-type at the start looks "odd"
-----Original Message-----
From: Eric Meddaugh [mailto:user-4e1e735fdc96@xymon.invalid]
Sent: Thursday, January 03, 2008 09:17
To: user-ae9b8668bcde@xymon.invalid
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:user-ce4a2c883f75@xymon.invalid]
Sent: Thursday, January 03, 2008 09:07
To: user-ae9b8668bcde@xymon.invalid
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