Bug#610974: Missing configuration file: /usr/share/simplesamlphp/config/config-sanitycheck.php

January 24th, 2011 - 10:10 am ET by Fabrice Flore-Thebault | Report spam
Package: simplesamlphp
Version: 1.7.0-1
Severity: normal

Browsing this page :

http://127.0.0.1/simplesamlphp/module.php/sanitycheck/index.php

I get following error :

SimpleSAML_Error_Error: UNHANDLEDEXCEPTION

Backtrace:
0 /usr/share/simplesamlphp/www/module.php:180 (N/A)
Caused by: Exception: Missing configuration file:
/usr/share/simplesamlphp/config/config-sanitycheck.php
Backtrace:
3 /usr/share/simplesamlphp/lib/SimpleSAML/Configuration.php:104
(SimpleSAML_Configuration::loadFromFile)
2 /usr/share/simplesamlphp/lib/SimpleSAML/Configuration.php:168
(SimpleSAML_Configuration::getConfig)
1 /usr/share/simplesamlphp/modules/sanitycheck/www/index.php:5 (require)
0 /usr/share/simplesamlphp/www/module.php:135 (N/A)

Adding this symlink fixes the error :

cd /etc/simplesamlphp
sudo ln -s config.php config-sanitycheck.php

Debian Release: 6.0
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.37-rc7-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages simplesamlphp depends on:
ii apache2 2.2.16-6 Apache HTTP Server metapackage
ii apache2-mpm-prefork [ht 2.2.16-6 Apache HTTP Server - traditional n
ii libapache2-mod-php5 5.3.3-7 server-side, HTML-embedded scripti
ii openssl 0.9.8o-4 Secure Socket Layer (SSL) binary a
ii php-openid 2.2.2-1 PHP OpenID library
ii php-xml-parser 1.3.2-4 PHP PEAR module for parsing XML
ii php5 5.3.3-7 server-side, HTML-embedded scripti
ii php5-common [php5-mhash 5.3.3-7 Common files for packages built fr
ii php5-mcrypt 5.3.3-7 MCrypt module for php5
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime

Versions of packages simplesamlphp recommends:
ii php5-cli 5.3.3-7 command-line interpreter for the p

Versions of packages simplesamlphp suggests:
ii mysql-server 5.1.49-3 MySQL database server (metapackage
ii mysql-server-5.1 [mysql-serve 5.1.49-3 MySQL database server binaries and
ii php5-ldap 5.3.3-7 LDAP module for php5
ii php5-mysql 5.3.3-7 MySQL module for php5
pn php5-radius <none> (no description available)




To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
email Follow the discussionReplies 1 replyReplies Make a reply

Replies

#1 Thijs Kinkhorst
January 24th, 2011 - 10:40 am ET | Report spam
On Mon, 24 Jan 2011 16:03:20 +0100, Fabrice Flore-Thebault
wrote:
Adding this symlink fixes the error :

cd /etc/simplesamlphp
sudo ln -s config.php config-sanitycheck.php



Again (as in #610973) I do not understand why you would make the regular
config file symlinked to the config-sanitycheck.php file. Each module you
want to enable can have its own config file which contains settings
specific to that module. In this case you could create a
config-sanitycheck.php based on
/usr/share/simplesamlphp/modules/sanitycheck/config-templates/


Thijs Kinkhorst – LIS Unix

Universiteit van Tilburg – Library and IT Services
Bezoekadres > Warandelaan 2 • Tel. 013 466 3035 • G 236



To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact

Similar topics