From: Ralf B. <rb...@st...> - 2014-11-26 07:39:52
|
Hi Sil, Am 25.11.14 um 09:59 schrieb Sil: > Hi list, > > Since the upgrade of egroupware 1.8 to version 14, I get a contab > asyncwrapper.php script error every weeks . > > The command is : > "Cron <www-data@mydomain> /usr/bin/php -q > /usr/share/egroupware/phpgwapi/cron/asyncwrapper.php" > > The beginning of error detail is : > ldap::ldapConnect('localhost', 'uid=me,ou=accounts,o=default,dc=domain', > $passwd) Can't connect/bind to ldap server! Server is unwilling to > perform (53) ldap->ldapConnect:167 / addressbook_ldap->connect:336 / > addressbook_ldap->__construct:291 / addressbook_so->__construct:225 / > addressbook_bo->__construct:165 / bo_merge->__construct:96 / > infolog_merge->__construct:41 / bo_tracking->get_signature:1132 / > bo_tracking->get_body:1008 / bo_tracking->send_notification:717 / > infolog_bo->async_notification:1611 / call_user_func(Array) / > ExecMethod:1051(infolog.infolog_bo.async_notification) / > asyncservice->check_run:456 / call_user_func(Array) / > ExecMethod:1051(phpgwapi.asyncservice.check_run) PHP Warning: > ldap_search(): supplied argument is not a valid ldap link resource in > /usr/share/egroupware/addressbook/inc/class.addressbook_ldap.inc.php on > line 1017 Are you using ldap and it works for requests running throught Apache? > When I try the script in a shell : > $ sudo -u www-data /usr/bin/php -q > /usr/share/egroupware/phpgwapi/cron/asyncwrapper.php > PHP Notice: Undefined index: _ in > /usr/share/egroupware/phpgwapi/cron/asyncwrapper.php on line 15 > sh: 1: -q: not found > > Is this script is part of the old installation ? No, it is part of current version. It runs async services for all EGroupware instances you have. Ralf > The server runs on Debian 7.7 up to date. > > Thanks for your help. > Sil -- Ralf Becker Director Software Development Stylite AG Morschheimer Strasse 15 | Tel. +49 6352 70629 0 D-67292 Kirchheimbolanden | Fax. +49 6352 70629 30 Email: rb...@st... www.stylite.de | www.egroupware.org Managing Directors: Andre Keller | Ralf Becker | Gudrun Mueller Chairman of the supervisory board: Prof. Dr. Birger Leon Kropshofer VAT DE214280951 | Registered HRB 31158 Kaiserslautern Germany |