Snort 4.1.3_2 Upgrade failed
-
When running upgrade for Snort on pfsense 2.5.0 I received this failure:
150 KiB to be downloaded.
[1/1] Fetching pfSense-pkg-snort-4.1.3_2.txz: .......... done
Checking integrity... done (0 conflicting)
[1/1] Upgrading pfSense-pkg-snort from 4.1.3_1 to 4.1.3_2...
[1/1] Extracting pfSense-pkg-snort-4.1.3_2: .......... done
Removing snort components...
Menu items... done.
Services... done.
Loading package instructions...
pkg-static: Fail to rename /var/db/snort/sidmods/.pkgtemp.disablesid-sample.conf.FWPyfBVBS0jD -> /var/db/snort/sidmods/disablesid-sample.conf:No such file or directory
Failed -
Try again. Something did not complete in terms of the download of the files.
Are you by chance using a RAM Disk for
/var
? If so, make sure it is large enough. -
@bmeeks
Hi, I tried 3 times, rebooted and tried again all same. Not using RAM disk. -
Give me a few minutes to test. I have a 2.5.0-RELEASE virtual machine I can run the install on.
-
I just installed the 4.1.3_2 version on a pfSense-2.5.0-RELEASE virtual machine without issue. Here is the package installation log:
>>> Installing pfSense-pkg-snort... Updating pfSense-core repository catalogue... pfSense-core repository is up to date. Updating pfSense repository catalogue... pfSense repository is up to date. All repositories are up to date. The following 5 package(s) will be affected (of 0 checked): New packages to be INSTALLED: daq: 2.2.2_3 [pfSense] libdnet: 1.13_3 [pfSense] libpcap: 1.9.1_1 [pfSense] pfSense-pkg-snort: 4.1.3_2 [pfSense] snort: 2.9.17 [pfSense] Number of packages to be installed: 5 The process will require 10 MiB more space. 2 MiB to be downloaded. [1/5] Fetching pfSense-pkg-snort-4.1.3_2.txz: .......... done [2/5] Fetching snort-2.9.17.txz: .......... done [3/5] Fetching libdnet-1.13_3.txz: ......... done [4/5] Fetching daq-2.2.2_3.txz: .......... done [5/5] Fetching libpcap-1.9.1_1.txz: .......... done Checking integrity... done (0 conflicting) [1/5] Installing libdnet-1.13_3... [1/5] Extracting libdnet-1.13_3: .......... done [2/5] Installing libpcap-1.9.1_1... [2/5] Extracting libpcap-1.9.1_1: .......... done [3/5] Installing daq-2.2.2_3... [3/5] Extracting daq-2.2.2_3: .......... done [4/5] Installing snort-2.9.17... [4/5] Extracting snort-2.9.17: .......... done [5/5] Installing pfSense-pkg-snort-4.1.3_2... [5/5] Extracting pfSense-pkg-snort-4.1.3_2: .......... done Saving updated package information... done. Loading package configuration... done. Configuring package components... Loading package instructions... Custom commands... Executing custom_php_install_command()...Saved settings detected. Migrating settings to new configuration... done. Downloading configured rule sets. This may take some time... Downloading Snort Subscriber rules md5 file... done. Checking Snort Subscriber rules md5 file... done. There is a new set of Snort Subscriber rules posted. Downloading snortrules-snapshot-29170.tar.gz... done. Downloading Snort OpenAppID detectors md5 file... done. Checking Snort OpenAppID detectors md5 file... done. There is a new set of Snort OpenAppID detectors posted. Downloading snort-openappid.tar.gz... done. Downloading Snort AppID Open Text Rules md5 file... done. Checking Snort AppID Open Text Rules md5 file... done. There is a new set of Snort AppID Open Text Rules posted. Downloading appid_rules.tar.gz... done. Downloading Snort GPLv2 Community Rules md5 file... done. Checking Snort GPLv2 Community Rules md5 file... done. There is a new set of Snort GPLv2 Community Rules posted. Downloading community-rules.tar.gz... done. Downloading Emerging Threats Open rules md5 file... done. Checking Emerging Threats Open rules md5 file... done. There is a new set of Emerging Threats Open rules posted. Downloading emerging.rules.tar.gz... done. Installing Snort Subscriber ruleset...Copying md5 signature to snort directory... done. Installing Snort OpenAppID detectors...Copying md5 signature to snort directory... done. Installing Snort OpenAppID Rules...Copying md5 signature to snort directory... done. Installing Snort GPLv2 Community Rules... done. Installing Emerging Threats Open rules...Copying md5 signature to snort directory... done. Updating rules configuration for: WAN ... done. Updating rules configuration for: OPT1 ... done. Updating rules configuration for: OPT2 ... done. Updating rules configuration for: LAN ... done. Cleaning up temp dirs and files... done. The Rules update has finished. Finished downloading and installing configured rules. Generating snort.conf configuration file from saved settings. Generating configuration for WAN... done. Generating configuration for OPT1... done. Generating configuration for OPT2... done. Generating configuration for LAN... done. Generating snort.sh script in /usr/local/etc/rc.d/... done. Finished rebuilding Snort configuration files. done.
Why don't you try removing the Snort package and then installing it again? Don't click the "reinstall icon", instead click the trash can "delete icon" to remove the package. Then go to Available Packages and install it again. You will not lose any settings doing that as they are preserved unless you specifically go to the GLOBAL SETTINGS tab and uncheck that option.