reinstalling snort problem
-
Hi!
After reinstalled snort, i dont see snort in menu & recive this error:
PHP ERROR: Type: 1, File: /usr/local/pkg/snort/snort.inc, Line: 2340, Message: Allowed memory size of 402653184 bytes exhausted (tried to allocate 301989888 bytes) @ 2020-01-12 08:29:01
How can I complete the installation without previous configuration?
-
@Simbad said in reinstalling snort problem:
Hi!
After reinstalled snort, i dont see snort in menu & recive this error:
PHP ERROR: Type: 1, File: /usr/local/pkg/snort/snort.inc, Line: 2340, Message: Allowed memory size of 402653184 bytes exhausted (tried to allocate 301989888 bytes) @ 2020-01-12 08:29:01
How can I complete the installation without previous configuration?
It looks like from that message that PHP itself ran out of available memory. That particular line of code in the
snort.inc
file indicates you have something miconfigured perhaps in your SID MGMT files.You can try these steps to recover.
- Make a backup of the firewall's
config.xml
file. - Under DIAGNOSTICS > EDIT open
/conf/config.xml
. - Search through that file and find this line in the XML code:
<auto_manage_sids>on</auto_manage_sids>
- Change the "on" to "off" and save the file.
That will tell Snort not to use SID MGMT. Delete the package and reinstall.
Since your installation is not completing, you likely don't have a Snort menu option under SERVICES, so you will be stuck with manually editing the
config.xml
file. That is very dangerous, so make a backup before making any modifications to the file. - Make a backup of the firewall's