The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

cPanel and Tripwire

Discussion in 'Security' started by alifazman, Jan 19, 2011.

  1. alifazman

    alifazman Active Member

    Joined:
    Sep 27, 2010
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Malaysia
    Hi everyone.

    Does anyone have experience installing tripwire on a cPanel server? I would like to install open source version of tripwire on my cPanel server.

    I did test on a test server on CentOS platformm. Install from source with perfect and smooth installation.However during time to install on cPanel server, it could not generate "hostname.twd "(tripwire database file). Both RPM and installing from source doesn't work for me.

    Any idea on this??
     
  2. alifazman

    alifazman Active Member

    Joined:
    Sep 27, 2010
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Malaysia
    I tun ./tripwire--init as following :


    [root@myhost sbin]# ./tripwire --init
    Please enter your local passphrase:
    Parsing policy file: /opt/tripwire/etc/tw.pol
    Generating the database...
    *** Processing Unix File System ***
    The object: "/backup" is on a different file system...ignoring.
    The object: "/misc" is on a different file system...ignoring.
    The object: "/net" is on a different file system...ignoring.
    The object: "/sys" is on a different file system...ignoring.
    ### Warning: File system error.
    ### Filename: /etc/aliases.db
    ### No such file or directory
    ### Continuing...
    ### Warning: File system error.
    ### Filename: /etc/mail/statistics
    ### No such file or directory
    ### Continuing...
    ### Error: File seek failed.
    ### Filename: /var/lib/mysql/tech0104_ucc/uc_pms.MYD
    ### Success./tripwire --update-policy --secure-mode low ../etc/twpol.txt
    ### Exiting...

    However when I issue this command to initialize database :

    ./tripwire --update-policy --secure-mode low ../etc/twpol.txt

    It appear this error :

    Parsing policy file: /opt/tripwire/etc/twpol.txt
    ### Error: File could not be opened.
    ### Filename: /opt/tripwire/lib/tripwire/myhost.twd
    ### No such file or directory
    ### Exiting...

    Any advice on this??
     
Loading...

Share This Page