cry_wolf Posted December 30, 2011 Report Share Posted December 30, 2011 Hello every one,I was really glad to see utorrent for linux, I am a big time utorrent fan. I've used it and it realy came up to my expectations.I've written a complete step by step how to for installing utorrent on linux. With a complete and comprehensive config file and a easy to use start/stop script: http://linuxinmybox.blogspot.com/2011/12/utorrent-server-on-linux-step-by-step.htmlYour suggestions and comments are welcomed:)-Khizer Link to comment Share on other sites More sharing options...
meetanik Posted December 31, 2011 Report Share Posted December 31, 2011 Thanks Khizer, i have a Centos 5.5 server with 32bit architecture which i need to operate remotely (through ssh).I have some running websites there and want to install utorrent like www.example.com/utorrent.is it possible? Little help will be appreciated. Link to comment Share on other sites More sharing options...
meetanik Posted December 31, 2011 Report Share Posted December 31, 2011 Hello Khizer,I almost done all the steps but can't get the server started. Utorrent Server../opt/utorrent/utserver: error while loading shared libraries: libssl.so.0.9.8: cannot open shared object file: No such file or directorySeems to be openssl have some problem, so i did this following.yum list installed | grep sslmod_ssl.i386 1:2.2.21-lxcenter.2 installedopenssl.i686 0.9.8e-20.el5 installedafter that 'yum install openssl openssl-devel'Installed: openssl-devel.i386 0:0.9.8e-20.el5Dependency Installed: e2fsprogs-devel.i386 0:1.39-33.el5 keyutils-libs-devel.i386 0:1.2-1.el5 krb5-devel.i386 0:1.6.1-63.el5_7 libselinux-devel.i386 0:1.33.4-5.7.el5 libsepol-devel.i386 0:1.15.2-3.el5 zlib-devel.i386 0:1.2.3-4.el5Dependency Updated: e2fsprogs.i386 0:1.39-33.el5 e2fsprogs-libs.i386 0:1.39-33.el5 krb5-libs.i386 0:1.6.1-63.el5_7Complete!-bash-3.2# yum list installed | grep sslmod_ssl.i386 1:2.2.21-lxcenter.2 installedopenssl.i686 0.9.8e-20.el5 installedopenssl-devel.i386 0.9.8e-20.el5 installedi tried this following also, but not succeeded. ln -s /usr/lib/libssl.so.1.0.0 /usr/lib/libssl.so.0.9.8ln -s /usr/lib/libcrypto.so.1.0.0 /usr/lib/libcrypto.so.0.9.8Can't run the server. As you said before about the dependencies. glibclibgccopensslkrb5-libslibcom_errzlibzlib-develkeyutils-libslibselinux I'm not sure how to check them. Can you explain further? Link to comment Share on other sites More sharing options...
meetanik Posted December 31, 2011 Report Share Posted December 31, 2011 when i run this commands i get this ln -s /usr/lib/libssl.so.1.0.0 /usr/lib/libssl.so.0.9.8ln: creating symbolic link `/usr/lib/libssl.so.0.9.8' to `/usr/lib/libssl.so.1.0.0': File exists-bash-3.2# ln -s /usr/lib/libcrypto.so.1.0.0 /usr/lib/libcrypto.so.0.9.8ln: creating symbolic link `/usr/lib/libcrypto.so.0.9.8' to `/usr/lib/libcrypto.so.1.0.0': File exists Link to comment Share on other sites More sharing options...
cry_wolf Posted December 31, 2011 Author Report Share Posted December 31, 2011 Can you show the output of the following commands:updatedblocate libssl.soecho $PATH Link to comment Share on other sites More sharing options...
meetanik Posted December 31, 2011 Report Share Posted December 31, 2011 yes, why not.-bash-3.2# updatedb-bash: updatedb: command not found-bash-3.2# locate libssl.so-bash: locate: command not found-bash-3.2# echo $PATH/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/ usr/sbin:/usr/bin Link to comment Share on other sites More sharing options...
cry_wolf Posted December 31, 2011 Author Report Share Posted December 31, 2011 oh, you don't have "mlocate" installed. but that is not necessary. Try:ls -l /usr/lib/libssl* Link to comment Share on other sites More sharing options...
meetanik Posted December 31, 2011 Report Share Posted December 31, 2011 -bash-3.2# ls -l /usr/lib/libssl*-rw-r--r-- 1 root root 458752 Aug 14 03:57 /usr/lib/libssl.alrwxrwxrwx 1 root root 26 Dec 31 15:24 /usr/lib/libssl.so -> ../../lib/libss l.so.0.9.8elrwxrwxrwx 1 root root 24 Dec 31 15:34 /usr/lib/libssl.so.0.9.8 -> /usr/lib/ libssl.so.1.0.0-rwxr-xr-x 1 root root 215820 Mar 28 2010 /usr/lib/libssl3.so-bash-3.2# utsctl startStarting Utorrent Server../opt/utorrent/utserver: error while loading shared libraries: libssl.so.0.9.8: cannot open shared object file: No such file or directory-bash-3.2#Not started yet.btw, how to install it? yum mlocate? Link to comment Share on other sites More sharing options...
meetanik Posted December 31, 2011 Report Share Posted December 31, 2011 and there the text is colored in green, red and sky. if you want i can post the screenshot.. Link to comment Share on other sites More sharing options...
cry_wolf Posted December 31, 2011 Author Report Share Posted December 31, 2011 I think the problem is that you have libssl in /lib instead of /usr/lib. So Try this:First remove the bad soft links created earlier:rm /usr/lib/libssl.so.0.9.8rm /usr/lib/libcrypto.so.0.9.8Then create the correct linkln -s /lib/libssl.so.0.9.8e /lib/libssl.so.0.9.8ln -s /lib/libcrypto.so.0.9.8e /lib/libcrypto.so.0.9.8 Link to comment Share on other sites More sharing options...
meetanik Posted December 31, 2011 Report Share Posted December 31, 2011 Hello Khizer, this is what i got.-bash-3.2# rm /usr/lib/libssl.so.0.9.8-bash-3.2# rm /usr/lib/libcrypto.so.0.9.8-bash-3.2# ln -s /lib/libssl.so.0.9.8e /lib/libssl.so.0.9.8-bash-3.2# ln -s /lib/libcrypto.so.0.9.8e /lib/libcrypto.so.0.9.8-bash-3.2# utsctl startStarting Utorrent Server../opt/utorrent/utserver: /lib/libcrypto.so.0.9.8: no version information availabl e (required by /opt/utorrent/utserver)/opt/utorrent/utserver: /lib/libssl.so.0.9.8: no version information available ( required by /opt/utorrent/utserver)/opt/utorrent/utserver: /lib/libc.so.6: version `GLIBC_2.11' not found (required by /opt/utorrent/utserver)-bash-3.2# utsctl statusUtorrent seems to be stopped, PID file /opt/utorrent/pid/utserver.pid not found or empty-bash-3.2# Link to comment Share on other sites More sharing options...
cry_wolf Posted December 31, 2011 Author Report Share Posted December 31, 2011 Finally the libssl and libcrypto problem is solved Now it looks like you either don't have glibc installed or an older version.Find out what version of glibc is installed:rpm -q glibcTry updating:yum update glibc libgcc Link to comment Share on other sites More sharing options...
meetanik Posted December 31, 2011 Report Share Posted December 31, 2011 yes it is. now this thing isn't updating. see this.-bash-3.2# rpm -q glibcglibc-2.5-65.el5_7.1-bash-3.2# yum update glibc libgccLoaded plugins: fastestmirror, protectbaseLoading mirror speeds from cached hostfile * base: centos.mirror.easycolocate.nl * extras: centos.mirror.easycolocate.nl * updates: centos.mirror.easycolocate.nladdons | 951 B 00:00base | 1.1 kB 00:00extras | 2.1 kB 00:00lxcenter-extra | 951 B 00:00lxcenter-updates | 951 B 00:00updates | 1.9 kB 00:000 packages excluded due to repository protectionsSetting up Update ProcessNo Packages marked for Update-bash-3.2# utsctl startStarting Utorrent Server../opt/utorrent/utserver: /lib/libcrypto.so.0.9.8: no version information available (required by /opt/utorrent/utserver)/opt/utorrent/utserver: /lib/libssl.so.0.9.8: no version information available (required by /opt/utorrent/utserver)/opt/utorrent/utserver: /lib/libc.so.6: version `GLIBC_2.11' not found (required by /opt/utorrent/utserver)-bash-3.2# Link to comment Share on other sites More sharing options...
meetanik Posted January 2, 2012 Report Share Posted January 2, 2012 Hello Khizer, are you free there now? Link to comment Share on other sites More sharing options...
cry_wolf Posted January 2, 2012 Author Report Share Posted January 2, 2012 yeah, whats up? Link to comment Share on other sites More sharing options...
meetanik Posted January 2, 2012 Report Share Posted January 2, 2012 as you saw the server still isn't running.. Link to comment Share on other sites More sharing options...
cry_wolf Posted January 2, 2012 Author Report Share Posted January 2, 2012 Well it turns out that you can not run utserver with glibc version less than 2.11. The last version of glibc for centos 5 was 2.5. So I recommend you to either use centos 6, or fedora/ubuntu. You also have the option to download and compile glibc-2.11 or greater, but that would be very un-necssary and risky. Link to comment Share on other sites More sharing options...
meetanik Posted January 2, 2012 Report Share Posted January 2, 2012 When i ran this command rpm -q glibc the version showed 'glibc-2.5-65.el5_7.1'. So it's seems i have 2.5 installed. But 'yum update glibc libgcc' returned '0 packages excluded due to repository protectionsSetting up Update ProcessNo Packages marked for Update'I think there is some restriction to access glibc? I can't change my os as there is working websites hosted and i will loss a huge amount of data. Any idea to come over this issue?And thanks a lot again, you helped me so much from the very beginning. Link to comment Share on other sites More sharing options...
meetanik Posted January 2, 2012 Report Share Posted January 2, 2012 is there is any way to upgrade to centos 6 without reinstalling the server and lossing any data?Does yum update will work?And how to compile 2.11 manually? What is the risk for doing so? Link to comment Share on other sites More sharing options...
cry_wolf Posted January 2, 2012 Author Report Share Posted January 2, 2012 A user facing the same problem, claims to have solve the problem:http://forum.utorrent.com/viewtopic.php?pid=576708#p576708 Link to comment Share on other sites More sharing options...
meetanik Posted January 2, 2012 Report Share Posted January 2, 2012 I think that not gonna help me. It was on debian while i'm in centos. Also i dont know where to copy the 2.11 files from. Can you tellme how to compile it in a different path so that utorrent server can only use it. Link to comment Share on other sites More sharing options...
meetanik Posted January 2, 2012 Report Share Posted January 2, 2012 you may want to look at this thread. http://forum.utorrent.com/viewtopic.php?pid=570716#p570716everything was fine till '$ echo "CFLAGS += -march=i486 -mtune=i686 -O2 -pipe" > configparms'but after it..bash-3.2# makemake: *** No targets specified and no makefile found. Stop.bash-3.2# make checkmake: *** No rule to make target `check'. Stop.bash-3.2# make infomake: *** No rule to make target `info'. Stop.bash-3.2# make dvimake: *** No rule to make target `dvi'. Stop.bash-3.2# make pdfmake: *** No rule to make target `pdf'. Stop.bash-3.2# LC_ALL=C make installmake: *** No rule to make target `install'. Stop.bash-3.2# make localedata/install-localesmake: *** No rule to make target `localedata/install-locales'. Stop.bash-3.2# mkdir -p /usr/doc/libcbash-3.2# cp ../glibc-2000-07-xx/manual/libc.{dvi,pdf} /usr/doc/libccp: cannot stat `../glibc-2000-07-xx/manual/libc.dvi': No such file or directorycp: cannot stat `../glibc-2000-07-xx/manual/libc.pdf': No such file or directoryAny suggestion? Link to comment Share on other sites More sharing options...
GTHK Posted January 2, 2012 Report Share Posted January 2, 2012 is there is any way to upgrade to centos 6 without reinstalling the server and lossing any data?Does yum update will work?And how to compile 2.11 manually? What is the risk for doing so?centos docs don't cover this? Link to comment Share on other sites More sharing options...
meetanik Posted January 2, 2012 Report Share Posted January 2, 2012 can you post a simple tutorial about that? Link to comment Share on other sites More sharing options...
WLS Posted January 2, 2012 Report Share Posted January 2, 2012 is there is any way to upgrade to centos 6 without reinstalling the server and lossing any data?Does yum update will work?And how to compile 2.11 manually? What is the risk for doing so?I think this may answer your first and second question..Upgrade to CentOS 6 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.