Well... CPAN certainly wasn't working. So I tried installing from the tarball:


root@redacted:/usr/share/SCGI# perl Build.PL
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'SCGI' version '0.6'
root@redacted:/usr/share/SCGI# ./Build
Building SCGI
root@redacted:/usr/share/SCGI# ./Build test
t/blocking.t ...... ok
t/non-blocking.t .. ok
t/pod-coverage.t .. skipped: Test::Pod::Coverage 1.00 required for testing POD 
coverage
t/pod.t ........... skipped: Test::Pod 1.00 required for testing POD
All tests successful.
Files=4, Tests=20,  1 wallclock secs ( 0.03 usr  0.01 sys +  0.52 cusr  0.10 
csys =  0.66 CPU)
Result: PASS
root@redacted:/usr/share/SCGI# ./Build install
Building SCGI
Installing /usr/local/share/perl/5.26.1/SCGI.pm
Installing /usr/local/share/perl/5.26.1/SCGI/Request.pm
Installing /usr/local/man/man3/SCGI.3pm
Installing /usr/local/man/man3/SCGI::Request.3pm
root@redacted:/usr/share/SCGI#

So.. it is installed, and system rebooted, but I continue to get the error:


2020-05-26 12:37:47  scgi : BackupPC_Admin_SCGI: can't load perl SCGI module - 
install via CPAN; exiting in 60 seconds
2020-05-26 12:37:47 Running BackupPC_Admin_SCGI (pid=1751)

Is there any information published detailing how to get BackupPC to find and 
load the freshly-installed SCGI module?

The configuration instructions online are rife with options, and frankly it's 
mindbogglingly complex for someone like me who is trying just to install a 
'ready-made backup system'. (Right now I am looking at 
https://backuppc.github.io/backuppc/BackupPC.html#Step-9:-CGI-interface )

The amount of time spent analyzing all this stuff might be better spent just 
building something from scratch :(

------ Original Message ------
From: "Craig Barratt via BackupPC-users" 
<backuppc-users@lists.sourceforge.net<mailto:backuppc-users@lists.sourceforge.net>>
To: "General list for user discussion, questions and support" 
<backuppc-users@lists.sourceforge.net<mailto:backuppc-users@lists.sourceforge.net>>
Cc: "Craig Barratt" 
<cbarr...@users.sourceforge.net<mailto:cbarr...@users.sourceforge.net>>
Sent: 5/23/2020 2:51:54 PM
Subject: Re: [BackupPC-users] how to install SCGI , exactly??

There are two different components that have to be installed, one for perl (the 
client end) and another for apache (the server end).

The perl module SCGI needs to be installed, which can be done via cpan.  If 
cpan doesn't work you can install it manually from the tarball, which can be 
found in many places (eg, 
here<http://www.namesdir.com/mirrors/cpan/authors/id/V/VI/VIPERCODE/SCGI-0.6.tar.gz>).

Second, apache needs the scgi module (typically called mod-scgi) installed and 
enabled.  As Doug mentions that can be done using your favorite package manager.

Craig


_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to