[Proftpd-user] Proftpd crashes on user login (mod_quotatab_sql)
--===============1279998053==
Content-Type: multipart/alternative;
boundary="----=_Part_16153_31398355.1206527002344"
------=_Part_16153_31398355.1206527002344
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
FreeBSD 7.0
ProFTPd 1.3.1
when i am logining to ftp, i see in logs following:
FTP session opened.
mod_delay/0.5: delaying for 796 usecs
USER stas3: Login successful.
Preparing to chroot to directory '/storage/stas3'
ProFTPD terminating (signal 11)
FTP session closed.
i think that trouble with mod_quotatab_sql, because in sql-log i see that
proftpd already have asked database about quota
query "SELECT User,'user','false','hard',QuotaSize,0,0,NULL,NULL,NULL FROM
ftp WHERE User = 'stas3'"
entering mysql cmd_close
connection 'default' count is now 1
exiting mysql cmd_close
exiting mysql cmd_select
<<< _process_named_query
<<< sql_lookup
If i turn off the quotaengine all works fine.
------=_Part_16153_31398355.1206527002344
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">FreeBSD 7.0</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">ProFTPd 1.3.1</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px"><br></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">when i am logining to ftp, i see in logs following:</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px"><br></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">FTP session opened.</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">mod_delay/0.5: delaying for 796 usecs</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">USER stas3: Login successful.</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">Preparing to chroot to directory '/storage/stas3'</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">ProFTPD terminating (signal 11)</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">FTP session closed.</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px"><br></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">i think that trouble with mod_quotatab_sql, because in sql-log i see that proftpd already have asked database about quota</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px"><br></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica"> query "SELECT User,'user','false','hard',QuotaSize,0,0,NULL,NULL,NULL FROM ftp WHERE User = 'stas3'"</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica"> entering mysql cmd_close</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica"> connection 'default' count is now 1</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica"> exiting mysql cmd_close</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica"> exiting mysql cmd_select</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica"> <<< _process_named_query</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica"> <<< sql_lookup</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px"><br></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">If i turn off the quotaengine all works fine.</p>
------=_Part_16153_31398355.1206527002344--
--===============1279998053==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
[url]http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace[/url]
--===============1279998053==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
ProFTPD Users List <proftpd-users@proftpd.org>
Unsubscribe problems?
[url]http://www.proftpd.org/list-unsub.html[/url]
--===============1279998053==--