[root@depenguinateme scripts]# ./instantnsm_install.pl
Where is your 'chown' binary located? [/bin/chown]:
Where is your 'chmod' binary located? [/bin/chmod]:
Where is your 'mkdir' binary located? [/bin/mkdir]:
Where is your 'rm' binary located? [/bin/rm]:
Where is your 'cp' binary located? [/bin/cp]:
Where is your 'mysql' binary located? [/usr/bin/mysql]:
Where is your 'ifconfig' binary located? [/sbin/ifconfig]:
Where is your 'grep' binary located? [/bin/grep]:
Where is your 'ps' binary located? [/bin/ps]:
Where is your 'awk' binary located? [/bin/awk]:
Where is your 'pwd' binary located? [/bin/pwd]:
Where is your 'tar' binary located? [/bin/tar]:
Where is your 'md5sum' binary located? [/usr/bin/md5sum]:
Where is your 'automake' binary located? [/usr/bin/automake]:
Where is your 'aclocal' binary located? [/usr/bin/aclocal]:
Where is your 'gcc' binary located? [/usr/bin/gcc]:
Where is your 'openssl' binary located? [/usr/bin/openssl]:
Where is your 'mktemp' binary located? [/bin/mktemp]:
Where is your 'sort' binary located? [/bin/sort]:
Where is your 'uniq' binary located? [/usr/bin/uniq]:
Where is your 'useradd' binary located? [/usr/sbin/useradd]:
Where is your 'chkconfig' binary located? [/sbin/chkconfig]:
InstantNSM Configuration Utility v0.7.0
David J. Bianco <david@vorant.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
> 1
Where is your 'mysql_install_db' binary located? []:
You have new mail in /var/spool/mail/root
[root@depenguinateme scripts]# ./instantnsm_install.pl
InstantNSM Configuration Utility v0.7.0
David J. Bianco <david@vorant.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
> 1
Where is your 'mysql_install_db' binary located? [/usr/bin/mysql_install_db]:
Where is your 'mysqld_safe' binary located? [/usr/bin/mysqld_safe]:
Where is your 'mysqladmin' binary located? [/usr/bin/mysqladmin]:
Where is your 'sguild' binary located? [/usr/sbin/sguild]:
Where is your 'tcltls_so' binary located? []: /usr/lib/tls1.5.0/libtls-1.50.so
Where is your 'tcpflow' binary located? [/usr/bin/tcpflow]:
Where is your 'p0f' binary located? [/usr/sbin/p0f]:
Sguil user already exists. Using existing account.
MySQL user already exists. Using existing account.
Where will the NSM data be stored?
[/nsm]:
The directory does not exist.
Create /nsm?y
NSM data will be stored in /nsm
Where is the Sguil server source tree?
[/usr/lib/sguil/server]:
Sguil sources are assumed to be at /usr/lib/sguil/server.
Please select a password for the MySQL 'root' user:
Please retype the password:
Please select a password for the MySQL 'sguil' user:
Please retype the password:
Installing a new server will overwrite any existing configuration
and delete any existing database(s) on this system. Type 'yes' to continue
or press CTRL-C to cancel : yes
Creating archive and rules directories...
Removing MySQL data directory...
Creating a MySQL data directory...
Configuring MySQL server...
/etc/my.cnf already exists. Overwrite it? [Y/n]: Y
Creating an initial MySQL database structure...
Configuring MySQL to start at boot time...
/etc/init.d/mysqld already exists. Overwrite it? [Y/n]: Y
Starting the MySQL server...
Setting the MySQL root password...
WARNING: Using existing MySQL 'root' password.
Creating the 'sguil' database user...
ERROR: Error creating the sguil db user.