LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-20-2017, 11:34 AM   #1
OreCollector
LQ Newbie
 
Registered: Jan 2017
Posts: 10

Rep: Reputation: Disabled
NfSen Errors After Reboot


I am having difficulty with NfSen after a reboot. When browsing to the web page I receive several errors:

Quote:
Frontend - Backend version missmatch!

ERROR: nfsend connect() error: Connection refused!

ERROR: nfsend - connection failed!!

ERROR: Can not initialize globals!
I tried starting nfsen, but received an error.

Quote:
[root@nfsen bin]# ./nfsen start
-bash: ./nfsen: %%PERL%%: bad interpreter: No such file or directory
Any troubleshooting pointers, please?
 
Old 11-27-2017, 02:05 AM   #2
GentleThotSeaMonkey
Member
 
Registered: Dec 2016
Posts: 338
Blog Entries: 4

Rep: Reputation: 128Reputation: 128
What version? http://sourceforge.net/p/nfsen/bugs/43
Try web-searching the errors: https://sourceforge.net/p/nfsen/mail...sage/22868767/
Try -vx on the script (IF it is a script: use file command on it)
Try like: grep -r %%PERL%% .

Awaiting more info.
 
Old 11-27-2017, 11:01 AM   #3
OreCollector
LQ Newbie
 
Registered: Jan 2017
Posts: 10

Original Poster
Rep: Reputation: Disabled
Thank you for the suggestions. I am running 1.3.6p1 and it looks like the path to Perl may be off.
Quote:
[root@nfsen ~]# cd nfsen-1.3.6p1
[root@nfsen nfsen-1.3.6p1]# ls
bin BSD-license.txt ChangeLog contrib etc helpers html installer-items install.pl libexec plugins README README.plugins
[root@nfsen nfsen-1.3.6p1]#
[root@nfsen nfsen-1.3.6p1]#
[root@nfsen nfsen-1.3.6p1]# cd bin/
[root@nfsen bin]# ls
nfsen nfsend RebuildHierarchy.pl testPlugin
[root@nfsen bin]#
[root@nfsen bin]# ./nfsen -vx
-bash: ./nfsen: %%PERL%%: bad interpreter: No such file or directory
[root@nfsen bin]#
[root@nfsen bin]#
[root@nfsen bin]# grep -r %%PERL%%
nfsend:#!%%PERL%% -w
RebuildHierarchy.pl:#!%%PERL%% -w
testPlugin:#!%%PERL%% -w
nfsen:#!%%PERL%% -w
[root@nfsen bin]#
[root@nfsen bin]#
[root@nfsen bin]# which perl
/bin/perl
[root@nfsen bin]#
I tried changing the path and managed to change the error message:
Quote:
[root@nfsen bin]# ./nfsen start
Can't locate NfConf.pm in @INC (@INC contains: %%LIBEXECDIR%% /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at ./nfsen line 56.
BEGIN failed--compilation aborted at ./nfsen line 56.
[root@nfsen bin]#
[root@nfsen bin]# head nfsen
#!/bin/perl
#!%%PERL%% -w
#
# Copyright (c) 2004, SWITCH - Teleinformatikdienste fuer Lehre und Forschung
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright notice,
[root@nfsen bin]#
We are exploring the suggested patch. Thank you.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Configuring nfsen on centos 7 || Graph is not updating |Netflow Anandhc Linux - Enterprise 0 10-04-2016 05:44 PM
Are these error harmful? -.sd1 Soft Errors: 0 Hard Errors: 6 Transport Errors: 0 manalisharmabe Solaris / OpenSolaris 2 10-04-2013 11:55 AM
Bind9 Errors after reboot. Jacob843 Linux - Newbie 6 08-28-2012 09:58 PM
SATA Error -> sys hard reboot on Suse 11.3. board+hdd changed, still errors. chh4l123 Linux - Hardware 7 02-01-2011 10:34 AM
Random errors after reboot teufelhund Linux - Desktop 3 04-11-2007 04:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration