I am trying to run bastille in RHEl 5.0 (Red Hat Enterprise Linux Server release 5 (Tikanga)).
i am getting the below error message when i try to run the Install.sh script
cp: cannot stat `Bastille/API/AccountPermission.pm': No such file or directory
cp: cannot stat `Bastille/API/FileContent.pm': No such file or directory
cp: cannot stat `Bastille/API/HPSpecific.pm': No such file or directory
cp: cannot stat `Bastille/API/ServiceAdmin.pm': No such file or directory
cp: cannot stat `Bastille/API/Miscellaneous.pm': No such file or directory
As i dont find the API folder thus the folder should be included with the tar. Second if in case i run the noarch rpm then try running bastille -c then i get the below error message:
ERROR: Couldn't determine Red Hat version! Setting to 9!
ERROR: Couldn't determine Red Hat version! Setting to 9!
NOTE: Using Curses user interface module.
NOTE: Only displaying questions relevant to the current configuration.
Can't locate Bastille/API/HPSpecific.pm in @INC (@INC contains: /usr/lib /usr/lib/perl5/site_perl//5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl//5.8.8 /usr/lib/perl5/site_perl//5.8.7 /usr/lib/perl5/site_perl//5.8.6 /usr/lib/perl5/site_perl//5.8.5 /usr/lib/perl5/site_perl/ /usr/lib/Bastille /opt/sec_mgmt/bastille/lib /opt/sec_mgmt/bastille/lib/API /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8) at /usr/lib/Bastille/IOLoader.pm line 8.
BEGIN failed--compilation aborted at /usr/lib/Bastille/IOLoader.pm line 8.
Compilation failed in require at /usr/sbin/InteractiveBastille line 414.
Regards
Prakash
i downloaded the API files and now there is an issue with nis.server
error:
[root@RHEL1 bin]# bastille -x
ERROR: Couldn't determine Red Hat version! Setting to 9!
ERROR: Couldn't determine Red Hat version! Setting to 9!
NOTE: Using Tk user interface module.
NOTE: Only displaying questions relevant to the current configuration.
NOTE: Bastille is scanning the system configuration...
ERROR: Bastille tried to use $GLOBAL_SERVICE{'nis.server'} but it does not exist.
Can't use an undefined value as an ARRAY reference at /usr/lib/Bastille/API/ServiceAdmin.pm line 583, <FILE> line 243.
regards
prakash
Try specifying the os version:
"--os RHEL5"
The API folder which contains the perl modules files is missing which needs to be included in the rpm. RHEL version is not the issue.