Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 11-20-2017, 12:34 PM   #1
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:

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.

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

Rep: Reputation: 29
What version?
Try web-searching the errors:
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, 12:01 PM   #3
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.
[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 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 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!%%PERL%% -w
testPlugin:#!%%PERL%% -w
nfsen:#!%%PERL%% -w
[root@nfsen bin]#
[root@nfsen bin]#
[root@nfsen bin]# which perl
[root@nfsen bin]#
I tried changing the path and managed to change the error message:
[root@nfsen bin]# ./nfsen start
Can't locate 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
#!%%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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 06:44 PM
Are these error harmful? -.sd1 Soft Errors: 0 Hard Errors: 6 Transport Errors: 0 manalisharmabe Solaris / OpenSolaris 2 10-04-2013 12:55 PM
Bind9 Errors after reboot. Jacob843 Linux - Newbie 6 08-28-2012 10:58 PM
SATA Error -> sys hard reboot on Suse 11.3. board+hdd changed, still errors. chh4l123 Linux - Hardware 7 02-01-2011 11:34 AM
Random errors after reboot teufelhund Linux - Desktop 3 04-11-2007 05:54 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:00 AM.

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