XML can't be the whole program

jith45

Member
May 25, 2018
960
0
16
Hello, i have a problem. I get this error.

[04.06.2011 11:59:44] JS error: [http://xx/rutorrent/ : 403] XML can't be the whole program

I read that is probably something with php. I installed php5-cgi and nothing has changed.
 

dsouvik215

Member
May 25, 2018
896
0
16
You have to enable PHP as well. I think there are a few threads about this already, so use the search function
 

jith45

Member
May 25, 2018
960
0
16
Probably means about libapache2-mod-php5 but if I try install this I get this error.

Code:
dpkg -i libapache2-mod-php5_5.3.3-7+squeeze1_amd64.deb
(Reading database ... 74838 files and directories currently installed.)
Preparing to replace libapache2-mod-php5 5.3.3-7+squeeze1 (using libapache2-mod- php5_5.3.3-7+squeeze1_amd64.deb) ...
Unpacking replacement libapache2-mod-php5 ...
dpkg: dependency problems prevent configuration of libapache2-mod-php5:
libapache2-mod-php5 depends on apache2-mpm-prefork (>> 2.0.52) | apache2-mpm-it k; however:
Package apache2-mpm-prefork is not installed.
Package apache2-mpm-itk is not installed.
dpkg: error processing libapache2-mod-php5 (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
libapache2-mod-php5
And if i want to install apache2-mpm-prefork I get this error.

Code:
dpkg -i apache2-mpm-prefork_2.2.16-6+squeeze1_amd64.deb
dpkg: regarding apache2-mpm-prefork_2.2.16-6+squeeze1_amd64.deb containing apach e2-mpm-prefork:
apache2-mpm-prefork conflicts with apache2-mpm
apache2-mpm-worker provides apache2-mpm and is present and installed.
dpkg: error processing apache2-mpm-prefork_2.2.16-6+squeeze1_amd64.deb (--instal l):
conflicting packages - not installing apache2-mpm-prefork
Errors were encountered while processing:
apache2-mpm-prefork_2.2.16-6+squeeze1_amd64.deb
 

das329717

Member
May 25, 2018
928
0
16
Uninstall apache2-mpm-worker and install apache2-mpm-prefork and libapache2-mod-php5

These should be all you need for Apache + PHP:
apache2-mpm-prefork libapache2-mod-php5 php5
libapache2-mod-scgi (if you don't use the httprpc or rpc ruTorrent plugins)
 

jith45

Member
May 25, 2018
960
0
16
How can i remove apache2-mpm-worker?

Code:
dpkg -r apache2-mpm-worker
dpkg: dependency problems prevent removal of apache2-mpm-worker:
apache2 depends on apache2-mpm-worker (= 2.2.16-6+squeeze1) | apache2-mpm-prefork (= 2.2.16-6+squeeze1) | apache2-mpm-event (= 2.2.16-6+squeeze1) | apache2-mpm-itk (= 2.2.16-6+squeeze1); however:
Package apache2-mpm-worker is to be removed.
Package apache2-mpm-prefork is not installed.
Package apache2-mpm-event is not installed.
Package apache2-mpm-itk is not installed.
dpkg: error processing apache2-mpm-worker (--remove):
dependency problems - not removing
Errors were encountered while processing:
apache2-mpm-worker
 

jith45

Member
May 25, 2018
960
0
16
Now i get this error.

Code:
[07.06.2011 12:20:18] rTorrent został skompilowany ze złą wersją biblioteki xmlrpc-c , bez wsparcia i8 . Wersja musi być większa lub równa: 1.11. Pewne funkcjonalności będą niedostepne.
[07.06.2011 12:20:18] Bad response from server: (404 [error,list]) <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>404 Not Found</title> </head><body> <h1>Not Found</h1> <p>The requested URL /RPC2 was not found on this server.</p> <hr> <address>Apache/2.2.19 (Debian) Server at xxx Port 80</address> </body></html>
If I want to install this libs i get errors like this

Code:
dpkg -i libxmlrpc-c++4-dev_1.16.33-2_amd64.deb
Selecting previously deselected package libxmlrpc-c++4-dev.
(Reading database ... 74854 files and directories currently installed.)
Unpacking libxmlrpc-c++4-dev (from libxmlrpc-c++4-dev_1.16.33-2_amd64.deb) ...
dpkg: dependency problems prevent configuration of libxmlrpc-c++4-dev:
libxmlrpc-c++4-dev depends on libxmlrpc-c++4 (= 1.16.33-2); however:
Package libxmlrpc-c++4 is not installed.
libxmlrpc-c++4-dev depends on libxmlrpc-core-c3-dev (= 1.16.33-2); however:
Package libxmlrpc-core-c3-dev is not installed.
dpkg: error processing libxmlrpc-c++4-dev (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
libxmlrpc-c++4-dev

Code: [Select]
dpkg -i libxmlrpc-c++4_1.16.33-2_amd64.deb
Selecting previously deselected package libxmlrpc-c++4.
(Reading database ... 74887 files and directories currently installed.)
Unpacking libxmlrpc-c++4 (from libxmlrpc-c++4_1.16.33-2_amd64.deb) ...
dpkg: dependency problems prevent configuration of libxmlrpc-c++4:
libxmlrpc-c++4 depends on libxmlrpc-core-c3 (= 1.16.33-2); however:
Package libxmlrpc-core-c3 is not installed.
dpkg: error processing libxmlrpc-c++4 (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
libxmlrpc-c++4
Code:
dpkg -i libxmlrpc-core-c3_1.16.33-2_amd64.deb
Selecting previously deselected package libxmlrpc-core-c3.
dpkg: considering removing libxmlrpc-c3 in favour of libxmlrpc-core-c3 ...
dpkg: no, cannot proceed with removal of libxmlrpc-c3 (--auto-deconfigure will help):
rtorrent depends on libxmlrpc-c3
libxmlrpc-c3 is to be removed.
dpkg: regarding libxmlrpc-core-c3_1.16.33-2_amd64.deb containing libxmlrpc-core-c3:
libxmlrpc-core-c3 conflicts with libxmlrpc-c3 (<= 1.16.07-1)
libxmlrpc-c3 (version 1.06.27-1.1) is present and installed.
dpkg: error processing libxmlrpc-core-c3_1.16.33-2_amd64.deb (--install):
conflicting packages - not installing libxmlrpc-core-c3
Errors were encountered while processing:
libxmlrpc-core-c3_1.16.33-2_amd64.deb
 

dsouvik215

Member
May 25, 2018
896
0
16
Two errors.

Quote
rTorrent został skompilowany ze złą wersją biblioteki xmlrpc-c , bez wsparcia i8 . Wersja musi być większa lub równa: 1.11. Pewne funkcjonalności będą niedostepne.​


Are you understand word skompilowany? You have version 1.16, but rTorrent was skompilowany with *old* version. Recompile it.

Quote
The requested URL /RPC2 was not found on this server.​


And? Are you configure RPC mount point? Do this, or install plugin rpc. Or httprpc.
 

jith45

Member
May 25, 2018
960
0
16
I instelled 1.16.35 but the problem still exists



make check

Code:
Ran 1821 tests, 0 failed, 100.0% passed
OK
 

dsouvik215

Member
May 25, 2018
896
0
16
Quote
I instelled 1.16.35 but the problem still exists​


Read my previous message yet once. Are you understand english? May be, i must write on russian?
 

dsouvik215

Member
May 25, 2018
896
0
16
Quote
I mean compiled.​


If you really compile rtorrent with new version of library, and it really use *new* version of library (use ldd command for check) then you can't see message
"rTorrent został skompilowany" etc.
 

jith45

Member
May 25, 2018
960
0
16
I forgot restart rtorrent. Now i get error before i lunch rt. I compiled 1.16.35 version of xmlrpc-c.

Code:
rtorrent: XMLRPC not supported.What do you mean "with new version"? I compiled rtorrent singly and xmlrpc-c singly. That is correctly?
 

jith45

Member
May 25, 2018
960
0
16
I still have some errors ;/

Code:
[10.06.2011 13:53:58] rTorrent's user can't access 'id' program. Some functionality will be unavailable.
[10.06.2011 13:53:58] rTorrent został skompilowany ze złą wersją biblioteki xmlrpc-c , bez wsparcia i8 . Wersja musi być większa lub równa: 1.11. Pewne funkcjonalności będą niedostepne.
[10.06.2011 13:53:59] Bad response from server: (500 [error,list]) Link to XMLRPC failed. May be, rTorrent is down?
I compiled it by this command

Code:
./configure --with-xmlrpc-c=/usr/local/bin/xmlrpc-c-config
If I lunch rt i get this

Code:
(11:53:49) Using 'epoll' based polling.
(11:53:49) XMLRPC initialized with 519 functions.
(11:53:49) The SCGI socket is bound to a specific network device yet may still pose a security risk, consider using 'scgi_local'.
[Throttle off/off KB] [Rate 0.0/ 0.0 KB] [Port: 56005] [U 0/0] [D 0/0] [H 0/32] [