When I start pure-ftpd application, my PC not respond after this action (not back to command line). Only after terminating this app (pressing "Ctrl+C") my PC back to command line. Reproducible: Always Steps to Reproduce: 1./etc/init.d/pure-ftpd start 2. 3. Actual Results: PC stuck in. My configyration file /etc/conf.d/pure-ftpd: # Config file for /etc/init.d/pure-ftpd ##Comment variables out to disable its features, or change the values in it... ## ## This variable must be uncommented in order for the server to start ## IS_CONFIGURED="yes" ## FTP Server,Port (separated by comma) ## ## If you prefer host names over IP addresses, it's your choice : ## SERVER="-S ftp.rtchat.com,21" ## IPv6 addresses are supported. ## !!! WARNING !!! ## Using an invalid IP will result in server not starting and reporting ## a good start. Work is being done to solve that in: ## http://bugs.gentoo.org/show_bug.cgi?id=75861 #SERVER="-S 192.168.0.1,21" SERVER="-S ,21" ## Number of simultaneous connections in total, and per ip ## MAX_CONN="-c 10" MAX_CONN_IP="-C 10" ## Start daemonized in background ## #DAEMON="-B" ## Don't allow uploads if the partition is more full then this var ## DISK_FULL="-k 70%" ## If your FTP server is behind a NAT box, uncomment this ## USE_NAT="-N" ## Authentication (others are 'pam', ...)## ## Further infos in the README file. AUTH="-l puredb:/etc/pureftpd.pdb" ## Change the maximum idle time. (in minutes. default 15) #TIMEOUT="-I <timeout>'" ## Use that facility for syslog logging. It defaults to 'ftp' ## Logging can be disabled with '-f none' . LOG="-f facility" ## Misc. Others ## MISC_OTHER="-A -E -x -d" # # Use these inside $MISC_OTHER # More can be found on "http://pureftpd.sourceforge.net/README" # # -A [ chroot() everyone, but root ] # -e [ Only allow anonymous users ] # -E [ Only allow authenticated users. Anonymous logins are prohibited. ] # -i [ Disallow upload for anonymous users, whatever directory perms are ] # -j [ If the home directory of a user doesn't exist, auto-create it ] # -M [ Allow anonymous users to create directories. ] # -R [ Disallow users (even non-anonymous ones) usage of the CHMOD command ] # -x [ In normal operation mode, authenticated users can read/write # files beginning with a dot ('.'). Anonymous users can't, for security reasons # (like changing banners or a forgotten .rhosts). When '-x' is used, authenticated # users can download dot-files, but not overwrite/create them, even if they own # them. ] # -X [ This flag is identical to the previous one (writing # dot-files is prohibited), but in addition, users can't even *read* files and # directories beginning with a dot (like "cd .ssh"). ] # -D [ List files beginning with a dot ('.') even when the client doesn't # append the '-a' option to the list command. A workaround for badly # configured FTP clients. ] # -G [ Disallow renaming. ] # -d [ Send various debugging messages to the syslog. ONLY for DEBUG ] # -F <fortune file> [ Display a fortune cookie on login. Check the README file ] # -H [ By default, fully-qualified host names are logged. The '-H' flag avoids host names resolution. ]
I need some more info. Messages in logs.....
# /etc/init.d/pure-ftpd start "Ctrl+C" # tail /var/log/messages ... pure-ftpd: (?@?) [ERROR] Configuration error: Unknown facility name: facility
Just set LOG="-f facility" to a valid value, like 'ftp' ( --> LOG="-f ftp" ) or leave it commented and it will automatically use its default setting of 'ftp'. I've updated the comment in the config file a little to explain that better. Best regards, CHTEKK.