Differences

This shows you the differences between two versions of the page.

Link to this comparison view

documentation:2.1:error [2019/01/15 15:55] (current)
Line 1: Line 1:
 +====== Error messages ======
 +
 +<​note>​This page do not reference all error messages, but only the frequentest</​note>​
 +
 +===== Lemonldap::​NG::​Common =====
 +
 +<​file>​Warning:​ key is not defined, set it in the manager !</​file>​
 +→ LemonLDAP::​NG uses a key to crypt/​decrypt some datas. You have to set its value in Manager. This message is displayed only when you upgrade from a version older than 1.0
 +
 +<​file>​Can'​t locate /​usr/​share/​lemonldap-ng/​configStorage.pl</​file>​
 +→ When you upgrade from Debian Lenny with customized index.pl files, you must upgrade them. See [[upgrade#​debian_lenny_upgrade|Debian Lenny upgrade]].
 +
 +===== Lemonldap::​NG::​Handler =====
 +
 +<​file>​Unable to clear local cache</​file>​
 +→ Local cache cannot be cleared, check the localStorage and localStorageOptions or file permissions
 +
 +<​file>​Status module can not be loaded without localStorage parameter</​file>​
 +→ You tried to activate Status module without localStorage. Configure local cache first.
 +
 +<​file>​No configuration found</​file>​
 +→ The configuration cannot be loaded. Check configStorage and configStorageOptionsor file permissions.
 +
 +<​file>​User rejected because VirtualHost XXXX has no configuration</​file>​
 +→ The specified virtual host is not configured in Manager.
 +
 +<​file>​mkdir /​tmp/​MyNamespace/​2:​ Permission denied ...</​file>​
 +→ The cache has been created by another user than Apache'​s user. Restart Apache to purge it.
 +<note important>​This can append when you use lmConfigEditor or launch **cron files** with a different user than Apache process. That is why it is important to set APACHEUSER variable when you launch "make install"​
 +</​note>​
 +
 +<​file>​Lemonldap::​NG::​Handler::​SharedConf:​ No cookie found</​file>​
 +→ User does not have Lemonldap::​NG cookie, handler redirect it to the portal
 +
 +<​file>​The cookie $id isn't yet available: Object does not exist in the data store</​file>​
 +→ User session has expired or handler does not have access to the same Apache::​Session database than the portal
 +
 +<​file>​Firefox has detected that the server is redirecting the request for this address in a way that will never complete</​file>​
 +→ Your browser loops between portal and handler, it is probably a cookie problem. Verify that:
 +  * the portal is in the declared domain
 +  * CDA is set if the handler is not in the same domain
 +  * portal is in a https virtualhost if securedCookie is set
 +  * you've restart all Apache server after having change cookie name or domain
 +
 +===== Lemonldap::​NG::​Manager =====
 +
 +<​file>​XXXX was not found in tree</​file>​
 +→ The specified node is not the uploaded tree.
 +
 +===== Lemonldap::​NG::​Portal =====
 +
 +<​file>​User XXXX was not granted to open session</​file>​
 +→ Check grantSessionRule parameter.
 +
 +<​file>​XML menu configuration is deprecated. Please use lmMigrateConfFiles2ini to migrate your menu configuration</​file>​
 +→ You do not use the new configuration syntax for application list. XML file is no more accepted.
 +
 +<​file>​Apache is not configured to authenticate users !</​file>​
 +→ You use the Apache authentication backend, but Apache is not or bad configured (no REMOTE_USER send to LemonLDAP::​NG).
 +
 +<​file>​URL contains a non protected host</​file>​
 +→ The host is not known by LemonLDAP::​NG. Add it to trustedDomains (or set ''​*''​ in trustedDomains to accept all).
 +
 +<​file>​XSS attack detected</​file>​
 +→ Some URL parameters contain forbidden characters.
 +