Re: Problem beim Restart des Apachen...
Hi, > > 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 > > Definitiv läuft Dein php nicht. Komentiere mal das if define oder so ähnlich vor Load Module mod_php4 aus. Das gleich noch mal vor AddModule xxxphp4xxxirgenwas.c Grüße Jochen Metzger
Re: Problem beim Restart des Apachen...
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 ( ). Kann mir jemand weiter helfen? grep ' gruß, .max
Re: Problem beim Restart des Apachen...
Hallo auch! > wenn ich ein "rcapache restart" mache funktioniert alles. ruft der rcapache vielleicht einen anderen apachen auf? mehrere Installationen? > 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? hm, genau kann ich mich jetzt auch nicht festlegen, aber es sieht so aus als sind da Sachen in deinen Configs die nicht dem Standard-Apachen zugehören, aber irgendwie von dem rcscript verarbeitet werden. Du könntest dir das rcskript ja mal anschauen. und ein httpd -t ist vielleicht auch mal ok... was ist wenn du den apachen stoppst oder nur startest mittels apachectl? Philon
Problem beim Restart des Apachen...
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? Kann mir jemand weiter helfen? Herzlichen Dank Mit besten Grüßen Manfred Gnädig