Hallo Manfred,
Manfred Gnaedig wrote:
Hallo, wenn ich ein "rcapache restart" mache funktioniert alles.
Wenn ich den Apache mit "apachectl graceful" restarten m�chte bekomme ich diese Meldung:
~ # /usr/src/apache_1.3.17/src/support/apachectl graceful /usr/src/apache_1.3.17/src/support/apachectl graceful: configuration broken, ignoring restart /usr/src/apache_1.3.17/src/support/apachectl graceful: (run 'apachectl configtest' for details)
~ # /usr/src/apache_1.3.17/src/support/apachectl configtest Syntax error on line 1576 of /etc/httpd/httpd.conf: Invalid command 'ThrottlePolicy', perhaps mis-spelled or defined by a module not included in the server configuration
~ # /usr/src/apache_1.3.17/src/support/apachectl configtest Syntax error on line 2021 of /etc/httpd/httpd.conf: Invalid command 'php_admin_value', perhaps mis-spelled or defined by a module not included in the server configuration
~ # /usr/src/apache_1.3.17/src/support/apachectl configtest Syntax error on line 135 of /etc/httpd/confixx_vhost.conf: Invalid command 'php_admin_value', perhaps mis-spelled or defined by a module not included in the server configuration
Merkw�rdigerweise funktioniert ein "rcapache reload" auch nicht.
Ich w�rde gerne das "apachectl graceful" verwenden. Ich denke die Configuration hat keine Fehler, sonst w�rde der Apache doch auch so nicht mit "rcapache restart" starten, oder?
Hast Du denn mal in die Konfiguration reingeschaut bzw. die Syntax der Konfiguration per "httpd -f /pfad/zur/httpd.conf" auf Korrektheit gepr�ft?
F�r mich sieht es so aus als ob der Aufruf "rcapache start" den httpd mit Defines ( -D... ) aufruft und das Laden bestimmter Module davon abh�ngig ist ( <IfDefine ...> ).
Kann mir jemand weiter helfen?
grep '<IfDefine' httpd.conf
gru�, .max
