• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

VDS from GD-trying to view maillog :Permission denied

E

Emperor

Guest
Please forgive me if this is a obvious question because I'm new to SSH.

I am moving domains from one VDS to another (due to FC2 being EOL). I noticed that the new server for the last 2 days, limited out on SMTP relay. Obviously something is going on. OS is Plesk 8.3 and I believe the only way to view the logs are through SSH so I'm trying to learn as quickly as I can.

Using Putty, I am able to log into the server and switch to root but when I
/usr/local/psa/var/log/maillog
I get a response of
bash:/usr/local/psa/var/log/maillog: Permission denied.

Again, since I'm new to all of this SSH, any help or direction would be greatly appreciated.

Take care...
 
check permissions:

[root@rhel4psa820 ~]# ls -la /usr/local/psa/var/log/maillog
-rw-r----- 1 root root 104947 Apr 1 17:03 /usr/local/psa/var/log/maillog
[root@rhel4psa820 ~]#
[root@rhel4psa820 ~]# whoami
root
[root@rhel4psa820 ~]#
 
/usr/local/psa/var/log/maillog is a file, and is not an executable, so you cant call it like an executable.

if yuo do /usr/local/psa/var/log/maillog you are attempting to execute the file.
If you want to read it, try something like cat or less

less /usr/local/psa/var/log/maillog
cat /usr/local/psa/var/log/maillog

That will print out the file contents onto the screen
 
Back
Top