Project

General

Profile

Actions

Bug #5407

open

suricatasc runtime error

Added by Samiux A 3 months ago. Updated 3 months ago.

Status:
New
Priority:
Normal
Assignee:
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

sudo suricatasc -c ruleset-reload-nonblocking
[sudo] password for samiux:
Traceback (most recent call last):
File "/usr/bin/suricatasc", line 39, in <module>
from suricata.sc import *
ModuleNotFoundError: No module named 'suricata.sc'

OS : Ubuntu 22.04
suricata : 6.0.4

Actions #1

Updated by Jason Ish 3 months ago

How did you install Suricata. Distributions have been breaking Python code installed with distutils depending on how you do the install.

Actions #2

Updated by Samiux A 3 months ago

I upgrade from Ubuntu 20.04 suricata install. The problem is coming with the following problem and it is not yet solved.

https://redmine.openinfosecfoundation.org/issues/5362

When it is running on Ubuntu 20.04 with Suricata PPA, it has no problem. When it is upgraded to Ubuntu 22.04 and Suricata PPA, it caused the captioned two problems.

Actions #3

Updated by Peter Manev 3 months ago

The err here seems https://redmine.openinfosecfoundation.org/issues/5362 different.
It is probably a secondary effect (if i am not mistaken)
I will share and test out a bit more a solution package.

Actions

Also available in: Atom PDF