• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Input Useful alias

mr-wolf

Silver Pleskian
Plesk Guru
Here's an alias I picked up long ago and implemented in /root/.bash_aliases.
I often use it in a casual way just to check if everything is running nicely.

I've seen it failing though a few times and only just now I found out why.
It didn't include the "access_ssl_log" of the websites.

Maybe it silly of me to find out so late...
Wanted to share it in case there are more silly men (and women) in the world. ;-)

old
Code:
alias taila='tail -f /var/www/vhosts/*/logs/access_log /var/www/vhosts/system/*/logs/access_log /var/www/vhosts/*/logs/error_log /var/www/vhosts/system/*/logs/error_log'

improved
Code:
alias taila='tail -f /var/www/vhosts/*/logs/access_*log /var/www/vhosts/system/*/logs/access_*log /var/www/vhosts/*/logs/error_log /var/www/vhosts/system/*/logs/error_log'

Another useful one:
Code:
alias taile='tail -f /var/www/vhosts/*/logs/error_log /var/www/vhosts/system/*/logs/error_log'
 
Back
Top