Snort mailing list archives
Having an issue with Snort Report
From: Nick Moore <tsuyoi.usagi () gmail com>
Date: Tue, 18 Sep 2012 18:43:37 -0500
All, I'm using Snort Report 1.3.3 and Snort 2.9.3.1 on CentOS 6.3 and have urn into a snag. Using the CentOS set up guide as a template, when I go to review events on the web page, I get the attached error. I'm guessing something is jazzed up with srconf.php, but I'm a php noob and don't really know how to tell. Below is my srconf.php: 1 <? 2 // Snort Report 1.3.3 3 // Copyright (C) 2000-2012 Symmetrix Technologies, LLC. 4 // January 10, 2012 5 // 6 // This program is free software; you can redistribute it and/or modify 7 // it under the terms of the GNU General Public License as published by 8 // the Free Software Foundation; either version 2 of the License, or 9 // (at your option) any later version. 10 // 11 // This program is distributed in the hope that it will be useful, 12 // but WITHOUT ANY WARRANTY; without even the implied warranty of 13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 // GNU General Public License for more details. 15 // 16 // You should have received a copy of the GNU General Public License 17 // along with this program; if not, write to the Free Software 18 // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 19 // 20 21 // Current version of Snort Report 22 $srVersion = "Snort Report Version 1.3.2"; 23 24 // 25 // PLEASE SET THE FOLLOWING VARIABLES TO MATCH YOUR SYSTEM 26 // 27 28 // Put your snort database login credentials in this section 29 $server = "localhost"; 30 $user = "snort"; 31 $pass = "password"; 32 $dbname = "snort"; 33 34 // use either "mysql" or "pgsql" below, depending on your database 35 $dbtype = "mysql"; 36 37 // Change to FALSE if GD *and* JPGraph are not installed 38 $haveGD = TRUE; 39 40 // Relative path to JPGraph 41 // You need to have jpgraph and jpgraph_pie installed to see the chart. 42 // Change the variable below to reflect the location of jpgraph relative 43 // to Snort Report, for example "../jpgraph/", etc. 44 define("JPGRAPH_PATH", "../jpgraph/src/"); 45 46 // Path to external utilities 47 // Enter the correct path (including the binary) to nmap and nbtscan if you have them installed 48 // You can also include switches for each binary (see nmap) 49 define("NMAP_PATH", "/usr/bin/nmap -v"); 50 define("NBTSCAN_PATH", "/usr/bin/nbtscan"); 51 52 53 // Custom microtiming functions for profiling pages - available from http://improbable.org/chris/software/profiling.phps 54 define("PROFILING", false); 55 if (PROFILING) { 56 require_once("profiling.phps"); 57 } 58 59 // 60 // YOU DON'T NEED TO MODIFY ANYTHING UNDER THIS LINE 61 // 62 63 // Open a connection to the database 64 require_once("DB.php"); 65 $db = new DB; 66 $db->setinst($server); 67 $db->setuser($user); 68 $db->setpass($pass); 69 $db->dbname($dbname); 70 $db->persist(); 71 $conn = $db->connect(); 72 73 define("FULL_DATETIME_FORMAT", "Y-m-d H:i:s"); 74 75 set_time_limit(1800); 76 77 require_once("info-retrieval.php"); 78 ?> Any help is appreciated - Google wasn't particularly helpful. Thanks!
------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________ Snort-users mailing list Snort-users () lists sourceforge net Go to this URL to change user options or unsubscribe: https://lists.sourceforge.net/lists/listinfo/snort-users Snort-users list archive: http://www.geocrawler.com/redir-sf.php3?list=snort-users Please visit http://blog.snort.org to stay current on all the latest Snort news!
Current thread:
- Having an issue with Snort Report Nick Moore (Sep 18)