• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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