Re: Install Perl Modules (90 Views)
Reply
Occasional Advisor
jgd1947
Posts: 8
Registered: ‎01-28-2012
Message 1 of 2 (104 Views)

Install Perl Modules

This past weekend we upgraded to HPUX 11i version3.    Now our automated FTP Perl scripts are not working.  We are getting error messages that it can't locate /Net/FTP/File.pm and it "cannot open hash database /etc/mail/aliases.db: Invalid argument dbm map "Alias0": missing map file /etc/mail/aliases".  Can someone assist with instructions on how to re-install the Perl modules and the path that the system is looking for Perl?

Please use plain text.
Honored Contributor
Patrick Wallek
Posts: 13,752
Registered: ‎06-21-2000
Message 2 of 2 (90 Views)

Re: Install Perl Modules

For the aliases error try running the 'newaliases' command to generate a new aliases db.

 

# newaliases

 

As far as the PERL modules go, CPAN is probably the easiest method to install modules.

 

If you enter 'CPAN' the the # prompt, you should get to a 'cpan>' prompt.  From there you can do:

 

cpan> install Net::FTP::File

 

This will download and install the PERL module.  If you get a complaint that the URL is not valid, do the following:

 

cpan> o conf urllist http://mirror.uta.edu/CPAN/

cpan> o conf commit

 

Then try the install again.

Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation