[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bricolage-general
Subject:    Re: publish/FTP failure
From:       Bret Dawson <bret () pectopah ! com>
Date:       2011-01-27 18:02:09
Message-ID: 1296151329.2311.84.camel () bret-laptop
[Download RAW message or body]

Hi again,

This first one looks like it's deleting the .tmp file successfully, and
then, three minutes later, trying (and failing) to write a new file to
that path.

The three-digit numbers are FTP status codes. The full list is here:
http://en.wikipedia.org/wiki/List_of_FTP_server_return_codes

Anyway, the 425 means the write failed because it couldn't open a data
connection. Was Bricolage spinning for those three minutes, waiting for
the FTP server?

The successful publish looks like FTP_UNLINK_BEFORE_MOVE is set to
false, and the FTP server seems to like that.

What happens if you change the path in the destination that works, so it
resolves to the same path as the one that's failing?


Hope this helps,

Bret

 
>  
>  
> FTP log entries for the failed publish:
>  
> [27/Jan/2011:12:23:36 -0500] "PASS (hidden)" - -
> [27/Jan/2011:12:23:36 -0500] "TYPE I" 200 -
> [27/Jan/2011:12:23:36 -0500] "PWD" 257 -
> [27/Jan/2011:12:23:37 -0500] "CWD /2011/01/22/prettygood" 250 -
> [27/Jan/2011:12:23:37 -0500] "CWD /" 250 -
> [27/Jan/2011:12:23:37 -0500] "DELE /2011/01/22/prettygood/index.html.tmp" 250 0
> [27/Jan/2011:12:23:37 -0500] "ALLO 356" 202 -
> [27/Jan/2011:12:23:37 -0500] "PORT 97,190,231,170,189,248" 200 -
> [27/Jan/2011:12:26:47 -0500] "STOR /2011/01/22/prettygood/index.html.tmp" 425 0
>  
>  
> FTP log entries for the aforementioned successful publish:
>  
> [27/Jan/2011:00:01:22 -0500] "PASS (hidden)" - -
> [27/Jan/2011:00:01:22 -0500] "TYPE I" 200 -
> [27/Jan/2011:00:01:23 -0500] "PWD" 257 -
> [27/Jan/2011:00:01:23 -0500] "CWD /pubnew/2011/01/22/blahblah" 250 -
> [27/Jan/2011:00:01:23 -0500] "CWD /" 250 -
> [27/Jan/2011:00:01:23 -0500] "ALLO 508" 202 -
> [27/Jan/2011:00:01:23 -0500] "PORT 96,10,98,47,227,86" 200 -
> [27/Jan/2011:00:01:23 -0500] "STOR /pubnew/2011/01/22/blahblah/index.html.tmp"
> 226 508
> [27/Jan/2011:00:01:23 -0500] "RNFR /pubnew/2011/01/22/blahblah/index.html.tmp"
> 350 0
> [27/Jan/2011:00:01:23 -0500] "RNTO /pubnew/2011/01/22/blahblah/index.html" 250 0
> [27/Jan/2011:00:01:23 -0500] "QUIT" 221 -
>  
>  
> -----------------------------------------------
>  
> I am seeing a difference in the "STOR ... " lines.  In the good scenario it ends
> with two non-zero integers (file size??) 
>  
> The bad one ends with A non-zero followed by a zero.  And then is NOT followed
> by the RNFR and RNTO lines.
>  
> Sometimes the bad "STOR .... " lines is followed by:
>  
> "NOOP" 200 -
> "NOOP" 200 -
> "NOOP" 200 -
> "NOOP" 200 -
> "NOOP" 200 -
>  
>  
>  
> FTP log entries for the failed publish:
> [27/Jan/2011:12:23:36 -0500] "PASS (hidden)" - -
> [27/Jan/2011:12:23:36 -0500] "TYPE I" 200 -
> [27/Jan/2011:12:23:36 -0500] "PWD" 257 -
> [27/Jan/2011:12:23:37 -0500] "CWD /2011/01/22/prettygood" 250 -
> [27/Jan/2011:12:23:37 -0500] "CWD /" 250 -
> [27/Jan/2011:12:23:37 -0500] "DELE /2011/01/22/prettygood/index.html.tmp" 250 0
> [27/Jan/2011:12:23:37 -0500] "ALLO 356" 202 -
> [27/Jan/2011:12:23:37 -0500] "PORT 97,190,231,170,189,248" 200 -
> [27/Jan/2011:12:26:47 -0500] "STOR /2011/01/22/prettygood/index.html.tmp" 425 0
> FTP log entries for the (aforementioned) successful publish:
> [27/Jan/2011:00:01:22 -0500] "PASS (hidden)" - -
> [27/Jan/2011:00:01:22 -0500] "TYPE I" 200 -
> [27/Jan/2011:00:01:23 -0500] "PWD" 257 -
> [27/Jan/2011:00:01:23 -0500] "CWD /pubnew/2011/01/22/blahblah" 250 -
> [27/Jan/2011:00:01:23 -0500] "CWD /" 250 -
> [27/Jan/2011:00:01:23 -0500] "ALLO 508" 202 -
> [27/Jan/2011:00:01:23 -0500] "PORT 96,10,98,47,227,86" 200 -
> [27/Jan/2011:00:01:23 -0500] "STOR /pubnew/2011/01/22/blahblah/index.html.tmp"
> 226 508
> [27/Jan/2011:00:01:23 -0500] "RNFR /pubnew/2011/01/22/blahblah/index.html.tmp"
> 350 0
> [27/Jan/2011:00:01:23 -0500] "RNTO /pubnew/2011/01/22/blahblah/index.html" 250 0
> [27/Jan/2011:00:01:23 -0500] "QUIT" 221 -
> -----------------------------------------------
> I am seeing a difference in the "STOR ... " lines.  In the good scenario it ends
> with two non-zero integers (file size??) 
> The bad one ends with A non-zero followed by a zero.  And then is NOT followed
> by the RNFR and RNTO lines.
> Sometimes the bad "STOR .... " lines is followed by:
> "NOOP" 200 -
> "NOOP" 200 -
> "NOOP" 200 -
> "NOOP" 200 -
> "NOOP" 200 -
>  
> 

-- 
Bret Dawson
Producer
Pectopah Productions Inc.
(416) 895-7635
bret@pectopah.com
www.pectopah.com

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic