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


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

2020-05-23 Thread Craig Barratt via BackupPC-users
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

On Fri, May 22, 2020 at 10:39 AM Doug Lytle  wrote:

> >>> I am currently running BackupPC  version 4.3.2 on Ubuntu 18.04.4 LTS .
> >>> Everything seems to be working perfectly, except this pesky
> "2020-05-22 10:02:30 scgi : BackupPC_Admin_SCGI: can't load perl SCGI
> module - install via CPAN; exiting in 60 seconds" error
>
> Mike,
>
> The only thing I have on my backuppc server is the same as yours
>
> dpkg -l|grep -i scgi
>
> ii  libapache2-mod-scgi   1.13-1.1amd64
> Apache module implementing the SCGI protocol
>
>
> How are you trying to access the admin page?
>
> I don'g use sgi in my URL.  I use
>
> http://192.168.145.99/backuppc
>
> The description of the SGI admin is
>
> # BackupPC_Admin_SCGI: An SCGI implementation of the BackupPC
> #  admin interface.
>
> Which is something I don't use, just the CGI version.
>
> Doug
>
>
> ___
> 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-22 Thread Doug Lytle
>>> I am currently running BackupPC  version 4.3.2 on Ubuntu 18.04.4 LTS . 
>>> Everything seems to be working perfectly, except this pesky "2020-05-22 
>>> 10:02:30 scgi : BackupPC_Admin_SCGI: can't load perl SCGI module - install 
>>> via CPAN; exiting in 60 seconds" error

Mike, 

The only thing I have on my backuppc server is the same as yours

dpkg -l|grep -i scgi

ii  libapache2-mod-scgi   1.13-1.1amd64
Apache module implementing the SCGI protocol


How are you trying to access the admin page?

I don'g use sgi in my URL.  I use

http://192.168.145.99/backuppc

The description of the SGI admin is

# BackupPC_Admin_SCGI: An SCGI implementation of the BackupPC
#  admin interface.

Which is something I don't use, just the CGI version.

Doug


___
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 Greg Harris
Or better yet, use CentOS 7 and that packaging. I can’t get to that RPM link at 
this moment. I’m sure someone else has that link available quickly. 

Thanks,

Greg Harris

> On May 22, 2020, at 12:33 PM, Doug Lytle  wrote:
> 
> 
>> 
 BackupPC is installed on an Ubuntu 18.04.4 system..
> 
> You won't want to be using BackupPC from Ubuntu 18.04's PPA, it's only 
> version 3.3.1.  BackupPC is currently at 4.3.2
> 
> My suggestion would be to install it from tarball.  I've found the below 
> instructions
> 
> https://github.com/backuppc/backuppc/wiki/Installing-BackupPC-4-from-tarball-or-git-on-Ubuntu
> 
> I could not find a PPA for BackupPC 4.3.2
> 
> Doug
> 
> 
> ___
> 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-22 Thread Doug Lytle
>>> BackupPC is installed on an Ubuntu 18.04.4 system..

You won't want to be using BackupPC from Ubuntu 18.04's PPA, it's only version 
3.3.1.  BackupPC is currently at 4.3.2

My suggestion would be to install it from tarball.  I've found the below 
instructions

https://github.com/backuppc/backuppc/wiki/Installing-BackupPC-4-from-tarball-or-git-on-Ubuntu

I could not find a PPA for BackupPC 4.3.2

Doug


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


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

2020-05-22 Thread Doug Lytle

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
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/