Skip to Content.
Sympa Menu

perfsonar-user - [perfsonar-user] Error "Can't locate RPM2.pm" on an Ubuntu install.

Subject: perfSONAR User Q&A and Other Discussion

List archive

[perfsonar-user] Error "Can't locate RPM2.pm" on an Ubuntu install.


Chronological Thread 
  • From: "Adam Weed" <>
  • To:
  • Subject: [perfsonar-user] Error "Can't locate RPM2.pm" on an Ubuntu install.
  • Date: Mon, 4 Aug 2025 16:58:28 +0000

New install of perfSonar Toolkit on Ubuntu 24. In the web configuration, I
can't completely load pages in the Administrative, Host, or Test pages; the
LOADING... message never goes away until I click on the page behind it.

I can enter some data into the Administrative Information page, but attempting
to save just gives me "Error - Internal Server Error".

I used the quick method to install:
curl -s https://downloads.perfsonar.net/install | sh -s - toolkit

The /var/log/apache2/error.log contains the following, over and over again:

Can't locate RPM2.pm in @INC (you may need to install the RPM2 module) (@INC
entries checked: /usr/lib/perfsonar/web-ng/root/admin/services/../../../../
lib /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.38.2 /usr/local/share/
perl/5.38.2 /usr/lib/x86_64-linux-gnu/perl5/5.38 /usr/share/perl5 /usr/lib/
x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.38 /usr/share/
perl/5.38 /usr/local/lib/site_perl) at /usr/share/perl5/perfSONAR_PS/
NPToolkit/Services/Base.pm line 9.
BEGIN failed--compilation aborted at /usr/share/perl5/perfSONAR_PS/NPToolkit/
Services/Base.pm line 9.
Compilation failed in require at /usr/lib/x86_64-linux-gnu/perl-base/base.pm
line 135.
...propagated at /usr/lib/x86_64-linux-gnu/perl-base/base.pm line 157.
BEGIN failed--compilation aborted at /usr/share/perl5/perfSONAR_PS/NPToolkit/
Services/Cassandra.pm line 6.
Compilation failed in require at /usr/share/perl5/perfSONAR_PS/NPToolkit/
Services/ServicesMap.pm line 10.
BEGIN failed--compilation aborted at /usr/share/perl5/perfSONAR_PS/NPToolkit/
Services/ServicesMap.pm line 10.
Compilation failed in require at /usr/share/perl5/perfSONAR_PS/NPToolkit/
DataService/Host.pm line 16.
BEGIN failed--compilation aborted at /usr/share/perl5/perfSONAR_PS/NPToolkit/
DataService/Host.pm line 16.
Compilation failed in require at /usr/lib/perfsonar/web-ng/root/admin/
services/host.cgi line 17.
BEGIN failed--compilation aborted at /usr/lib/perfsonar/web-ng/root/admin/
services/host.cgi line 17.

Is perfSonar even using the RPM2 package on Ubuntu?

I would appreciate guidance on correcting this issue. Thank you!


  • [perfsonar-user] Error "Can't locate RPM2.pm" on an Ubuntu install., Adam Weed, 08/04/2025

Archive powered by MHonArc 2.6.24.

Top of Page