Cannot publish a site with Parallels Web Presence Builder: "cannot be opened with mode "a""

Created:

2016-11-16 12:39:14 UTC

Modified:

2017-04-24 12:16:20 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Cannot publish a site with Parallels Web Presence Builder: "cannot be opened with mode "a""

Applicable to:

  • Plesk 11.5 for Linux

Symptoms

I cannot publish a site with Parallels Web Presence Builder. The following Error windows appears:

Some errors were written to log. Please contact to administrator.

The following error is shown in the log ( /usr/local/psa/admin/logs/sitebuilder.log ):

2014-01-29T06:56:10+04:00       [EMERG] /sitebuilder/JsonApi/   Zend_Log_Exception: "/usr/local/sb/logs/sites/27/27408855-d247-aa37-ae17-3297193a4abd.log" cannot be opened with mode "a"

Cause

Invalid permissions for files and directories in /usr/local/sb/logs . Here are valid permissions:

[root@pp115 ~]# ls -l /usr/local/sb/logs/sites/
total 44
drwxr-xr-x 2 psaadm psaadm 4096 Jan 16 10:21 08
drwxr-xr-x 2 psaadm psaadm 4096 Dec 4 09:18 15

Resolution

Run the following command to restore permissions:

[root@pp115 ~]# find /usr/local/sb/logs/sites | xargs chown psaadm.psaadm

Related Articles

Plesk Panel fails to open: "cannot be opened with mode "a""

Have more questions? Submit a request
Please sign in to leave a comment.