Article ID: 118014, created on Oct 17, 2013, last review on Apr 25, 2014

Symptoms

User CP > Domain Settings > Sitebuilder > Setpage returns the error:

Message: Unable to create directory /usr/local/sitebuilder/htdocs/sites/xx/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/customImages/header (recursive: true); Code: 0

Cause

Directive FastCgiWrapper is missing in /hsphere/local/home/cpanel/apache/conf/sitebuilder.conf.

Wrong files ownership.

Resolution

Restore directive FastCgiWrapper in /hsphere/local/home/cpanel/apache/conf/sitebuilder.conf.

<IfModule fastcgi_module>
       FastCgiWrapper On                      
       FastCgiServer /opt/php52/cgi-bin/php5 -idle-timeout 360 -processes 2 -restart-delay 5
</IfModule>

File ownership should be set recursive to sitebuilder:sitebuilder for /usr/local/sitebuilder/htdocs/sites directory:

chown -R sitebuilder:sitebuilder /usr/local/sitebuilder/htdocs/sites

2e39a5e5b1423cc126cf735bac076008 6311ae17c1ee52b36e68aaf4ad066387 f213b9fa8759d57bee5d547445806fe7

Email subscription for changes to this article
Save as PDF