Archive for May, 2013

mrtg on Wheezy

I 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.

mrtg-graph

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

I 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?

IMG_1598

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.

IMG_1620A

 

Play List

Set One

  • Subdivisions
  • The Big Money
  • Force Ten
  • Grand Designs
  • The Body Electric
  • Territories
  • The Analog Kid
  • Bravado
  • Where’s My Thing?
  • Far Cry
Set Two

  • Caravan
  • Clockwork Angels
  • The Anarchist
  • Carnies
  • The Wreckers
  • Headlong Flight
  • Halo Effect
  • Seven Cities of Gold
  • The Garden
  • Manhattan Project
  • Drum Solo
  • Red Sector A
  • YYZ
  • The Spirit of Radio
Encore:

  • Tom Sawyer
  • 2112 Part I: Overture
  • 2112 Part II: The Temples of Syrinx
  • 2112 Part VII: Grand Finale

 

News & Observer photos

Full photo set here.

rush_n+o_01 rush_n+o_22
rush_n+o_16 rush_n+o_19
rush_n+o_30 rush_n+o_29

 

Go to Top