In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
How to analyze the Linux system Vsftpd fault solutions, many novices are not very clear, in order to help you solve this problem, the following editor will explain in detail for you, people with this need can come to learn, I hope you can gain something.
Vs in the VSFTPd server means "Very secure". As can be seen from the name, the writers of the software pay great attention to its security. According to the official website, a linux VSFTPd server can support up to 1500 concurrent users. 2.6TB data can be saved 24 hours a day. Before you explain how to troubleshoot Vsftpd servers, understand the file structure of linux VSFTPd servers:
Profile name feature description
The main program of / usr/sbin/VSFTPd VSFTPd
/ etc/rc.d/init.d/VSFTPd startup script
/ etc/VSFTPd/VSFTPd.conf main configuration file
/ etc/pam.d/VSFTPd PAM certification file
/ etc/VSFTPd.ftpusers forbids the use of VSFTPd user list files
/ etc/VSFTPd.user_list prohibits or allows the use of VSFTPd user list files
/ var/ftp anonymous user home directory
/ var/ftp/pub download directory for anonymous users
Log file for / etc/logrotate.d/VSFTPd.log VSFTPd
In addition, there are some documentation and manual files. Understanding log files
Understanding log files is important for troubleshooting, and detailed setup methods are described here. VSFTPd options related to log:
VSFTPd_log_file
Xferlog_enable
Xferlog_std_format
Xferlog_file
Dual_log_enable
Syslog_enable
Log_ftp_protocol
No_log_lock
Before we introduce troubleshooting the Vsftpd server, let's take a look at the parameters for logging in vsftp.
Xferlog_enable=yes/no / / whether the xferlog log format is enabled
Xferlog_std_format=yes/no / / whether to log in a standard format
Location of xferlog_file=/path/to/logfile / / xferlog log file, default is / var/log/xferlog
The above parameters set the format for recording xferlog logs. This is the log format of the early Wu-ftpd service, which records uploads and downloads. VSFTPd also has a proprietary log format, which is set with the following parameters:
Dual_log_enable=yes/no / / whether to use VSFTPd's own logging method
Log_ftp_protocol=yes/no / / whether to log all ftp command logs VSFTPd_log_file=/path/to/logfile / / specify the location of the VSFTPd log file. The default value of / var/log/VSFTPd.log,xferlog_enable is no (the configuration file template provided by VSFTPd changed its value to yes), and the default value of dual_log_enable is no, that is, VSFTPd does not log by default. We can also write log information to Syslog / var/log/messages, using the following parameters:
Syslog_enable=yes/no
Here is the contents of an xferlog log file:
Thu Mar 4 08:12:30 2008 1 202.114.40.242 37 / incoming/index.html a _ o a guest @ my.net ftp 0 * c
Record data parameter description
Thu Mar 4 08:12:30 2008 current server local time, format: "DDD MMM dd hh:mm:ss YYYY"
Is it helpful for you to read the above content? If you want to know more about the relevant knowledge or read more related articles, please follow the industry information channel, thank you for your support.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.