Archive for May, 2013
mrtg on Wheezy
0I just upgraded my home server (a “Fit PC 1.0“) to Debian 7.0 “Wheezy”. Most of it went smoothly, but there were a few small snags.
I use a package called “mrtg” to create nice graphs of my network usage. See the pretty picture below.
However, after the upgrade from Debian 6.0 “Squeeze” to 7.0 “Wheezy”, mrtg was reporting errors:
Subroutine SNMP_Session::pack_sockaddr_in6 redefined at /usr/share/perl/5.14/Exporter.pm line 67. at /usr/share/perl5/SNMP_Session.pm line 149 Subroutine SNMP_Session::unpack_sockaddr_in6 redefined at /usr/share/perl/5.14/Exporter.pm line 67. at /usr/share/perl5/SNMP_Session.pm line 149 Subroutine SNMP_Session::sockaddr_in6 redefined at /usr/share/perl/5.14/Exporter.pm line 67. at /usr/share/perl5/SNMP_Session.pm line 149 Subroutine SNMPv1_Session::pack_sockaddr_in6 redefined at /usr/share/perl/5.14/Exporter.pm line 67. at /usr/share/perl5/SNMP_Session.pm line 608 Subroutine SNMPv1_Session::unpack_sockaddr_in6 redefined at /usr/share/perl/5.14/Exporter.pm line 67. at /usr/share/perl5/SNMP_Session.pm line 608 Subroutine SNMPv1_Session::sockaddr_in6 redefined at /usr/share/perl/5.14/Exporter.pm line 67. at /usr/share/perl5/SNMP_Session.pm line 608 Subroutine SNMP_Session::pack_sockaddr_in6 redefined at /usr/share/perl/5.14/Exporter.pm line 67.
I am not sure what caused this problem, but I found a solution on a Raspberry Pi discussion board.
Simply patch this one SNMP_Session.pm file like this:
--- SNMP_Session.pm.orig 2011-06-01 15:48:06.000000000 +0200 +++ SNMP_Session.pm 2011-06-01 15:56:19.000000000 +0200 @@ -146,7 +146,7 @@ if (eval {local $SIG{__DIE__};require Socket6;} && eval {local $SIG{__DIE__};require IO::Socket::INET6; IO::Socket::INET6->VERSION("1.26");}) { - import Socket6; + Socket6->import(qw(inet_pton getaddrinfo)); $ipv6_addr_len = length(pack_sockaddr_in6(161, inet_pton(AF_INET6(), "::1"))); $SNMP_Session::ipv6available = 1; } @@ -605,7 +605,7 @@ BEGIN { if($SNMP_Session::ipv6available) { import IO::Socket::INET6; - import Socket6; + Socket6->import(qw(inet_pton getaddrinfo)); } }
This quick fix worked for me. Let’s hope it gets included in the upstream package, libsnmp-session-perl.
Rush Concert
1I saw my first rock concert in November 1986… Journey, Greensboro. But that is another story.
A year later, my second concert was Rush in Charlotte. My friends and I drove down from NC State to see their “Hold Your Fire” tour. An excellent show, and one that left a memorable impression.
Shortly after the show, the band announced more tour dates, including one at Reynolds Coliseum in Raleigh, just a few hundred feet from my dorm room! So my friends and I got tickets for that one, too. On the day of the show, I won 2nd row tickets from our campus radio station, WKNC. We were so close, I felt like I could high-five Geddy Lee.
Fast forward 25 years, and now I have a family. I don’t listen to classic rock that much, but I do try to raise my kids right, teaching them to pick out the important bands like Rush or Van Halen just from their style. My older daughter has a good ear for that sort of thing, but my younger one simply guesses the same names for every song: Beatles, Prince, Van Halen. Prince?? Really?
Last night, Rush came to PNC Arena in Raleigh as part of their Clockwork Angels tour, and I brought the family to see these legends of rock-n-roll. We were not quite “high-five” close, but we had great seats — 18th row beside the stage (on Geddy Lee’s side, of course).
For a bunch of 60-year-olds, the trio put on a great show. Geddy Lee couldn’t hit the high notes that he could in the 80’s, but that did not slow them down at all.
The stage was decorated in a steampunk theme, with lots of mechanical gear, and even a popcorn machine (at one point, a stagehand snuck on stage and grabbed some popcorn).
The show was divided into three sets: two halves and a so-called “encore”.
The first set was mostly from Moving Pictures, Signals, Power Windows, and Hold Your Fire (1981-1987). This was the Rush that I came to see.
The second set dove into a lot of new stuff from the last 10 years that I am not really familiar with. It was enjoyable, but not epic. They spiced up this part of the show, first with a hard-rockin’ string ensemble backup, and then later with some surprise pyrotechnics. Towards the end of this set, Sydney actually drifted off to sleep… at a rock concert.
They finished up with an encore set of classics from Moving Pictures and 2112.
Play List
Set One
|
Set Two
|
Encore:
|
News & Observer photos