Страница 1 из 1

Error EXILOG-a

Добавлено: 2012-10-11 17:21:20
werder31
Добрый день

Код: Выделить всё

FreeBSD mail.domain.com 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #0: Sun Oct  7 18:20:35 EEST 2012     root@MAIL:/usr/obj/usr/src/sys/MAIL  amd64
Поставил Exim+courier-imap+mysql, все запустилось нормально - работает!!
Захотелось видить статистику, установил Exilog
exilog.conf:

Код: Выделить всё

{
    'servers' => {
      'DOMAIN.COM' => {
                     'group' => 'YourGroup'
                  },
    },
    'sql' => {
      'type'     => 'mysql',
      'DBI'      => 'DBI:mysql:database=exilog;',
      'user'     => 'USER',
      'pass'     => 'PASSWORD'
   },
   'agent' => {
     'log' => '/var/log/exilog_agent',
     'pidfile' => '/var/run/exilog-agent.pid',
     'server' => 'DOMAIN.COM',
     'logs' => [
                 '/var/log/exim/mainlog'
               ],
     'queue' => '/var/spool/exim',
     'exim' => '/usr/sbin/exim',
     'queue_refresh_delay' => 30
   },
   'cleanup' => {
     'cutoff' => 10
   },
   'web' => {
     'timestamps' => 'local',
     'restricted_users' => [
       'anonymous',
       'bob',
       'alice',
       'peter'
     ]
   }
};
Но не тут то было, в /var/log/exilog_agent сыпится такая хрень:

Код: Выделить всё

(9710) [exilog_agent:_queue_manager] (/var/spool/exim) Thu Oct 11 17:16:02 2012 Opening filehandle THIS also as a directory at /usr/local/sbin/exilog_agent.pl line 366, <THIS> line 35.
(9710) [exilog_agent:_queue_manager] (/var/spool/exim) Thu Oct 11 17:16:02 2012 Opening filehandle THIS also as a directory at /usr/local/sbin/exilog_agent.pl line 366, <THIS> line 35.
(9710) [exilog_agent:_queue_manager] (/var/spool/exim) Thu Oct 11 17:16:02 2012 Opening filehandle THIS also as a directory at /usr/local/sbin/exilog_agent.pl line 366, <THIS> line 35.
(9710) [exilog_agent:_queue_manager] (/var/spool/exim) Thu Oct 11 17:16:02 2012 Opening filehandle THIS also as a directory at /usr/local/sbin/exilog_agent.pl line 366, <THIS> line 35.
(9710) [exilog_agent:_queue_manager] (/var/spool/exim) Thu Oct 11 17:16:02 2012 Opening filehandle THIS also as a directory at /usr/local/sbin/exilog_agent.pl line 366, <THIS> line 35.
(9710) [exilog_agent:_queue_manager] (/var/spool/exim) Thu Oct 11 17:16:02 2012 Opening filehandle THIS also as a directory at /usr/local/sbin/exilog_agent.pl line 366, <THIS> line 35.
(9710) [exilog_agent:_queue_manager] (/var/spool/exim) Thu Oct 11 17:16:02 2012 Opening filehandle THIS also as a directory at /usr/local/sbin/exilog_agent.pl line 366, <THIS> line 35.
(9710) [exilog_agent:_queue_manager] (/var/spool/exim) Thu Oct 11 17:16:02 2012 Opening filehandle THIS also as a directory at /usr/local/sbin/exilog_agent.pl line 366, <THIS> line 35.
(9710) [exilog_agent:_queue_manager] (/var/spool/exim) Thu Oct 11 17:16:02 2012 Opening filehandle THIS also as a directory at /usr/local/sbin/exilog_agent.pl line 366, <THIS> line 35.
(9710) [exilog_agent:_queue_manager] (/var/spool/exim) Thu Oct 11 17:16:02 2012 Opening filehandle THIS also as a directory at /usr/local/sbin/exilog_agent.pl line 366, <THIS> line 35.
(9710) [exilog_agent:_queue_manager] (/var/spool/exim) Thu Oct 11 17:16:02 2012 Opening filehandle THIS also as a directory at /usr/local/sbin/exilog_agent.pl line 366, <THIS> line 35.
(9710) [exilog_agent:_queue_manager] (/var/spool/exim) Thu Oct 11 17:16:02 2012 Opening filehandle THIS also as a directory at /usr/local/sbin/exilog_agent.pl line 366, <THIS> line 35.
(9710) [exilog_agent:_queue_manager] (/var/spool/exim) Thu Oct 11 17:16:02 2012 Opening filehandle THIS also as a directory at /usr/local/sbin/exilog_agent.pl line 366, <THIS> line 35.
(9710) [exilog_agent:_queue_manager] (/var/spool/exim) Thu Oct 11 17:16:02 2012 Opening filehandle THIS also as a directory at /usr/local/sbin/exilog_agent.pl line 366, <THIS> line 35.
(9710) [exilog_agent:_queue_manager] (/var/spool/exim) Thu Oct 11 17:16:02 2012 Opening filehandle THIS also as a directory at /usr/local/sbin/exilog_agent.pl line 366, <THIS> line 35.
(9710) [exilog_agent:_queue_manager] (/var/spool/exim) Thu Oct 11 17:16:02 2012 Opening filehandle THIS also as a directory at /usr/local/sbin/exilog_agent.pl line 366, <THIS> line 35.
(9710) [exilog_agent:_queue_manager] (/var/spool/exim) Thu Oct 11 17:16:02 2012 Opening filehandle THIS also as a directory at /usr/local/sbin/exilog_agent.pl line 366, <THIS> line 35.
(9710) [exilog_agent:_queue_manager] (/var/spool/exim) Thu Oct 11 17:16:02 2012 Opening filehandle THIS also as a directory at /usr/local/sbin/exilog_agent.pl line 366, <THIS> line 35.
(9710) [exilog_agent:_queue_manager] (/var/spool/exim) Thu Oct 11 17:16:02 2012 Opening filehandle THIS also as a directory at /usr/local/sbin/exilog_agent.pl line 366, <THIS> line 35.
(9710) [exilog_agent:_queue_manager] (/var/spool/exim) Thu Oct 11 17:16:02 2012 Opening filehandle THIS also as a directory at /usr/local/sbin/exilog_agent.pl line 366, <THIS> line 35.
(9710) [exilog_agent:_queue_manager] (/var/spool/exim) Thu Oct 11 17:16:02 2012 Opening filehandle THIS also as a directory at /usr/local/sbin/exilog_agent.pl line 366, <THIS> line 35.
В файле что указан в ошибке /usr/local/sbin/exilog_agent.pl строка 366:

Код: Выделить всё

 return unless (opendir(THIS,$base."/".$subdir));
Google - молчит.

Помогите плз.
Заранее спасибо!!!

Re: Error EXILOG-a

Добавлено: 2012-10-11 18:27:58
werder31
Отвечаю сам себе :))))

CHMOD 644 /usr/local/etc/exilog.conf

УРАААААА