#ps -ef |grep ftp
Code:
root 29896 1 0 10:53 ? 00:00:00 /usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf root 29899 23821 0 10:53 pts/0 00:00:00 grep ftp
# ftp localhost
Code:
Connected to localhost (127.0.0.1). 421 Service not available.
root 29896 1 0 10:53 ? 00:00:00 /usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf root 29899 23821 0 10:53 pts/0 00:00:00 grep ftp
Connected to localhost (127.0.0.1). 421 Service not available.
Loaded plugins: product-id, security file:///media/localrepos/Server/repodata/repomd.xml: [Errno 14] Could not open/read file:///media/localrepos/Server/repodata/repomd.xml Trying other mirror. Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package vsftpd.x86_64 0:2.2.2-11.el6 will be installed --> Finished Dependency Resolution Dependencies Resolved ============================================================================================================================= Package Arch Version Repository Size ============================================================================================================================= Installing: vsftpd x86_64 2.2.2-11.el6 RHEL-6.3 151 k Transaction Summary ============================================================================================================================= Install 1 Package(s) Total download size: 151 k Installed size: 331 k Is this ok [y/N]: Error Downloading Packages: vsftpd-2.2.2-11.el6.x86_64: failu ../Packages/vsftpd-2.2.2-11.el6.x86_64.rpm from RHEL-6.3: [Errno 256] No more mirrors to try. Loaded plugins
anonymous_enable=NO local_enable=YES local_umask=022 dirmessage_enable=YES listen=YES pam_service_name=virtual-ftp userlist_enable=YES userlist_file=/etc/vsftpd.user_list userlist_deny=NO tcp_wrappers=YES write_enable=YES guest_enable=YES guest_username=ftp local_root=/mnt/storage/ftp
Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package libdb3-util
[linux@localhost ~]$ (sleep 6 && echo "A test") & [1] 3312 [linux@localhost ~]$ echo $! 3312 [linux@localhost ~]$ A test
./dbsync &>/dev/null & [1] 5047 [linux@localhost comm5]$ echo $! 5047
echo $!
May 4 17:25:37 oim sendmail[31684]: t44LPbKA031684: from=root, size=72, class=0, nrcpts=1, msgid=<201505042125.t44LPbKA031684@localhost.localdomain>, relay=root@localhost May 4 17:25:37 oim sendmail[31685]: t44LPbSn031685: from=<root@localhost.localdomain>, size=378, class=0, nrcpts=1, msgid=<201505042125.t44LPbKA031684@localhost.localdomain>, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1] May 4 17:25:37 oim sendmail[31684]: t44LPbKA031684: to=abc@abc.com, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30072, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (t44LPbSn031685 Message accepted for delivery)
netstat: /proc/net/tcp6: No such file or directory netstat: /proc/net/udp6: No such file or directory netstat: /proc/net/raw6: No such file or directory tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:23 0.0.0.0:* LISTEN
#<service_name> <sock_type> <proto> <flags> <user> <server_path> <args> 21 stream tcp nowait root ftpd ftpd /etc telnet stream tcp nowait root /usr/sbin/telnetd
504 Gateway Timeout Gateway timeout expired while waiting for server response.
# telnet 10.2.29.201 Trying 10.2.29.201... connected to 10.2.29.201. Escape character is '^]' Connection closed by foreign host.