Hi,

I have problem with install nfsen on Debian9. I want install nfsen 1.3.8. After run script install.pl shom me only:

*./install.pl etc/nfsen.conf*
Check for required Perl modules: All modules found.
Errors in config file:

After I run *perl -w -c etc/nfsen.conf*

and show me this:

Name "main::sources" used only once: possible typo at etc/nfsen.conf line 168. Name "main::plugins" used only once: possible typo at etc/nfsen.conf line 219.
Name "main::DOCDIR" used only once: possible typo at etc/nfsen.conf line 43.
Name "main::FRONTEND_PLUGINDIR" used only once: possible typo at etc/nfsen.conf line 75. Name "main::DISKLIMIT" used only once: possible typo at etc/nfsen.conf line 139. Name "main::WWWUSER" used only once: possible typo at etc/nfsen.conf line 95. Name "main::syslog_facility" used only once: possible typo at etc/nfsen.conf line 186.
Name "main::VARDIR" used only once: possible typo at etc/nfsen.conf line 47.
Name "main::USER" used only once: possible typo at etc/nfsen.conf line 91.
Name "main::PluginConf" used only once: possible typo at etc/nfsen.conf line 224. Name "main::low_water" used only once: possible typo at etc/nfsen.conf line 178.
Name "main::PREFIX" used only once: possible typo at etc/nfsen.conf line 79.
Name "main::ZIPprofiles" used only once: possible typo at etc/nfsen.conf line 127. Name "main::WWWGROUP" used only once: possible typo at etc/nfsen.conf line 96. Name "main::SMTP_SERVER" used only once: possible typo at etc/nfsen.conf line 245. Name "main::MAIL_FROM" used only once: possible typo at etc/nfsen.conf line 242. Name "main::BUFFLEN" used only once: possible typo at etc/nfsen.conf line 99. Name "main::PROFILESTATDIR" used only once: possible typo at etc/nfsen.conf line 63. Name "main::SUBDIRLAYOUT" used only once: possible typo at etc/nfsen.conf line 121. Name "main::BACKEND_PLUGINDIR" used only once: possible typo at etc/nfsen.conf line 71. Name "main::MAIL_BODY" used only once: possible typo at etc/nfsen.conf line 252. Name "main::ZIPcollected" used only once: possible typo at etc/nfsen.conf line 124. Name "main::CONFDIR" used only once: possible typo at etc/nfsen.conf line 33. Name "main::PROFILEDATADIR" used only once: possible typo at etc/nfsen.conf line 67.
Name "main::BINDIR" used only once: possible typo at etc/nfsen.conf line 25.
Name "main::LIBEXECDIR" used only once: possible typo at etc/nfsen.conf line 29.
etc/nfsen.conf syntax OK


and


*perl -d:Trace install.pl etc/nfsen.conf*
>> install.pl:39: require v5.10.1;
>> install.pl:58: my $VERSION = '$Id: install.pl 71 2017-01-19 16:16:21Z peter $';
>> install.pl:59: my $nfsen_version = "1.3.8";
>> install.pl:61: my @ProfileTag = (
>> install.pl:67: my @RequiredDirs = ( 'PREFIX', 'BINDIR', 'LIBEXECDIR', 'CONFDIR', 'DOCDIR',
>> install.pl:629: $| = 1;
>> install.pl:631: my $ConfigFile = shift @ARGV;
>> install.pl:635: unshift @INC, "libexec";
>> install.pl:636: print "Check for required Perl modules: ";
Check for required Perl modules: >> install.pl:644: };
>> install.pl:645: if ( $@ ) {
>> install.pl:650:      print "All modules found.\n";
All modules found.
>> install.pl:654: if ( !NfSen::root_process() ) {
>> libexec/NfSen.pm:264:        my $run_as   = $<;
>> libexec/NfSen.pm:265:        my ($login,$pass,$root_id,$gid) = getpwnam('root');
>> libexec/NfSen.pm:267:        return $run_as == $root_id;
>> install.pl:659: if ( !defined $ConfigFile ) {
>> install.pl:662: if ( ! -f $ConfigFile ) {
>> install.pl:667: if ( !NfConf::LoadConfig($ConfigFile) ) {
>> libexec/NfConf.pm:101:       my $InitConfigFile = shift;
>> libexec/NfConf.pm:103:       my $CONFFILE = defined $InitConfigFile ? $InitConfigFile : "%%CONFDIR%%/nfsen.conf";
>> libexec/NfConf.pm:104:       if ( !-f "$CONFFILE" ) {
>> libexec/NfConf.pm:110:       $CYCLETIME               = 300;
>> libexec/NfConf.pm:111:       $DEBUG                   = 0;
>> libexec/NfConf.pm:112:       $BASEDIR                 = undef;
>> libexec/NfConf.pm:113:       $BINDIR                  = undef;
>> libexec/NfConf.pm:114:       $LIBEXECDIR              = undef;
>> libexec/NfConf.pm:115:       $CONFDIR                 = undef;
>> libexec/NfConf.pm:116:       $DOCDIR                  = undef;
>> libexec/NfConf.pm:117:       $VARDIR                  = undef;
>> libexec/NfConf.pm:118:       $PROFILEDATADIR  = undef;
>> libexec/NfConf.pm:119:       $PROFILESTATDIR  = undef;
>> libexec/NfConf.pm:120:       $PLUGINDIR               = undef;
>> libexec/NfConf.pm:121:       $PREFIX                  = '/usr/local/bin';
>> libexec/NfConf.pm:122:       $USER                    = 'nobody';
>> libexec/NfConf.pm:123:       $GROUP                   = undef;
>> libexec/NfConf.pm:124:       $WWWUSER                 = $USER;
>> libexec/NfConf.pm:125:       $WWWGROUP                = 'www';
>> libexec/NfConf.pm:126:       $BUFFLEN                 = undef;
>> libexec/NfConf.pm:127:       $EXTENSIONS              = undef;
>> libexec/NfConf.pm:128:       $SUBDIRLAYOUT    = 0;
>> libexec/NfConf.pm:129:       $DISKLIMIT               = 98;
>> libexec/NfConf.pm:130:       $PROFILERS               = 1;
>> libexec/NfConf.pm:131:       $COMMSOCKET              = undef;
>> libexec/NfConf.pm:132:       %sources                 = ();
>> libexec/NfConf.pm:133:       %sim                     = ();
>> libexec/NfConf.pm:134:       %PluginConf              = ();
>> libexec/NfConf.pm:135:       $HTMLDIR                 = "/var/www/htdocs/nfsen";
>> libexec/NfConf.pm:136:       $low_water               = 90;
>> libexec/NfConf.pm:137:       $syslog_facility = 'local3';
>> libexec/NfConf.pm:138:       $RRDoffset               = 0;
>> libexec/NfConf.pm:139:       $SIMmode                 = 0;
>> libexec/NfConf.pm:140:       $Refresh                 = $CYCLETIME;
>> libexec/NfConf.pm:141:       $AllowsSystemCMD = 0;
>> libexec/NfConf.pm:142:       $PICDIR                  = undef;
>> libexec/NfConf.pm:143:       $FILTERDIR               = undef;
>> libexec/NfConf.pm:144:       $FORMATDIR               = undef;
>> libexec/NfConf.pm:146:       $MAIL_FROM               = undef;
>> libexec/NfConf.pm:147:       $MAIL_BODY               = q{Alert '@alert@' triggered at timeslot @timeslot@};
>> libexec/NfConf.pm:148:       $SMTP_SERVER     = '';
>> libexec/NfConf.pm:150:       $ZIPcollected    = 1;
>> libexec/NfConf.pm:151:       $ZIPprofiles     = 1;
>> libexec/NfConf.pm:152:       $InterruptExpire = 0;
>> libexec/NfConf.pm:154:       $NFPROFILEOPTS   = '';
>> libexec/NfConf.pm:155:       $NFEXPIREOPTS    = '';
>> libexec/NfConf.pm:157:       $PERL_HAS_MEMLEAK = 0;
>> libexec/NfConf.pm:159:       my $log_type    = $^V =~ /5.10/ ? 'native' : 'unix'; >> libexec/NfConf.pm:161:       $LogSocket      = $^O eq "solaris" ? 'stream' : $log_type;
>> libexec/NfConf.pm:164:       if ( ! open( TMP, $CONFFILE) ) {
>> libexec/NfConf.pm:167:       close TMP;
>> libexec/NfConf.pm:169:       if ( !do $CONFFILE ) {
>> libexec/NfConf.pm:170:               $Log::ERROR = "Errors in config file: $@";
>> libexec/NfConf.pm:171:               return undef;
>> install.pl:668:      print "$Log::ERROR\n";
Errors in config file:
>> install.pl:669:      exit 1;


Does anyone know what's going on?

--
Z poważaniem / Yours sincerely
Zenon Matuszyk
mobile: 00 48 797 004 938
e-mail: zenon.matus...@networkers.pl
www: http://www.networkers.pl

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Nfdump-discuss mailing list
Nfdump-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfdump-discuss

Reply via email to