Can't start vsftpd
Just install vsftpd on Centos 5.2 system
but not able to start it, anyone has some idea? [root@example lib]# /etc/init.d/vsftpd start Starting vsftpd for vsftpd: /usr/sbin/vsftpd: error while loading shared libraries: libwrap.so.0: failed to map segment from shared object: Permission denied [FAILED] thx in advance |
can you
" locate libwrap.so* " or " find / -name libwrap.so* " once you find the location of the file what are the file permissions compaired to the other ones in the directory, are they the same owner/group? |
Not an answer to your question but I'll toss this out there. We had trouble on a CentOS install getting FTP to work, we were under a deadline so we looked into SCP and it worked perfectly. So much so that we never revisited the FTP issue. I had forgotten about it until reading your post. SCP works. WinSCP is a free download client that works on Windows boxes. And no passwords or data is sent in the clear. A big plus from my point of view.
For whats it's worth I thought it worth mentioning here. |
It looks like a SeLinux problem. Run
Code:
restorecon -v /usr/lib/libwrap.so.0 You can alos configure Selinux for vsftpd or disable it if you don't need it. Regards |
Already try locate and find that file yesterday,file permissions/group/owner is the same as others.
I also think it might be selinux's problem even no error show on /var/log/messages, will try restorecon tonight. |
solved, use restorecon, thx all
|
All times are GMT -5. The time now is 11:07 PM. |