Checking the Status of the Sguil Server
To check the status the Sguil server processes, change to the scripts subdirectory of the InstantNSM distribution and run instantnsm_install.pl as root:
# cd ~/instantnsm/scripts # ./instantnsm_install.pl
The installation script should now show you the main menu:
InstantNSM Configuration Utility v0.7.0 David J. Bianco <email@example.com> Select software to configure on this system: 1) Configure sguil server 2) Configure sguil sensor 3) List installed sensors 4) Remove a sensor 5) Start/Restart a sensor 6) Stop a sensor 7) Sensor status 8) Start/Restart the server 9) Stop the server 10) Server status 99) Exit Configuration Script >
Select option #10 (Server status). The installer will check the status of both the Sguil and MySQL servers. If all is well, you should see something like this:
Checking the status of the sguil server... MySQL database server is UP... Sguil server is UP... All server processes are running properly.
If not, the script should tell you which of the processes are not running, like so:
Checking the status of the sguil server... MySQL database server is UP... ERROR: Sguil server is DOWN. ERROR: One or more server processes are DOWN.
The easiest way to correct the situation is usually just to restart the server.