Apache lässt sich starten nach Confixx Installation

Shellghost

New Member
Boardsuche hat mir nichts gebracht.

Ich hab Confixx 3.3.4 installiert und jetzt lässt sich der Apache mit folgender Fehlermeldung nicht mehr starten:

Code:
Konnte Apache nicht starten : 
Starting httpd2 (prefork) httpd2-prefork: Syntax error on line 217 of /etc/apache2/httpd.conf: Syntax error on line 133 of /etc/apache2/confixx_mhost.conf: /etc/apache2/confixx_mhost.conf:133: <VirtualHost> was not closed.

The command line was:
/usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL

[1A..failed

Ist da noch was zu retten? Ich hab schon gegoogelt aber nichts gefunden.
 
Hallo,

Dann schau mal in diese Datei:
/etc/apache2/confixx_mhost.conf

Zeile: 133

Dort müsste ein VirtualHost Eintrag sein, der nicht geschlossen wird, also fehlt irgendwo dort ein: </VirtualHost>
 
Hier ist die komplette conf

Betroffene Zeile ist rot markiert.

Code:
############### PARALLELS CONFIXX APACHE MAIN CONFIG FILE #################
# created at Sat Dec 13 17:38:00 2008
#
#            !!! Do not make any changes in this file !!!
#
# 1. We cannot guarantee that the software will work properly, if 
# the contents of this file are modified.
# 2. This file would be rewritten after each Parallels Confixx software update and 
# in some other cases. Thus all your changes would be lost unless you made
# a backup of the file.
#
# If you need to modify this file, you can insert some custom "Include" 
# directives. E.g. 
#   Include /path/to/your/file
# Includes inserted directly after <VirtualHost> tag would keep their 
# location inchanged after the file is updated. Other includes would 
# be moved to be inserted before the </VirtualHost> tag.
##########################################################################


<Directory "/srv/www/confixx/html">

  AllowOverride all

  <IfModule mod_access.c>
    Allow from all
  </IfModule>
  <IfModule mod_authz_host.c>
    Allow from all
  </IfModule>
				
  <IfModule mod_rewrite.c>

    RewriteEngine On
    Options +FollowSymlinks

    RewriteRule ^reseller/res[0-9]+/(.*)$ reseller/$1 [L]

    RewriteRule ^user/[a-zA-Z][-a-zA-Z0-9_]{0,4}[0-9]+/(.*)$ user/$1 [L]

    RewriteRule ^ftplogin/[a-zA-Z][-a-zA-Z0-9_]{0,4}[0-9]+/(.*)$ ftplogin/$1 [L]
    RewriteRule ^ftplogin/[a-zA-Z][-a-zA-Z0-9_]{0,4}[0-9]+f[0-9]+/(.*)$ ftplogin/$1 [L]

    RewriteRule ^poplogin/[a-zA-Z][-a-zA-Z0-9_]{0,4}[0-9]+p[0-9]+/(.*)$ poplogin/$1 [L]

  </IfModule>

  AddDefaultCharset off

  suPHP_engine on

</Directory>



<VirtualHost 85.25.150.40:80>

  ServerName 85.25.150.40

  DocumentRoot /srv/www/confixx/html/gesperrt

  Options FollowSymLinks
  suPHP_ConfigPath /etc/apache2/confixx_phpini
  <IfModule mod_dir.c>
    DirectoryIndex index.php index.html index.htm index.shtml index.cgi
  </IfModule>


</VirtualHost>

<VirtualHost 85.25.150.40:80>

  ServerName india254.server4you.de
	
  #User confixx
  #Group confixx
  DocumentRoot /srv/www/confixx/html
  Options FollowSymLinks

  suPHP_ConfigPath /etc/apache2/confixx_phpini

  ScriptAlias /cgi-bin/ /srv/www/confixx/html/cgi-bin/
	
  <IfModule mod_dir.c>
    DirectoryIndex index.html index.htm index.shtml index.cgi index.php
  </IfModule>


  CustomLog /var/log/apache2/india254.server4you.de_access.log "%h %l %u %t \"%r\" %s %b \"%{Referer}i\" \"%{User-agent}i\""
  ErrorLog /var/log/apache2/india254.server4you.de_error.log


</VirtualHost>


<VirtualHost 85.25.150.40:443>

  ServerName 85.25.150.40

  DocumentRoot /srv/www/confixx/html/gesperrt

  Options FollowSymLinks
  suPHP_ConfigPath /etc/apache2/confixx_phpini
  <IfModule mod_dir.c>
    DirectoryIndex index.php index.html index.htm index.shtml index.cgi
  </IfModule>


  <IfModule mod_ssl.c>

    SSLEngine on
    SSLCertificateKeyFile /etc/apache2/ssl.key/india254.server4you.de.key
    SSLCertificateFile /etc/apache2/ssl.crt/india254.server4you.de.crt
		
    

    SetEnvIf User-Agent ".*MSIE.*" \
      nokeepalive ssl-unclean-shutdown downgrade-1.0 force-response-1.0

    <Files ~ "\.(cgi|shtml|phtml|php3?)$">
      SSLOptions +StdEnvVars
    </Files>

    <Directory "/srv/www/confixx/html/cgi-bin">
      SSLOptions +StdEnvVars
    </Directory>

  </IfModule>
		

</VirtualHost>

[COLOR="Red"]<VirtualHost 85.25.150.40:443>[/COLOR]

  ServerName india254.server4you.de
	
  #User confixx
  #Group confixx
  DocumentRoot /srv/www/confixx/html
  Options FollowSymLinks

  suPHP_ConfigPath /etc/apache2/confixx_phpini

  ScriptAlias /cgi-bin/ /srv/www/confixx/html/cgi-bin/
	
  <IfModule mod_dir.c>
    DirectoryIndex index.html index.htm index.shtml index.cgi index.php
  </IfModule>


  <IfModule mod_ssl.c>

    SSLEngine on
    SSLCertificateKeyFile /etc/apache2/ssl.key/india254.server4you.de.key
    SSLCertificateFile /etc/apache2/ssl.crt/india254.server4you.de.crt
		
    

    SetEnvIf User-Agent ".*MSIE.*" \
      nokeepalive ssl-unclean-shutdown downgrade-1.0 force-response-1.0

    <Files ~ "\.(cgi|shtml|phtml|php3?)$">
      SSLOptions +StdEnvVars
    </Files>

    <Directory "/srv/www/confixx/html/cgi-bin">
      SSLOptions +StdEnvVars
    </Directory>

  </IfModule>
		

  CustomLog /var/log/apache2/india254.server4you.de_access.ssl.log "%h %l %u %t \"%r\" %s %b \"%{Referer}i\" \"%{User-agent}i\""
  ErrorLog /var/log/apache2/india25
 
Die Fehlermeldung sagt doch alles:

der in Zeile 133 angefangene VirtualHost wird nicht geschlossen. Einfach noch ein "</VirtualHost>" (ohne "") an das Ende der /etc/apache2/confixx_mhost.conf einfügen.

Vielmehr ist die Frage warum das nicht gesetzt wurde. Die Datei wird eigentlich bei jedem Durchlauf des confixx_updatescript.pl-Scriptes, sofern Änderungen vorgenommen wurden, erneuert. Also einfach mal

Code:
/pfad/zur/confixx-installation/counter-updatescript.pl -fa -dbg
ausführen und anschließend die Datei (/etc/apache2/confixx_mhost.conf) nochmals überprüfen, ggfs. die Ausgabe des o.g. Befehls einfach mal posten
 
Mit </VirtualHost> am Ende der confixx_mhost.conf lies der apache sich starten.

Code:
counter-updatescript.pl -fa -dbg

Dies Datei counter-updatescript.pl gibt es in der Confixx Installation nicht

Und wenn ich die Confixx Admin Seite aufrufen möchte kommt nur das:

Parallels Confixx

Code:
0) $strRows = "77,28,*,41"; elseif (strpos($HTTP_USER_AGENT,"Firefox") > 0) $strRows = "77,28,*,41"; else $strRows = "77,34,*,41"; ?> make_main_frameset(); $index_php->draw(); } ?>

:(:(
 
Woran seh ich ob php läuft?

Kann man das einfach nochmal installieren?

Oder muss es vorher deinstalliert werden,wenn ja wie.

Sorry viele Fragen bin zwar kein Anfänger aber noch in der Lernphase. :o
 
Hast du Confixx 3.3.4 selbst installiert? Wenn ja: Dann installiers anhand der Installationsanleitung noch mal drüber.
 
Es lag an den php Einstellungen in der ini.

Aber jetzt hab ich den nächsten Fehler nachdemn ich phpmayadmin deinstalliert und nochmal installiert hab. :(

Code:
Konnte Apache nicht starten : 
Starting httpd2 (prefork) Syntax error on line 20 of /etc/apache2/confixx_mhost.conf:
Invalid command 'php_admin_value', perhaps misspelled or defined by a module not included in the server configuration

The command line was:
/usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL

[1A..failed
 
Ich finde SuEXEC nur für suse 9.1 ich benutze aber suse 10.3 :rolleyes:

Ist SuEXEC denn so dringend notwendig?
 
Last edited by a moderator:
Du hast PHP wahrscheinlich für Apache2 nicht aktiviert.

Schau dir mal die Datei /etc/sysconfig/apache2 an. Steht dort in dem String: APACHE_MODULES = "...." "php4" oder "php5" ?
 
Du hast PHP wahrscheinlich für Apache2 nicht aktiviert.

Schau dir mal die Datei /etc/sysconfig/apache2 an. Steht dort in dem String: APACHE_MODULES = "...." "php4" oder "php5" ?

Danke für die Antwort.

php5

Code:
APACHE_MODULES="actions alias auth_basic authn_file authz_host authz_groupfile authz_default authz_user authn_dbm autoindex cgi dir env expires include log_config mime negotiation setenvif ssl suexec userdir php5"

Mittlerweile ist der Confixx Admin zu erreichen in der php Einstellung hat was nicht gepasst. aber Reseller und Kunde nicht, beim Aufruf kommt nur Error 404 nicht gefunden obwohl alles da sein sollte.

Der Link läuft nach dem Login ins Leere obwohl der Reseller angelegt ist.

Von
Parallels Confixx

Nach
http://india254.server4you.de/reseller/res1/

Was ist denn das nun wieder?
 
Last edited by a moderator:
Tja das kann ich jetzt schlecht sagen.
Check doch mal die Pfade ob die Dateien alle dort liegen wo sie sein sollen. Schau mal in /var/log/apache2 und dort in die error log. Beim Aufruf der den 404 Fehler erzeugt müsste sich auch ein entsprechender Eintrag finden auf welchen Pfad zugegriffen werden soll.

Was ich auf jedenfall sagen kann: Mit der Installation von Confixx hast du dir ziemlich was im System zerschossen, eine Neuinstallation wäre glaube ich viel weniger Arbeit :)
 
Ich werd mir die Logs mal anschauen.

Was ich auf jedenfall sagen kann: Mit der Installation von Confixx hast du dir ziemlich was im System zerschossen, eine Neuinstallation wäre glaube ich viel weniger Arbeit

Ich hab nachdem es das erste mal erfolglos war, Suse neu installieren lassen und dann Confixx nochmal installiert.

Das hätte ich vieleicht schreiben sollen.:o

Danach lief es auf Anhieb bis auf die Errors beim Aufruf von Reseller und Kunde.

Ist in php vieleicht noch was falsch eingestellt?

Hier mal eine phpinfo
 
Last edited by a moderator:
Wie gesagt, ohne Logs kann man da schlecht was sagen.

Aber wieso hast du Confixx Manuell installiert? Das sollte doch im Template direkt mit drin sein.
 
Aber wieso hast du Confixx Manuell installiert? Das sollte doch im Template direkt mit drin sein.

S4you bietet nur noch Plesk an das will ich mir nicht antun.

Aber es hat jetzt geklappt, mod_rewrite war nicht aktiviert.

Danke für die unterstützung hier ich muss sagen, Klasse Forum.:cool:
 
Back
Top