nginxのエラー&アクセスログ- #9管理者のVPS

English 英語(変更)
  • Digg
  • Twitter
  • Technorati
  • del.icio.us
  • Facebook
  • MySpace
  • Reddit
  • StumbleUpon
  • LinkedIn
  • email

ケースではわからないどこに彼らも生き

nginxのエラー画像のログ

の我々 のnginxサーバーとサイトのエラー&アクセスログをザッと振り返るとしましょうここでそれらを見つけるため。

あなたのnginxの1つのペアを持って、サーバー全体のログを別の各サイトの場合を除き、それらを省略する。 エラーログだけでは、すべてのエラーをログしません。 アクセスログをWeb上の要素のIPアドレスでアクセスしたときに解決されて表示されます。

人は仮想を添える複数のサイト&ブログ続いて、各サイトでのログの場所をマップのホストまたは仮想ホストのファイルを、ブログや、もしあなたがnginx.confファイル内の各サイトの構成バンドルされて、ファイルへの場所が与えられている。

ここでは、アラームとにかくだ。

セットアンマネージVPSの更新(4めざせtracker ..)を開設する VPSの聖書

20コピー/貼り付けを実行.. ゼロの英雄からに空のボックスがLinuxサーバをキュートに。

スクロールして全シリーズのインデックスです。

だから、ちょっと、&万歳!ホープ、仮想共有を流すことができます。the_guv

nginxのWebサーバーのエラー&アクセスログの場所

それらをリストするには: -

ls -l /usr/local/nginx/logs

Or to open them:-

sudo nano /usr/local/nginx/logs/error.log

.. substituting error.log for access.log as appropriate.

Or if you installed Nginx using the package manager, rather than compiling from source as is recommended in the VPS Bible, they're here:-

sudo nano /etc/nginx/logs

Web Site Error & Access Log Locations

sudo nano /home/public_html/someSite.com/log/access.log

And the error page:-

sudo nano /home/public_html/someSite.com/log/error.log

My Error or Access Log is a Blank File/Won't Open.

In the case of the error log, hopefully it is indeed empty. With the access log, maybe it's just too darn big and is taking a long time to open. If you really want to look at it, be patient. Else delete it and add a new, empty one:-

sudo rm /home/public_html/someSite.com/log/access.log && sudo nano /home/public_html/someSite.com/log/access.log

.. saving the empty file.


SETUP an Unmanaged VPS (4 Newbies) .. The V-P-S Bible

Serve multi sites & blogs on a budget .. at the fastest possible speed .. with the least downtime .. in the most secure environment .. and future-proofed for easy admin.

That's what the VPS Bible is about, stepped out in simple copy & paste guides.

From high traffic WordPress blogs to startup web hosts, here's what you need.

Set it up?   Click here for the 21 part follow-up .. V-P-S Admin

  1. * Includes video tutorial.

  2. Not linked = not published. Won't be long. Fix a feed for updates.


If you liked that ...
... maybe you'll like these?

.