"We are back" « oc.at

CentOS Apache Fehlermedung *update*

CyQuest 03.04.2012 - 10:33 1843 14
Posts

CyQuest

Ozeanien
Avatar
Registered: Nov 2001
Location: KTN
Posts: 657
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 ?
Bearbeitet von CyQuest am 03.04.2012, 16:12

TOM

Elder
Oldschool OC.at'ler
Avatar
Registered: Nov 2000
Location: Vienna
Posts: 7422
perl installiert am server? (perl -v)

CyQuest

Ozeanien
Avatar
Registered: Nov 2001
Location: KTN
Posts: 657
Bis vor 30min ging noch alles sollte ich noch dazusagen.

nexus_VI

Overnumerousness!
Avatar
Registered: Aug 2006
Location: südstadt
Posts: 3772
Poste mal den Output von
Code:
apachectl -t -D DUMP_MODULES

CyQuest

Ozeanien
Avatar
Registered: Nov 2001
Location: KTN
Posts: 657
[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

Overnumerousness!
Avatar
Registered: Aug 2006
Location: südstadt
Posts: 3772
Achja, macht Sinn. Perl ist installiert?

TOM

Elder
Oldschool OC.at'ler
Avatar
Registered: Nov 2000
Location: Vienna
Posts: 7422
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

Ozeanien
Avatar
Registered: Nov 2001
Location: KTN
Posts: 657
[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

Ozeanien
Avatar
Registered: Nov 2001
Location: KTN
Posts: 657
# 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

Administrator
GNUltra
Avatar
Registered: Dec 2000
Location: ~
Posts: 12125
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

Ozeanien
Avatar
Registered: Nov 2001
Location: KTN
Posts: 657
Dann werde ich mal ein Backup der ssl_perl.conf suchen gehen.

CyQuest

Ozeanien
Avatar
Registered: Nov 2001
Location: KTN
Posts: 657
Danke für euere Hilfe.
Das Problem war das vorhanden sein der ssl_perl.conf
File gelöscht und nun geht es wieder.

CyQuest

Ozeanien
Avatar
Registered: Nov 2001
Location: KTN
Posts: 657
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

Administrator
GNUltra
Avatar
Registered: Dec 2000
Location: ~
Posts: 12125
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

Ozeanien
Avatar
Registered: Nov 2001
Location: KTN
Posts: 657
Läuft wieder alles.
Bearbeitet von CyQuest am 03.04.2012, 21:38
Kontakt | Unser Forum | Über overclockers.at | Impressum | Datenschutz