文件操作 - pure-ftpd.log
返回文件管理
返回主菜单
删除本文件
文件: /var/log/ai_logs/services/pure-ftpd.log
编辑文件内容
● pure-ftpd.service - Pure-FTPd FTP server Loaded: loaded (/usr/lib/systemd/system/pure-ftpd.service; enabled; vendor preset: disabled) Active: failed (Result: protocol) since Sat 2020-06-06 19:17:04 CEST; 2s ago Process: 9388 ExecStart=/usr/sbin/pure-config.pl /etc/pure-ftpd/pure-ftpd.conf --daemonize (code=exited, status=0/SUCCESS) Jun 06 19:17:04 host.geo-wiki.com systemd[1]: Starting Pure-FTPd FTP server... Jun 06 19:17:04 host.geo-wiki.com systemd[1]: Can't open PID file /var/run/pure-ftpd.pid (yet?) after start: No such file or directory Jun 06 19:17:04 host.geo-wiki.com pure-ftpd[9389]: (?@?) [DEBUG] Couldn't load the DH parameters file /etc/ssl/private/pure-ftpd-dhparams.pem Jun 06 19:17:04 host.geo-wiki.com systemd[1]: Daemon never wrote its PID file. Failing. Jun 06 19:17:04 host.geo-wiki.com systemd[1]: Failed to start Pure-FTPd FTP server. Jun 06 19:17:04 host.geo-wiki.com systemd[1]: Unit pure-ftpd.service entered failed state. Jun 06 19:17:04 host.geo-wiki.com systemd[1]: pure-ftpd.service failed. netstat info: Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:2096 0.0.0.0:* LISTEN 3036/cwpsrv: master tcp 0 0 0.0.0.0:6001 0.0.0.0:* LISTEN 29610/Xvnc tcp 0 0 0.0.0.0:465 0.0.0.0:* LISTEN 17631/master tcp 0 0 192.168.122.1:53 0.0.0.0:* LISTEN 1819/named tcp 0 0 5.249.157.183:53 0.0.0.0:* LISTEN 1819/named tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 1819/named tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 1161/vsftpd tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1156/sshd tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 1166/cupsd tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 17631/master tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 1819/named tcp 0 0 127.0.0.1:2302 0.0.0.0:* LISTEN 3036/cwpsrv: master tcp 0 0 0.0.0.0:4190 0.0.0.0:* LISTEN 17659/dovecot tcp 0 0 0.0.0.0:2304 0.0.0.0:* LISTEN 3036/cwpsrv: master tcp 0 0 0.0.0.0:993 0.0.0.0:* LISTEN 17659/dovecot tcp 0 0 0.0.0.0:2082 0.0.0.0:* LISTEN 3036/cwpsrv: master tcp 0 0 0.0.0.0:2083 0.0.0.0:* LISTEN 3036/cwpsrv: master tcp 0 0 0.0.0.0:995 0.0.0.0:* LISTEN 17659/dovecot tcp 0 0 0.0.0.0:2086 0.0.0.0:* LISTEN 3036/cwpsrv: master tcp 0 0 0.0.0.0:2087 0.0.0.0:* LISTEN 3036/cwpsrv: master tcp 0 0 127.0.0.1:10024 0.0.0.0:* LISTEN 20069/amavisd (mast tcp 0 0 127.0.0.1:10025 0.0.0.0:* LISTEN 17631/master tcp 0 0 0.0.0.0:587 0.0.0.0:* LISTEN 17631/master tcp 0 0 0.0.0.0:5901 0.0.0.0:* LISTEN 29610/Xvnc tcp 0 0 0.0.0.0:2030 0.0.0.0:* LISTEN 3036/cwpsrv: master tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN 17659/dovecot tcp 0 0 0.0.0.0:2095 0.0.0.0:* LISTEN 3036/cwpsrv: master tcp 0 0 0.0.0.0:2031 0.0.0.0:* LISTEN 3036/cwpsrv: master tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN 17659/dovecot tcp6 0 0 :::80 :::* LISTEN 5253/httpd tcp6 0 0 :::6001 :::* LISTEN 29610/Xvnc tcp6 0 0 :::465 :::* LISTEN 17631/master tcp6 0 0 ::1:53 :::* LISTEN 1819/named tcp6 0 0 :::22 :::* LISTEN 1156/sshd tcp6 0 0 ::1:631 :::* LISTEN 1166/cupsd tcp6 0 0 :::25 :::* LISTEN 17631/master tcp6 0 0 ::1:953 :::* LISTEN 1819/named tcp6 0 0 :::443 :::* LISTEN 5253/httpd tcp6 0 0 :::1311 :::* LISTEN 2196/dsm_om_connsvc tcp6 0 0 ::1:10024 :::* LISTEN 20069/amavisd (mast tcp6 0 0 :::3306 :::* LISTEN 12988/mysqld tcp6 0 0 :::587 :::* LISTEN 17631/master tcp6 0 0 :::5901 :::* LISTEN 29610/Xvnc udp 0 0 0.0.0.0:44086 0.0.0.0:* 812/avahi-daemon: r udp 0 0 0.0.0.0:5353 0.0.0.0:* 812/avahi-daemon: r udp 0 0 192.168.122.1:53 0.0.0.0:* 2065/dnsmasq udp 0 0 192.168.122.1:53 0.0.0.0:* 1819/named udp 0 0 5.249.157.183:53 0.0.0.0:* 1819/named udp 0 0 127.0.0.1:53 0.0.0.0:* 1819/named udp 0 0 0.0.0.0:67 0.0.0.0:* 2065/dnsmasq udp 0 0 127.0.0.1:323 0.0.0.0:* 849/chronyd udp6 0 0 ::1:53 :::* 1819/named udp6 0 0 ::1:323 :::* 849/chronyd Kernel: Linux host.geo-wiki.com 3.10.0-1127.10.1.el7.x86_64 #1 SMP Wed Jun 3 14:28:03 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux CPU info: model name : Intel(R) Xeon(R) CPU E3-1230 V2 @ 3.30GHz Release: CentOS Linux release 7.8.2003 (Core) Arch: x86_64 Virtualization Type: Memory: total used free shared buff/cache available Mem: 15854 2415 11235 27 2204 13081 Swap: 8098 0 8098 MySQL info: mysql Ver 15.1 Distrib 10.1.45-MariaDB, for Linux (x86_64) using readline 5.1 Disk Info: Filesystem Size Used Avail Use% Mounted on devtmpfs 7.8G 0 7.8G 0% /dev tmpfs 7.8G 0 7.8G 0% /dev/shm tmpfs 7.8G 9.6M 7.8G 1% /run tmpfs 7.8G 0 7.8G 0% /sys/fs/cgroup /dev/sda2 908G 11G 852G 2% / /dev/sda1 984M 187M 747M 20% /boot tmpfs 1.6G 0 1.6G 0% /run/user/1000 tmpfs 1.6G 48K 1.6G 1% /run/user/0 # # /etc/fstab # Created by anaconda on Thu Jun 18 07:54:38 2015 # # Accessible filesystems, by reference, are maintained under '/dev/disk' # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info # LABEL=boot /boot ext3 defaults 1 1 LABEL=root / ext3 defaults 1 1 LABEL=swap swap swap defaults 0 0 Apache PHP info: PHP 5.6.37 (cli) (built: Jul 20 2018 06:10:33) Copyright (c) 1997-2016 The PHP Group Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v10.3.2, Copyright (c) 2002-2018, by ionCube Ltd. Apache start script check: CWP Admin check: /usr/local/cwpsrv/htdocs/admin CWP version: 0.9.8.985
修改文件时间
将文件时间修改为当前时间的前一年
删除文件