LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   FTP not working (libwrap.so.0 error ) (https://www.linuxquestions.org/questions/linux-networking-3/ftp-not-working-libwrap-so-0-error-452343/)

viv_pol 06-07-2006 04:35 AM

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.

routers 06-07-2006 05:02 AM

can u post your /etc/ld.so.conf content

viv_pol 06-07-2006 05:29 AM

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

routers 06-07-2006 05:34 AM

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

viv_pol 06-07-2006 05:47 AM

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..

viv_pol 06-07-2006 05:53 AM

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

routers 06-07-2006 05:53 AM

/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

viv_pol 06-07-2006 06:06 AM

i had tried all the steps still its not working tcp_wrappers is already installed...again i am getting the same error message

routers 06-07-2006 06:13 AM

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 ?

viv_pol 06-07-2006 06:18 AM

# 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

routers 06-07-2006 06:23 AM

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

viv_pol 06-07-2006 06:26 AM

uname -an give this message
Linux c-3176 2.4.9-e.3 #1 Fri May 3 17:02:43 EDT 2002 i686 unknown

routers 06-07-2006 06:59 AM

i hope u still follow

# rpm -qa |grep tcp_wrappers

this is to check which one u install

viv_pol 06-07-2006 07:05 AM

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

routers 06-07-2006 07:11 AM

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.