Configuration Problem Wiki <-> mwlib?

69 views
Skip to first unread message

manuel313

unread,
Mar 2, 2012, 10:11:06 AM3/2/12
to mw...@googlegroups.com
HI Folks

I have a (hopefully) only a configuration problem.

My Problem is: i click on "generate PDF" and on
the Wiki page looks like he generate sometings,
but for the next 30 minutes .... and he told me again
that he generate it ....

Server1 is my webserver (apache2, squeeze)
Server2 is my other server (apache2, squeeze), both
in the same subnet ...

I have an existing working mediawiki installation and
I have to configure the Collection Extension to generate
PDFs. Its not works! I have no log, no Ouptut ... nothing.
Maybee someone has an idea?


server2:~# mw-qserve
listening on 0.0.0.0:14311
=== report Fri Mar  2 15:55:47 2012 ===
have 0 jobs
count: 0
all channels idle

= 0 clients

server2:~# nserve.py
listening on 0.0.0.0:8899
watch: localhost:14311: resuming operation

On server1 i have my Wiki installation. I have 
this values in the configuration file
+++LocalSettings.conf
require_once("$IP/extensions/Collection/Collection.php");
$wgEnableAPI = "true";
+++Collections.conf
$wgCollectionMWServeURL = 'http://server2:8899/';

When I try do download a PDF and I click to the button, then
on server2 I have the following situation:

listening on 0.0.0.0:8899
watch: localhost:14311: resuming operation
new-collection 1        'http://server/wiki'    'rl'
2012-03-02T16:00:04 mwlib.serve.info >> render 7334ac65d7e1dbd3 rl
10.0.0.1 - - [2012-03-02 16:00:04] "POST / HTTP/1.1" 200 181 0.011188
10.0.0.1 - - [2012-03-02 16:00:04] "POST / HTTP/1.1" 200 196 0.006537
10.0.0.1 - - [2012-03-02 16:00:05] "POST / HTTP/1.1" 200 196 0.006338
10.0.0.1 - - [2012-03-02 16:00:05] "POST / HTTP/1.1" 200 196 0.006328
10.0.0.1 - - [2012-03-02 16:00:06] "POST / HTTP/1.1" 200 196 0.006384
10.0.0.1 - - [2012-03-02 16:00:06] "POST / HTTP/1.1" 200 196 0.006468
10.0.0.1 - - [2012-03-02 16:00:07] "POST / HTTP/1.1" 200 196 0.006451
10.0.0.1 - - [2012-03-02 16:00:08] "POST / HTTP/1.1" 200 196 0.006638
10.0.0.1 - - [2012-03-02 16:00:08] "POST / HTTP/1.1" 200 196 0.006296


=== report Fri Mar  2 16:00:08 2012 ===
have 2 jobs
count: 2
busy channels:
makezip 1
render 1

= 9 clients
<<9 127.0.0.1:35309>: idle>
<<3 127.0.0.1:35297>: idle>
<<6 127.0.0.1:35303>: idle>
<<7 127.0.0.1:35305>: idle>
<<10 127.0.0.1:35311>: idle>
<<4 127.0.0.1:35299>: idle>
<<2 127.0.0.1:35294>: idle>
<<8 127.0.0.1:35307>: idle>

mwlibs I think is working. A testrendering of a wikipedia.com page looks ok.
Wikipedia works too .... I have realy no Idea.... Any Idea?

greetings
Manuel

Ralf Schmitt

unread,
Mar 4, 2012, 5:57:11 PM3/4/12
to mw...@googlegroups.com
manuel313 <manuel....@googlemail.com> writes:

> HI Folks
>
> I have a (hopefully) only a configuration problem.
>
> My Problem is: i click on "generate PDF" and on
> the Wiki page looks like he generate sometings,
> but for the next 30 minutes .... and he told me again
> that he generate it ....
>
> Server1 is my webserver (apache2, squeeze)
> Server2 is my other server (apache2, squeeze), both
> in the same subnet ...
>
> I have an existing working mediawiki installation and
> I have to configure the Collection Extension to generate
> PDFs. Its not works! I have no log, no Ouptut ... nothing.
> Maybee someone has an idea?
>
>
> server2:~# mw-qserve
> listening on 0.0.0.0:14311
> === report Fri Mar 2 15:55:47 2012 ===
> have 0 jobs
> count: 0
> all channels idle
>
> = 0 clients
>
> server2:~# nserve.py
> listening on 0.0.0.0:8899
> watch: localhost:14311: resuming operation

It looks like you started only half of the programs you should.
see http://mwlib.readthedocs.org/en/latest/renderserver.html

Reply all
Reply to author
Forward
0 new messages