1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice

Resolved Apache error log not shown in plesk gui

Discussion in 'Plesk 12.x for Linux' started by mvais, Nov 29, 2016.

  1. mvais

    mvais New Pleskian

    24
    90%
    Joined:
    Jul 12, 2007
    Messages:
    24
    Likes Received:
    0
    In one of our plesk server we are missing the apache error log in the "Logs of domain" GUI. We have no idea where to configure which logs are shown in the dropdown menu or why they are missing.

    complete logs.jpgmissing logs.jpg

    The error_log exists in the following directories (hardlinked):
    -rw-rw-r-- 2 root root 10607972 Nov 29 16:56 /var/www/vhosts/system/domainname.com/logs/error_log
    -rw-rw-r-- 2 root root 10607972 Nov 29 16:56 /var/www/vhosts/domainname.com/logs/error_log

    Has anyone an idea what to do?
     
  2. IgorG

    IgorG Forums Analyst Staff Member

    47
    64%
    Joined:
    Oct 27, 2009
    Messages:
    24,182
    Likes Received:
    1,167
    Location:
    Novosibirsk, Russia
    Affiliate:
    https://plesk.com/?a_aid=59ae552b0731c
    The reason of this issue - incorrect permission of /var/www/vhosts/domainname.com/logs/error_log file. Set it with

    # chmod 644 /var/www/vhosts/domainname.com/logs/error_log

    and you will see Apache error log in this drop-down menu.
     
  3. mvais

    mvais New Pleskian

    24
    90%
    Joined:
    Jul 12, 2007
    Messages:
    24
    Likes Received:
    0
    Perfect!
    Thx
     
Loading...