Jump to content

A complete step by step how to for utorrent


cry_wolf

Recommended Posts

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

Your suggestions and comments are welcomed:)

-Khizer

Link to comment
Share on other sites

  • Replies 57
  • Created
  • Last Reply

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 directory

Seems to be openssl have some problem, so i did this following.

yum list installed | grep ssl
mod_ssl.i386 1:2.2.21-lxcenter.2 installed
openssl.i686 0.9.8e-20.el5 installed

after that 'yum install openssl openssl-devel'

Installed:
openssl-devel.i386 0:0.9.8e-20.el5

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

Dependency 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_7

Complete!
-bash-3.2# yum list installed | grep ssl
mod_ssl.i386 1:2.2.21-lxcenter.2 installed
openssl.i686 0.9.8e-20.el5 installed
openssl-devel.i386 0.9.8e-20.el5 installed

i tried this following also, but not succeeded.

ln -s /usr/lib/libssl.so.1.0.0 /usr/lib/libssl.so.0.9.8
ln -s /usr/lib/libcrypto.so.1.0.0 /usr/lib/libcrypto.so.0.9.8

Can't run the server. As you said before about the dependencies.

glibc

libgcc

openssl

krb5-libs

libcom_err

zlib

zlib-devel

keyutils-libs

libselinux

I'm not sure how to check them. Can you explain further?
Link to comment
Share on other sites

when i run this commands i get this

ln -s /usr/lib/libssl.so.1.0.0 /usr/lib/libssl.so.0.9.8

ln: 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.8

ln: 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

-bash-3.2# ls -l /usr/lib/libssl*

-rw-r--r-- 1 root root 458752 Aug 14 03:57 /usr/lib/libssl.a

lrwxrwxrwx 1 root root 26 Dec 31 15:24 /usr/lib/libssl.so -> ../../lib/libss l.so.0.9.8e

lrwxrwxrwx 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 start

Starting 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

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

rm /usr/lib/libcrypto.so.0.9.8

Then create the correct link

ln -s /lib/libssl.so.0.9.8e /lib/libssl.so.0.9.8

ln -s /lib/libcrypto.so.0.9.8e /lib/libcrypto.so.0.9.8

Link to comment
Share on other sites

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 start
Starting 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 status
Utorrent 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

yes it is. :)

now this thing isn't updating. see this.

-bash-3.2# rpm -q glibc
glibc-2.5-65.el5_7.1
-bash-3.2# yum update glibc libgcc
Loaded plugins: fastestmirror, protectbase
Loading mirror speeds from cached hostfile
* base: centos.mirror.easycolocate.nl
* extras: centos.mirror.easycolocate.nl
* updates: centos.mirror.easycolocate.nl
addons | 951 B 00:00
base | 1.1 kB 00:00
extras | 2.1 kB 00:00
lxcenter-extra | 951 B 00:00
lxcenter-updates | 951 B 00:00
updates | 1.9 kB 00:00
0 packages excluded due to repository protections
Setting up Update Process
No Packages marked for Update
-bash-3.2# utsctl start
Starting 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

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

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 protections

Setting up Update Process

No 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

you may want to look at this thread. http://forum.utorrent.com/viewtopic.php?pid=570716#p570716

everything was fine till '$ echo "CFLAGS += -march=i486 -mtune=i686 -O2 -pipe" > configparms'

but after it..

bash-3.2# make
make: *** No targets specified and no makefile found. Stop.
bash-3.2# make check
make: *** No rule to make target `check'. Stop.
bash-3.2# make info
make: *** No rule to make target `info'. Stop.
bash-3.2# make dvi
make: *** No rule to make target `dvi'. Stop.
bash-3.2# make pdf
make: *** No rule to make target `pdf'. Stop.
bash-3.2# LC_ALL=C make install
make: *** No rule to make target `install'. Stop.
bash-3.2# make localedata/install-locales
make: *** No rule to make target `localedata/install-locales'. Stop.
bash-3.2# mkdir -p /usr/doc/libc
bash-3.2# cp ../glibc-2000-07-xx/manual/libc.{dvi,pdf} /usr/doc/libc
cp: cannot stat `../glibc-2000-07-xx/manual/libc.dvi': No such file or directory
cp: cannot stat `../glibc-2000-07-xx/manual/libc.pdf': No such file or directory

Any suggestion?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.


×
×
  • Create New...