SELINUX=disabled # SELINUXTYPE= type of policy in use. Possible values are: # targeted - Only targeted network daemons are protected. # strict - Full SELinux protection. SELINUXTYPE=targeted
On Sat, Jan 4, 2014 at 7:02 AM, <mediawiki-l-requ...@lists.wikimedia.org> wrote: > Send MediaWiki-l mailing list submissions to > mediawiki-l@lists.wikimedia.org > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l > or, via email, send a message with subject or body 'help' to > mediawiki-l-requ...@lists.wikimedia.org > > You can reach the person managing the list at > mediawiki-l-ow...@lists.wikimedia.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of MediaWiki-l digest..." > > > Today's Topics: > > 1. Upgrade from 1.21.3 to 1.22.0 produces "Uncommitted DB > writes" (Daniel Barrett) > 2. Re: Upgrade from 1.21.3 to 1.22.0 produces "Uncommitted DB > writes" (Bartosz Dziewoński) > 3. Re: switch($X){case 'Y':trigger_error("can you believe \$X is > NOT Y but Z"); } (Daniel Friesen) > 4. Re: Upgrade from 1.21.3 to 1.22.0 produces "Uncommitted DB > writes" (Daniel Barrett) > 5. Failed: run MySQL on a different port (Mucke, Tobias, FCIT-F2) > 6. Re: LocalSettings.php not found (Henry Hartley) > 7. Re: Failed: run MySQL on a different port (Mucke, Tobias, FCIT-F2) > 8. Re: Failed: run MySQL on a different port (Mucke, Tobias, FCIT-F2) > 9. Re: Failed: run MySQL on a different port (Bill Traynor) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Fri, 3 Jan 2014 16:19:53 +0000 > From: Daniel Barrett <d...@vistaprint.com> > To: MediaWiki announcements and site admin list > <mediawiki-l@lists.wikimedia.org> > Subject: [MediaWiki-l] Upgrade from 1.21.3 to 1.22.0 produces > "Uncommitted DB writes" > Message-ID: > <42b8a5c18cdc9a4aadb9a7ba7488c7dd35958...@wndmail02.vistaprint.net> > Content-Type: text/plain; charset=WINDOWS-1252 > > I tried upgrading from 1.21.3 to 1.22.0 last night. It worked on one server > (PHP 5.5.3 and mySQL 5.5.34) > but not on the second one (PHP 5.3.27 and mySQL 5.1.68) with exactly the same > codebase. > There were no errors in the Apache error_log, but I'll describe the symptoms > and maybe someone might > have a theory what to try next...? > > On server #1, I deployed 1.22.0 and copied my /images and LocalSettings.php > files from 1.21.3, > then ran update.php. Everything worked. I copied the same files to server #2, > ran update.php, > and saw no errors. > > Then I hit the main page (whatever.com/wiki/Home) as an anonymous user. > When the home page rendered, it had this error message printed at the bottom: > > Notice: Uncommitted DB writes (transaction from DatabaseBase::query > (WikiPage::pageData)). > in ...../w/includes/db/Database.php on line 3944 > > I clicked "Log In", and the home page just sat there. Running a "ps uax" I > saw these processes: > > me 16283 0.5 1.0 160180 43948 ? S 23:45 0:00 /usr/bin/php > /home/me/public_html/w/index.php > me 16286 0.0 0.0 0 0 ? Z 23:45 0:00 [bash] <defunct> > me 16287 0.0 0.4 134764 17532 ? S 23:45 0:00 /usr/bin/php > /home/me/public_html/w/maintenance/runJobs.php --maxjobs 1 > me 16295 0.4 1.0 160036 43856 ? S 23:45 0:00 /usr/bin/php > /home/me/public_html/w/index.php > me 16296 0.0 0.0 0 0 ? Z 23:45 0:00 [bash] <defunct> > me 16297 0.1 0.4 134764 17544 ? S 23:45 0:00 /usr/bin/php > /home/me/public_html/w/maintenance/runJobs.php --maxjobs 1 > me 16847 0.1 0.4 87388 17468 ? S 23:46 0:00 /usr/bin/php > /home/me/public_html/w/index.php > me 16856 0.1 0.4 87388 17480 ? S 23:46 0:00 /usr/bin/php > /home/me/public_html/w/index.php > me 16878 0.1 0.4 87388 17468 ? S 23:46 0:00 /usr/bin/php > /home/me/public_html/w/index.php > > I checked the job queue with maintenance/showJobs.php, and there were 0 jobs. > > The processes were not exiting (my browser was still spinning), so I killed > them by hand. > > Then I tried it again: restored the database back to 1.21.3, reinstalled the > 1.22.0 update a second time, > and reran update.php. The same problems occurred. > > That is all I know at the present time. > Any tips appreciated. > > DanB > > > > > ------------------------------ > > Message: 2 > Date: Fri, 03 Jan 2014 17:30:20 +0100 > From: Bartosz Dziewoński <matma....@gmail.com> > To: "MediaWiki announcements and site admin list" > <mediawiki-l@lists.wikimedia.org> > Subject: Re: [MediaWiki-l] Upgrade from 1.21.3 to 1.22.0 produces > "Uncommitted DB writes" > Message-ID: <op.w84dgu1fvrd...@thinkpad.home> > Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes > > https://bugzilla.wikimedia.org/show_bug.cgi?id=47375 > https://bugzilla.wikimedia.org/show_bug.cgi?id=56269 > > -- > Matma Rex > > > > ------------------------------ > > Message: 3 > Date: Fri, 03 Jan 2014 09:05:05 -0800 > From: Daniel Friesen <dan...@nadir-seen-fire.com> > To: MediaWiki announcements and site admin list > <mediawiki-l@lists.wikimedia.org> > Subject: Re: [MediaWiki-l] switch($X){case 'Y':trigger_error("can you > believe \$X is NOT Y but Z"); } > Message-ID: <52c6edc1.6070...@nadir-seen-fire.com> > Content-Type: text/plain; charset=UTF-8 > > On 2014-01-03 2:37 AM, jida...@jidanni.org wrote: >> Or is this some weird php/apache echoing? > You can test whether it is or isn't by adding an mt_rand() call to your > log test. > > ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://danielfriesen.name/] > > > > > ------------------------------ > > Message: 4 > Date: Fri, 3 Jan 2014 17:47:45 +0000 > From: Daniel Barrett <d...@vistaprint.com> > To: MediaWiki announcements and site admin list > <mediawiki-l@lists.wikimedia.org> > Subject: Re: [MediaWiki-l] Upgrade from 1.21.3 to 1.22.0 produces > "Uncommitted DB writes" > Message-ID: > <42b8a5c18cdc9a4aadb9a7ba7488c7dd35958...@wndmail02.vistaprint.net> > Content-Type: text/plain; charset=UTF-8 > > Bartosz Dziewonski writes: >>https://bugzilla.wikimedia.org/show_bug.cgi?id=47375 >>https://bugzilla.wikimedia.org/show_bug.cgi?id=56269 > > Thanks, I saw those bug reports too. > However, none of those reports says anything about the wiki being > unresponsive, > just that the errors are emitted. > In my case, I also can't log in: the browser just spins, and no errors are > produced in the httpd error log. > > Perhaps this error message is only a symptom of some larger issue? > > DanB > > ------------------------------ > > Message: 5 > Date: Fri, 3 Jan 2014 17:48:54 +0000 > From: "Mucke, Tobias, FCIT-F2" <tobias.mu...@mbda-systems.de> > To: "'mediawiki-l@lists.wikimedia.org'" > <mediawiki-l@lists.wikimedia.org> > Subject: [MediaWiki-l] Failed: run MySQL on a different port > Message-ID: > <52e0c45b92090b4da3e6967379c83a452bcc3...@wcom50201.star.galaxy.io> > Content-Type: text/plain; charset="us-ascii" > > Hi everybody, > > sorry I'm a little bit frustrated after the todays' evening. I tried to > install Mediawiki 1.22.0. I succeeded with the installation for many other > version before. But this time I failed. Here is how it went: the installer > did not accept that I run my MySQL database on a different port. I'm quite > sure that former versions of Mediawiki did. First of all I thought that the > problem are missing privileges in the MySQL database but I could connect fine > with mysql command line utility. For the installation my workaround was to > use the default port. It just went fine as expected. After the installation I > tried again to change the port number but with no success. > > Any ideas? Does anybody else experience this issue too? What else could I try > out? > > Any help greatly appreciated. > > Thank you. > > Best regards, > > Tobias > > > > > ------------------------------ > > Message: 6 > Date: Fri, 03 Jan 2014 17:32:28 -0500 > From: Henry Hartley <he...@dotrose.com> > To: MediaWiki announcements and site admin list > <mediawiki-l@lists.wikimedia.org> > Subject: Re: [MediaWiki-l] LocalSettings.php not found > Message-ID: <52c73a7c.6050...@dotrose.com> > Content-Type: text/plain; charset=UTF-8; format=flowed > > What are the permissions and ownership of LocalSettings.php? Run "ls -l" > and see what it shows. > > Do you know if SELinux is turned on and enforcing? That can make files > appear to be missing to Apache. Try running "sestatus" or "cat > /etc/sysconfig/selinux" and see what they tell you. If it is, then use > "ls -Z" on your wiki directory and see if the security context for > LocalSettings.php is different to all the other files. > > -- Henry > > On 1/2/2014 11:41 PM, Li Li wrote: >> hi all >> I am installing mediawiki in centos. But after downloading >> LocalSettings.php to the directory containing index.php, it still >> complains this file is not found. >> here is content of the root directory by ls: >> api.php extensions index.php maintenance >> RELEASE-NOTES-1.22 thumb_handler.php5 >> api.php5 FAQ index.php5 mw-config >> resources thumb.php >> cache HISTORY INSTALL >> opensearch_desc.php serialized thumb.php5 >> composer-example.json images languages >> opensearch_desc.php5 skins UPGRADE >> COPYING img_auth.php load.php >> profileinfo.php StartProfiler.sample wiki.phtml >> CREDITS img_auth.php5 load.php5 README >> tests >> docs includes LocalSettings.php >> README.mediawiki thumb_handler.php >> >> I have googled this page >> http://www.mediawiki.org/wiki/Thread:Project:Support_desk/LocalSettings.php_not_found. >> But I can't find a solution in it. >> >> _______________________________________________ >> MediaWiki-l mailing list >> MediaWiki-l@lists.wikimedia.org >> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l >> > > > > > ------------------------------ > > Message: 7 > Date: Fri, 3 Jan 2014 22:55:14 +0000 > From: "Mucke, Tobias, FCIT-F2" <tobias.mu...@mbda-systems.de> > To: "'mediawiki-l@lists.wikimedia.org'" > <mediawiki-l@lists.wikimedia.org> > Subject: Re: [MediaWiki-l] Failed: run MySQL on a different port > Message-ID: > <52e0c45b92090b4da3e6967379c83a452bcc3...@wcom50201.star.galaxy.io> > Content-Type: text/plain; charset="iso-8859-1" > > Hi everybody, > > I was able to reproduce the issue on another linux system at home. The > installation of Mediawiki 1.22.0 fails / can not connect to db as soon as you > provide a port number e. g. localhost:3306. > > Unfortunately I'm still not able to locate the root cause. > > I'll try Mediawiki 1.21.3. > > I'll report soon. > > Regards, > > Tobias > > > > Tobias Mucke > MBDA Deutschland GmbH > Head of Back Office > Hagenauer Forst 27, 86529 Schrobenhausen, Germany > Phone: +49 8252 99 8438 > Fax: +49 89 3179 8927 > Mobile: +49 170 635 3830 > E-Mail: tobias.mu...@mbda-systems.de > > http://www.mbda-systems.com > > Chairman of the Supervisory Board: Antoine Bouvier > Managing Director: Thomas Homberg > Registered Office: Schrobenhausen > Commercial Register: Amtsgericht Ingolstadt, HRB 4365 > > ----- Originalnachricht ----- > Von: Mucke, Tobias, FCIT-F2 > Gesendet: Friday, January 03, 2014 06:48 PM > An: 'mediawiki-l@lists.wikimedia.org' <mediawiki-l@lists.wikimedia.org> > Betreff: Failed: run MySQL on a different port > > Hi everybody, > > sorry I'm a little bit frustrated after the todays' evening. I tried to > install Mediawiki 1.22.0. I succeeded with the installation for many other > version before. But this time I failed. Here is how it went: the installer > did not accept that I run my MySQL database on a different port. I'm quite > sure that former versions of Mediawiki did. First of all I thought that the > problem are missing privileges in the MySQL database but I could connect fine > with mysql command line utility. For the installation my workaround was to > use the default port. It just went fine as expected. After the installation I > tried again to change the port number but with no success. > > Any ideas? Does anybody else experience this issue too? What else could I try > out? > > Any help greatly appreciated. > > Thank you. > > Best regards, > > Tobias > > > > > ------------------------------ > > Message: 8 > Date: Fri, 3 Jan 2014 23:00:28 +0000 > From: "Mucke, Tobias, FCIT-F2" <tobias.mu...@mbda-systems.de> > To: "'mediawiki-l@lists.wikimedia.org'" > <mediawiki-l@lists.wikimedia.org> > Subject: Re: [MediaWiki-l] Failed: run MySQL on a different port > Message-ID: > <52e0c45b92090b4da3e6967379c83a452bcc3...@wcom50201.star.galaxy.io> > Content-Type: text/plain; charset="iso-8859-1" > > Hi, > > With Mediawiki 1.21.3 specifying a port number is possible. Looks like > something changed in the way the connection to the database is made. > > I'll try to find a fix but I'm not a PHP developer. Any help appreciated. > > Thank you. > > Tobias > > > > Tobias Mucke > MBDA Deutschland GmbH > Head of Back Office > Hagenauer Forst 27, 86529 Schrobenhausen, Germany > Phone: +49 8252 99 8438 > Fax: +49 89 3179 8927 > Mobile: +49 170 635 3830 > E-Mail: tobias.mu...@mbda-systems.de > > http://www.mbda-systems.com > > Chairman of the Supervisory Board: Antoine Bouvier > Managing Director: Thomas Homberg > Registered Office: Schrobenhausen > Commercial Register: Amtsgericht Ingolstadt, HRB 4365 > > ----- Originalnachricht ----- > Von: Mucke, Tobias, FCIT-F2 > Gesendet: Friday, January 03, 2014 11:55 PM > An: 'mediawiki-l@lists.wikimedia.org' <mediawiki-l@lists.wikimedia.org> > Betreff: AW: Failed: run MySQL on a different port > > Hi everybody, > > I was able to reproduce the issue on another linux system at home. The > installation of Mediawiki 1.22.0 fails / can not connect to db as soon as you > provide a port number e. g. localhost:3306. > > Unfortunately I'm still not able to locate the root cause. > > I'll try Mediawiki 1.21.3. > > I'll report soon. > > Regards, > > Tobias > > > > Tobias Mucke > MBDA Deutschland GmbH > Head of Back Office > Hagenauer Forst 27, 86529 Schrobenhausen, Germany > Phone: +49 8252 99 8438 > Fax: +49 89 3179 8927 > Mobile: +49 170 635 3830 > E-Mail: tobias.mu...@mbda-systems.de > > http://www.mbda-systems.com > > Chairman of the Supervisory Board: Antoine Bouvier > Managing Director: Thomas Homberg > Registered Office: Schrobenhausen > Commercial Register: Amtsgericht Ingolstadt, HRB 4365 > > ----- Originalnachricht ----- > Von: Mucke, Tobias, FCIT-F2 > Gesendet: Friday, January 03, 2014 06:48 PM > An: 'mediawiki-l@lists.wikimedia.org' <mediawiki-l@lists.wikimedia.org> > Betreff: Failed: run MySQL on a different port > > Hi everybody, > > sorry I'm a little bit frustrated after the todays' evening. I tried to > install Mediawiki 1.22.0. I succeeded with the installation for many other > version before. But this time I failed. Here is how it went: the installer > did not accept that I run my MySQL database on a different port. I'm quite > sure that former versions of Mediawiki did. First of all I thought that the > problem are missing privileges in the MySQL database but I could connect fine > with mysql command line utility. For the installation my workaround was to > use the default port. It just went fine as expected. After the installation I > tried again to change the port number but with no success. > > Any ideas? Does anybody else experience this issue too? What else could I try > out? > > Any help greatly appreciated. > > Thank you. > > Best regards, > > Tobias > > > > > ------------------------------ > > Message: 9 > Date: Fri, 3 Jan 2014 18:01:46 -0500 > From: Bill Traynor <btray...@gmail.com> > To: MediaWiki announcements and site admin list > <mediawiki-l@lists.wikimedia.org> > Subject: Re: [MediaWiki-l] Failed: run MySQL on a different port > Message-ID: > <CAN20qYqqK-4PYwYcf2jy9=Pm16m+YDsSJr=shNziBz9Yh=b...@mail.gmail.com> > Content-Type: text/plain; charset=ISO-8859-1 > > On Fri, Jan 3, 2014 at 5:55 PM, Mucke, Tobias, FCIT-F2 > <tobias.mu...@mbda-systems.de> wrote: >> Hi everybody, >> >> I was able to reproduce the issue on another linux system at home. The >> installation of Mediawiki 1.22.0 fails / can not connect to db as soon as >> you provide a port number e. g. localhost:3306. > > Try 127.0.0.1:3306 instead of localhost > > >> >> Unfortunately I'm still not able to locate the root cause. >> >> I'll try Mediawiki 1.21.3. >> >> I'll report soon. >> >> Regards, >> >> Tobias >> >> >> >> Tobias Mucke >> MBDA Deutschland GmbH >> Head of Back Office >> Hagenauer Forst 27, 86529 Schrobenhausen, Germany >> Phone: +49 8252 99 8438 >> Fax: +49 89 3179 8927 >> Mobile: +49 170 635 3830 >> E-Mail: tobias.mu...@mbda-systems.de >> >> http://www.mbda-systems.com >> >> Chairman of the Supervisory Board: Antoine Bouvier >> Managing Director: Thomas Homberg >> Registered Office: Schrobenhausen >> Commercial Register: Amtsgericht Ingolstadt, HRB 4365 >> >> ----- Originalnachricht ----- >> Von: Mucke, Tobias, FCIT-F2 >> Gesendet: Friday, January 03, 2014 06:48 PM >> An: 'mediawiki-l@lists.wikimedia.org' <mediawiki-l@lists.wikimedia.org> >> Betreff: Failed: run MySQL on a different port >> >> Hi everybody, >> >> sorry I'm a little bit frustrated after the todays' evening. I tried to >> install Mediawiki 1.22.0. I succeeded with the installation for many other >> version before. But this time I failed. Here is how it went: the installer >> did not accept that I run my MySQL database on a different port. I'm quite >> sure that former versions of Mediawiki did. First of all I thought that the >> problem are missing privileges in the MySQL database but I could connect >> fine with mysql command line utility. For the installation my workaround was >> to use the default port. It just went fine as expected. After the >> installation I tried again to change the port number but with no success. >> >> Any ideas? Does anybody else experience this issue too? What else could I >> try out? >> >> Any help greatly appreciated. >> >> Thank you. >> >> Best regards, >> >> Tobias >> >> >> _______________________________________________ >> 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 > > > End of MediaWiki-l Digest, Vol 124, Issue 3 > ******************************************* _______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l