Torrent Invites! Buy, Trade, Sell Or Find Free Invites, For EVERY Private Tracker! HDBits.org, BTN, PTP, MTV, Empornium, Orpheus, Bibliotik, RED, IPT, TL, PHD etc!



Page 1 of 2 12 LastLast
Results 1 to 10 of 19
Like Tree3Likes

Thread: Centos 7 whm/cpanel rtorrent/rutorrent (Help)

  1. #1
    Donor
    JustPain's Avatar
    Reputation Points
    2010
    Reputation Power
    31
    Join Date
    Sep 2017
    Posts
    34
    Time Online
    22 h 31 m
    Avg. Time Online
    1 m
    Mentioned
    10 Post(s)
    Quoted
    1 Post(s)
    Liked
    4 times
    Feedbacks
    0

    Centos 7 whm/cpanel rtorrent/rutorrent (Help)

    Hy guys i have a issue on my dedi server i decided to try to compile rtorrent with xmlrpc to work with rutorrent or wtorrent webui i have mande it in the past on my other dediservers but ubuntu which its much easier the issue is with wtorrent i couldnt manage to get rtorrent to connect and i dont want to mess with the apache confs as i need the hosting working to run my community i managed to get rutorrent working with rtorrent 0.94 some plugins not working saying rtorrent couldnt connect to php something but torrents were working fine the issue i had some trackers that the torrents were giving me connection refused i was advised to downgrade to 0.92.

    Big mistake screwed up everything since i had it compiled it from the source and i even tried make clean and make uninstall but when i tried to compile 0.92 gave me errors on ./configure with xmlrpc i even tried 0.98 wrong libtorrent 97 the same tried to compile the correct libtorrent install was fine but wouldnt recognize it a complete mess and nightmare i just gave up i can install the libtorrent and the rtorrent via yum install but it wont compile with xmlrpc so no good if anyone has any idea of how can i solve this i would really appreciate a hand meanwhile decided to go after deluge which i managed to install the webui and after some while trying to get the best settings its sorta working but the speeds are meh i think rtorrent its the best for linux anyway hope someone here is more techy than me because at this point im completely lost and frustrated

    Most important for everyone its to be safe

  2. #2
    Moderator
    Alergie's Avatar
    Reputation Points
    36662
    Reputation Power
    100
    Join Date
    Dec 2019
    Posts
    593
    Time Online
    50 d 14 h 18 m
    Avg. Time Online
    6 h 48 m
    Mentioned
    312 Post(s)
    Quoted
    93 Post(s)
    Liked
    681 times
    Feedbacks
    10 (100%)
    Hey

    1- which centos version are you using

    Try
    Code:
    lsb_release -d
    2- gcc compiler version

    Code:
    gcc --version
    hostnamectl

    did you Tried to Compile with CMake?

  3. #3
    Donor
    JustPain's Avatar
    Reputation Points
    2010
    Reputation Power
    31
    Join Date
    Sep 2017
    Posts
    34
    Time Online
    22 h 31 m
    Avg. Time Online
    1 m
    Mentioned
    10 Post(s)
    Quoted
    1 Post(s)
    Liked
    4 times
    Feedbacks
    0
    @Alergie Hi im using centos 7 these are the error im getting when trying to configure no matter what rtorrent version i try same error all the time libtorrent and xmlrpc compile fine

    Description: CentOS Linux release 7.7.1908 (Core)

    gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-39)
    Copyright (C) 2015 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions. There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


    CentOS Linux 7 (Core)

    Linux 3.10.0-957.12.2.el7.x86_64 #1 SMP Tue May 14 21:24:32 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

    https://snipboard.io/WImCBb.jpg

    https://snipboard.io/BYIUV9.jpg

    https://snipboard.io/7Hq1Cy.jpg
    Last edited by JustPainDonor Icon; 1 Week Ago at 01:28 PM.

  4. #4
    Moderator
    Alergie's Avatar
    Reputation Points
    36662
    Reputation Power
    100
    Join Date
    Dec 2019
    Posts
    593
    Time Online
    50 d 14 h 18 m
    Avg. Time Online
    6 h 48 m
    Mentioned
    312 Post(s)
    Quoted
    93 Post(s)
    Liked
    681 times
    Feedbacks
    10 (100%)
    OK

    Try to Make a New installation Note that you may choose a version different from that shown in my example below. in this example i use libtorrent0.13.8 and rtorrent -0.9.8 Other than that,you can use the same Package Version for curl and libsigc++

    First install all pendencies required

    Code:
    yum install gcc gcc-c++ m4 make automake libtool pkgconfig perl openssl-devel ncurses-devel
    then grab all Packages needed ( curl, libsigc++, libtorrent and rtorrent)
    im using in my example libtorrent-0.13.8 and libtorrent-0.13.8 but can be chosen as desired

    Code:
    wget http://curl.haxx.se/download/curl-7.70.0.tar.gz
    wget http://ftp.gnome.org/pub/GNOME/sources/libsigc++/2.2/libsigc++-2.2.4.tar.gz
    wget http://rtorrent.net/downloads/libtorrent-0.13.8.tar.gz
    wget http://rtorrent.net/downloads/rtorrent-0.9.8.tar.gz
    Extract all Packages
    Code:
    tar -xvzf curl-7.*.tar.gz
    tar -xvzf libsigc++-2.*.tar.gz
    tar -xvzf libtorrent-0.13.8.tar.gz
    tar -xvzf rtorrent-0.9.8.tar.gz
    Compile curl

    Code:
    cd curl-7.*
    ./configure
    make
    make install
    Compile libsigc++

    Code:
    cd libsigc++-2.2.4
    ./configure
    make
    make install
    Now lets Compile libtorrent

    Code:
    export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
    cd ibtorrent-0.13.8
    rm -f scripts/{libtool,lt*}.m4
    ./autogen.sh
    ./configure
    make
    make install
    Compile rtorrent

    Code:
    cd rtorrent-0.9.*
    rm -f scripts/{libtool,lt*}.m4
    ./autogen.sh
    ./configure
    make
    make install
    Download rtorrent sample configuration
    Code:
    wget https://raw.githubusercontent.com/rakshasa/rtorrent/master/doc/rtorrent.rc
    mv rtorrent.rc .rtorrent.rc

  5. #5
    Donor
    JustPain's Avatar
    Reputation Points
    2010
    Reputation Power
    31
    Join Date
    Sep 2017
    Posts
    34
    Time Online
    22 h 31 m
    Avg. Time Online
    1 m
    Mentioned
    10 Post(s)
    Quoted
    1 Post(s)
    Liked
    4 times
    Feedbacks
    0
    @Alergie thank u will give it a go asap

    Just have one question i have been using this command to configure rtorrent with xmlrpc to work with rutorrent or else i dont have a webui to manage the torrents manage them on the shell its a nightmare

    ./configure --with-xmlrpc-c

    I seem to have all dependencies needed installed already

    Package gcc-4.8.5-39.el7.x86_64 already installed and latest version
    Package gcc-c++-4.8.5-39.el7.x86_64 already installed and latest version
    Package m4-1.4.16-10.el7.x86_64 already installed and latest version
    Package 1:make-3.82-24.el7.x86_64 already installed and latest version
    Package automake-1.13.4-3.el7.noarch already installed and latest version
    Package libtool-2.4.2-22.el7_3.x86_64 already installed and latest version
    Package 1kgconfig-0.27.1-4.el7.x86_64 already installed and latest version
    Package 4erl-5.16.3-295.el7.x86_64 already installed and latest version
    Package 1penssl-devel-1.0.2k-19.el7.x86_64 already installed and latest version
    Package ncurses-devel-5.9-14.20130511.el7_4.x86_64 already installed and latest version
    Nothing to do


    got these errors compiling (make) libsigc++

    mv -f $depbase.Tpo $depbase.Plo
    libtool: compile: g++ -DHAVE_CONFIG_H -I.. -I.. -Wall -g -O2 -MT signal.lo -MD -MP -MF .deps/signal.Tpo -c signal.cc -fPIC -DPIC -o .libs/signal.o
    In file included from ../sigc++/signal.h:8:0,
    from signal.cc:20:
    ../sigc++/signal_base.h:46:11: error: ‘size_t’ does not name a type
    typedef size_t size_type;
    ^
    ../sigc++/signal_base.h:95:3: error: ‘size_type’ does not name a type
    size_type size() const;
    ^
    ../sigc++/signal_base.h:239:11: error: ‘size_t’ does not name a type
    typedef size_t size_type;
    ^
    ../sigc++/signal_base.h:261:3: error: ‘size_type’ does not name a type
    size_type size() const;
    ^
    In file included from signal.cc:20:0:
    ../sigc++/signal.h:33:11: error: ‘size_t’ does not name a type
    typedef size_t size_type;
    ^
    ../sigc++/signal.h:34:11: error: ‘ptrdiff_t’ does not name a type
    typedef ptrdiff_t difference_type;
    ^
    ../sigc++/signal.h:99:11: error: ‘size_t’ does not name a type
    typedef size_t size_type;
    ^
    ../sigc++/signal.h:100:11: error: ‘ptrdiff_t’ does not name a type
    typedef ptrdiff_t difference_type;
    ^
    ../sigc++/signal.h:276:11: error: ‘size_t’ does not name a type
    typedef size_t size_type;
    ^
    ../sigc++/signal.h:277:11: error: ‘ptrdiff_t’ does not name a type
    typedef ptrdiff_t difference_type;
    ^
    ../sigc++/signal.h:359:11: error: ‘size_t’ does not name a type
    typedef size_t size_type;
    ^
    ../sigc++/signal.h:360:11: error: ‘ptrdiff_t’ does not name a type
    typedef ptrdiff_t difference_type;
    ^
    ../sigc++/signal.h:430:11: error: ‘size_t’ does not name a type
    typedef size_t size_type;
    ^
    ../sigc++/signal.h:431:11: error: ‘ptrdiff_t’ does not name a type
    typedef ptrdiff_t difference_type;
    ^
    ../sigc++/signal.h:515:11: error: ‘size_t’ does not name a type
    typedef size_t size_type;
    ^
    ../sigc++/signal.h:516:11: error: ‘ptrdiff_t’ does not name a type
    typedef ptrdiff_t difference_type;
    ^
    make[3]: *** [signal.lo] Error 1
    make[3]: Leaving directory `/home/install/libsigc++-2.2.4/sigc++'
    make[2]: *** [all] Error 2
    make[2]: Leaving directory `/home/install/libsigc++-2.2.4/sigc++'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/install/libsigc++-2.2.4'
    make: *** [all] Error 2
    Last edited by JustPainDonor Icon; 1 Week Ago at 11:59 AM.

  6. #6
    Moderator
    Alergie's Avatar
    Reputation Points
    36662
    Reputation Power
    100
    Join Date
    Dec 2019
    Posts
    593
    Time Online
    50 d 14 h 18 m
    Avg. Time Online
    6 h 48 m
    Mentioned
    312 Post(s)
    Quoted
    93 Post(s)
    Liked
    681 times
    Feedbacks
    10 (100%)
    you are welcome! @JustPain let me know if everything goes fine!

  7. #7
    Donor
    JustPain's Avatar
    Reputation Points
    2010
    Reputation Power
    31
    Join Date
    Sep 2017
    Posts
    34
    Time Online
    22 h 31 m
    Avg. Time Online
    1 m
    Mentioned
    10 Post(s)
    Quoted
    1 Post(s)
    Liked
    4 times
    Feedbacks
    0
    @Alergie just trying to figure out the rtorrent.rc to try to get it to work with xmlrpc um getting an error about udp wont start and everything i change will come up with a new error its really weird
    Last edited by JustPainDonor Icon; 1 Week Ago at 01:37 PM.

  8. #8
    News Team
    ranik's Avatar
    Reputation Points
    31000
    Reputation Power
    100
    Join Date
    Jun 2019
    Posts
    381
    Time Online
    41 d 8 h 3 m
    Avg. Time Online
    2 h 44 m
    Mentioned
    231 Post(s)
    Quoted
    50 Post(s)
    Liked
    481 times
    Feedbacks
    51 (100%)
    I've used this script to install rtorrent on my laptop with centos 7.7. just make necessary changes and you're good.


  9. #9
    Donor
    JustPain's Avatar
    Reputation Points
    2010
    Reputation Power
    31
    Join Date
    Sep 2017
    Posts
    34
    Time Online
    22 h 31 m
    Avg. Time Online
    1 m
    Mentioned
    10 Post(s)
    Quoted
    1 Post(s)
    Liked
    4 times
    Feedbacks
    0
    Quote Originally Posted by ranik View Post
    I've used this script to install rtorrent on my laptop with centos 7.7. just make necessary changes and you're good.
    I tried that one too and it didnt worked plus its a dedi server i can only install via shell and compile manually with xmlrpc or nothing will work i have managed to get rtorrent installed the issue now its the rtorrent.rc no matter which one i use none works wont start with different errors

  10. #10
    Donor
    JustPain's Avatar
    Reputation Points
    2010
    Reputation Power
    31
    Join Date
    Sep 2017
    Posts
    34
    Time Online
    22 h 31 m
    Avg. Time Online
    1 m
    Mentioned
    10 Post(s)
    Quoted
    1 Post(s)
    Liked
    4 times
    Feedbacks
    0
    @Alergie well i finally managed to start rtorrent but now i have tgis issue even if i use the latest from here (https://github.com/rakshasa/rtorrent...ONFIG-Template) rtorrent.rc wont start something with commands deprecated i should had probably went for an older version like 0.9.6 or something but dunno how to remove build from source completely

    this is the rtorrent.rc file im using

    # Maximum and minimum number of peers to connect to per torrent.
    min_peers = 1
    max_peers = 100

    # Same as above but for seeding completed torrents (-1 = same as downloading)
    min_peers_seed = 1
    max_peers_seed = 50

    # Maximum number of simultanious uploads per torrent.
    max_uploads = 15

    # Global upload and download rate in KiB. "0" for unlimited.
    download_rate = 0
    upload_rate = 0

    # Default directory to save the downloaded torrents.
    directory = /home/rtorrent/downloads/temp

    # Default session directory. Make sure you don't run multiple instance
    # of rtorrent using the same session directory. Perhaps using a
    # relative path?
    session = /home/rtorrent/.session

    # Watch a directory for new torrents, and stop those that have been
    # deleted.
    schedule = watch_directory,1,1,"load_start=/home/rtorrent/.watch/*.torrent"
    schedule = untied_directory,5,5,"stop_untied=/home/rtorrent/.watch/*.torrent"

    # Close torrents when diskspace is low.
    schedule = low_diskspace,5,60,close_low_diskspace=100M

    # The ip address reported to the tracker.
    #ip = 127.0.0.1
    #ip = rakshasa.no

    # The ip address the listening socket and outgoing connections is
    # bound to.
    #bind = 127.0.0.1
    #bind = rakshasa.no

    # Listening port for incoming peer traffic
    network.port_range.set = 50000-50000
    network.port_random.set = no

    # Check hash for finished torrents. Might be usefull until the bug is
    # fixed that causes lack of diskspace not to be properly reported.
    check_hash = yes

    # Set whether the client should try to connect to UDP trackers.
    trackers.use_udp.set = yes

    # Set the max amount of memory address space used to mapping file chunks. This refers to memory mapping, not
    # physical memory allocation. Default: \`1GB\` (\`max_memory_usage\`)
    # This may also be set using ulimit -m where 3/4 will be allocated to file chunks.
    #pieces.memory.max.set = 1GB

    # Alternative calls to bind and ip that should handle dynamic ip's.
    #schedule = ip_tick,0,1800,ip=rakshasa
    #schedule = bind_tick,0,1800,bind=rakshasa

    # Encryption options, set to none (default) or any combination of the following:
    # allow_incoming, try_outgoing, require, require_RC4, enable_retry, prefer_plaintext
    #
    # The example value allows incoming encrypted connections, starts unencrypted
    # outgoing connections but retries with encryption if they fail, preferring
    # plaintext to RC4 encryption after the encrypted handshake
    #
    # encryption = allow_incoming,enable_retry,prefer_plaintext
    encryption = allow_incoming,try_outgoing,enable_retry

    # Enable DHT support for trackerless torrents or when all trackers are down.
    # May be set to "disable" (completely disable DHT), "off" (do not start DHT),
    # "auto" (start and stop DHT as needed), or "on" (start DHT immediately).
    # The default is "off". For DHT to work, a session directory must be defined.
    #
    # dht = auto
    dht = auto

    # UDP port to use for DHT.
    dht_port = 6881

    # Enable peer exchange (for torrents not marked private)
    protocol.pex.set = yes

    # Logging:
    # Levels = critical error warn notice info debug
    # Groups = connection_* dht_* peer_* rpc_* storage_* thread_* tracker_* torrent_*
    log.open_file = "log", (cat,/home/rtorrent/.log/rtorrent.log)
    log.add_output = "info", "log"
    #log.add_output = "tracker_debug", "log"

    # XMLRPC
    scgi_port = 0.0.0.0:5000
    network.xmlrpc.size_limit.set = 10000000

    # Set the umask for this process, which is applied to all files created by the program.
    # default 0022
    #system.umask.set = 0000
    system.umask.set = 0022

    # Add a preferred filename encoding to the list.
    encoding_list = UTF-8

    # Move finished
    #method.set_key = event.download.finished,move_complete,"d.set_direc tory=/home/downloads/;execute=mv,-u,\$d.get_base_path=,/home/downloads/"


    https://snipboard.io/1j3VDZ.jpg

    is it much complicated to remove the current builds and compile the 0.9.6/0.13.6 or so or even fix this one if possible but i dunno where to start to fix deprecated commands


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •