Apache, Lighttpd, nginx, Cherokee
schnere
Posts: 64 Joined: 2006-08-15 17:28
Contact:
Post
by schnere » 2007-04-10 11:57
Hi!
Ich hab grad
http://munin.projects.linpro.no/wiki auf meinem Server installiert und nach
dieser Anleitung konfiguriert.
Ohne Authentifikation hat alles funktioniert. Aber, wenn ich die Authentification einschalte:
Code: Select all
<Directory />
Options FollowSymLinks
AllowOverride None
#authentification
AuthType Digest
AuthName "munin"
AuthDigestFile /var/www/munin/.htpasswd
#people using apache 2.2 will use instead:
#AuthUserFile /var/www/munin/.htpasswd
require valid-user
</Directory>
bekomme ich folgenden Fehler:
Code: Select all
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, ich@meinserver.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Apache/2.0.55 (Ubuntu) mod_fastcgi/2.4.2 PHP/4.4.2-1build1 Server at monitoring.meinserver.com Port 80
timeless2
Posts: 415 Joined: 2005-03-04 14:45
Location: Paris
Post
by timeless2 » 2007-04-10 14:06
schnere wrote: Code: Select all
More information about this error may be available in the server error log.
schnere
Posts: 64 Joined: 2006-08-15 17:28
Contact:
Post
by schnere » 2007-04-10 14:20
error.log:
Code: Select all
[Tue Apr 10 14:22:38 2007] [notice] caught SIGTERM, shutting down
[Tue Apr 10 14:22:38 2007] [notice] Digest: generating secret for digest authentication ...
[Tue Apr 10 14:22:38 2007] [notice] Digest: done
[Tue Apr 10 14:22:38 2007] [notice] FastCGI: process manager initialized (pid 6986)
PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php4/20050606/domxml.so' - /usr/lib/php4/20050606/domxml.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php4/20050606/imap.so' - /usr/lib/php4/20050606/imap.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Tue Apr 10 14:22:38 2007] [notice] Apache/2.0.55 (Ubuntu) mod_fastcgi/2.4.2 PHP/4.4.2-1build1 configured -- resuming normal operations
[Tue Apr 10 14:22:43 2007] [error] Failed to run mod-auth-mysql for /: No database name specified
[Tue Apr 10 14:22:43 2007] [crit] [client 84.20.190.94] configuration error: couldn't check user. No user file?: /
Die Zeile mit mod-auth-mysql versteh ich nicht, ich hatte doch AuthType Digest...
frey
Posts: 9 Joined: 2006-08-25 08:45
Post
by frey » 2007-04-10 15:39
Hast du die Datei "/var/www/munin/.htpasswd" angelegt und wenn ja kann der Apache diese Datei lesen ?
flo
Posts: 2223 Joined: 2002-07-28 13:02
Location: Berlin
Post
by flo » 2007-04-10 16:02
Nimm das mod-auth-mysql mal raus, soweit ich mich erinnern kann, hängt sich das in den digest-Mechanismus.
flo.
schnere
Posts: 64 Joined: 2006-08-15 17:28
Contact:
Post
by schnere » 2007-04-10 16:13
Die .htpasswd hab ich erstellt.
Funktioniert mittlerweile, hab das auth_mysql rausgegeben.
Danke!