Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
I'm attempting to fix my rsnapshot and i been reading the rsnapshot HOWTO and I have been able to get my initial backup but it appears to be working sporadically.
Here are the backups that I currently have
drwxr-xr-x 3 root root 4096 Jul 1 04:32 daily.0
drwxr-xr-x 3 root root 4096 Jul 1 04:32 daily.1
drwxr-xr-x 3 root root 4096 Jul 1 04:32 daily.2
drwxr-xr-x 3 root root 4096 Jul 1 04:32 daily.3
drwxr-xr-x 3 root root 4096 Jul 1 04:32 daily.4
drwxr-xr-x 3 root root 4096 Jul 1 04:32 daily.5
drwxr-xr-x 3 root root 4096 Jul 1 04:32 daily.6
drwxr-xr-x 3 root root 4096 Jul 1 04:32 weekly.0
drwxr-xr-x 3 root root 4096 Jun 18 15:10 weekly.1
drwxr-xr-x 3 root root 4096 Jun 18 15:10 weekly.2
The backups have been scheduled to run ever since June, when I initially setup rsnapshot.
I ran the configtest and this is what I got.
root@SMNAS:/mnt/HD_a2/ffp/start# rsnapshot configtest
require Lchown
Lchown module not found
Syntax OK
root@SMNAS:/mnt/HD_a2#
I downloaded Lchown-1.00-tar.gz and attempted to install it and i get the following
root@SMNAS:/mnt/HD_a2# funpkg -i Lchown-1.00.tar.gz
FATAL: Lchown-1.00.tar.gz: /ffp not found in package
root@SMNAS:/mnt/HD_a2#
Any advice?
Last edited by Klipsch (2008-07-18 04:14:40)
Offline
I don't have knowledge about rsnapshot but where did you get this Lchown module from?
I can't find it in fonz' packages which means that it's not a funplug package. That means that you can't install it using funpkg. That's why you get the error message.
There must be some installation instructions with the Lchown module. You have to install it another way.
Offline
silversurfer wrote:
I don't have knowledge about rsnapshot but where did you get this Lchown module from?
I can't find it in fonz' packages which means that it's not a funplug package. That means that you can't install it using funpkg. That's why you get the error message.
There must be some installation instructions with the Lchown module. You have to install it another way.
I got Lchown from the download section of rsnapshot
http://www.rsnapshot.org/downloads.html
Your right about it not being part of the funplug package I realized that after further playing w/ it. I found the command tar zxvf and ran the command
tar zxvf Lchown-1.00.tar.gz . It created a Lchown-1.00 folder in /mnt/HD_a2. I got some prompts for some configuration settings for Lchown and I ran through them and ran rsnapshot configtest again and i got the same message. so apparently it didn't install properly or in the right directory.
Offline
I don't use fonz perl. If it has CPAN use this command to install instead.
perl -MCPAN -e 'install qw(Lchown)'
Offline
Thanks for tip frodo.
I ran the command perl -MCPAN -e 'install qw(Lchown)' and got the following back
Usage: gzip [OPTION]... [FILE]...
Compress FILEs (or standard input)
Options:
-c Write to standard output
-d Decompress
-f Force
Can't locate object method "data" via package "CPAN::Modulelist" (perhaps you forgot to load "CPAN::Modulelist"?) at (eval 11) line 1.
at /ffp/lib/perl5/5.8.8/CPAN.pm line 3405
CPAN::Index::rd_modlist('CPAN::Index', '/home/root/.cpan/sources/modules/03modlist.data.gz') called at /ffp/lib/perl5/5.8.8/CPAN.pm line 3128
CPAN::Index::reload('CPAN::Index') called at /ffp/lib/perl5/5.8.8/CPAN.pm line 675
CPAN::exists('CPAN=HASH(0x6e3c04)', 'CPAN::Module', 'Lchown-1.00') called at /ffp/lib/perl5/5.8.8/CPAN.pm line 1841
CPAN::Shell::expandany('CPAN::Shell', 'Lchown-1.00') called at /ffp/lib/perl5/5.8.8/CPAN.pm line 2077
CPAN::Shell::rematein('CPAN::Shell', 'install', 'Lchown-1.00') called at /ffp/lib/perl5/5.8.8/CPAN.pm line 2164
CPAN::Shell::install('CPAN::Shell', 'Lchown-1.00') called at /ffp/lib/perl5/5.8.8/CPAN.pm line 79
CPAN::AUTOLOAD('Lchown-1.00') called at -e line 1
root@SMNAS:/mnt/HD_a2# rsnapshot configtest
require Lchown
Lchown module not found
Syntax OK
root@SMNAS:/mnt/HD_a2# cls
-sh: cls: not found
root@SMNAS:/mnt/HD_a2# clear
root@SMNAS:/mnt/HD_a2# perl -MCPAN -e 'install qw(Lchown)'
CPAN: Storable loaded ok
Going to read /home/root/.cpan/sources/authors/01mailrc.txt.gz
/ffp/bin/gzip: unrecognized option `--decompress'
BusyBox v1.10.1 (2008-04-19 12:53:41 CEST) multi-call binary
Usage: gzip [OPTION]... [FILE]...
Compress FILEs (or standard input)
Options:
-c Write to standard output
-d Decompress
-f Force
Going to read /home/root/.cpan/sources/modules/02packages.details.txt.gz
/ffp/bin/gzip: unrecognized option `--decompress'
BusyBox v1.10.1 (2008-04-19 12:53:41 CEST) multi-call binary
Usage: gzip [OPTION]... [FILE]...
Compress FILEs (or standard input)
Options:
-c Write to standard output
-d Decompress
-f Force
Warning: Your /home/root/.cpan/sources/modules/02packages.details.txt.gz does not contain a Line-Count header.
Please check the validity of the index file by comparing it to more
than one CPAN mirror. I'll continue but problems seem likely to
happen.
Warning: Your /home/root/.cpan/sources/modules/02packages.details.txt.gz does not contain a Last-Updated header.
Please check the validity of the index file by comparing it to more
than one CPAN mirror. I'll continue but problems seem likely to
happen.
Going to read /home/root/.cpan/sources/modules/03modlist.data.gz
/ffp/bin/gzip: unrecognized option `--decompress'
BusyBox v1.10.1 (2008-04-19 12:53:41 CEST) multi-call binary
Usage: gzip [OPTION]... [FILE]...
Compress FILEs (or standard input)
Options:
-c Write to standard output
-d Decompress
-f Force
Can't locate object method "data" via package "CPAN::Modulelist" (perhaps you forgot to load "CPAN::Modulelist"?) at (eval 11) line 1.
at /ffp/lib/perl5/5.8.8/CPAN.pm line 3405
CPAN::Index::rd_modlist('CPAN::Index', '/home/root/.cpan/sources/modules/03modlist.data.gz') called at /ffp/lib/perl5/5.8.8/CPAN.pm line 3128
CPAN::Index::reload('CPAN::Index') called at /ffp/lib/perl5/5.8.8/CPAN.pm line 675
CPAN::exists('CPAN=HASH(0x6e3a3c)', 'CPAN::Module', 'Lchown') called at /ffp/lib/perl5/5.8.8/CPAN.pm line 1841
CPAN::Shell::expandany('CPAN::Shell', 'Lchown') called at /ffp/lib/perl5/5.8.8/CPAN.pm line 2077
CPAN::Shell::rematein('CPAN::Shell', 'install', 'Lchown') called at /ffp/lib/perl5/5.8.8/CPAN.pm line 2164
CPAN::Shell::install('CPAN::Shell', 'Lchown') called at /ffp/lib/perl5/5.8.8/CPAN.pm line 79
CPAN::AUTOLOAD('Lchown') called at -e line 1
root@SMNAS:/mnt/HD_a2#
root@SMNAS:/mnt/HD_a2# root@SMNAS:/mnt/HD_a2# perl -MCPAN -e 'install qw(Lchown)'
-sh: root@SMNAS:/mnt/HD_a2#: not found
root@SMNAS:/mnt/HD_a2# CPAN: Storable loaded ok
-sh: CPAN:: not found
root@SMNAS:/mnt/HD_a2# Going to read /home/root/.cpan/sources/authors/01mailrc.txt.gz
-sh: Going: not found
root@SMNAS:/mnt/HD_a2# /ffp/bin/gzip: unrecognized option `--decompress'
> BusyBox v1.10.1 (2008-04-19 12:53:41 CEST) multi-call binary
>
> Usage: gzip [OPTION]... [FILE]...
>
> Compress FILEs (or standard input)
>
> Options:
> -c Write to standard output
> -d Decompress
> -f Force
>
> Going to read /home/root/.cpan/sources/modules/02packages.details.txt.gz
> /ffp/bin/gzip: unrecognized option `--decompress'
> BusyBox v1.10.1 (2008-04-19 12:53:41 CEST) multi-call binary
>
> Usage: gzip [OPTION]... [FILE]...
>
> Compress FILEs (or standard input)
>
> Options:
> -c Write to standard output
> -d Decompress
> -f Force
>
> Warning: Your /home/root/.cpan/sources/modules/02packages.details.txt.gz does not contain a Line-Count header.
> Please check the validity of the index file by comparing it to more
> than one CPAN mirror. I'll continue but problems seem likely to
-sh: --decompress
BusyBox v1.10.1 (2008-04-19 12:53:41 CEST) multi-call binary
Usage: gzip [OPTION]... [FILE]...
Compress FILEs (or standard input)
Options:
-c Write to standard output
-d Decompress
-f Force
Going to read /home/root/.cpan/sources/modules/02packages.details.txt.gz
/ffp/bin/gzip: unrecognized option : File name too long
-sh: /ffp/bin/gzip:: not found
root@SMNAS:/mnt/HD_a2# happen.
-sh: happen.: not found
root@SMNAS:/mnt/HD_a2#
root@SMNAS:/mnt/HD_a2# clear
root@SMNAS:/mnt/HD_a2# perl -MCPAN -e 'install qw(Lchown)'
CPAN: Storable loaded ok
Going to read /home/root/.cpan/sources/authors/01mailrc.txt.gz
/ffp/bin/gzip: unrecognized option `--decompress'
BusyBox v1.10.1 (2008-04-19 12:53:41 CEST) multi-call binary
Usage: gzip [OPTION]... [FILE]...
Compress FILEs (or standard input)
Options:
-c Write to standard output
-d Decompress
-f Force
Going to read /home/root/.cpan/sources/modules/02packages.details.txt.gz
/ffp/bin/gzip: unrecognized option `--decompress'
BusyBox v1.10.1 (2008-04-19 12:53:41 CEST) multi-call binary
Usage: gzip [OPTION]... [FILE]...
Compress FILEs (or standard input)
Options:
-c Write to standard output
-d Decompress
-f Force
Warning: Your /home/root/.cpan/sources/modules/02packages.details.txt.gz does not contain a Line-Count header.
Please check the validity of the index file by comparing it to more
than one CPAN mirror. I'll continue but problems seem likely to
happen.
Warning: Your /home/root/.cpan/sources/modules/02packages.details.txt.gz does not contain a Last-Updated header.
Please check the validity of the index file by comparing it to more
than one CPAN mirror. I'll continue but problems seem likely to
happen.
Going to read /home/root/.cpan/sources/modules/03modlist.data.gz
/ffp/bin/gzip: unrecognized option `--decompress'
BusyBox v1.10.1 (2008-04-19 12:53:41 CEST) multi-call binary
Usage: gzip [OPTION]... [FILE]...
Compress FILEs (or standard input)
Options:
-c Write to standard output
-d Decompress
-f Force
Can't locate object method "data" via package "CPAN::Modulelist" (perhaps you forgot to load "CPAN::Modulelist"?) at (eval 11) line 1.
at /ffp/lib/perl5/5.8.8/CPAN.pm line 3405
CPAN::Index::rd_modlist('CPAN::Index', '/home/root/.cpan/sources/modules/03modlist.data.gz') called at /ffp/lib/perl5/5.8.8/CPAN.pm line 3128
CPAN::Index::reload('CPAN::Index') called at /ffp/lib/perl5/5.8.8/CPAN.pm line 675
CPAN::exists('CPAN=HASH(0x6e3a3c)', 'CPAN::Module', 'Lchown') called at /ffp/lib/perl5/5.8.8/CPAN.pm line 1841
CPAN::Shell::expandany('CPAN::Shell', 'Lchown') called at /ffp/lib/perl5/5.8.8/CPAN.pm line 2077
CPAN::Shell::rematein('CPAN::Shell', 'install', 'Lchown') called at /ffp/lib/perl5/5.8.8/CPAN.pm line 2164
CPAN::Shell::install('CPAN::Shell', 'Lchown') called at /ffp/lib/perl5/5.8.8/CPAN.pm line 79
CPAN::AUTOLOAD('Lchown') called at -e line 1
root@SMNAS:/mnt/HD_a2#
Re ran the config test and it still says it didnt install.
root@SMNAS:/mnt/HD_a2# rsnapshot configtest
require Lchown
Lchown module not found
Syntax OK
root@SMNAS:/mnt/HD_a2#
I did some reading and found that Lchown is required to certain levels on verbose logging, which I am not trying to do. I'm just trying to get consistent backups to run.
Offline
Klipsch wrote:
Here are the backups that I currently have
drwxr-xr-x 3 root root 4096 Jul 1 04:32 daily.0
drwxr-xr-x 3 root root 4096 Jul 1 04:32 daily.1
drwxr-xr-x 3 root root 4096 Jul 1 04:32 daily.2
drwxr-xr-x 3 root root 4096 Jul 1 04:32 daily.3
drwxr-xr-x 3 root root 4096 Jul 1 04:32 daily.4
drwxr-xr-x 3 root root 4096 Jul 1 04:32 daily.5
drwxr-xr-x 3 root root 4096 Jul 1 04:32 daily.6
drwxr-xr-x 3 root root 4096 Jul 1 04:32 weekly.0
drwxr-xr-x 3 root root 4096 Jun 18 15:10 weekly.1
drwxr-xr-x 3 root root 4096 Jun 18 15:10 weekly.2
This doesn't look very consistent. Why do you have daily.0 to daily.6 created on the same date and same time?
Can you post your crontab: "crontab -l"
Why do you want to add lchown? I requested fonz if he can compile perl with lchown to fix the issue with rsnapshot. However, having not lchown installed doesn't lead to any failures in the backup. Or did you experienced any?
marinalink
Offline
marinalink wrote:
Klipsch wrote:
Here are the backups that I currently have
drwxr-xr-x 3 root root 4096 Jul 1 04:32 daily.0
drwxr-xr-x 3 root root 4096 Jul 1 04:32 daily.1
drwxr-xr-x 3 root root 4096 Jul 1 04:32 daily.2
drwxr-xr-x 3 root root 4096 Jul 1 04:32 daily.3
drwxr-xr-x 3 root root 4096 Jul 1 04:32 daily.4
drwxr-xr-x 3 root root 4096 Jul 1 04:32 daily.5
drwxr-xr-x 3 root root 4096 Jul 1 04:32 daily.6
drwxr-xr-x 3 root root 4096 Jul 1 04:32 weekly.0
drwxr-xr-x 3 root root 4096 Jun 18 15:10 weekly.1
drwxr-xr-x 3 root root 4096 Jun 18 15:10 weekly.2This doesn't look very consistent. Why do you have daily.0 to daily.6 created on the same date and same time?
Can you post your crontab: "crontab -l"
Why do you want to add lchown? I requested fonz if he can compile perl with lchown to fix the issue with rsnapshot. However, having not lchown installed doesn't lead to any failures in the backup. Or did you experienced any?
marinalink
Here is my crontab output. My understanding of what it was doing, it was copying the same data over and over. If i browse into the folders that contain these backups I see the same exact data and none of the newer files.
root@SMNAS:~# crontab -l
32 2 * * * /usr/sbin/rtc -s
30 2 2 * * /usr/sbin/rtc -c
59 1 * * * /usr/sbin/daylight &
*/15 * * * * /ffp/share/ezipupdate/ezipupdate.sh
10 3 1 * * /ffp/bin/rsnapshot monthly
20 3 * * 6 /ffp/bin/rsnapshot weekly
30 3 * * * /ffp/bin/rsnapshot daily
As for Lchown, to my understanding its only really needed to Verbose logging level 5, is that correct? I don't need it, but was under the impression it maybe need by rsnapshot to get it to backup properly.
Offline
I think I may of fixed my problem I had rsnapashot.conf file in the /ffp/start and /ffp/etc directories. I removed it from /ffp/start and re ran rsnapshot configtest and got back the following.
root@SMNAS:/mnt/HD_a2/ffp/start# rsnapshot configtest
Syntax OK
root@SMNAS:/mnt/HD_a2/ffp/start#
This time I did not get the Lchown error. I will test to see if this fixed my issue.
Last edited by Klipsch (2008-07-22 20:01:21)
Offline