Knowledgebase

Bastille Unix installation

Posted by kangaru, 11-11-2010, 08:30 AM
I am trying to install Bastille Unix, the server hardening programme. I installed the Bastille RPM and then as instructed, perl-tk needed to be installed to use the GUI, so I did this .. the next step is supposed to be simply to run the bastille command.. bastille -x When I do so, I get an error I am new to managing a server, hence why I wanted to install Bastille, to check for possible problems...so I am not sure what to do next. Does this error mean anything specific that I could sort out to get Bastille running?

Posted by fabin, 11-11-2010, 08:40 AM
Do you see API.pm file anywhere in server? May be, its in /usr/lib64/Bastille/API.pm

Posted by kangaru, 11-11-2010, 09:02 AM
Yes it is in /usr/lib64/Bastille/API.pm

Posted by fabin, 11-11-2010, 09:05 AM
Create a link from /usr/lib/Bastille to /usr/lib64/Bastille/ This should fix the problem.

Posted by kangaru, 11-11-2010, 09:11 AM
deleted as posted at same time as previous post

Posted by kangaru, 11-11-2010, 10:04 AM
Thanks that got rid of the error. I am wondering if Bastille will actually work at all with CENTOS 5.5 x86_64 As after linking to lib64, I get 3 more errors.... firstly if I try to use the GUI with bastille -x command I get the following error... As that mentioned some DISPLAY property I try using without the GUI with the bastille -c command and i still get an error... I am wondering if there is another link I can put to get rid of the bastille -c errors, and also wondering where I need to specify the DISPLAY variable if I want to use the GUI. Actually, seeing as Bastille does not recognise Centos 5.5, I am wondering if I should uninstall...

Posted by fabin, 11-11-2010, 10:09 AM
You need to download the missing files and place it in /usr/lib64/Bastille/API/ http://bastille-linux.cvs.sourceforg.../Bastille/API/

Posted by kangaru, 11-11-2010, 11:21 AM
After putting the files from sourceforge, Bastille appears to start running, but with the following error... Would installing yserv fix this? Also I see there are alot of other working tree files at sourceforge Bastille, would it be worth downloading all of them, or only the ones related to error messages? I downloaded the API directory files, and one from the parent directory /Bastille/ to fix another error. Not sure whether I should put all those files from the parent directory, or only if i get a specific error?

Posted by kangaru, 11-11-2010, 01:15 PM
I also still get an error saying Could not determine CentOS version! Setting to Red Hat Enterprise 4 AS. Maybe it is that causing the problem, anyone have it working on centos 5.5?



Was this answer helpful?

Add to Favourites Add to Favourites

Print this Article Print this Article

Also Read
bool up logs (Views: 614)


Language:

Client Login

Email

Password

Remember Me

Search