package snort 2.9.7.0-5 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #1748254 reported by Ibnu Hafizdhul Haq
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
snort (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Here's the error when I was trying to install snort. It looks like IDS is running, but how to stop the service(s)?

● snort.service - LSB: Lightweight network intrusion detection system
   Loaded: loaded (/etc/init.d/snort; generated; vendor preset: enabled)
   Active: failed (Result: exit-code) since Fri 2018-02-09 01:00:48 WIB; 14ms ago
     Docs: man:systemd-sysv-generator(8)
  Process: 7398 ExecStart=/etc/init.d/snort start (code=exited, status=1/FAILURE)

Feb 09 01:00:48 init5-Satellite-L740 snort[7407]: Initializing Output Plugins!
Feb 09 01:00:48 init5-Satellite-L740 snort[7407]: Initializing Preprocessors!
Feb 09 01:00:48 init5-Satellite-L740 snort[7407]: Initializing Plug-ins!
Feb 09 01:00:48 init5-Satellite-L740 snort[7407]: Parsing Rules file "/etc/snort/snort.conf"
Feb 09 01:00:48 init5-Satellite-L740 snort[7407]: FATAL ERROR: /etc/snort/snort.conf(0) Unable to open rules file "/etc/snort/snort.conf": No such file or directory.
Feb 09 01:00:48 init5-Satellite-L740 snort[7398]: ...fail!
Feb 09 01:00:48 init5-Satellite-L740 systemd[1]: snort.service: Control process exited, code=exited status=1
Feb 09 01:00:48 init5-Satellite-L740 systemd[1]: Failed to start LSB: Lightweight network intrusion detection system.
Feb 09 01:00:48 init5-Satellite-L740 systemd[1]: snort.service: Unit entered failed state.
Feb 09 01:00:48 init5-Satellite-L740 systemd[1]: snort.service: Failed with result 'exit-code'.
dpkg: error processing package snort (--configure):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for libc-bin (2.26-0ubuntu2.1) ...
Processing triggers for ureadahead (0.100.0-20) ...
Processing triggers for systemd (234-2ubuntu12.1) ...
Errors were encountered while processing:
 snort
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 17.10
Package: snort 2.9.7.0-5
ProcVersionSignature: Ubuntu 4.13.0-32.35-generic 4.13.13
Uname: Linux 4.13.0-32-generic x86_64
ApportVersion: 2.20.7-0ubuntu3.7
Architecture: amd64
Date: Fri Feb 9 01:00:48 2018
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2018-02-05 (3 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Release amd64 (20180105.1)
Python3Details: /usr/bin/python3.6, Python 3.6.3, python3-minimal, 3.6.3-0ubuntu2
PythonDetails: /usr/bin/python2.7, Python 2.7.14, python-minimal, 2.7.14-2ubuntu1
RelatedPackageVersions:
 dpkg 1.18.24ubuntu1
 apt 1.5.1
SourcePackage: snort
Title: package snort 2.9.7.0-5 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Ibnu Hafizdhul Haq (hafiz234) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in snort (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.