February 05, 2012, 11:49:28 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Work on Kolab2/Gentoo-2.2 has stopped. The project has been deprecated (see board Kolab2/Gentoo).
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: fehler bei apache start  (Read 7819 times)
soeme
Newbie
*

Karma: 0
Posts: 19


View Profile
« on: April 17, 2007, 05:01:59 PM »

hallo

habe mal mein gentoo updatet, auch den kolab overlay. leider lässt sich nun den apache nicht mehr starten...

# /etc/init.d/apache2 start
* Apache2 has detected a syntax error in your configuration files:
Syntax error on line 32 of /etc/apache2/vhosts.d/11_kolab_domain.conf:
Unknown Authn provider: ldap-mail

hab dann mal die zeile auskommentiert um zu schauen was danach passiert...

# /etc/init.d/apache2 start
 * Apache2 has detected a syntax error in your configuration files:
[Tue Apr 17 17:59:07 2007] [warn] The Alias directive in /etc/apache2/vhosts.d/kolab-domain-horde.include at line 1 will probably never match because it overlaps an earlier Alias.
[Tue Apr 17 17:59:07 2007] [warn] The Alias directive in /etc/apache2/vhosts.d/kolab-domain-horde.include at line 1 will probably never match because it overlaps an earlier Alias.
Syntax error on line 120 of /etc/apache2/vhosts.d/11_kolab_domain.conf:
Unknown Authn provider: ldap-mail

dann siehts so aus... weiss jemand was das sein könnte oder braucht ihr mehr info's?

gruss
« Last Edit: April 17, 2007, 05:15:18 PM by soeme » Logged
Gunnar Wrobel
Administrator
Sr. Member
*****

Karma: 2
Posts: 331


275141552 gunnarwrobel@yahoo.de gunnarwrobel
View Profile WWW Email
« Reply #1 on: April 19, 2007, 07:17:02 AM »

Du nutzt dann vermutlich den Development Branch. Bei dem wurde letztens auf Apache-2.2.4 aktualisiert. Ich wuerde vorschlagen das overlay zu aktualisieren, kolabd erneut zu emergen und dann kolabconf nochmals laufen zu lassen. Danach sollte der Apache eigentlich starten. Allerdings gibt es da noch keine Garantie, es ist halt der Development Branch.

P.S.: Das Umlaut-Problem muss ich mal korrigieren. Danke fuer den Hinweis.
« Last Edit: April 19, 2007, 12:58:52 PM by Gunnar Wrobel » Logged
soeme
Newbie
*

Karma: 0
Posts: 19


View Profile
« Reply #2 on: April 19, 2007, 12:48:13 PM »

hi leider ist dein eintrag nicht vollständig, passierte bei mir auch musste 2mal posten.

p.s. jetzt schon wieder!!
« Last Edit: April 19, 2007, 12:49:50 PM by soeme » Logged
soeme
Newbie
*

Karma: 0
Posts: 19


View Profile
« Reply #3 on: April 20, 2007, 07:53:16 AM »

so hab mal kolabd neu emergt und den kolabconf ausgeführt.
nun startet der apache auch, leider immer noch mit einem syntax error dieser ist vermutlich auch verantwortlich warum ich mich im webmail nicht anmelden kann.

 /etc/init.d/apache2 restart
 * Stopping kolabd ...                                                    [ ok ]
 * Apache2 has detected a syntax error in your configuration files:
Syntax error on line 58 of /etc/apache2/modules.d/000_kolab.conf:
Unknown Authn provider: ldap-mail
 * Starting kolabd ...     
« Last Edit: April 20, 2007, 07:54:52 AM by soeme » Logged
Gunnar Wrobel
Administrator
Sr. Member
*****

Karma: 2
Posts: 331


275141552 gunnarwrobel@yahoo.de gunnarwrobel
View Profile WWW Email
« Reply #4 on: April 23, 2007, 08:02:44 AM »

Enthaelt die Datei /etc/conf.d/apache2 bei den APACHE2_OPTS sowohl

Code:
-D LDAP

als auch

Code:
-D KOLAB
Logged
soeme
Newbie
*

Karma: 0
Posts: 19


View Profile
« Reply #5 on: April 23, 2007, 06:34:59 PM »

sowohl als auch:

APACHE2_OPTS="-D SSL -D PHP5CGI -D LDAP -D AUTH_LDAP -D KOLAB -D KOLAB-HORDE -D KOLAB-DAV -D DAV -D DAV_FS"
Logged
Gunnar Wrobel
Administrator
Sr. Member
*****

Karma: 2
Posts: 331


275141552 gunnarwrobel@yahoo.de gunnarwrobel
View Profile WWW Email
« Reply #6 on: April 24, 2007, 07:29:03 AM »

Hm, der Begin des Templates fuer die Konfigurationsdatei /etc/apache2/modules.d/000_kolab.conf sieht so aus (den "rewrite Abschnitt habe ich herausgekuerzt):

Code:
<IfDefine KOLAB>

 ...

  <IfModule mod_authn_alias.c>
    <IfModule authnz_ldap_module>

      <AuthnProviderAlias ldap ldap-mail>
AuthLDAPURL ldap://@@@ldap_ip@@@:@@@ldap_port@@@/"@@@base_dn@@@"?mail
      </AuthnProviderAlias>

      <AuthnProviderAlias ldap ldap-uid>
AuthLDAPURL ldap://@@@ldap_ip@@@:@@@ldap_port@@@/"@@@base_dn@@@"?uid
      </AuthnProviderAlias>

    </IfModule>
  </IfModule>

...

Der authn-Provider "ldap-mail" ist also von drei "If"-Direktiven umgeben:

  • <IfDefine KOLAB>
  • <IfModule mod_authn_alias.c>
  • <IfModule authnz_ldap_module>

-D KOLAB ist bei Dir aktiviert und das wuerde heissen, dass entweder das Alias-Modul oder das Auth-LDAP-Modul nicht geladen wird.
Logged
soeme
Newbie
*

Karma: 0
Posts: 19


View Profile
« Reply #7 on: April 27, 2007, 07:14:29 PM »

habe herausgefunden das tatsächlich das "-D KOLAB" für den syntaxerror verantwortlich ist, leider kann ich nicht sicherstellen das auth_ldap modul richtig geladen wird...

wie sieht es denn mit dem file /etc/apache2/modules.d/55_mod_auth_ldap.conf ?
bei mir ist dieses file nicht verändert sprich das kolabconf nimmt keine veränderungen vor, ist das richtig?
Logged
Gunnar Wrobel
Administrator
Sr. Member
*****

Karma: 2
Posts: 331


275141552 gunnarwrobel@yahoo.de gunnarwrobel
View Profile WWW Email
« Reply #8 on: April 28, 2007, 05:37:34 PM »

/etc/apache2/modules.d/55_mod_auth_ldap.conf kann ganz weg. Das ist Bestandteil von net-www/mod_auth_ldap und wird mit dem neuen Aapche nicht mehr benoetigt.
Logged
soeme
Newbie
*

Karma: 0
Posts: 19


View Profile
« Reply #9 on: April 29, 2007, 03:22:10 PM »

also nun hab ich den "net-www/mod_auth_ldap-3.3-r20" frisch emergt und mal die infos angeschaut:
Quote
>>> Original instance of package unmerged safely.
 *
 * To enable mod_auth_ldap, you need to edit your /etc/conf.d/apache2 file and
 * add '-D AUTH_LDAP' to APACHE2_OPTS.
 *
 *
 * Configuration file installed as
 *     /etc/apache2/modules.d/55_mod_auth_ldap.conf
 * You may want to edit it before turning the module on in /etc/conf.d/apache2
 *
>>> net-www/mod_auth_ldap-3.3-r20 merged.

und siehe da nach dem change von AUTH_LDAP nach APACHE2_OPTS startet der apache, nun kommen nächste meldungen die auf die vhosts zurückleitend sind...

Quote
* Starting apache2 ...
[Sun Apr 29 14:25:23 2007] [warn] _default_ VirtualHost overlap on port 80, the first has precedence
[Sun Apr 29 14:25:23 2007] [warn] _default_ VirtualHost overlap on port 80, the first has precedence
[Sun Apr 29 14:25:23 2007] [warn] _default_ VirtualHost overlap on port 80, the first has precedence                                                      [ ok ]

welche vhosts habe ich noch nicht gesucht, werde dies noch nachholen ... habe den eintrag -D DEFAULT_VHOST der /etc/conf.d/apache2 hinzugefügt, jetzt kommen keine overlap meldungen mehr, gut oder schlecht weiss ich noch nocht ;-)

leider geht immernoch kein login meines horde-login alle werden durch falsche nutzer oder passwort abgewiesen obwohl die benutzer und pw's stimmen... gibt es ein logfile von horde-webmail??

das einzige logfile das ich gefunden habe ist: /tmp/horde.log dies lässt zwar viele fragen offen denn die meldung die da auftaucht ist:
Quote
Apr 29 14:32:18 HORDE [error] [horde] FAILED LOGIN for hau@xxx.ch [192.168.1.2] to Horde [on line 121 of "/var/www/kolab/htdocs/horde/login.php"]
« Last Edit: April 29, 2007, 03:36:23 PM by soeme » Logged
soeme
Newbie
*

Karma: 0
Posts: 19


View Profile
« Reply #10 on: April 30, 2007, 12:04:43 AM »

betreffend horde-login bin ich wieder auf den gleichen fehler hereingefallen wie auch schon  Undecided musste lediglich meine öffentliche domain in der hosts eintragen danach gings... aber mein horde ist wohl eine "never ending story" weitere probleme sind aufgetaucht ...

nach dem login wird der linke frame problemlos dargestellt und man kann so alles anklicken die einen funktionieren andere wie posteingang bringen fehler wie:
Quote
Warning: IMP_Quota::require_once(/var/www/kolab/htdocs/horde/imp/lib/Quota/cyrus.php) [function.IMP-Quota-require-once]: failed to open stream: Datei oder Verzeichnis nicht gefunden in /var/www/kolab/htdocs/horde/imp/lib/Quota.php on line 38

Fatal error: IMP_Quota::require_once() [function.require]: Failed opening required '/var/www/kolab/htdocs/horde/imp/lib/Quota/cyrus.php' (include_path='.:/usr/share/php5:/usr/share/php:/usr/share/php:/usr/share/php:/usr/share/php') in /var/www/kolab/htdocs/horde/imp/lib/Quota.php on line 38

dieser kleiner hack löst das cyrus.php problem: "ln -s /usr/share/php/Horde/Auth/cyrus.php /var/www/kolab/htdocs/horde/imp/lib/Quota/"

« Last Edit: April 30, 2007, 12:29:28 AM by soeme » Logged
Gunnar Wrobel
Administrator
Sr. Member
*****

Karma: 2
Posts: 331


275141552 gunnarwrobel@yahoo.de gunnarwrobel
View Profile WWW Email
« Reply #11 on: May 08, 2007, 10:03:57 AM »

Das Problem sollte sich nach der Installation des neueren horde-framework-kolab (>=20070504) eigentlich erledigen. Tut es das?
Logged
misterbighh
Newbie
*

Karma: 0
Posts: 26


View Profile
« Reply #12 on: May 08, 2007, 10:47:24 AM »

nein Roll Eyes
Logged
Gunnar Wrobel
Administrator
Sr. Member
*****

Karma: 2
Posts: 331


275141552 gunnarwrobel@yahoo.de gunnarwrobel
View Profile WWW Email
« Reply #13 on: May 08, 2007, 10:51:29 AM »

Ja, ist mir auch wieder eingefallen, was es war. Einfach in der

 /var/www/kolab/htdocs/horde/imp/config/servers.php

'driver' => 'cyrus',

auf

'driver' => 'imap',

setzen. Ich haue aber auch noch einmal ein aktualisiertes imp Paket raus.
Logged
soeme
Newbie
*

Karma: 0
Posts: 19


View Profile
« Reply #14 on: June 10, 2007, 07:33:52 PM »

super danke, so nun kann ich meinen workaround wieder herausnehmen ;-)
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!