I have a cpanel based server and I want to download /var/log so I can analyze why the server crash yesterday. However, if I login as regular user I can't download the file because it doesn't give me access to root.

If I login as root, I can't do that. Is there an easy way in cpanel to download server log?

1 Answer
1

You need root access in terminal then copy them to whichever folder has FTP access. Most hosting account allow terminal access when you verify your identity. Root access is another thing all together if you are on a shared host you're not getting root access. Contact your hosting company and ask them why the server crashed, if you can get root access if it's dedicated or cloud