Re: [PLUG] What to do when perl module installation fails

2017-09-13 Thread David Fleck
On Wed, 2017-09-13 at 05:44 -0700, Rich Shepard wrote:
>    Is there a way to trace the reason for the failure? In the past
> MCCPAN has
> told me there's an updated version available and how to upgrade, so I
> do
> that first. Nothing about that this time.
> 
>    Finding the reason for the failure and fixing it is my preference.
> Are
> there references or tools for non-perl coders to do this?

It's been about a decade since I delved into writing perl module tests,
so I'm afraid I don't have much insight to offer here. You could
attempt to contact the maintainers of the Net::DNS package ("Net::DNS
is maintained at NLnet Labs (www.nlnetlabs.nl) by Willem Toorop.") for
assistance.

I tried installing Net::DNS on my laptop, but it installed without
errors. It seems like your problem is in the file ~/.cpan/build/Net-
DNS-1.12-0/t/08-IPv4.t, but I don't see anything in your output that
indicates what specifically might have happened. The version that
installed for me from CPAN was a later one (1.12), which has a
different number of tests indicated for that test file, 91 for me vs.
77 for you.

FYI, my output for that portion of the test suite looks like this:
t/08-IPv4.t ... 81/91 # non-existent \
'bogus.example.com.' resolved: 198.105.254.63 198.105.244.63
t/08-IPv4.t ... ok     

Sorry I can't be of more help here. Testing is great and all that, but
failing mysteriously isn't a whole lot better than no test at all,
IMHO.

-- 
David Fleck 
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


[PLUG] Internet access certificate issues

2017-09-13 Thread Denis Heidtmann
System:  Comcast cable into a wireless modem >- Ethernet to wireless router
(airRouter) >-  Ethernet to desktop computer.  Also have a laptop wireless
connection to the airRouter (no pw protection)

Yesterday at about 9:30 AM I was unable to reach a site (forgot which
one).  The message said that the credentials were only valid for another
site.  That site other was a web site service outfit; I was able to reach
it.  I got a similar message trying to reach Google and Mozilla, but no
reference to another site.  I left to do other things.  Computer in suspend.

My wife ran into similar issues mid afternoon.  Unable to get to any sites,
in particular Google.  She gave up.  I arrived at 5 pm or so.  Same issue.
Messages were that the certificates were not valid.  I tried various sites;
always the same. Tried two other browsers.  One of those permitted me to go
to the site anyway, ignoring the warning.  That resulted in 400 error.

I phoned Comcast.  Got a tech that seemed very interested and
knowledgeable. (He runs Linux at home.)  After much reseting, power
cycling, etc. we tried removing the airRouter from the picture and the
problem resolved.  I am operating now without the airRouter.  It is sitting
here next to my elbow.  I should mention that once during this effort I did
get a  different message: Server not found.  This was brief.

My son suggested that the router was attacked.  Other explanations could be
poor wired connections:  one end of one of the Ethernet cables is missing
the mechanical lock. Maybe it got noisy.  Also, it could be the power
supply to the router is failing.  I have not checked it yet.

My son want to examine the router.  How about you, Russell?

Comments?
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


[PLUG] cobbler and koan

2017-09-13 Thread Daniel Herrington
Does anybody use cobbler for automated deployment?

I'm banging my head trying to get koan to integrate with a remote KVM, but
it just doesn't seem capable of it.

I've got a cobbler server that is a vm of another server that is acting as
a hypervisor. I setup virsh on both sides so that the cobbler server can
use virsh commands to the libvirtd of the bypervisor on 192.168.122.1. I
can start, list, modify images on the hypervisor using virsh from the
cobbler server. However, koan only creates images locally on the cobbler
server, not 192.168.122.1.

Koan appears to be a wrapper around virt-install, and virt-install uses the
-c option to provide connection info for the hypervisor. Before I hack koan
python scripts, I figured I'd ask and see if anyone encnoutered this before.

thanks,
-- 
Daniel B. Herrington
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


[PLUG] Clinic on Sunday

2017-09-13 Thread wes
Reminder, the Linux Clinic is this Sunday, 1-5pm. Bring your ailing systems
or questions and we will try to help, or at least get you pointed in a
useful direction.

Free Geek
1731 SE 10th Ave
Portland, OR 97214

-wes
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] What to do when perl module installation fails

2017-09-13 Thread David Fleck
On Mon, 2017-09-11 at 06:05 -0700, Rich Shepard wrote:
> As root I tried to install Net::BSD using 'perl -MCPAN -e shell' and
> this,
> too, failed:
> 
> Test Summary Report
> ---
> t/08-IPv4.t (Wstat: 65280 Tests: 70 Failed: 0)
>    Non-zero exit status: 255
>    Parse errors: Bad plan.  You planned 77 tests but ran 70.
> Files=106, Tests=2978, 48 wallclock secs ( 0.88 usr  0.14 sys + 10.62
> cusr  0.72 csys = 12.36 CPU)
> Result: FAIL
> Failed 1/106 test programs. 0/2978 subtests failed.
> Makefile:1337: recipe for target 'test_dynamic' failed
> make: *** [test_dynamic] Error 255
>    NLNETLABS/Net-DNS-1.05.tar.gz
>    /usr/bin/make test -- NOT OK
> //hint// to see the cpan-testers results for installing this module,
> try:
>    reports NLNETLABS/Net-DNS-1.05.tar.gz
> Failed during this command:
>   NLNETLABS/Net-DNS-1.05.tar.gz: make_test NO
> 
>    I've not had 'install ' fail before and need advice
> on how to
> proceed to get the module installed so spamassassin is once again
> happy.


You can try brute force on the CPAN command line:
 force  CMDtry hard to do command  
 fforce CMDtry harder
 notest CMDskip testing

so, either 'force install', 'fforce install', or 'notest install' in
this case, I think.

No guarantees that this won't result in compounded problems down the
line, though.

-- 
David Fleck 
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug