Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Wikipedia: Mediawiki

Installation

 

 

Wikipedia mediawiki RSS feed   Index | Next | Previous | View Threaded


janbro at web

Nov 8, 2004, 3:38 PM

Post #1 of 25 (1859 views)
Permalink
Installation

Hi List,

I hope this hasn't been asked before, if so, I apologize, I haven't found
it.
I know this is a problem of mysql 4.1 <--> php 5.

the problem with the workaround of the new authorization of mysql. Usually
i get around this by using the dos box with set user password
=old_password.....

but what can I do to fix this problem here?

thx Jan


P.s. or is there a way to switch to mysqli?

MediaWiki 1.3.7 installation
Please include all of the lines below when reporting installation problems.

Checking environment...
PHP 5.0.0: the MonoBook skin will be disabled due to an incompatibility
between the PHPTAL template library and PHP 5. The wiki should function
normally, but with the older look and feel.
PHP server API is apache2handler; ok, using pretty URLs
(index.php/Page_Title)
Have XML / Latin1-UTF-8 conversion support.
PHP is configured with no memory_limit.
Have zlib support; enabling output compression.
Found GD graphics library built-in, image thumbnailing will be enabled if
you enable uploads.
Installation directory: C:\internet\webpages\mediawiki-1.3.7
Script URI path: /mediawiki-1.3.7 Warning: $wgProxyKey is insecure
MySQL error 1251: Client does not support authentication protocol requested
by server; consider upgrading MySQL client


brion at pobox

Nov 8, 2004, 4:06 PM

Post #2 of 25 (1815 views)
Permalink
Re: Installation [In reply to]

On Nov 8, 2004, at 2:38 PM, JanBro wrote:
> I hope this hasn't been asked before, if so, I apologize, I haven't
> found
> it.
> I know this is a problem of mysql 4.1 <--> php 5.

Either recompile PHP using the MySQL 4.1 client libraries, or change
the server's configuration. Please see:
http://mail.wikipedia.org/pipermail/mediawiki-l/2004-October/001928.html

> P.s. or is there a way to switch to mysqli?

You could write a new Database child class which uses the mysqli
extension. (I would recommend against trying this with 1.3.x since a
lot is different in 1.4.)

-- brion vibber (brion @ pobox.com)
Attachments: PGP.sig (0.18 KB)


robchur at gmail

Jan 24, 2007, 11:10 AM

Post #3 of 25 (1823 views)
Permalink
Re: Installation [In reply to]

On 24/01/07, Lacatena, Andrew <Andrew.Lacatena [at] nasdaq> wrote:
> When I browse to http://myipaddress/wiki/index.php I get an error saying
> the MySQL must be compiled using -with-mysql or install the mysql.so
> module. Can I download this module from somewhere, or do I need to

It's probably another package.

Note that the MySQL module is *not* the same as the MySQLi module -
and MediaWiki only uses the former.


Rob Church

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
http://lists.wikimedia.org/mailman/listinfo/mediawiki-l


JMilarsky at sun-sentinel

Jan 24, 2007, 11:11 AM

Post #4 of 25 (1820 views)
Permalink
Re: Installation [In reply to]

I had a similar problem just the other day and was able to solve it by
copying the libmySQL.dll file from the MySQL/bin directory to the directory
where I keep my PHP extensions.

Granted, my configuration is different from yours (alas, my work environment
is that I am stuck with a Windows XP box and an IIS server), but it might
work.

Here's my post from the other day. good luck!

- Jeremy Milarsky
Sun-Sentinel
Fort Lauderdale, FL

---
(previous post)
Thanks again to all. I was able to find the solution (or, more accurately, a
clue to getting at the solution) in a PHP forum.

For those who are curious, the critical module for working with PHP and
MySQL under my specific setup (again, WinXP, IIS 5.1, PHP 5.2.0, MySQL 5.1)
is, in fact, a little file called libMySQL.dll ...

This file comes with MySQL, and actually lives in the MySQL/debug (there is
a version in the MySQL/bin folder, too -- but it's an older version and
didn't work for me -- that was what was frustrating my efforts so)
directory. Furthermore, you must make sure you have the most current version
of it (mine is approx. 2.49 megs in size ... the bad version is 1.49
megs)...

Thanks again to Arthur and Jason for their suggestions. It does seem like my
problem was pretty configuration-specific, so I'm not sure whether this
solution will be of use to others -- hopefully it will. Thanks again.

- Jeremy Milarsky
Sun-Sentinel
Fort Lauderdale, Fla.

-----Original Message-----
From: mediawiki-l-bounces [at] lists
[mailto:mediawiki-l-bounces [at] lists]On Behalf Of Lacatena,
Andrew
Sent: Wednesday, January 24, 2007 2:05 PM
To: mediawiki-l [at] lists
Subject: [Mediawiki-l] Installation


Hello. I am installing mediawiki for the first time on a Fedora Core 4
box running PHP 5.0, Apache and MySQL. These were all installed via
RPM.

When I browse to http://myipaddress/wiki/index.php I get an error saying
the MySQL must be compiled using -with-mysql or install the mysql.so
module. Can I download this module from somewhere, or do I need to
compile PHP using -with-mysql, and copy over the mysqli binary? I am
trying to avoid compiling PHP at all.



Thanks.



-Andrew

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
http://lists.wikimedia.org/mailman/listinfo/mediawiki-l

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
http://lists.wikimedia.org/mailman/listinfo/mediawiki-l


brion at pobox

Jan 24, 2007, 11:19 AM

Post #5 of 25 (1819 views)
Permalink
Re: Installation [In reply to]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Lacatena, Andrew wrote:
> Hello. I am installing mediawiki for the first time on a Fedora Core 4
> box running PHP 5.0, Apache and MySQL. These were all installed via
> RPM.
>
> When I browse to http://myipaddress/wiki/index.php I get an error saying
> the MySQL must be compiled using -with-mysql or install the mysql.so
> module. Can I download this module from somewhere, or do I need to
> compile PHP using -with-mysql, and copy over the mysqli binary? I am
> trying to avoid compiling PHP at all.

It should be pretty easy to find which package includes the MySQL
modules. For a start check Google:

http://www.google.com/search?q=%22fedora+core+4%22+php5+mysql+rpm

Also try the search tool for your distribution's package management
system ('yum' for Fedora).

- -- brion vibber (brion @ pobox.com / brion @ wikimedia.org)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFt7FQwRnhpk1wk44RAmWcAJ4g7UuCfm8z/wNnrS+YGnBj7QMSUgCfVmyh
RUPoMiQOxm1qLAulNxkSJms=
=91Xd
-----END PGP SIGNATURE-----

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
http://lists.wikimedia.org/mailman/listinfo/mediawiki-l


Ryan.Lane at ocean

Jan 24, 2007, 1:36 PM

Post #6 of 25 (1817 views)
Permalink
Re: Installation [In reply to]

> > When I browse to http://myipaddress/wiki/index.php I get an error
> > saying the MySQL must be compiled using -with-mysql or install the
> > mysql.so module. Can I download this module from
> somewhere, or do I
> > need to compile PHP using -with-mysql, and copy over the mysqli
> > binary? I am trying to avoid compiling PHP at all.
>
> It should be pretty easy to find which package includes the
> MySQL modules. For a start check Google:
>
> http://www.google.com/search?q=%22fedora+core+4%22+php5+mysql+rpm
>
> Also try the search tool for your distribution's package
> management system ('yum' for Fedora).
>
> - -- brion vibber (brion @ pobox.com / brion @ wikimedia.org)

It *should* be php-mysql, so a "yum -y php-mysql" should do the trick.


_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
http://lists.wikimedia.org/mailman/listinfo/mediawiki-l


65s.mg at atlas

Jul 30, 2008, 6:22 AM

Post #7 of 25 (1732 views)
Permalink
Re: installation [In reply to]

Try to debug <http://www.mediawiki.org/wiki/How_to_debug>.

--Matěj Grabovský

>---------------------------------------------------------
>Od: Nicolas Caillaud
>Přijato: 30.7.2008 12:13:45
>Předmět: [Mediawiki-l] installation
>
>Hello all
>
>
>
>I'm new to mediawiki. I just try to install it on an openBSD4.3
>
>platform, with the provided package
>
>Apart from a "memory exhausted" error, I retried and the installation
>
>finished OK
>
>When now I go to my wiki, I juste got a blank page
>
>http://www.bacasable.org/mediawiki
>
>
>
>I searched on the list, with no success ...
>
>
>
>is the problem known ? can someone help me ?
>
>
>
>Thank you
>
>Nicolas
>
>
>
>_______________________________________________
>
>MediaWiki-l mailing list
>
>MediaWiki-l [at] lists
>
>https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
>
>
>
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


nicolas at lautrecote

Jul 30, 2008, 6:28 AM

Post #8 of 25 (1746 views)
Permalink
Re: installation [In reply to]

thank you for the link :)

it prints now

Notice: unserialize() [function.unserialize]: Error at offset 0 of 80
bytes in /mediawiki/includes/BagOStuff.php on line 392

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
allocate 311296 bytes) in /mediawiki/includes/SkinTemplate.php on line
420

When installing, the first time I click on the button to process the
installation, I got the same sort of error ... clicking another time
goes OK



Le 30/7/2008, "Grabovský Mat&#283;j" <65s.mg [at] atlas> a écrit:

>Try to debug <http://www.mediawiki.org/wiki/How_to_debug>.
>
>--Matěj Grabovský
>
>>---------------------------------------------------------
>>Od: Nicolas Caillaud
>>Přijato: 30.7.2008 12:13:45
>>Předmět: [Mediawiki-l] installation
>>
>>Hello all
>>
>>
>>
>>I'm new to mediawiki. I just try to install it on an openBSD4.3
>>
>>platform, with the provided package
>>
>>Apart from a "memory exhausted" error, I retried and the installation
>>
>>finished OK
>>
>>When now I go to my wiki, I juste got a blank page
>>
>>http://www.bacasable.org/mediawiki
>>
>>
>>
>>I searched on the list, with no success ...
>>
>>
>>
>>is the problem known ? can someone help me ?
>>
>>
>>
>>Thank you
>>
>>Nicolas
>>
>>
>>
>>_______________________________________________
>>
>>MediaWiki-l mailing list
>>
>>MediaWiki-l [at] lists
>>
>>https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>>
>>
>>
>>
>_______________________________________________
>MediaWiki-l mailing list
>MediaWiki-l [at] lists
>https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


nicolas at lautrecote

Jul 30, 2008, 6:32 AM

Post #9 of 25 (1732 views)
Permalink
Re: installation [In reply to]

reading a little further, i found the error : not enough memory for php
(php.ini) ... thank you again for the link !

Le 30/7/2008, "Grabovský Mat&#283;j" <65s.mg [at] atlas> a écrit:

>Try to debug <http://www.mediawiki.org/wiki/How_to_debug>.
>
>--Matěj Grabovský
>
>>---------------------------------------------------------
>>Od: Nicolas Caillaud
>>Přijato: 30.7.2008 12:13:45
>>Předmět: [Mediawiki-l] installation
>>
>>Hello all
>>
>>
>>
>>I'm new to mediawiki. I just try to install it on an openBSD4.3
>>
>>platform, with the provided package
>>
>>Apart from a "memory exhausted" error, I retried and the installation
>>
>>finished OK
>>
>>When now I go to my wiki, I juste got a blank page
>>
>>http://www.bacasable.org/mediawiki
>>
>>
>>
>>I searched on the list, with no success ...
>>
>>
>>
>>is the problem known ? can someone help me ?
>>
>>
>>
>>Thank you
>>
>>Nicolas
>>
>>
>>
>>_______________________________________________
>>
>>MediaWiki-l mailing list
>>
>>MediaWiki-l [at] lists
>>
>>https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>>
>>
>>
>>
>_______________________________________________
>MediaWiki-l mailing list
>MediaWiki-l [at] lists
>https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


jeremy at tuxmachine

Jan 30, 2012, 5:15 PM

Post #10 of 25 (1338 views)
Permalink
Re: Installation [In reply to]

On Mon, Jan 30, 2012 at 19:56, Phill Whiteside <PhillW [at] thesii> wrote:
> But, as Apollo 13 stated... Hueston, we have a problem.

Houston* !!

> Deep sigh, new install at http://wiki.thesii.org/index.php/Main_Page gives
> me Error 324 (net::ERR_EMPTY_RESPONSE): The server closed the connection
> without sending any data. Any suggestions?

Have you tried turning on some extra logging?

http://www.mediawiki.org/wiki/Manual:How_to_debug

-Jeremy

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


PhillW at TheSII

Jan 31, 2012, 7:37 AM

Post #11 of 25 (1327 views)
Permalink
Re: Installation [In reply to]

I've turned full logging on, both in the LocalPHPSettings file and
generally on the pjp.ini file on the server.

There are no errors reported. However /var/www/html/
thesii.org/wiki/index.php/Main_Page does not exist? There is an index.php
file but no sign of Main_Page.

Regards,

Phill.

On 31 January 2012 01:15, Jeremy Baron <jeremy [at] tuxmachine> wrote:

> On Mon, Jan 30, 2012 at 19:56, Phill Whiteside <PhillW [at] thesii> wrote:
> > But, as Apollo 13 stated... Hueston, we have a problem.
>
> Houston* !!
>
> > Deep sigh, new install at http://wiki.thesii.org/index.php/Main_Pagegives
> > me Error 324 (net::ERR_EMPTY_RESPONSE): The server closed the connection
> > without sending any data. Any suggestions?
>
> Have you tried turning on some extra logging?
>
> http://www.mediawiki.org/wiki/Manual:How_to_debug
>
> -Jeremy
>
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


Platonides at gmail

Jan 31, 2012, 10:53 AM

Post #12 of 25 (1320 views)
Permalink
Re: Installation [In reply to]

Phill Whiteside wrote:
> I've turned full logging on, both in the LocalPHPSettings file and
> generally on the pjp.ini file on the server.
>
> There are no errors reported. However /var/www/html/
> thesii.org/wiki/index.php/Main_Page does not exist? There is an index.php
> file but no sign of Main_Page.
>
> Regards,
>
> Phill.

That's expected. No problem there. index.php is run which gets Main_Page
as a parameter (PATH_INFO) and shows the page called like that. It just
looks nicer than index.php?title=Main_Page in urls.


_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


PhillW at TheSII

Jan 31, 2012, 12:35 PM

Post #13 of 25 (1317 views)
Permalink
Re: Installation [In reply to]

Is there a link as to how to create said Main_Page?

Yeah, you can tell I'm a n00b to this :)

thanks,

Phill.

On 31 January 2012 18:53, Platonides <Platonides [at] gmail> wrote:

> Phill Whiteside wrote:
> > I've turned full logging on, both in the LocalPHPSettings file and
> > generally on the pjp.ini file on the server.
> >
> > There are no errors reported. However /var/www/html/
> > thesii.org/wiki/index.php/Main_Page does not exist? There is an
> index.php
> > file but no sign of Main_Page.
> >
> > Regards,
> >
> > Phill.
>
> That's expected. No problem there. index.php is run which gets Main_Page
> as a parameter (PATH_INFO) and shows the page called like that. It just
> looks nicer than index.php?title=Main_Page in urls.
>
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l [at] lists
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


tom at hutch4

Jan 31, 2012, 1:07 PM

Post #14 of 25 (1319 views)
Permalink
Re: Installation [In reply to]

It looks like you're trying some non standard configuration.

First, wiki/api.php says your in a sub directory called wiki, not w.

Next, it looks like you are trying to rewrite to a subdomain. API is reporting main page does exist but has never been accessed.

If it were me, I would can your htaccess file, just rename it. Then access the wiki with long urls before you start playing with rewrites. It is definitely installed but you htaccess is causing issues From what it looks like, you are trying to rewrite to a non-existent subdomain. Redirect to a subdomain where mediawiki is installed instead.

Tom
Sent from my iPhone

On Jan 31, 2012, at 3:35 PM, Phill Whiteside <PhillW [at] TheSII> wrote:

> Is there a link as to how to create said Main_Page?
>
> Yeah, you can tell I'm a n00b to this :)
>
> thanks,
>
> Phill.
>
> On 31 January 2012 18:53, Platonides <Platonides [at] gmail> wrote:
>
>> Phill Whiteside wrote:
>>> I've turned full logging on, both in the LocalPHPSettings file and
>>> generally on the pjp.ini file on the server.
>>>
>>> There are no errors reported. However /var/www/html/
>>> thesii.org/wiki/index.php/Main_Page does not exist? There is an
>> index.php
>>> file but no sign of Main_Page.
>>>
>>> Regards,
>>>
>>> Phill.
>>
>> That's expected. No problem there. index.php is run which gets Main_Page
>> as a parameter (PATH_INFO) and shows the page called like that. It just
>> looks nicer than index.php?title=Main_Page in urls.
>>
>>
>> _______________________________________________
>> MediaWiki-l mailing list
>> MediaWiki-l [at] lists
>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l [at] lists
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


PhillW at TheSII

Jan 31, 2012, 1:30 PM

Post #15 of 25 (1327 views)
Permalink
Re: Installation [In reply to]

Hi Tom,

yeah, http://wiki.thesii.org is a subdomain pointed to via the DNS and set
up in apache as to the where the root area is.

as per

<VirtualHost *:80>
> ServerAdmin phillw [at] phillw
> ServerName wiki.thesii.org
> ServerAlias www.wiki.thesii.org
> DocumentRoot /var/www/html/thesii.org/wiki
> ErrorLog /var/www/html/thesii.org/logs/wiki-error_log
> CustomLog /var/www/html/thesii.org/logs/wiki-access_log common
> </VirtualHost>



/var/www/html/thesii.org/wiki

holds the files....

api.php img_auth.php mw-config skins
> api.php5 img_auth.php5 opensearch_desc.php StartProfiler.sample
> bin includes opensearch_desc.php5 tests
> cache index.php profileinfo.php thumb.php
> COPYING index.php5 README thumb.php5
> CREDITS INSTALL redirect.php trackback.php
> docs languages redirect.php5 trackback.php5
> extensions load.php redirect.phtml UPGRADE
> FAQ load.php5 RELEASE-NOTES-1.18 wiki.phtml
> HISTORY LocalSettings.php resources
> images maintenance serialized


so, it seems that directory structure is correct.

I'm not sure how this is non standard, it is a normal way to set up
something? The subdomain deffinately exists!

As to what .htaccess would be complaining at, I'm at a loss. DNS has an
entry for wiki.thesii.org (else we would get the header site), apache tells
it where it is installed and the programme files are all in the correct
place?

regards,

Phill.

On 31 January 2012 21:07, Tom <tom [at] hutch4> wrote:

> It looks like you're trying some non standard configuration.
>
> First, wiki/api.php says your in a sub directory called wiki, not w.
>
> Next, it looks like you are trying to rewrite to a subdomain. API is
> reporting main page does exist but has never been accessed.
>
> If it were me, I would can your htaccess file, just rename it. Then access
> the wiki with long urls before you start playing with rewrites. It is
> definitely installed but you htaccess is causing issues From what it looks
> like, you are trying to rewrite to a non-existent subdomain. Redirect to a
> subdomain where mediawiki is installed instead.
>
> Tom
> Sent from my iPhone
>
> On Jan 31, 2012, at 3:35 PM, Phill Whiteside <PhillW [at] TheSII> wrote:
>
> > Is there a link as to how to create said Main_Page?
> >
> > Yeah, you can tell I'm a n00b to this :)
> >
> > thanks,
> >
> > Phill.
> >
> > On 31 January 2012 18:53, Platonides <Platonides [at] gmail> wrote:
> >
> >> Phill Whiteside wrote:
> >>> I've turned full logging on, both in the LocalPHPSettings file and
> >>> generally on the pjp.ini file on the server.
> >>>
> >>> There are no errors reported. However /var/www/html/
> >>> thesii.org/wiki/index.php/Main_Page does not exist? There is an
> >> index.php
> >>> file but no sign of Main_Page.
> >>>
> >>> Regards,
> >>>
> >>> Phill.
> >>
> >> That's expected. No problem there. index.php is run which gets Main_Page
> >> as a parameter (PATH_INFO) and shows the page called like that. It just
> >> looks nicer than index.php?title=Main_Page in urls.
> >>
> >>
> >> _______________________________________________
> >> MediaWiki-l mailing list
> >> MediaWiki-l [at] lists
> >> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
> >>
> > _______________________________________________
> > MediaWiki-l mailing list
> > MediaWiki-l [at] lists
> > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l [at] lists
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


jeremy at tuxmachine

Jan 31, 2012, 1:43 PM

Post #16 of 25 (1319 views)
Permalink
Re: Installation [In reply to]

Hi,

On Tue, Jan 31, 2012 at 15:35, Phill Whiteside <PhillW [at] thesii> wrote:
> Is there a link as to how to create said Main_Page?
>
> Yeah, you can tell I'm a n00b to this :)

On Tue, Jan 31, 2012 at 16:30, Phill Whiteside <PhillW [at] thesii> wrote:
> yeah, http://wiki.thesii.org is a subdomain pointed to via the DNS and set
> up in apache as to the where the root area is.
>
> as per
>
[...]
>
> /var/www/html/thesii.org/wiki
>
> holds the files....
>
[...]
>
> so, it seems that directory structure is correct.
>
> I'm not sure how this is non standard, it is a normal way to set up
> something?

It's fine as is but the standard way is the have mediawiki live in
subdir of the docroot like /w/ and then some other path (like /wiki/)
is where the pretty (aka short) URLs live.

> The subdomain deffinately exists!

Yes, it exists.

> As to what .htaccess would be complaining at, I'm at a loss. DNS has an
> entry for wiki.thesii.org (else we would get the header site), apache tells
> it where it is installed and the programme files are all in the correct
> place?

Something is redirecting / and /index.php and other paths to
/index.php/Main_Page. That doesn't happen out of the box and you
should figure out what it is and disable it. First get MediaWiki
working at all and then worry about Short URLs. See
https://www.mediawiki.org/wiki/Manual:Short_URL when you're ready for
it.

-Jeremy

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


tom at hutch4

Jan 31, 2012, 2:05 PM

Post #17 of 25 (1317 views)
Permalink
Re: Installation [In reply to]

It's fine as is but the standard way is the have mediawiki live in

subdir of the docroot like /w/ and then some other path (like /wiki/)

is where the pretty (aka short) URLs live.



Yes, heed Jeremy's advice, drop it in wiki/w/ which will allow for



wiki.thesii.org/w/index.php to work, then play with the rewrite. The manual is very specific
about not using the directory /w. It will work, but can be problematic with some functions.



The subdomain deffinately exists!



Yes, it exists.



Yes it does, wiki.thesii.org/api.php is valid, but..see below.



As to what .htaccess would be complaining at, I'm at a loss. DNS has an

entry for wiki.thesii.org (else we would get the header site), apache tells

it where it is installed and the programme files are all in the correct

place?



Something is redirecting / and /index.php and other paths to

/index.php/Main_Page. That doesn't happen out of the box and you

should figure out what it is and disable it. First get MediaWiki

working at all and then worry about Short URLs. See

<https://www.mediawiki.org/wiki/Manual:Short_URL>
https://www.mediawiki.org/wiki/Manual:Short_URL when you're ready for

it.



-Jeremy

AMEN!



A call to wiki.thesii.org is returning a 301 moved permanently redirect. Where are you
redirecting too?? This is why I said rename htaccess to turn it off and see if it will work
without trying to rewrite the URLs.





Tom

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


PhillW at TheSII

Feb 18, 2012, 2:23 PM

Post #18 of 25 (1256 views)
Permalink
Re: Installation [In reply to]

Hi,

in the end I did a reinstall.



I am still getting This web page is not available.

The web page at *http://www.thesii.org/wiki/w/index.php/Main_Page* might be
temporarily down or it may have moved permanently to a new web address.
Still confused!
(There is no active .htaccess file and
http://www.thesii.org/wiki/w/api.php works
fine)

Regards,

Phill.
On 31 January 2012 22:05, Tom Hutchison <tom [at] hutch4> wrote:

>
>
> It's fine as is but the standard way is the have mediawiki live in
>
> subdir of the docroot like /w/ and then some other path (like /wiki/)
>
> is where the pretty (aka short) URLs live.
>
>
>
> Yes, heed Jeremy's advice, drop it in wiki/w/ which will allow for
>
>
>
> wiki.thesii.org/w/index.php to work, then play with the rewrite. The
> manual is very specific
> about not using the directory /w. It will work, but can be problematic
> with some functions.
>
>
>
> The subdomain deffinately exists!
>
>
>
> Yes, it exists.
>
>
>
> Yes it does, wiki.thesii.org/api.php is valid, but..see below.
>
>
>
> As to what .htaccess would be complaining at, I'm at a loss. DNS has an
>
> entry for wiki.thesii.org (else we would get the header site), apache
> tells
>
> it where it is installed and the programme files are all in the correct
>
> place?
>
>
>
> Something is redirecting / and /index.php and other paths to
>
> /index.php/Main_Page. That doesn't happen out of the box and you
>
> should figure out what it is and disable it. First get MediaWiki
>
> working at all and then worry about Short URLs. See
>
> <https://www.mediawiki.org/wiki/Manual:Short_URL>
> https://www.mediawiki.org/wiki/Manual:Short_URL when you're ready for
>
> it.
>
>
>
> -Jeremy
>
> AMEN!
>
>
>
> A call to wiki.thesii.org is returning a 301 moved permanently redirect.
> Where are you
> redirecting too?? This is why I said rename htaccess to turn it off and
> see if it will work
> without trying to rewrite the URLs.
>
>
>
>
>
> Tom
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l [at] lists
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


Platonides at gmail

Feb 19, 2012, 10:19 AM

Post #19 of 25 (1257 views)
Permalink
Re: Installation [In reply to]

On 18/02/12 23:23, Phill Whiteside wrote:
> Hi,
>
> in the end I did a reinstall.
>
> I am still getting This web page is not available.
>
> The web page at *http://www.thesii.org/wiki/w/index.php/Main_Page* might be
> temporarily down or it may have moved permanently to a new web address.
> Still confused!
> (There is no active .htaccess file and
> http://www.thesii.org/wiki/w/api.php works
> fine)
>
> Regards,
>
> Phill.

It's closing the connection when you request
http://www.thesii.org/wiki/w/index.php/Main_Page

Maybe the apache worker is dying?
What do you see anything in the error log?


_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


PhillW at TheSII

Feb 19, 2012, 12:25 PM

Post #20 of 25 (1258 views)
Permalink
Re: Installation [In reply to]

Hi,

Yeah, I get the death of one of the httpd daemons:
[Sun Feb 19 21:25:37 2012] [notice] child pid 20454 exit signal
Segmentation fault (11)
Which was apache 20454 22424 0 20:25 ? 00:00:00 /usr/sbin/httpd

Each time anyone tries to access the index page. Nothing is noted in the
error_log or access_log that the wiki area uses itself, just that one under
/var/log/httpd/error_log

Regards,

Phill.


On 19 February 2012 18:19, Platonides <Platonides [at] gmail> wrote:

> On 18/02/12 23:23, Phill Whiteside wrote:
> > Hi,
> >
> > in the end I did a reinstall.
> >
> > I am still getting This web page is not available.
> >
> > The web page at *http://www.thesii.org/wiki/w/index.php/Main_Page*might be
> > temporarily down or it may have moved permanently to a new web address.
> > Still confused!
> > (There is no active .htaccess file and
> > http://www.thesii.org/wiki/w/api.php works
> > fine)
> >
> > Regards,
> >
> > Phill.
>
> It's closing the connection when you request
> http://www.thesii.org/wiki/w/index.php/Main_Page
>
> Maybe the apache worker is dying?
> What do you see anything in the error log?
>
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l [at] lists
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


Platonides at gmail

Feb 21, 2012, 2:56 PM

Post #21 of 25 (1248 views)
Permalink
Re: Installation [In reply to]

On 19/02/12 21:25, Phill Whiteside wrote:
> Hi,
>
> Yeah, I get the death of one of the httpd daemons:
> [Sun Feb 19 21:25:37 2012] [notice] child pid 20454 exit signal
> Segmentation fault (11)
> Which was apache 20454 22424 0 20:25 ? 00:00:00 /usr/sbin/httpd
>
> Each time anyone tries to access the index page. Nothing is noted in the
> error_log or access_log that the wiki area uses itself, just that one under
> /var/log/httpd/error_log
>
> Regards,
>
> Phill.

You should investigate that.
Do you have any odd php extension enabled?
Maybe those processes have very little stack space?


_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


PhillW at TheSII

Feb 21, 2012, 3:02 PM

Post #22 of 25 (1248 views)
Permalink
Re: Installation [In reply to]

It only affects mediawiki, the other areas on the server have no issues,
e.g. forum, task-management system.. as it is quad core machine with 16GB
of RAM I'd be somewhat amazed if it were sufferering. It flat lines at 0%
cpu usage and we have still to exceed 1GB of RAM used. I have installed
moinmoin onto the server, which is supposedly a heavier system and it runs
perfectly. So, I'm at a complete loss as to what is causing access to the
mediawiki index page to cause the seg-fault.

Regards,

Phill.

On 21 February 2012 22:56, Platonides <Platonides [at] gmail> wrote:

> On 19/02/12 21:25, Phill Whiteside wrote:
> > Hi,
> >
> > Yeah, I get the death of one of the httpd daemons:
> > [Sun Feb 19 21:25:37 2012] [notice] child pid 20454 exit signal
> > Segmentation fault (11)
> > Which was apache 20454 22424 0 20:25 ? 00:00:00 /usr/sbin/httpd
> >
> > Each time anyone tries to access the index page. Nothing is noted in the
> > error_log or access_log that the wiki area uses itself, just that one
> under
> > /var/log/httpd/error_log
> >
> > Regards,
> >
> > Phill.
>
> You should investigate that.
> Do you have any odd php extension enabled?
> Maybe those processes have very little stack space?
>
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l [at] lists
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


jeremy at tuxmachine

Feb 21, 2012, 3:06 PM

Post #23 of 25 (1251 views)
Permalink
Re: Installation [In reply to]

On Tue, Feb 21, 2012 at 18:02, Phill Whiteside <PhillW [at] thesii> wrote:
> It only affects mediawiki, the other areas on the server have no issues,
> e.g. forum, task-management system.. as it is quad core machine with 16GB
> of RAM I'd be somewhat amazed if it were sufferering. It flat lines at 0%
> cpu usage and we have still to exceed 1GB of RAM used. I have installed
> moinmoin onto the server, which is supposedly a heavier system and it runs
> perfectly. So, I'm at a complete loss as to what is causing access to the
> mediawiki index page to cause the seg-fault.

If all else fails then strace. But really, there should be some
relevant log messages. Maybe you're looking in the wrong place or
don't have enough logging enabled. See
https://www.mediawiki.org/wiki/Manual:How_to_debug

-Jeremy

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


PhillW at TheSII

Feb 21, 2012, 3:15 PM

Post #24 of 25 (1250 views)
Permalink
Re: Installation [In reply to]

Thanks, I'll have a look into Profile, but, the server is currently running
in development mode for php error reporting (which includes warnings turned
on, not just errors).

SEL is set to permissive, and there no errors flagged up in its log file.

apache is set to log both error and access logs to log files, which again -
it is doing perfectly for other systems on the server.

Regards,

Phill.



On 21 February 2012 23:06, Jeremy Baron <jeremy [at] tuxmachine> wrote:

> On Tue, Feb 21, 2012 at 18:02, Phill Whiteside <PhillW [at] thesii> wrote:
> > It only affects mediawiki, the other areas on the server have no issues,
> > e.g. forum, task-management system.. as it is quad core machine with 16GB
> > of RAM I'd be somewhat amazed if it were sufferering. It flat lines at 0%
> > cpu usage and we have still to exceed 1GB of RAM used. I have installed
> > moinmoin onto the server, which is supposedly a heavier system and it
> runs
> > perfectly. So, I'm at a complete loss as to what is causing access to the
> > mediawiki index page to cause the seg-fault.
>
> If all else fails then strace. But really, there should be some
> relevant log messages. Maybe you're looking in the wrong place or
> don't have enough logging enabled. See
> https://www.mediawiki.org/wiki/Manual:How_to_debug
>
> -Jeremy
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l [at] lists
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


Platonides at gmail

Feb 23, 2012, 1:18 PM

Post #25 of 25 (1247 views)
Permalink
Re: Installation [In reply to]

On 22/02/12 00:02, Phill Whiteside wrote:
> It only affects mediawiki, the other areas on the server have no issues,
> e.g. forum, task-management system.. as it is quad core machine with 16GB
> of RAM I'd be somewhat amazed if it were sufferering. It flat lines at 0%
> cpu usage and we have still to exceed 1GB of RAM used. I have installed
> moinmoin onto the server, which is supposedly a heavier system and it runs
> perfectly. So, I'm at a complete loss as to what is causing access to the
> mediawiki index page to cause the seg-fault.
>
> Regards,
>
> Phill.

Having a lot of available memory is different than having too few stack
space reserved.
Running through the webserver a php script of
<?php
passthru('ulimit -a');

may help determine the used stack size amount.


If you got a core of those processes, that could also help determining
what produced the segfault.


_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Wikipedia mediawiki RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.