• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Webserver Problems after Zen Guard installation

Puddingtown

New Pleskian
Hi,
a few days ago I tried to install Zen Guard on my Ubuntu with Plesk 11. After the normal installation the webserver doesnt work anymore. So I deleted the files I wrote in php.ini an installed Zen Guard the correct way for plesk, but still there are some problems with the webserver. Restart doesnt work an plesk gives me the message:

Aufgrund von Fehlern in den Konfigurations-Templates konnten keine neuen Konfigurationsdateien für den Apache Webserver erstellt werden: Can not restart web server: httpd stop failed 12 /usr/sbin/apache2 processes are killed 0 ../lib/apache2/mpm-prefork/apache2 processes are killed . Die Fehlermeldung mit einer detaillierten Fehlerbeschreibung wurde Ihnen per E-Mail zugesendet. Bitte lösen Sie das Problem und klicken Sie auf hier, um die beschädigten Konfigurationsdateien erneut zu erstellen, oder auf hier, um alle Konfigurationsdateien zu erstellen.

I've tried both links inside this message to solve the problem, but both wont work. So my domains are very often not available and the only thing, that works is: /usr/sbin/apacheclt restart

So what do I have to do to get the webserver back to normal...
 
still need help

2012-11-24T22:24:37+01:00 ERR (3): Apache config (13537921500.23688400) generation failed: Can not restart web server: httpd stop failed
13 /usr/sbin/apache2 processes are killed
0 ../lib/apache2/mpm-prefork/apache2 processes are killed

Can not restart web server: httpd stop failed
13 /usr/sbin/apache2 processes are killed
0 ../lib/apache2/mpm-prefork/apache2 processes are killed
 
Please note that I have no experience with Ubuntu, only Centos/RedHat so what I say may not help. But here goes, just in case:

First, take a look at /var/log/httpd/error_log (maybe /var/log/apache/error_log or /var/log/apache2/error_log for ubuntu?) to see if there is some more specific error being shown.

Secondly, make sure that Zend and IonCube are not being loaded incorrectly or maybe twice.

in /etc/php.ini you would normally not have any Zend or IonCube-related stuff. You mentioned you had deleted the lines in php but check again just in case.

The Zend stuff usually goes in /etc/php.d/zend(something).conf and the IonCube stuff usually goes in /etc/php.d(or similar)/ioncube(or similar).conf (But note that maybe this is only in the case of our machines -- don't assume it SHOULD be like this. Only that it is like this on our machines).

It is important that the IonCube stuff gets loaded before the Zend stuff. This happens automatically since the files are loaded alphabetically and I comes before Z. BUT note that if you have a capital I and a lower case z then the order may be wrong (I think it is lower case a to z then upper case A to Z but I'm not sure).

Since everything WAS working and not it isn't, I'd suspect you have a configuration file or line somewhere, otherwise it would work like it did before. So double-check php.ini to make sure it is clean, and double-check the contents of /etc/php.d (or similar).

But maybe none of this is relevant and none of it is helpful. "Apache config (13537921500.23688400) generation failed" is what is worrying me. It sounds as though Plesk is having a problem creating the correct config files, and this indicates a possible configuration file error. I also don't understand why you can restart manually and it works. Again I'm leaning towards a configuration file error.

Also please note that I'm working from memory and my memory isn't perfect. Do not do anything you can't easily change back, OK?

And also remember that maybe none of this applies to Ubuntu.
 
Back
Top