Re: [BackupPC-users] how to install SCGI , exactly??

2020-05-26 Thread Michael Walker - Rotech Motor Ltd .
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" 
mailto:backuppc-users@lists.sourceforge.net>>
To: "General list for user discussion, questions and support" 
mailto:backuppc-users@lists.sourceforge.net>>
Cc: "Craig Barratt" 
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).

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/


Re: [BackupPC-users] how to install SCGI , exactly??

2020-05-22 Thread Michael Walker - Rotech Motor Ltd .
Thanks for the hint!
BackupPC is installed on an Ubuntu 18.04.4 system...
I am trying to get this machine to backup up our Debian 10 file server, since 
our cloud backup service doesn't support  Debian but does support Ubuntu.
I haven't used Perl in 20 years, and the last five years been working on CentOS 
exclusively, so also a little fuzzy on installing Perl modules on Ubuntu.
I do have libapache2-mod-scgi installed...
And I have found a site 
(https://www.server-world.info/en/note?os=Ubuntu_18.04=httpd=2) which 
recommended "a2enmod scgi"... but when I run that it says "Module scgi already 
enabled "... Now I'm going to try its configuration directions and see if I'm 
on the right track!


-- Original Message --
From: "Doug Lytle" mailto:supp...@drdos.info>>
To: 
"backuppc-users@lists.sourceforge.net<mailto:backuppc-users@lists.sourceforge.net>"
 
mailto:backuppc-users@lists.sourceforge.net>>
Sent: 5/22/2020 1:00:20 AM
Subject: Re: [BackupPC-users] how to install SCGI , exactly??

On 5/21/20 7:54 PM, Michael Walker - Rotech Motor Ltd. wrote:
I cannot find any details on how to do this... cpanm is installed and
seems to be working.. but WHAT  must I ask it to get, precisely??


Mike,

What Linux Distro are you running BackupPC on?  I'm running mine on
Debian 10 (Buster)

You probably can get away with using it's package management system to
install the Perl module instead of using CPAN.

Doug





___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net<mailto: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/
___
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/


[BackupPC-users] how to install SCGI , exactly??

2020-05-21 Thread Michael Walker - Rotech Motor Ltd .
Installed...

General Server Information

  *   The servers PID is 1302, on host [redacted], version 4.3.2, started at 
2020-05-21 09:18.

But cant launch a backup yet - I'm stuck with the error


2020-05-21 16:44:49  scgi : BackupPC_Admin_SCGI: can't load perl SCGI module - 
install via CPAN; exiting in 60 seconds
2020-05-21 16:44:49 Running BackupPC_Admin_SCGI (pid=5740)
2020-05-21 16:45:49  scgi : BackupPC_Admin_SCGI: can't load perl SCGI module - 
install via CPAN; exiting in 60 seconds
2020-05-21 16:45:49 Running BackupPC_Admin_SCGI (pid=5744)
2020-05-21 16:46:50  scgi : BackupPC_Admin_SCGI: can't load perl SCGI module - 
install via CPAN; exiting in 60 seconds
2020-05-21 16:46:50 Running BackupPC_Admin_SCGI (pid=5745)
2020-05-21 16:47:50  scgi : BackupPC_Admin_SCGI: can't load perl SCGI module - 
install via CPAN; exiting in 60 seconds
2020-05-21 16:47:50 Running BackupPC_Admin_SCGI (pid=5746)
2020-05-21 16:48:50  scgi : BackupPC_Admin_SCGI: can't load perl SCGI module - 
install via CPAN; exiting in 60 seconds
2020-05-21 16:48:50 Running BackupPC_Admin_SCGI (pid=5749)
2020-05-21 16:49:50  scgi : BackupPC_Admin_SCGI: can't load perl SCGI module - 
install via CPAN; exiting in 60 seconds
2020-05-21 16:49:50 Running BackupPC_Admin_SCGI (pid=5751)

etc etc

Been looking for a workaround... I got this far:
https://sourceforge.net/p/backuppc/mailman/message/36059887/

where it is suggested "You are missing the CPAN scgi module, so you should 
install it (eg, via CPAN). "

I cannot find any details on how to do this... cpanm is installed and seems to 
be working.. but WHAT  must I ask it to get, precisely??

# cpanm scgi
! Finding scgi on cpanmetadb failed.
! Finding scgi () on mirror http://www.cpan.org failed.
! Couldn't find module or a distribution scgi

# cpanm Perl:SCGI
! Finding Perl:SCGI on cpanmetadb failed.
! Finding Perl:SCGI () on mirror http://www.cpan.org failed.
! Couldn't find module or a distribution Perl:SCGI

/# cpanm Module::SCGI
! Finding Module::SCGI on cpanmetadb failed.
! Finding Module::SCGI () on mirror http://www.cpan.org failed.
! Couldn't find module or a distribution Module::SCGI


etc etc...
___
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/