[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Popcon-developers] Bug#709892: popularity-contest: Unable to submit report



On Sun, Jun 02, 2013 at 01:15:46PM +0200, Olaf van der Spek wrote:
> On 26-5-2013 23:18, Bill Allombert wrote:
> >On Sun, May 26, 2013 at 10:49:23PM +0200, Olaf van der Spek wrote:
> >>On 26-5-2013 16:56, Bill Allombert wrote:
> >>What part of the HTTP request failed and with what error code. Did
> >>resolving the name fail? Did connecting fail? Writing the request?
> >>Reading the response.
> >
> >Ah yes, I forgot about that, sorry:
> >You can enable debugging mode:
> >
> >Edit /etc/cron.daily/popularity-contest to pass -d to
> >popcon-upload:
> >Replace
> >if setsid /usr/share/popularity-contest/popcon-upload
> >by
> >if setsid /usr/share/popularity-contest/popcon-upload -d
> 
> This is what I've got:
> if setsid /usr/share/popularity-contest/popcon-upload -d \
> 
> But syslog still says:
> Jun  1 06:25:39 router popularity-contest: unable to submit report
> to http://popcon.debian.org/cgi-bin/popcon.cgi.
> 
> Where does it log the debug info?

It just print them to stdout. What happen to that depend on cron I suppose.

You can try to remove the '2>/dev/null' in the line below the call to 
popcon-upload:

        if setsid /usr/share/popularity-contest/popcon-upload \
            -u $URL -f $POPCON 2>/dev/null ; then

or even replace '2>/dev/null' by  '2>&1 | logger -t popularity-contest'

Sorry for not being too helpful... I did not write popcon-upload despite what
the file says.

Cheers,
-- 
Bill. <ballombe at debian.org>

Imagine a large red swirl here. 



Reply to: