Hi to all.
I have ProFTPD on my FreeBSD 9 server:
Long time it's working without any troubles. But some time ago I try to add follofing to proftpd.conf:
It's doesn't working as I need, so I commented it out with #.
After that actions ProFTPD begin shutting down without any messages to log-files.
After I start it, connected and after end session - I see:
Something like this:
In log:
Server type:
Log configuration:
I try set:
But nothing that can help me...
Can somebody give any tips - where I can looking for solution?
P.S. over inetd - working perfect. Problem are only with standalone mode.
P.S. Sorry for my English ^_^
I have ProFTPD on my FreeBSD 9 server:
Code:
# pkg_info | grep ftp
proftpd-1.3.4b
Code:
# uname -v
FreeBSD 9.0-RELEASE-p3
Long time it's working without any troubles. But some time ago I try to add follofing to proftpd.conf:
Code:
RequireValidShell off
It's doesn't working as I need, so I commented it out with #.
After that actions ProFTPD begin shutting down without any messages to log-files.
After I start it, connected and after end session - I see:
Code:
# service proftpd status
proftpd is not running.
Something like this:
Code:
09:48:37 [user@perun ~] $ lftp user@user.org.ua
Пароль:
lftp user@user.org.ua:~> ls
-rw-r--r-- 1 root user 488957 Dec 4 11:14 11.txt
drwx------ 2 user user 512 Aug 12 17:00 Mail
...
lftp user@user.org.ua:/> exit
09:49:39 [root@akira /usr/home/user] # service proftpd status
proftpd is running as pid 40208.
09:49:41 [root@akira /usr/home/user] # service proftpd status
proftpd is not running.
In log:
Code:
Jan 04 09:48:43 proftpd[40208] localhost ([77.120.112.131]): dispatching LOG_CMD command 'LIST' to mod_log
Jan 04 09:48:43 proftpd[40208] localhost ([77.120.112.131]): dispatching LOG_CMD command 'LIST' to mod_ls
Jan 04 09:49:45 proftpd[40208] localhost ([77.120.112.131]): dispatching PRE_CMD command 'QUIT' to mod_core
Jan 04 09:49:45 proftpd[40208] localhost ([77.120.112.131]): dispatching PRE_CMD command 'QUIT' to mod_core
Jan 04 09:49:45 proftpd[40208] localhost ([77.120.112.131]): dispatching CMD command 'QUIT' to mod_core
Jan 04 09:49:45 proftpd[40208] localhost ([77.120.112.131]): dispatching LOG_CMD command 'QUIT' to mod_log
Jan 04 09:49:45 proftpd[40208] localhost ([77.120.112.131]): dispatching LOG_CMD command 'QUIT' to mod_core
Jan 04 09:49:45 proftpd[40208] localhost ([77.120.112.131]): ROOT PRIVS at mod_auth_pam.c:172
Jan 04 09:49:45 proftpd[40208] localhost ([77.120.112.131]): RELINQUISH PRIVS at mod_auth_pam.c:206
Jan 04 09:49:45 proftpd[40208] localhost ([77.120.112.131]): FTP session closed.
Server type:
Code:
ServerType standalone
Log configuration:
Code:
LogFormat default "%h %l %u %t \"%r\" %s %b"
LogFormat auth "%v [%P] %h %t \"%r\" %s"
LogFormat write "%h %l %u %t \"%r\" %s %b"
SystemLog /var/log/proftpd/proftpd.log
TransferLog /var/log/proftpd/xfer.log
ExtendedLog /var/log/proftpd/access.log WRITE,READ write
ExtendedLog /var/log/proftpd/auth.log AUTH auth
I try set:
Code:
DebugLevel 9
Code:
# proftpd -t
Checking syntax of configuration file
Syntax check complete.
But nothing that can help me...
Can somebody give any tips - where I can looking for solution?
P.S. over inetd - working perfect. Problem are only with standalone mode.
P.S. Sorry for my English ^_^