Groups | Search | Server Info | Login | Register


Groups > comp.os.linux.security > #32

Re: tripwire install

From Bill Marcum <bill@lat.localnet>
Newsgroups comp.os.linux.security
Subject Re: tripwire install
Date 2011-08-30 16:32 -0400
Organization Hooves Across the Water
Message-ID <slrnj5qi79.374.bill@lat.localnet> (permalink)
References <af43d35b-82e2-47eb-a34a-7d03cd91e163@o9g2000vbo.googlegroups.com>

Show all headers | View raw


On 2011-08-30, Matias <matias.364@gmail.com> wrote:
> 1. version - Open Soure Tripwire(R) 2.4.1.2 built for i686-pc-linux-
> gnu
> 2. I've built the database.
> 3. If I run /usr/sbin/tripwire --check, tripwire output this message:
> ### Error: File could not be opened for writing.
> ### Filename: /var/lib/tripwire/report/`date +%y`/`date
> ### +%m`/aa.bbb.cc.dd-20110827-191059.twr
> ### No such file or directory
> ### Exiting...
> 4. configuration file contents - twcfg.txt
> ROOT                   =/usr/sbin
> POLFILE                =/etc/tripwire/tw.pol
> DBFILE                 =/usr/local/lib/tripwire/$(HOSTNAME).twd
> REPORTFILE             =/var/lib/tripwire/report/`date +%y`/`date +%m`/
> $(HOSTNAME)-$(DATE).twr
> SITEKEYFILE            =/etc/tripwire/site.key
> LOCALKEYFILE           =/etc/tripwire/$(HOSTNAME)-local.key
> EDITOR                 =/bin/vi
> LATEPROMPTING          =false
> LOOSEDIRECTORYCHECKING =false
> MAILNOVIOLATIONS       =true
> EMAILREPORTLEVEL       =3
> REPORTLEVEL            =3
> MAILMETHOD             =SENDMAIL
> 5. What steps should I take to fix this?
>
Make sure the directory /var/lib/tripwire/report/`date +%y`/`date +%m`
exists. You could use a crontab to create these directories once a month
before tripwire runs.

> thanks,
> M.


-- 
Practical people would be more practical if they would take a little
more time for dreaming.
		-- J. P. McEvoy

Back to comp.os.linux.security | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

tripwire install Matias <matias.364@gmail.com> - 2011-08-30 06:56 -0700
  Re: tripwire install Bill Marcum <bill@lat.localnet> - 2011-08-30 16:32 -0400
    Re: tripwire install Matias <matias.364@gmail.com> - 2011-08-30 17:38 -0700
      Re: tripwire install "David W. Hodgins" <dwhodgins@nomail.afraid.org> - 2011-08-30 22:52 -0400
        Re: tripwire install Matias <matias.364@gmail.com> - 2011-08-31 12:24 -0700
          Re: tripwire install "David W. Hodgins" <dwhodgins@nomail.afraid.org> - 2011-08-31 17:34 -0400

csiph-web