Comment 20 for bug 40285

Revision history for this message
ehcpdeveloper (ehcpdeveloper) wrote :

tried both, not helped:

# export LD_BIND_NOW=1
# /etc/init.d/vsftpd restart
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service vsftpd restart

Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the stop(8) and then start(8) utilities,
e.g. stop vsftpd ; start vsftpd. The restart(8) utility is also available.
vsftpd stop/waiting
vsftpd start/running, process 7738
#
#
#
# ftp localhost
Connected to localhost.
220 Welcome to vsFTPd Server
Name (localhost:root): adsf
331 Please specify the password.
Password:
libgcc_s.so.1 must be installed for pthread_cancel to work
Login failed.
421 Service not available, remote server has closed connection
ftp>
ftp>
ftp>
ftp> #
#
# locate libgcc_s.so.1
/lib/i386-linux-gnu/libgcc_s.so.1
/lib/x86_64-linux-gnu/libgcc_s.so.1
# LD_PRELOAD=/lib/x86_64-linux-gnu/libgcc_s.so.1 /etc/init.d/vsftpd restart
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service vsftpd restart

Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the stop(8) and then start(8) utilities,
e.g. stop vsftpd ; start vsftpd. The restart(8) utility is also available.
vsftpd stop/waiting
vsftpd start/running, process 7760
# ftp localhost
Connected to localhost.
220 Welcome to vsFTPd Server
Name (localhost:root):
331 Please specify the password.
Password:
libgcc_s.so.1 must be installed for pthread_cancel to work
Login failed.
421 Service not available, remote server has closed connection
ftp>
ftp>