Operating System - HP-UX
1755007 Members
3574 Online
108828 Solutions
New Discussion юеВ

Re: Bastille Installation Problem.

 
Ranjith_5
Honored Contributor

Re: Bastille Installation Problem.

Hi all,

Thanks a lot for your valuable suggestions. I checked all the possibilities that is there in your inputs.

I have got several HP9000 machines..I could find one machine on which perl version D.5.8.2.B is installed. I face the same problem here also during bastille installation.

pls see the attached log file.

Thanks once again.

Regards,
Syam
Ranjith_5
Honored Contributor

Re: Bastille Installation Problem.

Hi all,


Im sorry

Log file here please..


regards,
Syam
Sunil Sharma_1
Honored Contributor

Re: Bastille Installation Problem.

Hi Syam,

In this server also you have same problem, Your active perl version is 5.6 not 5.8 (HP Product).

You please find out all perl executable files in yuor system using find comamnd and then remove all those perl verson. I believe you have some other version of perl is installed on system not through swinstall that's why that version in not coming in swlist output.


Just see the output of command #which perl in my system

test123:[/root]# whereis perl
perl: /usr/local/bin/perl /usr/local/bin/perl5.00503 /usr/contrib/bin/perl /opt
perl/bin/perl /usr/local/man/man1/perl.1 /opt/perl/man/man1/perl.1

this shows i have 3-4 version of perl in my system. now let's see which one is active
test123:[/root]# which perl
/opt/perl/bin/perl

but system uses this perl for any installation. version of this perl is 5.6

test:[/root]# perl -v

This is perl, v5.6.1 built for PA-RISC1.1-thread-multi
(with 1 registered patch, see perl -V for more detail)

Copyright 1987-2001, Larry Wall

Binary build 627 provided by ActiveState Tool Corp. http://www.ActiveState.com
Built 21:42:53 Jun 20 2001


Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using `man perl' or `perldoc perl'. If you have access to the
Internet, point your browser at http://www.perl.com/, the Perl Home Page.

now see what swlist shows

test123:[/root]# swlist|grep -i perl
5.8.2-0 CSC Perl 5.8.2 - Practica
l Extraction and Reporting Language


installed version is perl 5.8

same case is yours so please install all other version of perl except 5.8 and then try to install your s/w

Sunil
*** Dream as if you'll live forever. Live as if you'll die today ***
Ranjith_5
Honored Contributor

Re: Bastille Installation Problem.

Hi Friends..

Thanks to all for your valuable responses. The problem is resolved after 5-6 hrs trials.

I did the following:-

Perl version D.5.8.2.B_HP-UX_B.11.11 is installed.No other versions are working it seems. Only the perl versions ending with ".B" is working here. No idea why? I dont have idea about what does it really mean (I see there are different versions like B,C,D,E etc for perl).

After installation PATH variable was changed according to the new installation directory of perl, and entry for the old directory was removed.

created a soft link for perl executable to /usr/bin.

Now I am able to execute bastille from the shell prompt and do system hardening.

Closing the thread.

regards,
Syam