Hi,
a little bit convoluted, I installed memcached onto our server, and yes, it was already linked to local host only.
[root@ks389199 ~]# ps -ef | grep mem nobody 1558 1 0 01:07 ? 00:00:00 memcached -m 64 -l 127.0.0.1 -p 11211 -d -u nobody
Which ties in with what wiki needs when told me. I then added the section into LocalSettings.php the lines $wgMainCacheType = CACHE_MEMCACHED; $wgParserCacheType = CACHE_MEMCACHED; # optional $wgMessageCacheType = CACHE_MEMCACHED; # optional $wgMemCachedServers = array( "127.0.0.1:11211" );
$wgSessionsInMemcached = true; # optional
Of this I have no issues, as everything is tied to local host.
But, as Apollo 13 stated... Hueston, we have a problem.
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?
Regards,
Phill.
On Mon, Jan 30, 2012 at 19:56, Phill Whiteside PhillW@thesii.org 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
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@tuxmachine.com wrote:
On Mon, Jan 30, 2012 at 19:56, Phill Whiteside PhillW@thesii.org 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
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.
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@gmail.com 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@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
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@TheSII.org 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@gmail.com 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@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
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@phillw.net 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@hutch4.us 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@TheSII.org 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@gmail.com 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@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Hi,
On Tue, Jan 31, 2012 at 15:35, Phill Whiteside PhillW@thesii.org 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@thesii.org 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
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
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@hutch4.us 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@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
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?
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@gmail.com 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@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
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?
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@gmail.com 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@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
On Tue, Feb 21, 2012 at 18:02, Phill Whiteside PhillW@thesii.org 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
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@tuxmachine.com wrote:
On Tue, Feb 21, 2012 at 18:02, Phill Whiteside PhillW@thesii.org 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@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
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@lists.wikimedia.org