ossec-hids error no longer starting

General Discussion of atomic repo and development projects.

Ask for help here with anything else not covered by other forums.
tomkerswill
Forum User
Forum User
Posts: 40
Joined: Mon Mar 26, 2007 9:47 am

ossec-hids error no longer starting

Unread post by tomkerswill »

Hi

After using ASL succesfully for quite a while, the following error as suddenly started happening, both when ossec-hids is automatically restarted, and when I manually restart it. Does anybody have any idea how this can be fixed? Doing an asl -u shows everything is up to date, and also yum update is up-to-date... Any ideas greatly appreciated! :

root@xxxx tomkerswill]# /etc/init.d/ossec-hids start
Starting ossec-hids: 2008/11/15 19:41:55 ossec-analysisd: Invalid decoder name: 'smf-sav-reject'.
2008/11/15 19:41:55 ossec-analysisd(1220): ERROR: Error loading the rules: 'sendmail_rules.xml'.
[FAILED]
[root@xxxx tomkerswill]#
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

Try upgrading to the newer OSSEC:

yum --enablerepo=asl-2.0-testing upgrade ossec-hids
tomkerswill
Forum User
Forum User
Posts: 40
Joined: Mon Mar 26, 2007 9:47 am

Unread post by tomkerswill »

Hi Scott

Ah, okay - when I issue that command i get:

[root@xxxx tomkerswill]# yum --enablerepo=asl-2.0-testing upgrade ossec-hids
Setting up Upgrade Process
Setting up repositories
asl-2.0-testing [1/9]
asl-2.0-testing 100% |=========================| 951 B 00:00
asl-2.0 [2/9]
asl-2.0 100% |=========================| 951 B 00:00
atomic [3/9]
atomic 100% |=========================| 951 B 00:00
updates-released [4/9]
updates-released 100% |=========================| 1.2 kB 00:00
plesk [5/9]
plesk 100% |=========================| 951 B 00:00
extras [6/9]
extras 100% |=========================| 1.1 kB 00:00
core [7/9]
core 100% |=========================| 1.1 kB 00:00
base [8/9]
base 100% |=========================| 1.1 kB 00:00
updates [9/9]
updates 100% |=========================| 1.2 kB 00:00

Reading repository metadata in from local files
Could not find update match for ossec-hids
No Packages marked for Update/Obsoletion

Here is the version I've got:

Available Packages
Name : ossec-hids
Arch : i386
Version: 1.5
Release: 3.fc5.art
Size : 45 k
Repo : asl-2.0
Summary: An Open Source Host-based Intrusion Detection System
Description:
OSSEC HIDS is an Open Source Host-based Intrusion Detection
System. It performs log analysis, integrity checking, rootkit
detection, time-based alerting and active response.

Cheers,

Tom
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

Ah yeah, you're on FC5 it looks like? We've more or less dropped support for that.
j0ney3
Forum User
Forum User
Posts: 34
Joined: Wed Sep 05, 2007 12:37 pm

Unread post by j0ney3 »

I was getting this same error on CentOS 4.x, the version in 2.0-testing worked for me. THanks!
j0ney3
Forum User
Forum User
Posts: 34
Joined: Wed Sep 05, 2007 12:37 pm

Unread post by j0ney3 »

As of todays update, I'm getting:

[root@ds2271 httpdocs]# /etc/init.d/ossec-hids start
Starting ossec-hids: 2008/12/02 13:04:30 ossec-analysisd: Invalid decoder name: 'smf-sav-reject'.
2008/12/02 13:04:30 ossec-analysisd(1220): ERROR: Error loading the rules: 'sendmail_rules.xml'.
[FAILED]

I've tried using asl-testing but no updates are available (as I've updated to testing last go around)

Thanks!
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

You can just comment the sendmail ruleset out of ossec.conf too.
j0ney3
Forum User
Forum User
Posts: 34
Joined: Wed Sep 05, 2007 12:37 pm

Unread post by j0ney3 »

scott wrote:You can just comment the sendmail ruleset out of ossec.conf too.
That works for now, thanks again Scott.
Post Reply