暫くサイトを放置していたのですが、
久しぶりに表示したらHTTP 500 内部サーバー エラーが表示されます
特に何も弄ってないはずなのですが、何か原因があるのでしょうか。
このフォーラムに新しいトピックを立てることはできません
俺的ポータルサイトを作ろう! |
運用サーバについて
参照元情報
参照なし
|
このフォーラムではゲスト投稿が禁止されています このフォーラムに新しいトピックを立てることはできません ActionHTTP 500 内部サーバー エラー
投稿日時
2011/8/28 13:24
msg# 1
暫くサイトを放置していたのですが、
久しぶりに表示したらHTTP 500 内部サーバー エラーが表示されます 特に何も弄ってないはずなのですが、何か原因があるのでしょうか。 Re: HTTP 500 内部サーバー エラー
投稿日時
2011/8/28 15:24
msg# 1.1
http://myht.org/modules/news/article.php?storyid=102 こちらにもかかれていますが、 PHP のバージョンが更新されました。 MediaWiki 1.17.0 より、PHP 5.1 がサポートされなくなったためです。おそらくExtension 側に問題があると思われますので、 Extension 全てをコメントアウトなさるか、アップデートした上、MediaWikiパッケージを更新し、データベースのアップデート'(/xxupdate.php)してみてください。
Re: HTTP 500 内部サーバー エラー
投稿日時
2011/11/11 20:55
msg# 1.2
私もhttp://ezowiki.myht.org/index.php/
で異常が起こります。どういうことでしょうか。 Re: HTTP 500 内部サーバー エラー
投稿日時
2011/11/11 23:15
msg# 1.3
LocalSettings.php 、もしくは他のファイルに変更を加えられましたか?
普通にサイトの作成を行った場合であれば、正常に作動するはずです(投稿時点では正常であることを確認)。 もし、コンテンツが無い状態でしたら、サイトの削除を一度実施のうえ、再度セットアップされるのもひとつの手かもしれません。 Re: HTTP 500 内部サーバー エラー
投稿日時
2011/11/12 17:44
msg# 1.2.1
Localsettings.phpの内容です。
間違っているところがあったら指摘してください。 ($wgSecretKeyは偽のキーです) ------------------------------------------------------------------------------- <?php # This file was automatically generated by the MediaWiki installer. # If you make manual changes, please keep track in case you need to # recreate them later. # # See includes/DefaultSettings.php for all configurable settings # and their default values, but don't forget to make changes in _this_ # file, not there. # # Further documentation for configuration settings may be found at: # http://www.mediawiki.org/wiki/Manual:Configuration_settings # If you customize your file layout, set $IP to the directory that contains # the other MediaWiki files. It will be used as a base to locate files. if( defined( 'MW_INSTALL_PATH' ) ) { $IP = MW_INSTALL_PATH; } else { $IP = dirname( __FILE__ ); } $path = array( $IP, "$IP/includes", "$IP/languages" ); set_include_path( implode( PATH_SEPARATOR, $path ) . PATH_SEPARATOR . get_include_path() ); require_once( "$IP/includes/DefaultSettings.php" ); # If PHP's memory limit is very low, some operations may fail. # ini_set( 'memory_limit', '20M' ); if ( $wgCommandLineMode ) { if ( isset( $_SERVER ) && array_key_exists( 'REQUEST_METHOD', $_SERVER ) ) { die( "This script must be run from the command line\n" ); } } ## Uncomment this to disable output compression # $wgDisableOutputCompression = true; $wgSitename = "蝦夷Wiki"; ## The URL base path to the directory containing the wiki; ## defaults for all runtime URL paths are based off of this. ## For more information on customizing the URLs please see: ## http://www.mediawiki.org/wiki/Manual:Short_URL $wgScriptPath = ""; $wgScriptExtension = ".php"; ## UPO means: this is also a user preference option $wgEnableEmail = true; $wgEnableUserEmail = true; # UPO $wgEmergencyContact = "uncyc@excite.co.jp"; $wgPasswordSender = "uncyc@excite.co.jp"; $wgEnotifUserTalk = true; # UPO $wgEnotifWatchlist = false; # UPO $wgEmailAuthentication = true; ## Database settings $wgDBtype = "mysql"; $wgDBserver = "localhost"; $wgDBname = "*********"; $wgDBuser = "*********"; $wgDBpassword = "*********"; # MySQL specific settings $wgDBprefix = ""; # MySQL table options to use during installation or update $wgDBTableOptions = "ENGINE=InnoDB, DEFAULT CHARSET=binary"; # Experimental charset support for MySQL 4.1/5.0. $wgDBmysql5 = true; ## Shared memory settings $wgMainCacheType = CACHE_NONE; $wgMemCachedServers = array(); ## To enable image uploads, make sure the 'images' directory ## is writable, then set this to true: $wgEnableUploads = false; # $wgUseImageMagick = true; # $wgImageMagickConvertCommand = "/usr/bin/convert"; ## If you use ImageMagick (or any other shell command) on a ## Linux server, this will need to be set to the name of an ## available UTF-8 locale # $wgShellLocale = "en_US.UTF-8"; ## If you want to use image uploads under safe mode, ## create the directories images/archive, images/thumb and ## images/temp, and make them all writable. Then uncomment ## this, if it's not already uncommented: $wgHashedUploadDirectory = true; $wgUploadDirectory = "{$IP}/rumoi" ## If you have the appropriate support software installed ## you can enable inline LaTeX equations: $wgUseTeX = false; $wgLocalInterwiki = strtolower( $wgSitename ); $wgLanguageCode = "ja"; $wgSecretKey = "s,llkfmpodm;fnfl/;ftdgm;"; ## Default skin: you can change the default skin. Use the internal symbolic ## names, ie 'standard', 'nostalgia', 'cologneblue', 'monobook': $wgDefaultSkin = 'monobook'; ## For attaching licensing metadata to pages, and displaying an ## appropriate copyright notice / icon. GNU Free Documentation ## License and Creative Commons licenses are supported so far. # $wgEnableCreativeCommonsRdf = true; $wgRightsPage = ""; # Set to the title of a wiki page that describes your license/copyright $wgRightsUrl = ""; $wgRightsText = ""; $wgRightsIcon = ""; # $wgRightsCode = ""; # Not yet used $wgDiff3 = "/usr/bin/diff3"; # When you make changes to this configuration file, this will make # sure that cached pages are cleared. $wgCacheEpoch = max( $wgCacheEpoch, gmdate( 'YmdHis', @filemtime( __FILE__ ) ) ); // 独自設定 $IP = "http://ezowiki.myht.org"; $wgExtraNamespaces = array(100 => "Forum", 101 => "Forum_talk"); $wgExtraNamespaces = array(102 => "道南", 103 => "道南・トーク"); $wgContentNamespaces[] = 100; $wgContentNamespaces[] = 101; $wgContentNamespaces[] = 102; $wgContentNamespaces[] = 103; $wgAutoConfirmAge = 3600*240; // 10日 $wgBlockAllowsUTEdit = true; // BlockかいわPOK $wgAutoblockExpiry = 3600*12; // Blockあうて // Noインタフェス // require_once( "{$IP}/extensions/Renameuser/SpecialRenameuser.php" ); // エラーの為コメントアウト // うp $wgEnableUploads = true; $wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg', 'bmp', 'txt' ); // 権限 // $wgGroupPermissions['bureaucrat']['renameuser'] = true; // エラーの為コメントアウト $wgGroupPermissions['*' ]['createpage'] = false; $wgGroupPermissions['sysop']['bigdelete'] = true; $wgGroupPermissions['sysop']['hideuser'] = true; ------------------------------------------------------------------------------- --
--THIS IS EZO! Re: HTTP 500 内部サーバー エラー
投稿日時
2011/11/12 18:00
msg# 1.4
1. [危険]データベースのパスワードが記載されてしまっています。。本当に隠すべき場所が隠されておらず、隠さなくてもさほど大きな問題のないところが隠されているようです。。安全面から、後でデータベースパスワードを変更するか、サイトの再作成をお勧めします。。
2. $IP 変数におかしな値を与えるべきではありません。 3. ファイルのエンコードは UTF-8 を指定されていますか? 4. 他にも違和感があるところがありますが、、まあ上記の点を再度ご確認ください。 新たな問題
投稿日時
2011/11/21 18:26
msg# 1.5
Re: 新たな問題
投稿日時
2011/11/21 19:14
msg# 1.5.1
私も同様の問題を抱えています。
昨日まで普通にログインページが開けたのにもかかわらず、設定ファイルを全く変更していない状態でも、突如としてログインページがエラーを吐くようになります。 私だけの問題かと思っていましたが、そうではないようです。 こればかりはエラーログが見れない以上、何が原因なのかすら、検討もつきません。 Re: HTTP 500 内部サーバー エラー
投稿日時
2011/11/22 10:51
msg# 1.6
ご迷惑をおかけして申し訳ありません。
最近、サーバの負荷が恒常的に高くなっていた対策として、php-apc (PHPキャッシュシステム) を使う設定を行ったのですが、その副作用で障害が発生してしまったようです。 負荷対策は他の方法で行い、php-apc を外しました。 ご利用サイトをご確認ください。 Re: HTTP 500 内部サーバー エラー
投稿日時
2011/11/23 0:46
msg# 1.6.1
今のところは問題ないようです。
ご対応いただき、ありがとうございます |
© 2008 MySite Web Service |