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

помогите с установкой exilog

Добавлено: 2007-02-10 13:28:16
snic
Пытаюсь установить exilog. Cкачал дистрибутив, развернул базу, установил нужные perl-модули, настроил apache. При попытке открыть лубую страницу получаю ошибку:

[error] Can't locate exilog_config.pm in @INC (@INC contains: /usr/sbin/ /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 . /etc/httpd) at /var/www/exi/exilog_agent.pl line 18.\nBEGIN failed--compilation aborted at /var/www/exi/exilog_agent.pl line 18.\n

Насколько я понял какието ошибки в модулях сомого exilogа. Ниже перечисляю файлы настройки.....

exilog.conf:

{ # DO NOT REMOVE THIS BRACKET

# Exilog config file. Read the comments. Obey the syntax.
# (c) Tom Kistner 2005


'servers' => {
# ------------------------------------
# Server definitions. One block per server,
# separated with comma.

# Currently, each server only has a single
# property: Its group membership. Groups are
# just strings that bundle servers. Each
# server can only be in one group.

# Keep the server names short (do not use FQDN).
# Likewise, keep the group names short.

'localhost' => {
'group' => 'root'
},

'localhost' => {
'group' => 'root'
}

}, # End of server definitions ----------------------


'sql' => { # ----------------------------------------
# SQL Server definition. Use one of the following
# blocks as a template.

# Example for local MySQL server
'type' => 'mysql',
'DBI' => 'DBI:mysql:database=eximlog;',
'user' => 'exilog',
'pass' => 'loop'
}, # End of SQL server definition --------------------


'agent' => {
# ---------------------------------------
# Agent configuration.

# The agent writes a log file. You can also
# use /dev/null here once things are running
# smoothly.
######'log' => '/var/log/exilog_agent',
'log' => '/dev/null',
# The agent writes its PID into this file. Useful,
# if you want to start the agent using a command
# like start-stop-daemon.
'pidfile' => '/var/run/exilog-agent.pid',

# If this is set to 'no', the agent will NOT change
# its process names to be more informative. This will
# prevent problems on systems that restrict changes
# to process names for security reasons (Debian and
# NetBSD for example).
#'use_pretty_names' => 'no',

# The server the agent is running on. MUST
# be one of the names specified in the
# 'Servers' section above.
'server' => 'localhost',

# The log(s) to monitor. If you log via syslog,
# this will only be a single file (typically
# /var/log/mail). If you use Exim's own logging,
# you should specify the mainlog and rejectlog here.
'logs' => [
'/var/log/exim/main.log'
],

# Path to Exim's queue directory.
'queue' => '/var/spool/exim',

# Path to your Exim binary
'exim' => '/usr/sbin/exim',

# Delay between two queue listing refreshes.
# Thirty seconds is reasonable.
'queue_refresh_delay' => 30

}, # End of Exilog Agent configuration ---------------


'cleanup' => { # -------------------------------------
# Configuration for the database cleanup tool
# (exilog_cleanup.pl).

# How many days worth of logs to keep in the
# database. 10 days is somehow reasonable. If
# you run a small shop you can also keep months
# of logs. If you run a VERY big shop you might
# want to reduce this number or buy some more
# processing power.
'cutoff' => 10

}, # End of exilog_cleanup.pl configuration ----------

'web' => { # -----------------------------------------
# Options for the web interface.

# Defines how the web interface shows timestamps.
# Use 'local' to use the local time of the HTTP server
# machine, or use 'gmt' to use normalized GMT
# timestamps.
# TIP: If all of your machines are in one time zone,
# use 'local'.
'timestamps' => 'local',

# When using basic auth to restrict access to the web
# interface, you can define users to be "read-only".
# They will not be able to cancel or delete messages
# (but they can start a delivery run). Clients that
# do not authenticate are mapped to a user name
# of "anonymous".
#####'restricted_users' => [
##### 'anonymous',
##### 'bob',
##### 'alice',
##### 'peter'
##### ]

} # End of web interface configuration ---------------
};

# EOF



httpd.conf:

<Directory "/var/www/exi/">
<Files ~ "\.pl">
SetHandler perl-script
PerlHandler ModPerl::Registry
</Files>
Options FollowSymLinks ExecCGI
Options FollowSymLinks ExecCGI Indexes MultiViews
# Allow from 192.168.1.
# AllowOverride All

</Directory>

Alias /s "/var/www/exi/"

Добавлено: 2007-02-13 16:04:11
Zedik
ставил от сюды http://duncanthrax.net/exilog/ по инструции
конфиг такой же как и у тебя....а вот что у меня в апаче

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

<VirtualHost IP>
ErrorLog /usr/local/www/logs/mail.domen.ru/errors.log
DocumentRoot /usr/local/www/vhosts/mail.domen.ru
ServerName mail.domen.ru
RewriteEngine On
RewriteOptions inherit
</VirtualHost>
<Directory /usr/local/www/vhosts/mail.domen.ru>
    Options -Indexes FollowSymLinks MultiViews +Includes
    AllowOverride All
    <IfModule mod_access.c>
          Order allow,deny
    Allow from all
    </IfModule>
</Directory>
    <Directory /usr/local/www/vhosts/mail.domen.ru/exilog>
        AllowOverride All
Options Includes Indexes FollowSymLinks +ExecCGI
    SetHandler cgi-script
<IfModule mod_access.c>
  Order allow,deny
    Allow from all
    </IfModule>
    </Directory>
запускается, но ничего не отображает,
с правами разбираюсь

Добавлено: 2007-03-03 9:35:22
TTr0
hello
Есть проблемма с exilog
призапуске пишет
mail# ./exilog.sh start
Starting exilog.
(16551) [exilog_agent] Detaching from terminal, output goes to /var/log/exilog_agent.

в /var/log/exilog_agent

Sat Mar 3 11:23:28 2007 (16551) [exilog_agent] Starting.
(16552) [exilog_agent] spawned tail process for '/var/log/maillog' (16553).
(16552) [exilog_agent] spawned queue manager process.
(16552) [exilog_agent] spawned queue actions process.

в БД не чего не заносится
Ставил из портов и из исходников, результат одинаковый.

что этому eximlog еще надо ??

Добавлено: 2007-03-07 14:20:23
abanamat
ему надо чтоб лог екзима был как он по-умолчанию означен.

в configure нарисуй

log_file_path = /var/log/exim/exim_%s.log
write_rejectlog = no
syslog_timestamp = yes

и будет тебе часте

Добавлено: 2007-07-13 13:53:32
FireWall
Надо чтобы вебовские скрипты лежали в папке по умолчанию /usr/local/www/exilog
а вообще:
/usr/local/share/doc/exilog/exilog.txt