ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Dmitry Lebkov <dima@sakhalin.ru>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] flow-export в mysql
Date: Thu, 17 Jul 2008 22:54:19 +1100
Message-ID: <487F32EB.5000501@sakhalin.ru> (raw)
In-Reply-To: <487F2E2C.9020601@yandex.ru>

Karavaev Pavel пишет:
> Приветствую сообщество!
> При настройке flow-tools напоролся на такие грабли:
> 
> [root@alpha 2008-07-17]# /usr/bin/flow-export -f3 -u 
> 'имя_юзера:пароль:localhost:3306:база:таблица' < 
> /var/log/net-flow/2008/2008-07/2008-07-17/ft-v05.2008-07-17.153001+0500
> flow-export: Format not supported
> /usr/bin/flow-export: Exported 0 records
> 
> Формат -f2 нормально выводит, через запятую.
> 
> [root@alpha 2008-07-17]# rpm -qa|grep flow
> flow-tools-0.68-alt3.1
> [root@alpha 2008-07-17]#
> 
> 
> Чей косяк и как исправить?

По-умолчанию пакет flow-tools собирается без поддержки SQL.
Для работы с SQL вам необходимо пересобрать пакет с опциями
'--with mysql' или '--with pgsql' (см. spec-файл пакета).

-- 
WBR, Dmitry Lebkov


  reply	other threads:[~2008-07-17 11:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-17 11:34 Karavaev Pavel
2008-07-17 11:54 ` Dmitry Lebkov [this message]
2008-07-18  6:18   ` Karavaev Pavel
2008-07-17 11:57 ` Konstantin A. Lepikhov
2008-07-18  6:22   ` Karavaev Pavel

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=487F32EB.5000501@sakhalin.ru \
    --to=dima@sakhalin.ru \
    --cc=sysadmins@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 sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git