crontab return error
Hello,
last night I received a mail from cron daemon :
Cron www-data@myhost test -x /usr/share/lemonldap-ng/bin/purgeLocalCache && /usr/share/lemonldap-ng/bin/purgeLocalCache (failed)
Here is the output of the mail :
unclosed token at line 1, column 1151, byte 1151 at /usr/lib/perl5/XML/Parser.pm line 187 <soap:Envelope xmlns:apachens="http://xml.apache.org/xml-soap" xmlns:namesp16="http://namespaces.soaplite.com/perl" soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">soap:Body2allusers1FUm)Iwc)Rw]l3sdHurn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST;#PORTAL#/saml/singleSignOn;paste l5Example<persistentStor at /usr/share/perl5/Lemonldap/NG/Common/Conf/SOAP.pm line 49
Another host report :
unclosed token at line 1, column 20063, byte 20063 at /usr/lib/perl5/XML/Parser.pm line 187 <soap:Envelope xmlns:apachens="http://xml.apache.org/xml-soap" soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:namesp12="http://namespaces.soaplite.com/perl" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">soap:Body2allusers1FUm)Iwc)Rw]l3sdHurn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST;#PORTAL#/saml/singleSignOn;paste l5Exampleutf-8urn:oasis:names:tc:SAML:2.0:bindings:SOAP;#PORTAL#/saml/proxySingleLogoutSOAP;urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect;#PORTAL#/saml/singleLogout;#PORTAL#/saml/singleLogoutReturnuidLDAP<_whatToTrace xsi:type="xsd:string">_auth eq 'SAML' ? "
_user@_idpConfKey" : "
_user"</_whatToTrace>0</mailOnPasswordChang
e>Apache::Session::File</globalS
This is maybe due to a network outage, It might be interesting to have a more "friendly" message if something goes wrong.
Hugo