[NFDB-users] Notices about InstallNotes.
Jason Dixon
jason at dixongroup.net
Tue May 19 15:51:06 EDT 2009
On Tue, May 19, 2009 at 12:32:49PM +0200, Filip Palian wrote:
> Hi guys,
>
> In the install notes (http://trac.netflowdashboard.com/netflowdashboard/wiki/InstallNotes) I've found two errors:
>
> 1) Setting up the Database
>
> In the listing there is:
>
> $ pgctl -D /var/postgresql/data -l logfile start
>
> and IMHO it should be:
>
> $ pg_ctl -D /var/postgresql/data -l logfile start
Fixed both instances of "pgctl".
> 2) NetFlow Agent
>
> In the listing there is:
>
> $ sudo ifconfig pflow0 flowsrc 10.10.10.1 flowdst 10.10.10.10:12345
> $ ifconfig pflow0
> pflow0: flags=<UP,RUNNING> mtu 1464
> pflow: sender: 10.10.10.1 receiver: 10.10.10.10:12345
> groups: pflow
>
> and IMHO it should be:
>
> $ sudo ifconfig pflow0 flowsrc 10.10.10.1 flowdst 10.10.10.10:12345 up
> $ ifconfig pflow0
> pflow0: flags=<UP,RUNNING> mtu 1464
> pflow: sender: 10.10.10.1 receiver: 10.10.10.10:12345
> groups: pflow
>
> otherwise if pflow device wasn't there before, execution of the commands in the current form of the install notes will result with:
>
> $ sudo ifconfig pflow0 flowsrc 10.10.10.1 flowdst 10.10.10.10:12345
> $ ifconfig pflow0
> pflow0: flags=<> mtu 1464
> pflow: sender: 10.10.10.1 receiver: 10.10.10.10:12345
> groups: pflow
>
> In this case nothing will be send and recived via this device. It may save a lot of time to someone;-)
I disagree completely. On my systems, the creation of pflow0 is
sufficient to bring the interface into the UP state. Perhaps you're
running an older snapshot?
Thanks,
--
Jason Dixon
DixonGroup Consulting
http://www.dixongroup.net/
More information about the nfdb-users
mailing list