Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: Problem installing Net:OpenSSH on Hp-UX B11.31

by Sombrerero_loco (Beadle)
on Mar 01, 2017 at 15:28 UTC ( [id://1183293]=note: print w/replies, xml ) Need Help??


in reply to Re: Problem installing Net:OpenSSH on Hp-UX B11.31
in thread Problem installing Net:OpenSSH on Hp-UX B11.31

Hi Salva. i tried with KSH with id the default shell this machine has and bash, no luck :( I am going to paste the file you told me, hold on, i am off the office :)
  • Comment on Re^2: Problem installing Net:OpenSSH on Hp-UX B11.31

Replies are listed 'Best First'.
Re^3: Problem installing Net:OpenSSH on Hp-UX B11.31
by salva (Canon) on Mar 01, 2017 at 15:44 UTC
    i tried with KSH with id the default shell this machine has and bash, no luck

    It is not related to the shell you use to run the test.

    The t/quoting.t script looks for the shells available on your system and for every one of them, it generates a bunch of random strings and tests if the quoting mechanisms implemented inside Net::OpenSSH escape then properly.

    I am going to paste the file you told me

    Send it to me by email as an attachment, please. Pasting would mangle its content.

      After i ran the make install it went everything ok but it seems it doesnt work. Even when i used in the script the use lib shebang, directly to the .pm module, it doesnt work. My @INC
      Can't locate Net/OpenSSH.pm in @INC (@INC contains: /opt/perl_32/lib/5 +.8.8/IA64.ARCHREV_0-thread-multi /opt/perl_32/lib/5.8.8 /opt/perl_32/lib/site_perl/5.8.8/IA64.ARCHREV_0-thread-multi /opt/perl +_32/lib/site_perl/5.8.8 /opt/perl_32/lib/site_perl /opt/perl_32/lib/v +endor_perl/5.8.8/IA64.ARCHREV_0-thread-multi /opt/perl_32/lib/vendor_ +perl/5.8.8 /opt/perl_32/lib/vendor_perl .) at srv_scanner.pl line 8.
      and a tree from the /opt/perl_32/lib/5.8.8
      bash-4.3$ ls -alrt total 48 dr-xr-xr-x 3 bin bin 96 Jul 20 2012 html dr-xr-xr-x 6 bin bin 96 Jul 20 2012 . dr-xr-xr-x 4 bin bin 96 Jul 20 2012 lib dr-xr-xr-x 2 bin bin 8192 Jul 20 2012 bin dr-xr-xr-x 14 bin bin 8192 May 23 2013 man dr-xr-xr-x 94 bin bin 8192 Mar 1 17:37 .. bash-4.3$ cd lib bash-4.3$ ls -alrt | grep 5.8.8/ bash-4.3$ ls -alrt | grep 5.8.8 dr-xr-xr-x 45 bin bin 8192 Jul 20 2012 5.8.8 bash-4.3$ cd 5.8.8/ bash-4.3$ ls -alrt | grep Net dr-xr-xr-x 6 bin bin 8192 Mar 2 14:27 Net bash-4.3$ cd N NEXT.pm Net/ bash-4.3$ cd N NEXT.pm Net/ bash-4.3$ cd N NEXT.pm Net/ bash-4.3$ cd Net/ bash-4.3$ ls 14251202032017logfile.csv Domain.pm Hostname.eg + NNTP.pm SMTP.pm serv +ent.pm 14262502032017logfile.csv FTP LDAP + Netrc.pm Time.pm 14273502032017logfile.csv FTP.pm LDAP.pm + OpenSSH hostent.pm Cmd.pm HTTP LDAP.pod + OpenSSH.pm libnetFAQ.pod Config.eg HTTP.pm LDAPI.pm + POP3.pm netent.pm Config.pm HTTPS.pm LDAPS.pm + Ping.pm protoent.pm bash-4.3$ ls -alrt total 1248 -r-xr-xr-x 1 bin bin 9210 Oct 20 2008 HTTP.pm -r-xr-xr-x 1 bin bin 1186 Oct 20 2008 HTTPS.pm -r-xr-xr-x 1 bin bin 1878 Oct 27 2008 LDAPS.pm -r-xr-xr-x 1 bin bin 1488 Oct 27 2008 LDAPI.pm -r-xr-xr-x 1 bin bin 29320 Oct 27 2008 LDAP.pod -r-xr-xr-x 1 bin bin 25969 Oct 27 2008 LDAP.pm -r--r--r-- 1 bin bin 58119 May 31 2011 Ping.pm -r--r--r-- 1 bin bin 10052 May 31 2011 libnetFAQ.po +d -r--r--r-- 1 bin bin 3037 May 31 2011 protoent.pm -r--r--r-- 1 bin bin 4481 May 31 2011 netent.pm -r--r--r-- 1 bin bin 3354 May 31 2011 Time.pm -r--r--r-- 1 bin bin 15644 May 31 2011 POP3.pm -r--r--r-- 1 bin bin 3478 May 31 2011 servent.pm -r--r--r-- 1 bin bin 21003 May 31 2011 SMTP.pm -r--r--r-- 1 bin bin 4017 May 31 2011 hostent.pm -r--r--r-- 1 bin bin 7241 May 31 2011 Netrc.pm -r--r--r-- 1 bin bin 15796 May 31 2011 Cmd.pm -r--r--r-- 1 bin bin 1177 May 31 2011 Config.eg -r--r--r-- 1 bin bin 7689 May 31 2011 Config.pm -r--r--r-- 1 bin bin 7532 May 31 2011 Domain.pm -r--r--r-- 1 bin bin 27159 May 31 2011 NNTP.pm -r--r--r-- 1 bin bin 43617 May 31 2011 FTP.pm -r--r--r-- 1 bin bin 235 May 31 2011 Hostname.eg dr-xr-xr-x 2 bin bin 96 Jul 20 2012 FTP dr-xr-xr-x 45 bin bin 8192 Jul 20 2012 .. dr-xr-xr-x 2 bin bin 96 Jul 20 2012 HTTP dr-xr-xr-x 5 bin bin 8192 Jul 20 2012 LDAP -r-xr-x--x 1 bin bin 165288 Mar 1 12:31 OpenSSH.pm dr-xr-x--x 3 bin bin 8192 Mar 1 17:35 OpenSSH -rw------- 1 root sys 98 Mar 2 14:25 142512020320 +17logfile.csv -rw------- 1 root sys 98 Mar 2 14:26 142625020320 +17logfile.csv dr-xr-xr-x 6 bin bin 8192 Mar 2 14:27 . -rw------- 1 root sys 98 Mar 2 14:27 142735020320 +17logfile.csv
      I am getting very lost in here....
        -r-xr-x--x 1 bin bin 165288 Mar 1 12:31 OpenSSH.pm dr-xr-x--x 3 bin bin 8192 Mar 1 17:35 OpenSSH

        Not sure who you are running the script as but other does not have read access to the module or directory.

        -r-xr-x--x   1 bin        bin         165288 Mar  1 12:31 OpenSSH.pm

        The file permissions look suspicious. Try changing them to 0644/0755.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1183293]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (3)
As of 2024-04-25 23:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found