Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

installation of SATAn on SUN solairs 9

Status
Not open for further replies.

withu

ISP
May 3, 2003
60
IN
HI everyone out there...

Can anyone help me in installing SATAN on my solaris 9 ..I tried but it's keep on giving messege Perl5 not available..Despite the fact that Perl5 is already there in my system...

With best regards,
withu:)
 
try to find out where SATAN expect's Perl5 and setup a softlink or edit the first Line of the Perlscript to your paths...
(I have never setup SATAN but seen several Perl5 errors... ;))

Regards
-- Franz
Sorry I'm not a native spaeker, I'm from Munich, Germany - "Home of the Whopper", oh no, "Home of the Oktoberfest" ;-)
Solaris System Manager; I used to work for Sun Microsystems Support (EMEA) for 5 years
 
hi,
I read the readme file but didn't get any information what you suggested in the mail...

Any further light on above will help me
 
go to the directory, where SATAN is installed; perform the following:

find . -exec grep perl {} \;

usually a script contains the Name of the Interpreter as a first line eg
#!/usr/local/bin/perl5

the find command will show you where the script expect's the executable; make a softlink to your installdir eg:

ln -s /this/is/where/my/perl/installation/lives/perl5 /usr/local/bin/perl5

Hope this helps a little bit...

Regards
-- Franz
Sorry I'm not a native spaeker, I'm from Munich, Germany - "Home of the Whopper", oh no, "Home of the Oktoberfest" ;-)
Solaris System Manager; I used to work for Sun Microsystems Support (EMEA) for 5 years
 
Dear Dafranz...

No good luck yet .....
Struggling still...
:(
 
cn I see an error-message?

can I see the output of

find / -name perl

Regards
-- Franz
Sorry I'm not a native spaeker, I'm from Munich, Germany - "Home of the Whopper", oh no, "Home of the Oktoberfest" ;-)
Solaris System Manager; I used to work for Sun Microsystems Support (EMEA) for 5 years
 
Dear Franz,
Sorry for delay but find the result u asked for :-

# find / -name perl

/usr/bin/perl
/usr/perl5/5.00503/bin/perl
/usr/perl5/5.6.1/bin/perl
/usr/iplanet/ds5/bin/slapd/admin/bin/perl
/usr/iplanet/ds5/install/perl
/usr/iplanet/admserv5.1/bin/admin/admin/bin/perl
/usr/apache/perl5/5.6.1/sun4-solaris/auto/Apache/include/modules/perl
/var/sadm/spool/113146-02/SUNWapchu/reloc/usr/apache/perl5/5.6.1/sun4-solaris/auto/Apache/include/modules/perl
/opt/sfw/docs/ref/perl
/9_Recommended/113146-02/SUNWapchu/reloc/usr/apache/perl5/5.6.1/sun4-solaris/auto/Apache/include/modules/perl

With best regards :)
withu
 
ok, an what is the erormessage starting satan?

Regards
-- Franz
Sorry I'm not a native spaeker, I'm from Munich, Germany - "Home of the Whopper", oh no, "Home of the Oktoberfest" ;-)
Solaris System Manager; I used to work for Sun Microsystems Support (EMEA) for 5 years
 
Dear Dafranze,

I mapped the perl5 path by the path command.

After that when I install and gave command
./reconig

it went in infinity mode.I mean nothing is coming ...Just cursor is blinking...

It will be better if some1 reply to this soon

With best regards,
WITHU
 
as I sayed above
> (I have never setup SATAN but seen several Perl5 errors... ;))
I have no experiance in setting up Satan, I thought I could help, but...

Regards
-- Franz
Sorry I'm not a native spaeker, I'm from Munich, Germany - "Home of the Whopper", oh no, "Home of the Oktoberfest" ;-)
Solaris System Manager; I used to work for Sun Microsystems Support (EMEA) for 5 years
 
What type of file is reconfig? Try 'file reconfig'

If it is a perl script you could try and post it here.

You could also try editing the reconfig file and changing the first line to #!/path/to/perl -W

This will show you if anything else may be causing your problem.

Is there a README file for the SATAN installation?

Post the command line instructions here...



I love deadlines. I like the whooshing sound they make as they fly by - Douglas Adams
 
HI,

It is a executable shell script ...

The file starts with

#!/bin/sh -- need to mention perl here to avoid recursion
'true' || eval 'exec perl -S $0 $argv:q';
eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}'
& eval 'exec /usr/local/bin/perl -S $0 $argv:q'
if 0;



# find perl5! < I THINK SOME PROB IN THIS >
print &quot;Ok, trying to find perl5 now... hang on a bit...\n&quot;;
for $dir (@all_dirs) {
# first, find where it might be; oftentimes you'll see perl,
# perl4, perl5, etc. in the same dir
next if (! -d $dir);
while (<$dir/perl5* $dir/perl*>) {
if (-x $_) {
$perl_version=`($_ -v 2> /dev/null) |
awk '/This is perl, version 5/ { print $NF }'`;
if ($perl_version) {
$PERL=$_;
$pflag=&quot;1&quot;;
-----------------------------------------------------

I am getting the messege this :-
##########
print &quot;Ok, trying to find perl5 now... hang on a bit...\n&quot;;
##############

but after this it used to go in a infinite loop I believe !!

 
What happens if you issue the following command? Does it hang too?

find / -name 'perl*'

I love deadlines. I like the whooshing sound they make as they fly by - Douglas Adams
 
no that doesn't hang and added to that it shows the places where all the different perl version are installed...

With regards,
withu...
 
What is the output of the command 'env' please.

I love deadlines. I like the whooshing sound they make as they fly by - Douglas Adams
 
dear Mrmac

For your info the env o/p (related one)
#env (only relevant one's r put up here)

PWD=/
MANPATH=/usr/man:/usr/openwin/man:/usr/dt/man:/usr/local/man
MACHTYPE=sparc-sun-solaris2.9
DTXSERVERLOCATION=local
LANG=C
DISPLAY=:0.0
LOGNAME=root
SHLVL=2
HELPPATH=/usr/openwin/lib/locale:/usr/openwin/lib/help
SHELL=/bin/bash
HOSTTYPE=sparc
OSTYPE=solaris2.9
HOME=/
PATH=/usr/dt/bin:/usr/bin:/usr/ucb:/etc:/usr/ccs/bin/:/usr/sbin/:.:/usr/sbin


with best regards,
WITHU
 
Hi all,

Anyone to help on this SATAN installation ....

Pl reply..

With best regards,
WITHU
 
Hi withu sorry its been a while but I think I've found the problem.
In the reconfig script is the following:
Code:
  $perl_version=`($_ -v 2> /dev/null) |
                                awk '/This is perl, version 5/ { print $NF }'`;

The problem is that perl -v (which is the $_ -v) no longer returns the text string "This is perl, version 5". The string perl -v returns now is "This is perl, v5".

So what you need to do is take a backup copy of reconfig then edit the above line to make it look like
Code:
  $perl_version=`($_ -v 2> /dev/null) |
                                awk '/This is perl, v5/ { print $NF }'`;

The script then works.

The news is that it doesn't do much and you would probably have been quicker editing the files by hand.

Hope this helps anyway.


I love deadlines. I like the whooshing sound they make as they fly by - Douglas Adams
 
Dear Douglas,

How r you and thanks for your mail.I have not tried yet as I was held up with LINUX DNS part which I failed to solve..

Did you anytime installed SATAN...

I will try your suggestion today...Let's see how it goes.

With best regards,
WiTH U
 
I tried the installation but this with on Solaris 9 for i386. I got the reconfig to work but you need the solaris C compiler installed to do the next step, which I don't have.

Any more problems post back here,

Kenny

I love deadlines. I like the whooshing sound they make as they fly by - Douglas Adams
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top