My wiki has been working fine for several weeks (albeit with low activity), and now all of a sudden the login is hanging.
When I click on the login link the URL becomes: http://%5Bhostname%5D/wiki/index.php?title=Special:Userlogin&returnto=Ma... age http://[hostname]/wiki/index.php?title=Special:Userlogin&returnto=Main_ Page
The window goes blank, and nothing else happens.
I see nothing in the error logs. Access log shows the last entry to be: 152.85.46.130 - - [14/Aug/2007:09:49:33 -0400] "GET /wiki/index.php?title=Special:Userlogin&returnto=Main_Page HTTP/1.1" 200 3630
The 200 response code indicates everything's normal, and 3630 bytes were returned, but I don't see anything on my screen. When I do "view source" I see an empty Body section, and nothing else...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=windows-1252"></HEAD> <BODY></BODY></HTML>
Has anybody else seen this, or canyou give any hints on what to look at? I've tried turning on wgDebugLog but it's not showing anything either. My next option may be to reboot, but no guarantees that things will be cleaned up when I do that... The last reboot was Saturday (4 days ago). I've logged on several times since then, only in the past few hours has it started bombing out.
Help!
Thanks, Beth Russell
I restarted HTTP server and mySQL, etc. after updating php.ini to get more error messages. Now these messages appear in error_log when I attempt the login link:
[Tue Aug 14 12:19:59 2007] [error] [client 152.85.46.130] PHP Warning: Unknown: open(/tmp/sess_f0689cfc00bd5b072ffc21ff cdbe42e0, O_RDWR) failed: Permission denied (13) in Unknown on line 0, referer: http://wikid/wiki/index.php/Main_Page [Tue Aug 14 12:19:59 2007] [error] [client 152.85.46.130] PHP Warning: Unknown: Failed to write session data (files). P lease verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0, referer: http://wikid /wiki/index.php/Main_Page
At least I'm getting some error messages now.... But it seems to be saying that it doesn't have access to /tmp. There must be some other explanation.
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Russell, Elizabeth Sent: Tuesday, August 14, 2007 3:01 PM To: MediaWiki announcements and site admin list Subject: [Mediawiki-l] Need assist on Login hang!
My wiki has been working fine for several weeks (albeit with low activity), and now all of a sudden the login is hanging.
When I click on the login link the URL becomes: http://%5Bhostname%5D/wiki/index.php?title=Special:Userlogin&returnto=Ma... age http://[hostname]/wiki/index.php?title=Special:Userlogin&returnto=Main_ Page
The window goes blank, and nothing else happens.
I see nothing in the error logs. Access log shows the last entry to be: 152.85.46.130 - - [14/Aug/2007:09:49:33 -0400] "GET /wiki/index.php?title=Special:Userlogin&returnto=Main_Page HTTP/1.1" 200 3630
The 200 response code indicates everything's normal, and 3630 bytes were returned, but I don't see anything on my screen. When I do "view source" I see an empty Body section, and nothing else...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=windows-1252"></HEAD> <BODY></BODY></HTML>
Has anybody else seen this, or canyou give any hints on what to look at? I've tried turning on wgDebugLog but it's not showing anything either. My next option may be to reboot, but no guarantees that things will be cleaned up when I do that... The last reboot was Saturday (4 days ago). I've logged on several times since then, only in the past few hours has it started bombing out.
Help!
Thanks, Beth Russell _______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Russell, Elizabeth wrote:
I restarted HTTP server and mySQL, etc. after updating php.ini to get more error messages. Now these messages appear in error_log when I attempt the login link:
[Tue Aug 14 12:19:59 2007] [error] [client 152.85.46.130] PHP Warning: Unknown: open(/tmp/sess_f0689cfc00bd5b072ffc21ff cdbe42e0, O_RDWR) failed: Permission denied (13) in Unknown on line 0, referer: http://wikid/wiki/index.php/Main_Page [Tue Aug 14 12:19:59 2007] [error] [client 152.85.46.130] PHP Warning: Unknown: Failed to write session data (files). P lease verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0, referer: http://wikid /wiki/index.php/Main_Page
At least I'm getting some error messages now.... But it seems to be saying that it doesn't have access to /tmp. There must be some other explanation.
If it says it doesn't have access to /tmp it probably doesn't. Check the permissions. Without write access, it can't set the session.
Thank you platonides. But I do feel like a total dope. /tmp was set as follows: "drwxrwxr-x 11 root sys 4096 Aug 14 12:12 tmp"
I immediately checked the .bash_history files for the only two logged-on users (myself and the one other user both have access to root), but have no idea how the tmp permissions got reset. Possibly something was running as sys(?) and temporarily changed permissions on tmp then died????? I've fixed /tmp, and now sessions are working again.
In the meantime, I got good practice in turning on debug for all components of wiki. Now I'll practice turning off all the debug options.
Thanks again, Beth Russell
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Platonides Sent: Tuesday, August 14, 2007 5:36 PM To: mediawiki-l@lists.wikimedia.org Subject: Re: [Mediawiki-l] Need assist on Login hang!
Russell, Elizabeth wrote:
I restarted HTTP server and mySQL, etc. after updating php.ini to get more error messages. Now these messages appear in error_log when I attempt the login link:
[Tue Aug 14 12:19:59 2007] [error] [client 152.85.46.130] PHP Warning: Unknown: open(/tmp/sess_f0689cfc00bd5b072ffc21ff cdbe42e0, O_RDWR) failed: Permission denied (13) in Unknown on line 0, referer: http://wikid/wiki/index.php/Main_Page [Tue Aug 14 12:19:59 2007] [error] [client 152.85.46.130] PHP Warning: Unknown: Failed to write session data (files). P lease verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0, referer: http://wikid /wiki/index.php/Main_Page
At least I'm getting some error messages now.... But it seems to be saying that it doesn't have access to /tmp. There must be some other explanation.
If it says it doesn't have access to /tmp it probably doesn't. Check the
permissions. Without write access, it can't set the session.
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org