Web application troubleshooting

From LemonWiki共筆
Jump to navigation Jump to search

網站應用程式技術問題排除

Web script level[edit]

Database level[edit]

Web server level[edit]

Example command: This command is used to view the last few lines of the Nginx server's error log file.

sudo tail /var/log/nginx/error.log
  • sudo: Execute with administrator privileges
  • tail: Display the end portion of a file
  • /var/log/nginx/error.log: Default path for Nginx error log file

You can add -f parameter to monitor the log file in real-time:

OS level[edit]

  • Win Os windows.png 系統管理工具 (Administrative Tools) -> 事件檢視器 (Event Viewer)
  • Linux Os linux.png


Troubleshooting of ...

Template