We looked at the source, found where the error was being generated, and did a little debugging.

It appears there may be a missing dependency? We installed the php5-sqlite package on our Debian jessie system and the error seems to have gone away.


On 8/19/2017 6:09 AM, Roland Gruber wrote:
Hi Barry,

cron jobs are used to automate some tasks. This is mainly deleting old accounts or reminding users before their password expires.

https://www.ldap-account-manager.org/static/doc/manual/ch03s02.html#idm45792636460688

If you do not use any of this functionality there is no need to run the cron job. On the configuration page is also a button to check database connection.

Best regards
Roland

Am 18. August 2017 23:31:56 MESZ schrieb "Barry A. Trent" <[email protected]>:

    We just upgraded from LAM Pro 5.5 to 6.0.1 and it all appeared to go
    smoothly. The web interface is fully functional, as it was before.

    Both the old and (now) the new version spit out an error every night
    though when a cron job runs:


    -------- Forwarded Message --------
    Subject:  Cron <root@coelacanth>
    /usr/share/ldap-account-manager/lib/cron.sh <http://cron.sh>  lam 
595319130030
    Date:  Fri, 18 Aug 2017 00:30:02 -0500
    From:  Cron Daemon <[email protected]>
    To:  [email protected]


    Unable to connect to database. could not find driver


    ------------------------------------------------------------------------


    As I said, everything on the "front-end" appears to be working ok. Any
    idea what's causing this message to occur? Did we miss some
    configuration step? What does this cron job even do?  We are running on
    Debian Jessie.


--
Barry A. Trent
952-829-5864, x109
[email protected]

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Lam-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lam-public

Reply via email to