Dear all,

I have three sources configured in nfsen.conf and they work fine:

%sources = (
    'lodzgw'    => { 'port' => '5355', 'col' => '#ff0000' },
    'poznangw1' => { 'port' => '5255', 'col' => '#0000ff' },
    'poznangw2' => { 'port' => '5155', 'col' => '#f000f0' }
);

however when I try to add new ones like this:
%sources = (
    'lodzgw'    => { 'port' => '5355', 'col' => '#ff0000' },
    'poznangw1' => { 'port' => '5255', 'col' => '#0000ff' },
    'poznangw2' => { 'port' => '5155', 'col' => '#f000f0' },
    'poznan3' => { 'port' => '5455', 'col' => '#00ff00' },
    'poznan4' => { 'port' => '5555', 'col' => '#ffcc00' }
);

and do ./nfsen reconfig I got this error:
root@mirabilis:/home/services/nfsen/bin# ./nfsen reconfig
UNIVERSAL->import is deprecated and will be removed in a future perl at /home/services/nfsen/libexec/Nfcomm.pm line 47
New sources to configure : poznan4 poznan3
Continue? [y/n] y

Add source(s): poznan4 poznan3:
Add source 'poznan4' Start nfcapd: (Can't use string ("poznan4") as an ARRAY ref while "strict refs" in use at /home/services/nfsen/libexec/NfSenRC.pm line 53.
root@mirabilis:/home/services/nfsen/bin#

I have no idea what is the reason?

Doing reconfig again I got: Profile 'live' is locked. Try later

root@mirabilis:/home/services/nfsen/bin# ./nfsen -V
./nfsen: 1.3.4 $Id: nfsen 65 2010-07-04 19:40:16Z haag $

Best regards,
--
Szymon Trocha

Poznan Supercomputing & Netw. Center ::: NETWORK OPERATION CENTER
Tel. +48 618582022 ::: http://noc.man.poznan.pl

Attachment: smime.p7s
Description: Kryptograficzna sygnatura S/MIME

------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Nfsen-discuss mailing list
Nfsen-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfsen-discuss

Reply via email to