.

Nginx Chyba & Access Záznamy - VPS ADMIN # 9

English Angličtina (změnit)
  • Digg
  • Twitter
  • Technorati
  • del.icio.us
  • Facebook
  • MySpace
  • Reddit
  • StumbleUpon
  • LinkedIn
  • email

V případě, že jste si nebyli jisti, kde žijí

nginx chybových protokolů image

Pojďme se rychle podívat na náš server a Nginx stránkách chyba & přístup protokolů, a kde je najít.

Máte jeden párů Nginx kulatiny server-široký a jiný pro každou stránku, pokud jste je vynechal. Chybových protokolů dělat jen to, že záznam případné chyby. Přístup záznamy ukazují, jaké webové prvky, které byly vyřešeny IP adresu a kdy.

Ti, kteří následovali Podáváme více stránek a blogy s Virtual Hosts vytyčené místo záznamy v každé stránky nebo blogy virtuálních hostitelů nebo soubor, pokud máte svázané jednotlivých stránek nastavení ve vašem nginx.conf souboru, jsou místa, aby tam dané soubory.

Zde je připomínkou v každém případě.

Nastavit Unmanaged VPS (4 newbies) .. VPS Bible

V 20 kopírovat / vložit kroky .. od nuly k hrdinovi, prázdné políčko cute-Linux jako server.

Přejděte dolů na celé řady indexu.

Tak, hej, bouda sdílené virtuální & viva! Doufám, že to pomůže. The_guv

Nginx Web Server Error & Access Log Lokality

Na seznamu je: --

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 Na seznamu je: --

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?

.