FTP not working (libwrap.so.0 error )
hi.. i am new to linux. i had installed redhat advanced application server. i am trying to configure FTP for this i had installed vsftpd RPM but still its not working. it was giving some error related to libwrap.so.0 ( something regarding shared memory ) it says this libwrap.so.0 doesnot exists. i had tried to install related RPM's also but still the issue has not been resolved. so can anybody help me out.
|
can u post your /etc/ld.so.conf content
|
FTP not working (libwrap.so.0 error)
content of the desired file /etc/ld.so.conf is
/usr/kerberos/lib /usr/X11R6/lib /usr/lib/qt-2.3.1/lib |
i sure u have to thing in /usr/lib/ and /lib
so add in ur ld.so.conf /usr/kerberos/lib /usr/X11R6/lib /usr/lib/qt-2.3.1/lib /usr/lib /lib save it then proceed # /sbin/ldconfig # updatedb <- this will chunk for awhile dont panic and try to config ur ftp again hope success |
i had added those lines and then given updatedb command but nothing is happening.. what to do with this /sbin/ldconfig i had opened it but was not able to see its contents..
|
i had tried this after editing /etc/ld.so.conf we had given updatedb command . then tried to start vsftp service but still getting the same error. error message is.......
Starting vsftpd for vsftpd: /usr/sbin/vsftpd: error while loading shared libraries: libwrap.so.0: cannot open shared object file: No such file or directory |
/sbin/ldconfig is to reload the library depent to what have u set at ld.so.conf
and updatedb is to built the file cache yeah nothing u can see with those comand , btw still cant configure? , if still cannot then u have to install tcp_wrappers |
i had tried all the steps still its not working tcp_wrappers is already installed...again i am getting the same error message
|
if u already installed the tcp_wrappers its provide 2 file
tcp_wrappers itself and libwrap.so.0 try # locate libwrap.so.0 # locate tcp_wrappers see if u get anything reply ? |
# locate libwrap.so.0
command is not returning any thing... # locate tcp_wrappers it had returned /usr/share/doc/tcp_wrappers-7.6 /usr/share/doc/tcp_wrappers-7.6/Banners.Makefile /usr/share/doc/tcp_wrappers-7.6/BLURB /usr/share/doc/tcp_wrappers-7.6/DISCLAIMER /usr/share/doc/tcp_wrappers-7.6/CHANGES /usr/share/doc/tcp_wrappers-7.6/README.IRIX /usr/share/doc/tcp_wrappers-7.6/README /usr/share/doc/tcp_wrappers-7.6/README.NIS /usr/src/redhat/RPMS/i386/tcp_wrappers-7.6-36.i386.rpm /usr/src/redhat/RPMS/i386/tcp_wrappers-7.6-34.i386.rpm /root/tcp_wrappers-7.6-36.src.rpm /root/tcp_wrappers-7.6-34.x86_64.rpm /root/tcp_wrappers-7.6-34.src.rpm |
errkk!!
what machine u have ? are u installing 64 bit over 32 bit machine ? because in the machine u have 2 , one for 32 bit and one for 64 bit proceed # uname -an |
uname -an give this message
Linux c-3176 2.4.9-e.3 #1 Fri May 3 17:02:43 EDT 2002 i686 unknown |
i hope u still follow
# rpm -qa |grep tcp_wrappers this is to check which one u install |
it shows this only ...
tcp_wrappers-7.6-19 resulting files of locate tcp_wrappers in /root were dump files . only installed component is tcp_wrappers-7.6-19 |
could u update to the new one maybe this old tcp_wrappers not come with libwrap
i using [ rou@nc test]$ rpm -qa |grep tcp_wrappers tcp_wrappers-7.6-39 try use ur up2date but if yum available for u then use it |
All times are GMT -5. The time now is 12:27 AM. |