Results 1 to 6 of 6

Thread: DA: can't open the log file to write

  1. #1
    Join Date
    Mar 2018
    Posts
    4

    DA: can't open the log file to write

    After start DA, after some time DA log to /var/log/directadmin/error.log:

    2018:06:12-13:06:50: can't open the log file to write
    2018:06:12-13:07:48: can't open the log file to write
    2018:06:12-13:07:57: can't open the log file to write
    2018:06:12-13:08:03: can't open the log file to write
    2018:06:12-13:08:27: can't open the log file to write

    How debug which log file can't be open?

  2. #2
    Join Date
    Apr 2005
    Location
    GMT +7.00
    Posts
    12,313
    Hello,

    try and verify existence of the logs comparing a list of them with https://help.directadmin.com/item.php?id=11

  3. #3
    Join Date
    Mar 2018
    Posts
    4
    Quote Originally Posted by zEitEr View Post
    Hello,

    try and verify existence of the logs comparing a list of them with https://help.directadmin.com/item.php?id=11
    Seems look ok, I don't have only this:

    /var/log/httpd/suexec_log
    /var/log/httpd/fpexec_log

    just in case, I create it, so now waiting/observing.

  4. #4
    Join Date
    Mar 2018
    Posts
    4
    Quote Originally Posted by rococo View Post
    Seems look ok, I don't have only this:

    /var/log/httpd/suexec_log
    /var/log/httpd/fpexec_log

    just in case, I create it, so now waiting/observing.
    Problem persist:

    2018:06:28-10:49:21: can't open the log file to write
    2018:06:28-10:49:26: can't open the log file to write
    2018:06:28-10:49:29: can't open the log file to write
    2018:06:28-10:49:32: can't open the log file to write
    2018:06:28-10:49:38: can't open the log file to write
    2018:06:28-10:49:55: can't open the log file to write
    2018:06:28-10:50:00: can't open the log file to write
    2018:06:28-10:50:02: can't open the log file to write
    2018:06:28-10:50:08: can't open the log file to write
    2018:06:28-10:50:15: can't open the log file to write
    2018:06:28-10:50:21: can't open the log file to write

  5. #5
    Join Date
    Apr 2005
    Location
    GMT +7.00
    Posts
    12,313
    If it does not effect a server I'd rather ignore it, if it does it should be investigated. I don't have other ideas, but only:

    Try:

    - debug it yourself
    - open a ticket
    - hire somebody for it

  6. #6
    Join Date
    May 2008
    Posts
    748
    Any weird permissions to some of the logs?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •