• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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