Configuration Problem MediaWiki/Collection and mwlib

110 views
Skip to first unread message

manuel313

unread,
Mar 2, 2012, 9:47:26 AM3/2/12
to mw...@googlegroups.com
Hi Folks

I have on one server a running Wiki installation and on an other server the mwlibs. Both are
debian Squeeze with an Apache webserver.

I installed the Collection extensions on server1.
I installed the mwlibs on server2.

I start on server2
server2:~# mw-qserve
listening on 0.0.0.0:14311
=== report Fri Mar  2 15:23:58 2012 ===
have 0 jobs
count: 0
all channels idle
= 0 clients

I start on server2 in an other session:
poseidon:~# nserve.py
listening on 0.0.0.0:8899
watch: localhost:14311: resuming operation

I add the entries to my LocalSettings.php at the wiki:
require_once("$IP/extensions/Collection/Collection.php"); and
wgEnableAPI = "true";
and in extensions/Collection/Collections.php i changed the value
$wgCollectionMWServeURL = 'http://server2:8899/';


If I try do download a PDF i see on the terminal with nserve.py
every second a new line with the message:
watch: localhost:14311: resuming operation
new-collection 1        'http://server/wiki'    'rl'
2012-03-02T15:34:25 mwlib.serve.info >> render 7334ac65d7e1dbd3 rl
10.0.0.1 - - [2012-03-02 15:34:25] "POST / HTTP/1.1" 200 181 0.009063
10.0.0.1 - - [2012-03-02 15:34:25] "POST / HTTP/1.1" 200 196 0.006614
10.0.0.1 - - [2012-03-02 15:34:26] "POST / HTTP/1.1" 200 196 0.263680
10.0.0.1 - - [2012-03-02 15:34:27] "POST / HTTP/1.1" 200 196 0.007039
10.0.0.1 - - [2012-03-02 15:34:28] "POST / HTTP/1.1" 200 196 0.006949
10.0.0.1 - - [2012-03-02 15:34:28] "POST / HTTP/1.1" 200 196 0.006597
10.0.0.1 - - [2012-03-02 15:34:29] "POST / HTTP/1.1" 200 196 0.006372
10.0.0.1 - - [2012-03-02 15:34:30] "POST / HTTP/1.1" 200 196 0.006533
10.0.0.1 - - [2012-03-02 15:34:32] "POST / HTTP/1.1" 200 196 0.136362
10.0.0.1 - - [2012-03-02 15:34:32] "POST / HTTP/1.1" 200 196 0.006540
10.0.0.1 - - [2012-03-02 15:34:33] "POST / HTTP/1.1" 200 196 0.006558
10.0.0.1 - - [2012-03-02 15:34:33] "POST / HTTP/1.1" 200 196 0.006333
10.0.0.1 - - [2012-03-02 15:34:34] "POST / HTTP/1.1" 200 196 0.006311
...... and 10000 more times ...

At  the other console:
=== report Fri Mar  2 15:35:17 2012 ===
have 2 jobs
count: 2
busy channels:
makezip 1
render 1

= 29 clients
<<161 127.0.0.1:33249>: idle>
<<146 127.0.0.1:33219>: idle>
<<159 127.0.0.1:33245>: idle>
<<145 127.0.0.1:33217>: idle>
<<28 127.0.0.1:32983>: idle>
<<1 127.0.0.1:32929>: idle>
<<156 127.0.0.1:33239>: idle>
<<144 127.0.0.1:33215>: idle>
<<164 127.0.0.1:33255>: idle>


After  10 minutes I stopped the processes, because I think there is sometings wrong.
Have someone an Idea whats going wrong? I have no log, no messages  ... nothing :-(

Any Ideas?

Manuel
Reply all
Reply to author
Forward
0 new messages