From: "Roman V. Tutov" <tutov@aston.ru>
To: ALT Linux Community <community@lists.altlinux.org>
Subject: Re: [Comm] sarg 2.1 падает
Date: Wed, 24 Jan 2007 11:25:43 +0300
Message-ID: <45B71807.4060406@aston.ru> (raw)
In-Reply-To: <45B70FEA.2080402@aston.ru>
Roman V. Tutov пишет:
> Проблема с саргом
>
> взял с сизифа исходники sarg-2.1-alt1 подправил зависимости и пересобрал под
> мастером 2.4
>
> установил на 4х серверах (везде 2.4 с апдейтами ). везде работает окромя одного
> вываливаеться с ошибкой . Сравнивал права . Сравнивал конфиги . Бил в бубен .
> не помогло .
>
> SARG: Period: 2007Jan23-2007Jan23
> SARG: Making period file
> SARG: Making file: /tmp/sarg/192.168.20.0
> sort: open failed: /tmp/sarg/.htmp: No such file or directory
> SARG: (totday) Cannot open log file: /tmp/sarg/.sort
> SARG: Records in file: 97, reading: 100.00%
>
> Лог файл которого он Cannot open в темпе есть и права на него правильные .
> вот нутром чую что проблема где-то вокруг coreutils в районе sort'a
>
> Может кто наступал уже на такие грабли ?
>
Дополню что путем экспериментом было выявлено что сарг не работает только если ему НЕ указать
дату
_________ так НЕ работает ______________________
#!/bin/bash
YESTERDAY=$(date --date "1 days ago" +%d/%m/%Y)
exec /usr/sbin/sarg -x \
-o /var/www/html/sarg/daily \
-d $YESTERDAY
exit 0
__________________________________________________
____________А вот так работает ___________________
#!/bin/bash
exec /usr/sbin/sarg -x \
-o /var/www/html/sarg/daily
exit 0
___________________________________________________
Разгадка не приблизилась :(
--
Тутов Роман Викторович
ст.Системный администратор
ASTON Agro Industrial Company Group
Россия,344002, г.Ростов-на-Дону,Промзона "Заречная"
ул.1-я Луговая,3 тел.: (863 2) 999049
JID:tutov@jabber.aston.ru
mailto:tutov@aston.ru
prev parent reply other threads:[~2007-01-24 8:25 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-24 7:51 Roman V. Tutov
2007-01-24 7:56 ` Slava Dubrovskiy
2007-01-24 8:18 ` Roman V. Tutov
2007-01-24 8:27 ` Slava Dubrovskiy
2007-01-24 7:57 ` Dmitriy L. Kruglikov
2007-01-24 8:25 ` Roman V. Tutov [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=45B71807.4060406@aston.ru \
--to=tutov@aston.ru \
--cc=community@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git