I keep getting permission denied errors when attempting a command. I need to access the error log for the server and mysql due to a website meltdown. eek. As far as i'm aware I am able to login to the site. The code below is what I see once logged in.
login as: luffit
[email protected]'s password:
Last login: Thu May 26 04:20:32 2016 from 86.31.138.172
So once in I try and run an error command for example:
/usr/local/cpanel/logs/error_log
The outcome:
luffit@s45-40-136-69 [~]# /usr/local/cpanel/logs/error_log
-bash: /usr/local/cpanel/logs/error_log: Permission denied
Unfortunately I need to access these logs to be able to fix the site so any help will be much appreciated.
Thanks