-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sunday 06 June 2004 16:25, Marian Aldenhövel wrote:
i did a new installation and forgot to add a few lines
into /etc/php4/apache/php.ini or something like that. check your
installation:
Hi,
I have set up a MediaWiki-Installation a few weeks ago to help
communication between members of a distributed development team.
The server is a machine running Debian Woody, and everything went
absolutely silk-smooth.
Now the wiki has suddenly quit. I cannot (of course) remember having
changed anything around the system.
No matter what kind of request I make the server now just returns
a 200 result-code and no data. This is the output of FireFox
Live-Headers:
http://xxx.xxx.xxx.xxx/devel/index.php/Hauptseite
GET /devel/index.php/Hauptseite HTTP/1.1
Host: xxx.xxx.xxx.xxx
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6)
Gecko/20040206 Firefox/0.8
Accept:
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q
=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,*/*;q=0.1
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Authorization: Basic bWFyaWFuOkdhbW1hMjE=
HTTP/1.x 200 OK
Date: Sun, 06 Jun 2004 14:15:29 GMT
Server: Apache
X-Powered-By: PHP/4.1.2
Content-Encoding: gzip
Vary: Accept-Encoding
Content-Length: 26
Keep-Alive: timeout=15, max=99
Connection: Keep-Alive
Content-Type: text/html
I tried setting wgDebugLogFile and checked the output. There is
nothing in that file that looks like anything went wrong.
I tried to install another instance of the Skript under a different
name. That installation went just as fine as the first, but demonstrates
the problem right away. No output.
So I suspect there is a problem with my database. Again: I do not
remember any change in setup. Using the commandline I can still connect
to the database under the account and with the password specified in
LocalSettings.php by using the mysql commandline-interface.
I tried running index.php on the commandline. No error, no output at
all.
I then tried strace as an attempt to find out what the script was doing
before it terminates. Here's the tail of the output of that run:
fcntl64(4, F_SETFL, O_RDWR|O_NONBLOCK) = 0
read(4, 0x85a3a30, 8192) = -1 EAGAIN (Resource
temporarily unavailable)
> fcntl64(4, F_SETFL, O_RDWR) = 0
> write(4, "I\0\0\0\3SELECT cur_text FROM cur WH"..., 77) = 77
> read(4, "\1\0\0\1", 4) = 4
> read(4, "\1", 1) = 1
> read(4, "\27\0\0\2", 4) = 4
> read(4, "\3cur\10cur_text\3\377\377\377\1\374\3\21\0\0", 23) = 23
> read(4, "\1\0\0\3", 4) = 4
> read(4, "\376", 1) = 1
> brk(0x89a6000) = 0x89a6000
> read(4, "\33\0\0\4", 4) = 4
> read(4, "\32/^([\344|\366|\374|\337|a-z]+)(.*)$/sD", 27) = 27
> read(4, "\1\0\0\5", 4) = 4
> read(4, "\376", 1) = 1
> time(NULL) = 1086431027
> gettimeofday({1086431027, 339641}, NULL) = 0
> close(7) = 0
> close(6) = 0
> close(5) = 0
> rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0
fcntl64(4, F_SETFL, O_RDWR|O_NONBLOCK) = 0
read(4, 0x85a3a30, 8192) = -1 EAGAIN (Resource
temporarily unavailable)
fcntl64(4, F_SETFL, O_RDWR) = 0
write(4, "\1\0\0\0\1", 5) = 5
shutdown(4, 2 /* send and receive */) = 0
close(4) = 0
rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0
setitimer(ITIMER_PROF, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
setitimer(ITIMER_PROF, {it_interval={0, 0}, it_value={30, 0}}, NULL) = 0
rt_sigaction(SIGPROF, {0x82195b4, [PROF], SA_RESTART|0x4000000},
{0x82195b4, [PROF], SA_RESTART|0x4000000}, 8) =
0
rt_sigprocmask(SIG_UNBLOCK, [PROF], NULL, 8) = 0
setitimer(ITIMER_PROF, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
munmap(0x409f8000, 358472) = 0
_exit(0) = ?
To my rather untrained eye this looks like it is in fact talking to
the database and querying the table cur. Which it is supposed to do
I would say.
Any idea what is broken here? How can I find out?
Ciao, MM
- --
Keine "Software-Patente" in Europa
Wir protestieren gegen "Software-Patente" in Europa.
Die EU-Kommission und der Ministerrat bemühen sich im Verborgenen um
unbegrenzte Patentierbarkeit von Software, wie von internationalen
Großkonzernen und Patentanwälten gefordert. Sie ignorieren dabei die
demokratische Entscheidung des Europa-Parlamentes vom 24. September 2003,
welche die Unterstützung von mehr als 300.000 Bürgern, 2.000.000 Kleinen &
mittelständischen Firmen und Dutzenden von Ökonomen und Wissenschaftlern
genießt.
Darüber hinaus können Sie uns unterstützen, indem Sie den Aufruf zum Handeln
II des FFII e.V. unterzeichnen.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFAw09oyzk1c1T5Os4RAhoCAJ0e9fwCLHSpEklv5Tx2Pse2mub+iQCghcHZ
8E7/5jFVLbhiUolBBf7sw9A=
=lweN
-----END PGP SIGNATURE-----