netftpserver-general
[Top][All Lists]
Advanced

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

Re: [Net::FTPServer] Fwd: Net-FTPServer-1.122


From: Richard Jones
Subject: Re: [Net::FTPServer] Fwd: Net-FTPServer-1.122
Date: Wed, 28 Dec 2005 16:55:43 +0000
User-agent: Mutt/1.5.9i

On Tue, Dec 27, 2005 at 07:10:34PM +0000, Richard Jones wrote:
> ----- Forwarded message from address@hidden -----

[I tried to email a.rod directly, but his email server won't accept
mail from mine.  If this one bounces as well, then he likely won't get
the reply].

> Dec 27 08:12:05 localhost ftpd[4403]: Offset outside string at 
> /usr/lib/perl5/site_perl/5.8.0/Net/FTPServer.pm line 5448, <STDIN> line 11. 

> Dec 27 08:13:40 localhost ftpd[4435]: Can't locate object method "getline" 
> via package "Net::FTPServer::DBeg1::IOBlob" at 
> /usr/lib/perl5/site_perl/5.8.0/Net/FTPServer.pm line 5508, <STDIN> line 11. 

Two different errors here.  I've not seen either of them before ...

For the first one, the code is as follows:

                $w = syswrite $sock, $buffer, $r - $n, $n;

Can you tell us what the values of $r and $n are at this point?  (Just
printing them on STDERR should make them appear in the error log
file).

The second one may be related to the fact that the DBeg1 personality
was designed for PostgreSQL 6.something, which is absolutely ancient.
Modern versions of PostgreSQL just use BYTEA objects as unlimited
length strings, instead of blobs.  Unfortunately changing DBeg1 to use
BYTEA is non-trivial.  It would in fact be better just to start from
scratch.

> ftp> cd Central
> 250 Changed directory OK.
> ftp> site show
> 550 File or directory not found.

You need to do "SITE SHOW filename" ...

> ftp> site show testarpwd.pl
> 421 Service not available, remote server has closed connection

Hmmm, server crashed.  The error message printed is the same as above
however, so at least it's the same problem ...

> Dec 27 08:18:20 localhost ftpd[4442]: Can't locate object method "getline" 
> via package "Net::FTPServer::DBeg1::IOBlob" at /usr/local/lib/show.pl line 
> 38, <STDIN> line 23. 

Rich.

-- 
Richard Jones, CTO Merjis Ltd.
Merjis - web marketing and technology - http://merjis.com
Team Notepad - intranets and extranets for business - http://team-notepad.com




reply via email to

[Prev in Thread] Current Thread [Next in Thread]