• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Internal Sitebuilder Error

M

maxioana

Guest
500 Internal Server Error

When a site is published for the first time we get this error after the progress bar arrive at 98% [duration of the publication 6/8 minutes]

Note: This error come only at the first time of publication for a site with 100/200 photos

--------------------------------------
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
--------------------------------------

The sitebuilder log said:
1. the site has been published (when the site is smaller)
2. sometimes when the site we want to publish has 200 photos we don't see an output in sitebuilder logs about publishing (anyway the site is not published)

In var/log/apache2/sitebuilder_error.log we see:

[warn] Timeout waiting for output from CGI script /opt/php52/cgi-bin/php5
[error] Premature end of script headers: php5

the output from check.php is :

OK : supported version of PHP found (5.1.X or newer - 5.2.1)
OK : extension sitebuilder3 in state on found
OK : extension pdo in state on found
OK : extension pdo_mysql in state on found
OK : extension sqlite in state on found
OK : extension dom in state on found
OK : extension libxml in state on found
OK : extension xml in state on found
OK : extension xsl in state on found
OK : extension spl in state on found
OK : extension pcre in state on found
OK : extension session in state on found
OK : extension simplexml in state on found
OK : extension ftp in state on found
OK : extension openssl in state on found
OK : extension mbstring in state on found
OK : extension soap in state on found
OK : extension gd in state on found
OK : extension ctype in state on found
OK : extension zlib in state on found
OK : extension iconv in state on found
OK : extension curl in state on found
OK : extension posix in state on found
OK : extension mysql in state on found
OK : supported SQLite version 2.x found
OK : SQLite UTF-8 encoding found
OK : GD library PNG support found
OK : GD library GIF support found
OK : GD library JPG support found
OK : GD library WBMP support found
OK : supported GD library version 2.0.1 (or newer) found
OK : setting magic_quotes_gpc in state off found
OK : setting magic_quotes_runtime in state off found
OK : setting open_basedir in state off found
OK : setting safe_mode in state off found
OK : setting zend.ze1_compatibility_mode in state off found
OK : setting mbstring.internal_encoding in state UTF-8 found
OK : config file was successfully parsed
OK : connection to MySQL database was established
OK : database and code versions are the same

The publication come from a server to other.

We search the forum and knowledge base but we didn't find something useful.
 
Try to increase 'Timeout' directive in httpd.conf file (in your case it should be something like /etc/apache2/conf/httpd.conf), restart apache and make publication one more time. Let me know about the results.
 
We increase 'Timeout' directive just like you said and now ftp publishing is working fine. Thank you for your support.
 
Back
Top