檢視 20201109查看mediawiki的LOG來debug 的原始碼
←
20201109查看mediawiki的LOG來debug
跳至導覽
跳至搜尋
由於下列原因,您沒有權限進行編輯此頁面的動作:
您請求的操作只有這個群組的使用者能使用:
使用者
您可以檢視並複製此頁面的原始碼。
*REF1:https://www.mediawiki.org/wiki/Manual:How_to_debug ==圖檔上傳失敗訊息== *https://www.mediawiki.org/wiki/Manual:Configuring_file_uploads <pre> 無法開啟 "mwstore://local-backend/local-public/e/e1/嘸蝦米字根表.gif" 的鎖定檔案。請確保您的上傳目錄配置正確,且您的網頁伺服器具有寫入該目錄的權限。參見https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:$wgUploadDirectory 獲取更多信息。 # ls /var/log -t messages sssd spooler-20201108 messages-20201025 secure-20201018 maillog-20201018 secure spooler messages-20201101 dnf.librepo.log-20201025 boot.log spooler-20201018 lastlog maillog btmp hawkey.log-20201025 boot.log-20201014 private wtmp php-fpm dnf.librepo.log-20201101 secure-20201025 sangfor_watchdog.log tallylog dnf.log messages-20201108 hawkey.log-20201101 maillog-20201025 sangfor_vm_proxyd.log README dnf.librepo.log httpd dnf.log.1 spooler-20201025 sfping.log samba hawkey.log dnf.librepo.log-20201108 secure-20201101 mariadb firewalld chrony dnf.rpm.log hawkey.log-20201108 btmp-20201101 messages-20201018 audit sangfor_module_update.log secure-20201108 maillog-20201101 dnf.librepo.log-20201018 journal sangfor maillog-20201108 spooler-20201101 hawkey.log-20201018 anaconda </pre> ==/var/log/php-fpm== <pre> # ls /var/log/php-fpm -tl total 416 -rw-r--r--. 1 apache apache 990 Nov 8 22:11 www-error.log -rw-------. 1 root root 56 Nov 8 00:00 error.log -rw-r--r--. 1 apache apache 48546 Nov 7 16:21 www-error.log-20201108 -rw-------. 1 root root 56 Nov 1 00:00 error.log-20201108 -rw-r--r--. 1 apache apache 205795 Oct 31 23:00 www-error.log-20201101 -rw-------. 1 root root 56 Oct 25 00:00 error.log-20201101 -rw-r--r--. 1 apache apache 76623 Oct 24 19:38 www-error.log-20201025 -rw-------. 1 root root 56 Oct 18 00:00 error.log-20201025 -rw-r--r--. 1 apache apache 61482 Oct 17 21:07 www-error.log-20201018 -rw-------. 1 root root 189 Oct 13 01:28 error.log-20201018 </pre> ==/var/log/httpd/access_log== <pre> [root@localhost kmvswiki2]# ls /var/log/httpd -t access_log error_log-20201108 error_log-20201101 error_log-20201025 error_log-20201018 error_log access_log-20201108 access_log-20201101 access_log-20201025 access_log-20201018 [root@localhost kmvswiki2]# cat /var/log/httpd/access_log : 163.25.20.252 - - [08/Nov/2020:20:57:46 -0500] "POST /kmvswiki2/api.php HTTP/1.1" 200 88 "http://lfwiki.kmvs.km.edu.tw/kmvswiki2/index.php?title=20201109%E6%9F%A5%E7%9C%8Bmediawiki%E7%9A%84LOG%E4%BE%86debug&action=edit" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:82.0) Gecko/20100101 Firefox/82.0" 163.25.20.252 - - [08/Nov/2020:20:57:46 -0500] "POST /kmvswiki2/index.php?title=20201109%E6%9F%A5%E7%9C%8Bmediawiki%E7%9A%84LOG%E4%BE%86debug&action=submit HTTP/1.1" 302 - "http://lfwiki.kmvs.km.edu.tw/kmvswiki2/index.php?title=20201109%E6%9F%A5%E7%9C%8Bmediawiki%E7%9A%84LOG%E4%BE%86debug&action=edit" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:82.0) Gecko/20100101 Firefox/82.0" 163.25.20.252 - - [08/Nov/2020:20:57:46 -0500] "GET /kmvswiki2/index.php?title=20201109%E6%9F%A5%E7%9C%8Bmediawiki%E7%9A%84LOG%E4%BE%86debug HTTP/1.1" 200 20304 "http://lfwiki.kmvs.km.edu.tw/kmvswiki2/index.php?title=20201109%E6%9F%A5%E7%9C%8Bmediawiki%E7%9A%84LOG%E4%BE%86debug&action=edit" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:82.0) Gecko/20100101 Firefox/82.0" 221.225.114.106 - - [08/Nov/2020:20:57:52 -0500] "GET /phpmyAdmin/ HTTP/1.1" 404 196 "-" "-" [root@localhost kmvswiki2]# </pre> ==/var/log/httpd/error_log== *https://www.liquidweb.com/kb/apache-error-no-matching-directoryindex-index-html-found-solved/ *https://linuxconfig.org/how-to-install-mod-ssl-on-redhat-8 <pre> [root@localhost kmvswiki2]# cat /var/log/httpd/error_log : [Sun Nov 08 14:38:28.636569 2020] [proxy_fcgi:error] [pid 1829554:tid 1829724] [client 111.229.62.37:26739] AH01071: Got error 'Primary script unknown' [Sun Nov 08 17:09:32.778223 2020] [autoindex:error] [pid 1829554:tid 1829713] [client 45.182.156.13:34135] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive [Sun Nov 08 18:26:49.755082 2020] [autoindex:error] [pid 1829554:tid 1829718] [client 34.65.63.248:53082] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive [Sun Nov 08 19:33:45.614360 2020] [autoindex:error] [pid 1874604:tid 1874645] [client 190.164.162.212:19453] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive [Sun Nov 08 19:51:29.875119 2020] [autoindex:error] [pid 1874604:tid 1874666] [client 101.251.242.238:36919] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using localhost.localdomain. Set the 'ServerName' directive globally to suppress this message ;[http2:warn] [pid 1196989:tid 1196989] AH02951: mod_ssl does not seem to be enabled # vi /etc/httpd/conf/httpd.conf # cat /etc/httpd/conf/httpd.conf|grep index.php DirectoryIndex index.html index.php : ServerName lfwiki.kmvs.km.edu.tw:80 # systemctl restart httpd # ps ax|grep httpd 1183559 ? Ss 0:00 /usr/sbin/httpd -DFOREGROUND 1183561 ? S 0:00 /usr/sbin/httpd -DFOREGROUND 1183562 ? Sl 0:00 /usr/sbin/httpd -DFOREGROUND 1183563 ? Sl 0:00 /usr/sbin/httpd -DFOREGROUND 1183564 ? Sl 0:00 /usr/sbin/httpd -DFOREGROUND 1184331 pts/0 S+ 0:00 grep --color=auto httpd </pre>
返回到「
20201109查看mediawiki的LOG來debug
」。
導覽選單
個人工具
建立帳號
登入
命名空間
頁面
討論
臺灣正體
已展開
已摺疊
視圖
閱讀
檢視原始碼
檢視歷史
更多
已展開
已摺疊
搜尋
導覽
首頁
近期變更
隨機頁面
MediaWiki說明
工具
連結至此的頁面
相關變更
特殊頁面
頁面資訊