Если в конфигурационном файле указано storage = postgre, ipacsum выдает ошибку bad line from fetchipac: quering ... Проблема связана с тем, что вместе с нужными строками от fetchipac приходит диагностический вывод. Проблема решается следующим патчем: --- ipac-ng-1.27/storage/postgre/postgre.c.orig 2004-01-16 17:43:51 +0300 +++ ipac-ng-1.27/storage/postgre/postgre.c 2004-01-16 17:44:08 +0300 @@ -227,7 +227,7 @@ if (filter) sprintf(wh_exec+strlen(wh_exec), " and rule_name like '%%%s% %'", filter); sprintf(wh_exec+strlen(wh_exec), " order by that_time"); - printf("quering: %s\n", wh_exec); +/* printf("quering: %s\n", wh_exec);*/ #ifdef DEBUG_POST fprintf(logs, "%lu : postgre_stor_get_record\n", time(NULL)); fprintf(logs, "%s\n", wh_exec);
Исправлен в версии 1.27-alt5, спасибо