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

2020-05-26 Thread Craig Barratt via BackupPC-users
Is there any chance you have two different perls installed?  Check the
first line of bin/BackupPC to see what version it is running.

What is the output from these commanda?

which perl
perl -e 'use SCGI; print $SCGI::VERSION;'

Craig

On Tue, May 26, 2020 at 12:51 PM Michael Walker - Rotech Motor Ltd. <
m...@rotech.ca> wrote:

> 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>
> To: "General list for user discussion, questions and support" <
> backuppc-users@lists.sourceforge.net>
> Cc: "Craig Barratt" 
> 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/
>
___
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-26 Thread Kris Lou via BackupPC-users
https://github.com/backuppc/backuppc/wiki/Installing-BackupPC-4-from-tarball-or-git-on-Ubuntu

Alternatively, for CentOS 7 you can use the Hobbes COPR:
https://copr.fedorainfracloud.org/coprs/hobbes1069/BackupPC/

There's another maintained CentOS repo:
http://repo.firewall-services.com/centos/

Both maintainers are on the mailing list.

Kris Lou
k...@themusiclink.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/


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/