Am 23.12.2017 um 16:58 teilte Олег Мороз mit:

Hi,

did you set the limits in correct user context (see /etc/security/limits.conf)? No sorry, I'm not an expert in this.

Regarding the crash: I do see the sig 11 below. Did you try to hit CTRL-C (as described) and generate a backtrace then?

Thanks!

Hilmar

coredump did not generated. Have tried to use:

|ulimit -c unlimited|

with no effects (have checked / and  /root directories to find coredump)

Then have installed proftpd debug symbols and gdb and start proftpd debugging


root@sim-ng-data /run # gdb proftpd
GNU gdb (Debian 7.12-6+b1) 7.12.0.20161007-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from proftpd...Reading symbols from /usr/lib/debug/.build-id/c9/5250b18658db39aa4692b37f01f3549f2181a5.debug...done.
done.

(gdb) run -n
Starting program: /usr/sbin/proftpd -n
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
2017-12-23 18:56:12,032 sim-ng-data proftpd[11874]: processing configuration directory '/etc/proftpd/conf.d/' 2017-12-23 18:56:12,041 sim-ng-data proftpd[11874] sim-ng-data: ProFTPD 1.3.5e (maint) (built Di Dez 19 2017 07:53:15 CET) standalone mode STARTUP 2017-12-23 18:56:17,915 sim-ng-data proftpd[11912] sim-ng-data (OpenWrt[192.168.3.180]): SSH2 session opened. 2017-12-23 15:56:18,046 sim-ng-data proftpd[11912] sim-ng-data (OpenWrt[192.168.3.180]): USER ftp: Login successful 2017-12-23 15:56:18,046 sim-ng-data proftpd[11912] sim-ng-data (OpenWrt[192.168.3.180]): ProFTPD terminating (signal 11) 2017-12-23 15:56:18,046 sim-ng-data proftpd[11912] sim-ng-data (OpenWrt[192.168.3.180]): ProFTPD terminating (signal 11) 2017-12-23 15:56:18,046 sim-ng-data proftpd[11912] sim-ng-data (OpenWrt[192.168.3.180]): SSH2 session closed.


program is not crushed (still working and running) because of that i have no posibility to collect backtrace of error



23.12.2017 17:53, Hilmar Preuße пишет:
On 23.12.2017 11:25, Олег Мороз wrote:

Hi Олег,

2017-12-23 13:24:15,773 sim-ng-data proftpd[25418] sim-ng-data: ProFTPD
1.3.5e (maint) (built Di Dez 19 2017 07:53:15 CET) standalone mode STARTUP
2017-12-23 13:24:19,256 sim-ng-data proftpd[25446] sim-ng-data
(OpenWrt[192.168.3.180]): SSH2 session opened.
2017-12-23 10:24:19,381 sim-ng-data proftpd[25446] sim-ng-data
(OpenWrt[192.168.3.180]): USER ftp: Login successful
2017-12-23 10:24:19,381 sim-ng-data proftpd[25446] sim-ng-data
(OpenWrt[192.168.3.180]): ProFTPD terminating (signal 11)
2017-12-23 10:24:19,381 sim-ng-data proftpd[25446] sim-ng-data
(OpenWrt[192.168.3.180]): SSH2 session closed.

Is a core dump generated for the crash? If not, don't care for now.

The URL [1] describes some basic steps how to generated a back trace for
debugging. Please follow them as far as possible, in case of questions
please call back. The section "Installing the debugging symbols" won't
work as described; our debug symbols are not in archive yet. However
I've uploaded the appropriate dbgsym packages to the location where you
got the proftpd package, please install them from there.

Hilmar

[1] https://wiki.debian.org/HowToGetABacktrace



--
#206401 http://counter.li.org

Reply via email to