The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, prcliff@yahoo.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Apache/2.2.14 (Ubuntu) Server at 192.168.2.9 Port 80
Here is the error log
BEGIN failed--compilation aborted at /usr/lib/cgi-bin/FlowViewer_4.6/FV.cgi line 31. [Tue Dec 22 11:36:36 2015][error][client 192.168.2.6] Premature end of script headers: FV.cgi
Here is lines 26-31 in the FV.cgi file
BEGIN EXECUTABLE STATEMENTS
use FlowViewer_Configuration;
Here is the server information -
Linux Server 2.6.32-38-generic #83-Ubuntu SMP Wed Jan 4 11:13:04 UTC 2012 i586 GNU/Linux
Ubuntu 10.04.4 LTS.
/usr/lib/apache2
group - root
owner - root
permisions 755
My guess is that you have made a syntax error when configuring your environment in the FlowViewer_Configuration.pm file.
You could try 'perl -e FlowViewer_Configuration.pm' to see if that is the case. This should be done CLI in the /usr/lib/cgi-bin/FlowViewer_4.6 directory.
Joe
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
When I type the following into firfox address bar http://xxx.xxx.xxx.xxx/cgi-bin/FlowViewer_4.6/FV.cgi
I receive the following error>
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, prcliff@yahoo.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Apache/2.2.14 (Ubuntu) Server at 192.168.2.9 Port 80
Here is the error log
BEGIN failed--compilation aborted at /usr/lib/cgi-bin/FlowViewer_4.6/FV.cgi line 31.
[Tue Dec 22 11:36:36 2015] [error] [client 192.168.2.6] Premature end of script headers: FV.cgi
Here is lines 26-31 in the FV.cgi file
BEGIN EXECUTABLE STATEMENTS
use FlowViewer_Configuration;
Here is the server information -
Linux Server 2.6.32-38-generic #83-Ubuntu SMP Wed Jan 4 11:13:04 UTC 2012 i586 GNU/Linux
Ubuntu 10.04.4 LTS.
/usr/lib/apache2
group - root
owner - root
permisions 755
$ sudo chown root:root /usr/lib/cgi-bin/FlowViewer_4.6
$ sudo chown 755 /usr/lib/cgi-bin/FlowViewer_4.6
I am new to Ubuntu and apache web server.
Paul -
My guess is that you have made a syntax error when configuring your environment in the FlowViewer_Configuration.pm file.
You could try 'perl -e FlowViewer_Configuration.pm' to see if that is the case. This should be done CLI in the /usr/lib/cgi-bin/FlowViewer_4.6 directory.
Joe
Joe,
I do not know what I am looking for, here is the syntex I entered at the CLI.
$ cd /usr/lib/cgi-bin/FlowViewer_4.6 directory
:/usr/lib/cgi-bin/FlowViewer_4.6$ perl -e FlowViewer_Configuration.pm
:/usr/lib/cgi-bin/FlowViewer_4.6$ sudo perl -e FlowViewer_Configuration.pm
[sudo] password for paul:
paul@Server:/usr/lib/cgi-bin/FlowViewer_4.6$
Paul,
[Hmm SourceForge UI is not acting normally]
My mistake. The command should be:
'perl -c FlowViewer_Configuration.pm'
Also, check whether FV.cgi compiles:
'perl -c FV.cgi'
Thanks, Joe
Joe,
Thanks for the help. Here was the issue.
:/usr/lib/cgi-bin/FlowViewer_4.6$ perl -c FlowViewer_Configuration.pm
syntax error at FlowViewer_Configuration.pm line 70, near ""ipfix-probes_S0";"
Here is line 70 in the config
@devices = ("ipfix-probes_S0"; # for flow-tools
Change the line to:
@devices = ""; # for flow-tools
:/usr/lib/cgi-bin/FlowViewer_4.6$ perl -c FlowViewer_Configuration.pm
FlowViewer_Configuration.pm syntax OK
:/usr/lib/cgi-bin/FlowViewer_4.6$ perl -c FV.cgi
FV.cgi syntax OK
Type the following into the web browser address bar
http://192.168.2.9/cgi-bin/FlowViewer_4.6/FlowViewer.cgi
Brought me to the dash board - success
Paul,
The trouble is a missing right parenthese ")".
INCORRECT: @devices = ("ipfix-probes_S0";
CORRECT: @devices = ("ipfix-probes_S0");
If you are going to use SiLK, which it looks like you are, you will have to correct the above line.
Also, SiLK doesn't like underscores ( _ ) in device names. (Unforunately I just discovered my examples have underscores ... sheesh)
Joe
Last edit: Joe Loiacono 2015-12-22