Question

Site Crashed - Unreadable Content within my Error Logs

So my site recently crashed and during the investigation process I entered the command:

cd /var/log/apache2
ls

and got this:

access.log error.log.15.gz error.log.2.gz other_vhosts_access.log other_vhosts_access.log.16.gz other_vhosts_access.log.3.gz error.log error.log.16.gz error.log.3.gz other_vhosts_access.log.1 other_vhosts_access.log.17.gz other_vhosts_access.log.4.gz error.log.1 error.log.17.gz error.log.4.gz other_vhosts_access.log.10.gz other_vhosts_access.log.18.gz other_vhosts_access.log.5.gz error.log.10.gz error.log.18.gz error.log.5.gz other_vhosts_access.log.11.gz other_vhosts_access.log.19.gz other_vhosts_access.log.6.gz error.log.11.gz error.log.19.gz error.log.6.gz other_vhosts_access.log.12.gz other_vhosts_access.log.20.gz other_vhosts_access.log.7.gz error.log.12.gz error.log.20.gz error.log.7.gz other_vhosts_access.log.13.gz other_vhosts_access.log.21.gz other_vhosts_access.log.8.gz error.log.13.gz error.log.21.gz error.log.8.gz other_vhosts_access.log.14.gz other_vhosts_access.log.22.gz other_vhosts_access.log.9.gz error.log.14.gz error.log.22.gz error.log.9.gz other_vhosts_access.log.15.gz other_vhosts_access.log.2.gz

Naturally I was curious and so I gave this command:

nano other_vhosts_access.log.2.gz

and got this: ^^H^@ZU^@^CPKk^B1^P±h6Y7jr^^*=^TAzRfM!7+^Vzaf^^]v{ Ѕld-ii˅^\^Zʅ;?G^>ɅtXх^D^Uea-^Rփ X7%Kxx;d#l7ۚ^SNČ[%^B:$ q(s^Lu<^XWE#F^ZH*H^R^?Űd^RXn^U[ITK.%)h?ڼ^O&# Qiua^DF^]$ ^nײU6^Ad^H ^_Բx/yy(6c,&-:^[ɲ_JH(^B^@^@

I looked into another log file and got this: ST^_^H^@@U^@^C]sȓ ]~$4^Oi$Rd^S;vY;r^M0Q0&^?^Hpx0^XcX{k ^Aَݎ ~M^Ou,DZ0-䱞ձ=ۨבa^Ñ^?kS ְ^]T’ Mm’ǰ’g^Gǰ^_O^XﰞΰΰNjȲ^Xض^Ml㶞Ķx *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]%&MAS]^K6]ooOd檂^KX^E,۪y^Fvn^Hso&ªVm~|X:^L^Tƪ^NA몂C^U’$1G#^YTKΪYgU8X|.X٪ɪ ^NqgWNRH:m^PpjKCwW1<+^[6H`*8f".ٖT^Z#Kf)4Uʖ̲<xSP[8?i^Pٲ^Q"MdѲYqŲ?O^[T^]Rd^D̲g}(Z!^YvˬB֬ج Ұ^@^D^[e$ fa^WHX\bǭŭ^F3e˭;^MeS Aʭ]lcܹ{^Nȹv^W ?˹^PƹYzsc^CǾnԾjK-3ʥ^O^X>^B/Υ>‘T*^AS#X< ^Vv^^H^L$^CX^U~x|^?d2q>-ep^E24-aED,^N^F3d^;ۭZƭz^CU^UDד^Oև^N ^Ml^R^YK’^A^Eˇ!qHNч1h0^2Ƈ8ԇT^Ta$ " ^K)^C.^K^@.5W&nJ4Y/^NMʐ`Lk^W߮^B^TtӮr.U̮x.g֘gvoڔ)^TܔOك"D%^X9/փXS2F^ÃWEރ^H^Z^Hi^Kd҃fM"Ă^Vڂ^V2˂tt$ [^SL^^d^NI^U^TMSTx^Xp1usQ^P35&vDA(jFmRoTs$H ւĂ&҂^Y7^ZFy]^L6^DւK’^LI^G^Fr?̵f0^X^SL^$ K^^1h-^?^P('O<#HjzOWԐQ^K[^ÐRrB B^FIW,=~mIm@^[ZS=ټu^BZjڼYμҼZYҼ^E=ռ,v^X(@O,˼%|y-˼^B%jּ҈mv]X_-IЈd݈:EPZ.(ֵE9YQZG[Z^R^Lю;;^Yˎ^STF2

Obviously, I am confused and have no real idea what caused the site to crash. I am concerned that since the log files are unreadable whatever caused my site to crash will make it happen again.

I was able to reboot the droplet and now the site is back up… for now.

Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hello,

You are seeing that output as the files are gzipped. What you could do is run the following:

zcat other_vhosts_access.log.2.gz

That way you could read gzipped files without uncompressing them first.

Regards, Bobby

This comment has been deleted