Re: [cobaltfacts] How to Run Debmirror on a RaQ550....

2004-12-28 Thread Gandalf Le Vert
Ok, finally it works fine.
I have update perl to latest version 5.8.3 with your tutorial. I got a 
few problems :

"Type;/* rm -r /usr/lib/perl5/site_perl/5.8.3/i586-linux/Compress/*"*/ < 
There were no Compress folder on my RaQ.

"/* install XML::Parser"*/ < failed but everything seems to work fine.
Then :
[root admin]# chown admin debmirror
[root admin]# chgrp root debmirror
[root admin]# chmod 750 debmirror
chmod: getting attributes of `debmo': No such file or directory
[root admin]# chmod 750 debmirror
[root admin]# mv debmirror /usr/bin/
[root admin]# debmirror
Can't locate LockFile/Simple.pm in @INC (@INC contains: 
/usr/lib/perl5/5.8.6/i686-linux /usr/lib/perl5/5.8.6 
/usr/lib/perl5/site_perl/5.8.6/i686-linux /usr/lib/perl5/site_perl/5.8.6 
/usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl/5.005 
/usr/lib/perl5/site_perl .) at /usr/bin/debmirror line 298.
BEGIN failed--compilation aborted at /usr/bin/debmirror line 298.
[root admin]# perl -MCPAN -e shell
Terminal does not support AddHistory.

cpan shell -- CPAN exploration and modules installation (v1.7601)
ReadLine support available (try 'install Bundle::CPAN')
cpan> install LockFile::Simple
[root admin]# debmirror
mirrordir not specified
Usage: /usr/bin/debmirror [--debug] [--progress] [--verbose] 
[--source|--nosource]
 [--md5sums|--nomd5sums] [--passive] [--host=remotehost]
 [--user=remoteusername] [--method=ftp|hftp|http|rsync]
 [--timeout=seconds] [--root=directory]
 [--dist=foo[,bar,..] ...] [--section=foo[,bar,..] ...]
 [--arch=foo[,bar,..] ...] [--skippackages] [--getcontents]
 [--cleanup|--nocleanup|--postcleanup] [--adddir=directory]
 [--ignore=regex] [--exclude=regex] [--include=regex]
 [--exclude-deb-section=regex] [--max-batch=number]
 [--rsync-batch=number] [--ignore-missing-release]
 [--ignore-release-gpg]
 [--limit-priority=regex] [--dry-run]
 [--proxy=http://user:[EMAIL PROTECTED]:port/] [--help]
 [--rsync-options=options]
 mirrordir

For details, see man page.

I'm currently download 9Gb from Sarge (w/o sources). I hope everything 
will works fine :)

Type "debmirror -p -v --nosource -h ftp.fr.debian.org --method=ftp 
--arch=i386 -d sarge --skippackages debian_mirror/ --root=/debian 
--ignore-release-gpg" to start downloading files.

--ignore-release-gpg is needed because of a bug in the latest version of 
debianmirror.

Good Luck !
Bob Noordam wrote:
You cant just dump in a new perl and hope it all works on the cobalts.
either revert back to the original perl,  or get the cobalt specifics into
place  in the new module structure.
for reference: [1] a howto on upgrading perl and [2] a good start for
torubleshooting. 

B.
[1] http://www.depopo.net/content/howto/cobalt-raq550-perl583.htm
[2] http://www.depopo.net/forums/showthread.php?t=139

 

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] Namens 
Gandalf Le Vert
Verzonden: maandag 27 december 2004 16:56
Aan: Cobaltfacts mailing list
Onderwerp: Re: [cobaltfacts] How to Run Debmirror on a RaQ550

Ok here is some informations about the problem :
In /usr/bin/ i have perl, perl5.6.0 and perl5.8.6 when perl 
is perl5.8.6 :

[root bin]# /usr/bin/db_checkpoint -1 -v -h /var/db/
db_checkpoint: open: No such file or directory
when perl is perl5.6.0 :
[root admin]# /usr/bin/db_checkpoint -1 -v -h /var/db/
db_checkpoint: checkpoint: Mon Dec 27 16:34:59 2004
I was wondering if perl5.6.0 may launch perl module form 
sausalito and 
perl5.8.6 doesn't.

Why do you think about it ? How can I check all module pathes ?
Thanks

Gandalf Le Vert wrote:
   

Not for now, I have only 2048 Kbits down connection @ home and I m 
trying to solve a weird bug with the latest perl release.

Maybe I will build my entire sarge mirror this night, if everything 
works fine :)

Gerald Waugh wrote:
 

On Mon, 27 Dec 2004, Gandalf Le Vert wrote:
   

I have just turn my raq550 into debian mirror.
 
 

Does it actually work?
Did it download all the debian files?
Have you used it to build a debian system on some hardware?
Do you do a netinstall?
Gerald
--
http://frontstreetnetworks.com | http://raqware.com
Front Street Networks LLC, 229 Front Street, Ste.#C
New Haven, CT 06513-3203 | phone: +1-203-785-0699
___
Cobaltfacts site list
[email protected]
http://list.cobaltfacts.com/mailman/listinfo.cgi/cobaltfacts

   

___
Cobaltfacts site list
[email protected]
http://list.cobaltfacts.com/mailman/listinfo.cgi/cobaltfacts
 

___
Cobaltfacts site list
[email protected]
http://list.cobaltfacts.com/mailman/listinfo.cgi/cobaltfacts
   

___
Cobaltfacts site list

RE: [cobaltfacts] How to Run Debmirror on a RaQ550....

2004-12-27 Thread Bob Noordam
You cant just dump in a new perl and hope it all works on the cobalts.
either revert back to the original perl,  or get the cobalt specifics into
place  in the new module structure.
for reference: [1] a howto on upgrading perl and [2] a good start for
torubleshooting. 

B.

[1] http://www.depopo.net/content/howto/cobalt-raq550-perl583.htm
[2] http://www.depopo.net/forums/showthread.php?t=139



> -Oorspronkelijk bericht-
> Van: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Namens 
> Gandalf Le Vert
> Verzonden: maandag 27 december 2004 16:56
> Aan: Cobaltfacts mailing list
> Onderwerp: Re: [cobaltfacts] How to Run Debmirror on a RaQ550
> 
> Ok here is some informations about the problem :
> In /usr/bin/ i have perl, perl5.6.0 and perl5.8.6 when perl 
> is perl5.8.6 :
> 
> [root bin]# /usr/bin/db_checkpoint -1 -v -h /var/db/
> db_checkpoint: open: No such file or directory
> 
> when perl is perl5.6.0 :
> [root admin]# /usr/bin/db_checkpoint -1 -v -h /var/db/
> db_checkpoint: checkpoint: Mon Dec 27 16:34:59 2004
> 
> I was wondering if perl5.6.0 may launch perl module form 
> sausalito and 
> perl5.8.6 doesn't.
> 
> Why do you think about it ? How can I check all module pathes ?
> 
> Thanks
> 
> 
> 
> Gandalf Le Vert wrote:
> 
> > Not for now, I have only 2048 Kbits down connection @ home and I m 
> > trying to solve a weird bug with the latest perl release.
> >
> > Maybe I will build my entire sarge mirror this night, if everything 
> > works fine :)
> >
> > Gerald Waugh wrote:
> >
> >> On Mon, 27 Dec 2004, Gandalf Le Vert wrote:
> >>  
> >>
> >>> I have just turn my raq550 into debian mirror.
> >>>   
> >>
> >>
> >> Does it actually work?
> >> Did it download all the debian files?
> >> Have you used it to build a debian system on some hardware?
> >> Do you do a netinstall?
> >>
> >> Gerald
> >> -- 
> >> http://frontstreetnetworks.com | http://raqware.com
> >>  Front Street Networks LLC, 229 Front Street, Ste.#C
> >>  New Haven, CT 06513-3203 | phone: +1-203-785-0699
> >> ___
> >> Cobaltfacts site list
> >> [email protected]
> >> http://list.cobaltfacts.com/mailman/listinfo.cgi/cobaltfacts
> >>
> >>
> >>  
> >>
> >
> > ___
> > Cobaltfacts site list
> > [email protected]
> > http://list.cobaltfacts.com/mailman/listinfo.cgi/cobaltfacts
> >
> >
> 
> ___
> Cobaltfacts site list
> [email protected]
> http://list.cobaltfacts.com/mailman/listinfo.cgi/cobaltfacts
> 

___
Cobaltfacts site list
[email protected]
http://list.cobaltfacts.com/mailman/listinfo.cgi/cobaltfacts


Re: [cobaltfacts] How to Run Debmirror on a RaQ550....

2004-12-27 Thread Gandalf Le Vert
I'm going to restore my raq (too many test on it :D) then I ll write a 
tuto to run debmirror ;-)

Gandalf Le Vert wrote:
Ok here is some informations about the problem :
In /usr/bin/ i have perl, perl5.6.0 and perl5.8.6 when perl is 
perl5.8.6 :

[root bin]# /usr/bin/db_checkpoint -1 -v -h /var/db/
db_checkpoint: open: No such file or directory
when perl is perl5.6.0 :
[root admin]# /usr/bin/db_checkpoint -1 -v -h /var/db/
db_checkpoint: checkpoint: Mon Dec 27 16:34:59 2004
I was wondering if perl5.6.0 may launch perl module form sausalito and 
perl5.8.6 doesn't.

Why do you think about it ? How can I check all module pathes ?
Thanks

Gandalf Le Vert wrote:
Not for now, I have only 2048 Kbits down connection @ home and I m 
trying to solve a weird bug with the latest perl release.

Maybe I will build my entire sarge mirror this night, if everything 
works fine :)

Gerald Waugh wrote:
On Mon, 27 Dec 2004, Gandalf Le Vert wrote:
 

I have just turn my raq550 into debian mirror.
  

Does it actually work?
Did it download all the debian files?
Have you used it to build a debian system on some hardware?
Do you do a netinstall?
Gerald
--
http://frontstreetnetworks.com | http://raqware.com
 Front Street Networks LLC, 229 Front Street, Ste.#C
 New Haven, CT 06513-3203 | phone: +1-203-785-0699
___
Cobaltfacts site list
[email protected]
http://list.cobaltfacts.com/mailman/listinfo.cgi/cobaltfacts
 

___
Cobaltfacts site list
[email protected]
http://list.cobaltfacts.com/mailman/listinfo.cgi/cobaltfacts

___
Cobaltfacts site list
[email protected]
http://list.cobaltfacts.com/mailman/listinfo.cgi/cobaltfacts

___
Cobaltfacts site list
[email protected]
http://list.cobaltfacts.com/mailman/listinfo.cgi/cobaltfacts


Re: [cobaltfacts] How to Run Debmirror on a RaQ550....

2004-12-27 Thread Gerald Waugh
On Mon, 27 Dec 2004, Gandalf Le Vert wrote:

> Not for now, I have only 2048 Kbits down connection @ home and I m
> trying to solve a weird bug with the latest perl release.
>
> Maybe I will build my entire sarge mirror this night, if everything
> works fine :)

Hey, let me know how it turns out, as we really need a debian mirror
running on a RaQ, and come back with a nice howto ;)

Gerald
--
http://frontstreetnetworks.com | http://raqware.com
  Front Street Networks LLC, 229 Front Street, Ste.#C
  New Haven, CT 06513-3203 | phone: +1-203-785-0699
___
Cobaltfacts site list
[email protected]
http://list.cobaltfacts.com/mailman/listinfo.cgi/cobaltfacts


Re: [cobaltfacts] How to Run Debmirror on a RaQ550....

2004-12-27 Thread Gandalf Le Vert
Ok here is some informations about the problem :
In /usr/bin/ i have perl, perl5.6.0 and perl5.8.6 when perl is perl5.8.6 :
[root bin]# /usr/bin/db_checkpoint -1 -v -h /var/db/
db_checkpoint: open: No such file or directory
when perl is perl5.6.0 :
[root admin]# /usr/bin/db_checkpoint -1 -v -h /var/db/
db_checkpoint: checkpoint: Mon Dec 27 16:34:59 2004
I was wondering if perl5.6.0 may launch perl module form sausalito and 
perl5.8.6 doesn't.

Why do you think about it ? How can I check all module pathes ?
Thanks

Gandalf Le Vert wrote:
Not for now, I have only 2048 Kbits down connection @ home and I m 
trying to solve a weird bug with the latest perl release.

Maybe I will build my entire sarge mirror this night, if everything 
works fine :)

Gerald Waugh wrote:
On Mon, 27 Dec 2004, Gandalf Le Vert wrote:
 

I have just turn my raq550 into debian mirror.
  

Does it actually work?
Did it download all the debian files?
Have you used it to build a debian system on some hardware?
Do you do a netinstall?
Gerald
--
http://frontstreetnetworks.com | http://raqware.com
 Front Street Networks LLC, 229 Front Street, Ste.#C
 New Haven, CT 06513-3203 | phone: +1-203-785-0699
___
Cobaltfacts site list
[email protected]
http://list.cobaltfacts.com/mailman/listinfo.cgi/cobaltfacts
 

___
Cobaltfacts site list
[email protected]
http://list.cobaltfacts.com/mailman/listinfo.cgi/cobaltfacts

___
Cobaltfacts site list
[email protected]
http://list.cobaltfacts.com/mailman/listinfo.cgi/cobaltfacts


Re: [cobaltfacts] How to Run Debmirror on a RaQ550....

2004-12-27 Thread Gandalf Le Vert
Not for now, I have only 2048 Kbits down connection @ home and I m 
trying to solve a weird bug with the latest perl release.

Maybe I will build my entire sarge mirror this night, if everything 
works fine :)

Gerald Waugh wrote:
On Mon, 27 Dec 2004, Gandalf Le Vert wrote:
 

I have just turn my raq550 into debian mirror.
   

Does it actually work?
Did it download all the debian files?
Have you used it to build a debian system on some hardware?
Do you do a netinstall?
Gerald
--
http://frontstreetnetworks.com | http://raqware.com
 Front Street Networks LLC, 229 Front Street, Ste.#C
 New Haven, CT 06513-3203 | phone: +1-203-785-0699
___
Cobaltfacts site list
[email protected]
http://list.cobaltfacts.com/mailman/listinfo.cgi/cobaltfacts
 

___
Cobaltfacts site list
[email protected]
http://list.cobaltfacts.com/mailman/listinfo.cgi/cobaltfacts


Re: [cobaltfacts] How to Run Debmirror on a RaQ550....

2004-12-27 Thread Gerald Waugh
On Mon, 27 Dec 2004, Gandalf Le Vert wrote:
>
> I have just turn my raq550 into debian mirror.

Does it actually work?
Did it download all the debian files?
Have you used it to build a debian system on some hardware?
Do you do a netinstall?

Gerald
--
http://frontstreetnetworks.com | http://raqware.com
  Front Street Networks LLC, 229 Front Street, Ste.#C
  New Haven, CT 06513-3203 | phone: +1-203-785-0699
___
Cobaltfacts site list
[email protected]
http://list.cobaltfacts.com/mailman/listinfo.cgi/cobaltfacts


Re: [cobaltfacts] How to Run Debmirror on a RaQ550....

2004-12-27 Thread Gandalf Le Vert
[root cron.quarter-hourly]# rm /var/log/dbrecover.log
[root cron.quarter-hourly]# ./db_checkpoint.pl
[root cron.quarter-hourly]# cat /var/log/dbrecover.log
db_checkpoint: checkpoint: Mon Dec 27 16:18:44 2004
db_checkpoint: checkpoint: Mon Dec 27 16:18:44 2004
I can't undertand anything but after I deleted the log file it works 
fine again !


Gandalf Le Vert wrote:
Hum, there is a problem I get emails from crontab saying
There may be a problem with user and group information on your server 
appliance.
Please check /var/log/dbrecover.log for error messages and verify that 
regular users (other than the 'admin' user)  are still able to log in.
If there are errors or users cannot access the system, reboot the 
machine to attempt to recover the user and group information.

When i laucnh the script I get the same error :( and I can't create 
any new user throught web admin :/

Can you help me ? :D

Gandalf Le Vert wrote:
Hi!
I have just turn my raq550 into debian mirror.
[admin admin]$ cat /etc/cobalt-release; perl -v; debmirror
Sun Microsystems Linux release 7.0 (Alpine)
This is perl, v5.8.6 built for i686-linux
Copyright 1987-2004, Larry Wall
Perl may be copied only under the terms of either the Artistic 
License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using `man perl' or `perldoc perl'.  If you have access 
to the
Internet, point your browser at http://www.perl.org/, the Perl Home 
Page.

mirrordir not specified
Usage: /usr/bin/debmirror [--debug] [--progress] [--verbose] 
[--source|--nosourc
e]
 [--md5sums|--nomd5sums] [--passive] [--host=remotehost]
 [--user=remoteusername] [--method=ftp|hftp|http|rsync]
 [--timeout=seconds] [--root=directory]
 [--dist=foo[,bar,..] ...] [--section=foo[,bar,..] ...]
 [--arch=foo[,bar,..] ...] [--skippackages] [--getcontents]
 [--cleanup|--nocleanup|--postcleanup] [--adddir=directory]
 [--ignore=regex] [--exclude=regex] [--include=regex]
 [--exclude-deb-section=regex] [--max-batch=number]
 [--rsync-batch=number] [--ignore-missing-release]
 [--ignore-release-gpg]
 [--limit-priority=regex] [--dry-run]
 [--proxy=http://user:[EMAIL PROTECTED]:port/] [--help]
 [--rsync-options=options]
 mirrordir

For details, see man page.

Debmirror is a script written in perl so there's not many problems to 
solve to get it running.
I used CPAN : www.cpan.org

perl -MCPAN -e shell;
Thirs you can update perl to the latest version :
type : install B, then answer all questions and it's done :)
The each time you get an error when trying to launch debmirror (like 
Compress/Zlib not found),
type : install Compress::Zlib

That's all !

___
Cobaltfacts site list
[email protected]
http://list.cobaltfacts.com/mailman/listinfo.cgi/cobaltfacts

___
Cobaltfacts site list
[email protected]
http://list.cobaltfacts.com/mailman/listinfo.cgi/cobaltfacts

___
Cobaltfacts site list
[email protected]
http://list.cobaltfacts.com/mailman/listinfo.cgi/cobaltfacts


Re: [cobaltfacts] How to Run Debmirror on a RaQ550....

2004-12-27 Thread Gandalf Le Vert
Hum, there is a problem I get emails from crontab saying
There may be a problem with user and group information on your server appliance.
Please check /var/log/dbrecover.log for error messages and verify that regular 
users (other than the 'admin' user)  are still able to log in.
If there are errors or users cannot access the system, reboot the machine to 
attempt to recover the user and group information.
When i laucnh the script I get the same error :( and I can't create any new 
user throught web admin :/
Can you help me ? :D

Gandalf Le Vert wrote:
Hi!
I have just turn my raq550 into debian mirror.
[admin admin]$ cat /etc/cobalt-release; perl -v; debmirror
Sun Microsystems Linux release 7.0 (Alpine)
This is perl, v5.8.6 built for i686-linux
Copyright 1987-2004, Larry Wall
Perl may be copied only under the terms of either the Artistic License 
or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using `man perl' or `perldoc perl'.  If you have access to 
the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.

mirrordir not specified
Usage: /usr/bin/debmirror [--debug] [--progress] [--verbose] 
[--source|--nosourc
e]
 [--md5sums|--nomd5sums] [--passive] [--host=remotehost]
 [--user=remoteusername] [--method=ftp|hftp|http|rsync]
 [--timeout=seconds] [--root=directory]
 [--dist=foo[,bar,..] ...] [--section=foo[,bar,..] ...]
 [--arch=foo[,bar,..] ...] [--skippackages] [--getcontents]
 [--cleanup|--nocleanup|--postcleanup] [--adddir=directory]
 [--ignore=regex] [--exclude=regex] [--include=regex]
 [--exclude-deb-section=regex] [--max-batch=number]
 [--rsync-batch=number] [--ignore-missing-release]
 [--ignore-release-gpg]
 [--limit-priority=regex] [--dry-run]
 [--proxy=http://user:[EMAIL PROTECTED]:port/] [--help]
 [--rsync-options=options]
 mirrordir

For details, see man page.

Debmirror is a script written in perl so there's not many problems to 
solve to get it running.
I used CPAN : www.cpan.org

perl -MCPAN -e shell;
Thirs you can update perl to the latest version :
type : install B, then answer all questions and it's done :)
The each time you get an error when trying to launch debmirror (like 
Compress/Zlib not found),
type : install Compress::Zlib

That's all !

___
Cobaltfacts site list
[email protected]
http://list.cobaltfacts.com/mailman/listinfo.cgi/cobaltfacts

___
Cobaltfacts site list
[email protected]
http://list.cobaltfacts.com/mailman/listinfo.cgi/cobaltfacts