• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

Missing httpd.include after backup / apache restart fails

SherlockH

Basic Pleskian
Although this is an old issue, I think it is worth being reposted:

When using the backup manager to create a complete backup including configuration as well as content, mostly one of the apache restarts for one of the domains fails (there seems to be one restart for each domain?). The particular domain can change randomly each time. The apache error log says: missing httpd.include file in the conf-folder of the domain that is affected. When checking the folder manually the file actually exists and apache can be restarted.

Are there any solution for this very severe bug?

Thanks in advance!
 
PS: Could this be a problem of parallel execution of multiple commands in a multi core environment? Sounds like the Plesk configuration writing process has not finished yet when apache is restarted...
 
New world record: Plesk running for one week without failure!

The only changes we made that may be relevant are:
- Allowed unlimited backup processes (I don't think that this is the reason, because we already tried this before without success)
- Created a reseller account (Would be a weird relationship to the backup problem)
 
Dirty hack

What to do with a buggy piece of (expensive) software that offers zero support and doesn't provide any productive use?

- remove it

If you can't because you already have lots of users and avoid the work of a transfer:

- write some dirty hack to make it work

change these lines of /etc/init.d/apache2:

reload | force-reload)
if ! $APACHE2CTL configtest > /dev/null 2>&1; then
$APACHE2CTL configtest || true
log_end_msg 1
exit 1
fi

to

reload | force-reload)
if ! $APACHE2CTL configtest > /dev/null 2>&1; then
sleep 5
if ! $APACHE2CTL configtest > /dev/null 2>&1; then
$APACHE2CTL configtest || true
log_end_msg 1
exit 1
fi
fi

If plesk has not yet finished writing a specific config file, apache sleeps 5 seconds and tries again...
 
Back
Top