Error: Cannot connect to the SnortSMS database.

Please verify the DB name, type, IP, UserID, and Password are correct in 'Global Setting' menu, and that the database exists.

Error code: DB Error: connect failed


Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /mnt/fmirror4/gmirror/ports/security/snortsms/work/snortsms-1.2.2/fbx_Settings.php:123) in /mnt/fmirror4/gmirror/ports/security/snortsms/work/snortsms-1.2.2/fbx_Settings.php on line 141

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /mnt/fmirror4/gmirror/ports/security/snortsms/work/snortsms-1.2.2/fbx_Settings.php:123) in /mnt/fmirror4/gmirror/ports/security/snortsms/work/snortsms-1.2.2/fbx_Settings.php on line 141
SnortSMS
  

Settings

Use this page to automatically verify your SnortSMS configuration. Below are the result of your current configuration test.


Warning: fopen(/Library/WebServer/Documents/www001/src/ports/security/snortsms/work/snortsms-1.2.2/conf/SMS_test.tmp): failed to open stream: Permission denied in /mnt/fmirror4/gmirror/ports/security/snortsms/work/snortsms-1.2.2/conf/act_test.php on line 25

Warning: fopen(/Library/WebServer/Documents/www001/src/ports/security/snortsms/work/snortsms-1.2.2/conf/SMS_test.tmp): failed to open stream: No such file or directory in /mnt/fmirror4/gmirror/ports/security/snortsms/work/snortsms-1.2.2/conf/act_test.php on line 37

Test Results  
Configuration Directory (Read/Write) FAILED

Impact: You wil not be able to save your SnortSMS configuration.

Solution: Be sure the SnortSMS config directory is read/writeable by the web server:
chmod 775 {webroot}/snortsms/conf
chown :www {webroot}/snortsms/conf

 
Temporary Directory (Exists/Valid) PASSED Temp dir path is set to: /var/tmp
 
Temporary Directory (Read/Write) permissions PASSED Temp dir: /var/tmp/
 
curl (CLI mode) FAILED

Impact: SnortSMS will not be able to remotely connect to the sensor's remote agent nor automatically fetch the snort snapshot file.

Solution: Be sure you have installed curl and that the path is correct in 'Global Settings'.
Current curl path: /usr/local/bin/curl

 
tar FAILED

Impact: May affect SnortSMS's ability to import and decompress the snort snapshot file.

Solution: Be sure you have tar installed and that the path is correct in 'Global Settings'.
Current tar path: /usr/bin/tar

 
php (CLI mode) FAILED

Impact: May affect SnortSMS's ability to import and decompress the snort snapshot file.

Solution: Be sure you have php CLI installed and that the path is correct in 'Global Settings'.
Current php path: /usr/local/bin/php

 
php session support PASSED
 
php pcre support PASSED
 
SnortSMS Database availability (required) FAILED

Impact: DB Error: connect failed - SnortSMS will not funtion without this database.

Solution: Enter the correct configuration data (and credentials) for the SnortSMS database.

 
Snort Event Database availability FAILED

Impact: SnortSMS Alert Event Browser will not be available, which is used to view snort alerts generated by the sensors.

Solution: Enter the correct configuration data (and credentials) for the Snort Event database.

 
Browser-side Java Script FAILED
SnortSMS v.1.2.2