LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-18-2004, 09:44 PM   #1
Vincent_Vega
Member
 
Registered: Nov 2003
Location: South Jersey
Distribution: Slackware, Raspbian, Manjaro
Posts: 826

Rep: Reputation: 31
Tripwire Segmentation Fault


Can someone please help me figure out this problem I'm having with Tripwire, PLEASE!
I did the install from the .bin.tar.gz file as it said. That went fine. I entered my two passphrases - no problems. I get to 'tripwire -m i' and i end up with this:

Parsing policy file: ...
Generating the database...
***Processing the Unix File System***
Software interrupt forced exit: Segmentation Fault

I've been all over the internet looking for help but haven't found anything. If nothing else, can someone tell me how to uninstall this from slackware? I didn't use pkgtool (tried but it was totally unsuccessful) so that's not an option.

All help is appreciated!!

Last edited by Vincent_Vega; 01-18-2004 at 09:45 PM.
 
Old 01-22-2004, 04:18 PM   #2
robthky
LQ Newbie
 
Registered: Sep 2003
Posts: 7

Rep: Reputation: 0
Sorry this is not an answer, but I am running RedHat ES 3.0 and I am getting the exact same error. Please let me know if you resolve this.

Thanks,
Rob
 
Old 01-22-2004, 05:16 PM   #3
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Rep: Reputation: 52
I don't use slack but I see that you're trying to generate the database right? If so, why run the command "'tripwire -m i"? Have you tried issueing this command: "tripwire --init"??

-twantrd
 
Old 01-22-2004, 07:42 PM   #4
Vincent_Vega
Member
 
Registered: Nov 2003
Location: South Jersey
Distribution: Slackware, Raspbian, Manjaro
Posts: 826

Original Poster
Rep: Reputation: 31
it's the same thing I believe; at least, they both give the same response. Thanks for your help though.
Still searching............
 
Old 02-26-2004, 03:44 PM   #5
acourou
LQ Newbie
 
Registered: Feb 2004
Posts: 1

Rep: Reputation: 0
Post Software interrupt forced exit: Segmentation Fault

Hi,

Setting up the database has been graceful since no segmentation faults occured.
When checking back that very database, here was the well known nice message after a few seconds:

Software interrupt forced exit: Segmentation Fault

How dear could that be ? Well I first asked tripwire to initialize the database on a remote nfs partition ! So I had a try in unmounting it to store database locally, then back to :

tripwire --init.
Please enter your local passphrase:
Parsing policy file: /etc/tripwire/tw.pol
Generating the database...
*** Processing Unix File System ***
Software interrupt forced exit: Segmentation Fault


What's up with tripwire.org ? This free soft seems quite messy ! Does it rely on unstable hard disk routines ?

do someone have a further hit ?

tired for now.
 
Old 02-26-2004, 04:12 PM   #6
Vincent_Vega
Member
 
Registered: Nov 2003
Location: South Jersey
Distribution: Slackware, Raspbian, Manjaro
Posts: 826

Original Poster
Rep: Reputation: 31
Join the crowd and don't expect much help around here on this topic. This thread was started a while ago an I've gotten very little response.
If you happen to learn something on the topic, please post it here so I can learn what it is. I'll do the same.
 
Old 02-26-2004, 04:36 PM   #7
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Uhm. Not a fix, but I would like to point out there's two excellent alternatives around: Aide and Samhain. Both are OSS, up to date, well maintained and have a large userbase.
 
Old 02-26-2004, 04:50 PM   #8
Vincent_Vega
Member
 
Registered: Nov 2003
Location: South Jersey
Distribution: Slackware, Raspbian, Manjaro
Posts: 826

Original Poster
Rep: Reputation: 31
Thanks unSpawn. I'll definitely look into those. It would be great to have the tripwire problem answered but the number one goal is protecting my computers so alternatives are always appreciated.
 
Old 02-26-2004, 06:28 PM   #9
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
If you made sure you followed ALL the steps wrt building/installing/configuring tripwire, then I spose you could run tripwire from strace with the appropriate arguments and post it, together with your distro details, on the tripwire (developers-)mailinglist (if there is such a list):
"strace -v tripwire tripwire_args 2>&1|tee /tmp/trip_strace.log".
 
Old 03-02-2004, 11:05 AM   #10
whitetux
LQ Newbie
 
Registered: Feb 2004
Distribution: Gentoo, Red Hat, SuSE
Posts: 10

Rep: Reputation: 0
I am having the same problem. This is what I have found.

>Thanks to Philippe Vogel, who pointed out to me that the reason tripwire doesn't
>work in 9.0 is due to gcc 3.x, I figured out that there is no reason why the
>tripwire that was shipped with suse 8.2 shouldn't work.
>
>ftp://ftp.suse.com/pub/suse/i386/8.2....1-25.i586.rpm
>
>This installs and appears to work perfectly on a Suse 9.0 system. Why the Suse
>people don't simply copy the above into the 9.0 tree is quite beyond me, but
>for anyone that wants to use tripwire, there's the solution. I'll bring my
>cluebat to suse booth at Linux Expo later this month, perhaps that will help...

I am using gcc 3.2.2 so this seems like the potential problem.
 
Old 03-02-2004, 11:08 AM   #11
whitetux
LQ Newbie
 
Registered: Feb 2004
Distribution: Gentoo, Red Hat, SuSE
Posts: 10

Rep: Reputation: 0
I have tripwire installed on another RH9 machine that has gcc 3.2.2 but it also has 2.96 on it.

My next step is to install gcc 2.96 and see if I get a positive result.
 
Old 03-02-2004, 01:05 PM   #12
whitetux
LQ Newbie
 
Registered: Feb 2004
Distribution: Gentoo, Red Hat, SuSE
Posts: 10

Rep: Reputation: 0
in the README.compile file that is included with Tripwire source it states at the top:

Make sure that you have gcc version 2.96 installed, and make sure that the executables g++ and c++ are in your path and that the first instance of them in your path are indeed the 2.96 binaries.

That should fix your problem.
 
Old 08-14-2004, 09:51 PM   #13
digitalFX
LQ Newbie
 
Registered: Aug 2004
Distribution: Slackware64 14.0
Posts: 2

Rep: Reputation: 0
I came across this thread while looking for answers to the same problem. I also came across this. http://www.frenchfries.net/paul/tripwire/ This worked for me on my slackware 10.0 box. Hope this helps.

-digitalFX
 
Old 09-02-2004, 10:04 AM   #14
mod
LQ Newbie
 
Registered: Oct 2003
Posts: 4

Rep: Reputation: 0
Hi, I don't know if you guys ever got this problem sorted but I have found that the rpm version of tripwire for RH9 works for RH ES 3.0.
I too was getting the segmentation faults when using the latest version from tripwire.org but once I got the rpm from http://download.fedora.us/fedora/redhat/9/i386/RPMS.os/ I had no problems installing and running

# ./twinstall.sh
then
# tripwire --init

Hope this helps.
 
Old 09-06-2004, 02:53 AM   #15
gypsy_rabbi
Member
 
Registered: Sep 2004
Distribution: Ubuntu
Posts: 109

Rep: Reputation: 15
Quote:
If nothing else, can someone tell me how to uninstall this from slackware? I didn't use pkgtool (tried but it was totally unsuccessful) so that's not an option.
I'm a slack (and linux) newbie, so this is more a question than a suggestion:

As far as uninstalling it from Slack, couldn't one just do:
$ tar -ztf tripwire*.tgz
to get a list of what files were installed, and then undo them manually?
I thought that was part of the point of tgz-based package-management.
Is that wrong?

G
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
yast segmentation fault, system freezing - nvidia driver at fault? BaltikaTroika SUSE / openSUSE 2 12-02-2005 09:34 AM
Segmentation fault velda.ebel Linux - Security 1 08-08-2005 07:23 PM
segmentation fault pippet Programming 4 01-24-2005 01:02 AM
segmentation fault in c++ drigz Programming 10 06-16-2004 03:06 PM
Segmentation fault ifconfig Linux - Software 2 05-19-2003 09:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration