Business Edition

ActiveState PPM Availability and the 401 error


PPM gives me a 401 Authorization Required. Why?


UPDATE (Oct 2016): This FAQ was originally posted in 2010. If you are running a version of ActivePerl that gets a 401 error when it contacts a Business Edition Only repository, our advice has evolved. Now, you should replace that ActivePerl.

A "401" error when contacting PPM should now be treated as a indication of obsolesence.

Later versions of ActivePerl that fully support Business Edition Licences have a more informative error message instead of the basic "401". Old ActivePerls that can only report a "401" will not support a Business Edition licence if one is installed. An ActivePerl that reports a "401" from PPM is probably not compatible with your current operating system either.

Original FAQ:

The repository you are accessing contains exclusively Business Edition content. If you do not have a Business Edition license installed on the system, the PPM server will advise that you are not permitted to access the directory.

Perl versions move into Business Edition when the Perl Community is no longer actively supporting that version of Perl. ActiveState policy for PPM is that free and open access to PPM binary modules for versions that have moved entirely into Business Edition will continue for *at least* six months beyond the date at which the no Community Edition versions of that Perl are available.

All versions of Perl 5.8 and 5.10 required Business Edition licensing in 2010. ActivePerl 5.8 builds older than build 829, and ActivePerl 5.10 builds older than 1008 must use the manual download process described in this FAQ:

All versions of Perl 5.12 required Business Edition licenses as of September 2012. All ActivePerl 5.12 builds can use the normal PPM client with a Business Edition license installed, or the manual download process.

ActivePerl 5.14 requires a Business Edition license as of October 2013 for access to installers. PPM access for modules other than the installers remains free as of December 2013.

Manual download of Perl modules from PPM


I have a server without internet access. How do I download and manually install modules?


***Manual Downloads of PPMX files now require a Business Edition license.***

Go to the PPM index page for the module you want, for example, for DBD-MySQL go to:

Select the version of Perl you need a module for, by platform and by Perl major revision number.

If the module has built successfully, you will see a green circle with a check mark. If if has not built, the circle will be red with an exclamation mark.

You can expand green circle or red circle links. The drill-down page will show you links to the build logs for each version of the modules the system has attempted to build. If the circle was green, and a version of the module sucessfully built, there will be a "ppmx" link on the right side for each successful build.

Clicking the ppmx link will open a screen which prompts for a username and password. To proceed past this point, you must have a Business Edition license.

The USERID and PASSWORD are *not* the same as the userID and password you use for posting to this forum, or accessing the rest of the ActiveState site. For Business Edition manual downloads, you must find these values in your Business Edition license file. To find your license file:

Scan the license file for the line which shows "|ActivePerl BE|".
Immediately following that field will be another field which starts with "|APIPassword#". The value after that tag is your PASSWORD for Business Edition manual downloads.
Further along in the same line is another field which starts with "|SerialNo#". The value after that tag is your USERID for Business Edition manual downloads.

If your license is Active and you are an End User linked to the Serial Number, you may also query your My Account page for the API password value.

Once you have the PPMX files downloaded, installing a module from PPMX files is documented here: