CentOS Apache Fehlermedung *update*

Seite 1 von 1 - Forum: Linux and other OS auf overclockers.at

URL: https://www.overclockers.at/linux/centos-apache-fehlermedung-update_229520/page_1 - zur Vollversion wechseln!


CyQuest schrieb am 03.04.2012 um 10:33

Hallo Leute,

wir bekommen auf unserem Webserver beim starten vom httpd folgende Fehlermeldung:

root@web ~]# /etc/init.d/httpd restart
Stopping httpd: [FAILED]
Starting httpd: Syntax error on line 4 of /etc/httpd/conf.d/ssl_perl.conf:
Invalid command '<Perl', perhaps misspelled or defined by a module not included in the server configuration
[FAILED]
[root@web ~]# /etc/init.d/httpd start
Starting httpd: Syntax error on line 4 of /etc/httpd/conf.d/ssl_perl.conf:
Invalid command '<Perl', perhaps misspelled or defined by a module not included in the server configuration
[FAILED]
[root@web ~]# /etc/init.d/httpd status
httpd is stopped
[root@web ~]#

Kann hier wer helfen ?


TOM schrieb am 03.04.2012 um 10:38

perl installiert am server? (perl -v)


CyQuest schrieb am 03.04.2012 um 10:43

Bis vor 30min ging noch alles sollte ich noch dazusagen.


nexus_VI schrieb am 03.04.2012 um 10:57

Poste mal den Output von

Code:
apachectl -t -D DUMP_MODULES


CyQuest schrieb am 03.04.2012 um 11:10

[root@web ~]# apachectl -t -D DUMP_MODULES
Syntax error on line 4 of /etc/httpd/conf.d/ssl_perl.conf:
Invalid command '<Perl', perhaps misspelled or defined by a module not included in the server configuration
[root@web ~]#


nexus_VI schrieb am 03.04.2012 um 11:12

Achja, macht Sinn. Perl ist installiert?


TOM schrieb am 03.04.2012 um 11:14

Zitat von CyQuest
Zitat von blood
ich würde die beiden games nicht miteinander vergleichen.
dead space ist action/horror, während amensia eher als horror-adventure zu bezeichnen ist.

4 line sollte "<Perl>" sein und nicht "<Perl"

ist da evtl. ein ">" abhanden gekommen in der Config?


CyQuest schrieb am 03.04.2012 um 11:15

[root@web ~]# perl -v

This is perl, v5.8.8 built for i386-linux-thread-multi

Copyright 1987-2006, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.

[root@web ~]#


CyQuest schrieb am 03.04.2012 um 11:17

# let's assume that base-ssl does the right thing, the key and cert files
# should always be there. If there not, someone was messing with
# things they obviously should not have been.
<Perl>
use Apache2::PerlSections();
use lib qw(/usr/sausalito/perl);
use CCE;
use Base::Httpd qw(httpd_get_vhost_conf_file);

my $cce = new CCE;
$cce->connectuds();

my @ssl_sites = $cce->find('Vsite', { 'SSL.enabled' => 1 }, { 'SSL.expires' => $

# Only a temp variable until we go the whole hog.
my (@ssl_conf, $ip, $rewrite_rules, $proto, $ret, $config);

# O.K. What we bassically want to do is build up new section in the conf file
# for SSL sections.


COLOSSUS schrieb am 03.04.2012 um 11:20

Da wird wohl jemand stattdes Outputs, den ein Config-Generator-Perlscript haette schreiben sollen, das Generatorscript selbst ueber dieses File geschrieben haben. Rate ich mal ins Blaue.

Loesung: funktionierende Config vom Backup restoren.


CyQuest schrieb am 03.04.2012 um 11:26

Dann werde ich mal ein Backup der ssl_perl.conf suchen gehen.


CyQuest schrieb am 03.04.2012 um 11:48

Danke für euere Hilfe.
Das Problem war das vorhanden sein der ssl_perl.conf
File gelöscht und nun geht es wieder.


CyQuest schrieb am 03.04.2012 um 16:10

Zufrüh gefreut.

Der Webserver startet zwar aber leider werden nun keine Serverseitigen Php Scripts mehr ausgeführt sonderen nur mehr der Quellcode angezeit. Statische Phps gehen.

Wer eine idee?


COLOSSUS schrieb am 03.04.2012 um 16:18

Habt ihr da mod_php oder PHP via (F)CGI eingerichtet?

(Andere Frage: wieso macht das nicht einfach jemand, der sich mit sowas auskennt? ;))


CyQuest schrieb am 03.04.2012 um 16:27

Läuft wieder alles.




overclockers.at v4.thecommunity
© all rights reserved by overclockers.at 2000-2025