Skip to content

Instantly share code, notes, and snippets.

View igable's full-sized avatar

Ian Gable igable

  • Stardog
  • Victoria, Canada
View GitHub Profile
@igable
igable / lookup_service.log
Created December 13, 2011 00:06
Perfsonar lookup service error
2011/12/12 19:01:09 (3538) WARN> daemon.pl:262 main:: - Setting listener queue size to 100
2011/12/12 19:01:09 (3538) WARN> daemon.pl:272 main:: - Enabling echo service for each endpoint unless specified otherwise
2011/12/12 19:01:09 (3538) INFO> gLS.pm:165 perfSONAR_PS::Services::LS::gLS::init - gLS Hints file not set, using default at "http://www.perfsonar.net/gls.root.hints".
2011/12/12 19:01:09 (3538) INFO> gLS.pm:297 perfSONAR_PS::Services::LS::gLS::init - Setting 'service_description' to "perfSONAR_PS Lookup Service at CLUMEQ-McGill in Montreal, QUEBEC, CANADA".
2011/12/12 19:01:09 (3538) INFO> gLS.pm:302 perfSONAR_PS::Services::LS::gLS::init - Setting 'service_name' to "Lookup Service".
2011/12/12 19:01:09 (3544) INFO> daemon.pl:724 main::maintenance - Waiting 90 seconds for first maintenance run
2011/12/12 19:01:25 (3545) ERROR> Common.pm:820 perfSONAR_PS::Common::consultArchive - Error while sending request to server: 500 alarm
2011/12/12 19:01:25 (3545) ERROR> Echo.pm:174 perfSONAR_PS::Client::Echo:
@igable
igable / owamp_bwctl.log
Created January 11, 2012 18:49
BWCTL error between University of Victoria and Alberta
Jan 11 10:31:23 ps-bandwidth bwctld[6270]: FILE=sapi.c, LINE=543, ControlSession([206.12.154.59]:4823) accepted from userid(nil):([206.12.154.59]:58120)
Jan 11 10:31:23 ps-bandwidth bwcollector.pl[6268]: BEGIN IGNORED: empty 16258784.IPV4_PS_BANDWIDTH_ATLAS_UALBERTA_CA_KNOPPIX file = /var/lib/perfsonar/perfsonarbuoy_ma/bwctl/upload/GMmobX8NaA at /opt/perfsonar_ps/perfsonarbuoy_ma/bin/bwcollector.pl line 889, <SESS> line 10.
Jan 11 10:31:23 ps-bandwidth bwcollector.pl[6268]: /var/lib/perfsonar/perfsonarbuoy_ma/bwctl/upload/GMmobX8NaA: bwctl: exec_line: iperf -B 142.244.105.67 -s -f b -m -p 5001 -t 20
Jan 11 10:31:23 ps-bandwidth bwcollector.pl[6268]: /var/lib/perfsonar/perfsonarbuoy_ma/bwctl/upload/GMmobX8NaA: bwctl: start_tool: 3535295398.270328
Jan 11 10:31:23 ps-bandwidth bwcollector.pl[6268]: /var/lib/perfsonar/perfsonarbuoy_ma/bwctl/upload/GMmobX8NaA: ------------------------------------------------------------
Jan 11 10:31:23 ps-bandwidth bwcollector.pl[6268]: /var/lib/perfsonar/perfsonarbuoy_
@igable
igable / setup.py
Created March 25, 2012 07:22
librato 0.1 pypi package setup
#!/usr/bin/python
# Copyright (c) 2012 Chris Moyer http://coredumped.org
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, merge, publish, dis-
# tribute, sublicense, and/or sell copies of the Software, and to permit
# persons to whom the Software is furnished to do so, subject to the fol-
Running Mkbootstrap for Net::RabbitMQ ()
chmod 644 RabbitMQ.bs
rm -f blib/arch/auto/Net/RabbitMQ/RabbitMQ.so
gcc -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -L/usr/local/lib RabbitMQ.o amqp_api.o amqp_connection.o amqp_debug.o amqp_framing.o amqp_mem.o amqp_socket.o amqp_table.o -o blib/arch/auto/Net/RabbitMQ/RabbitMQ.so \
\
chmod 755 blib/arch/auto/Net/RabbitMQ/RabbitMQ.so
cp RabbitMQ.bs blib/arch/auto/Net/RabbitMQ/RabbitMQ.bs
chmod 644 blib/arch/auto/Net/RabbitMQ/RabbitMQ.bs
Manifying blib/man3/Net::RabbitMQ.3pm
#!/usr/bin/env perl
use Net::RabbitMQ
my $mq = Net::RabbitMQ->new();
if(!$mq){
print "Constructor didn't return anything.\n";
}
@igable
igable / gist:3307972
Created August 9, 2012 20:57
ndt 3.6.5.1 build failure
[igable@elephant ndt-3.6.5.1]$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable debugging... no
checking whether to enable experimental code... yes
checking whether to enable database support... yes
checking for style of include used by make... GNU
checking for gcc... gcc
@igable
igable / web100clt.diff
Created August 14, 2012 03:42
Patch for NDT 3.6.5.2
diff --git a/src/utils.c b/src/utils.c
index ff0c54f..d035805 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -120,7 +120,6 @@ double secs() {
void err_sys(char* s) {
perror(s);
- return -1;
}
@igable
igable / web100clt.diff
Created August 14, 2012 03:42
Patch for NDT 3.6.5.2
diff --git a/src/utils.c b/src/utils.c
index ff0c54f..d035805 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -120,7 +120,6 @@ double secs() {
void err_sys(char* s) {
perror(s);
- return -1;
}
@igable
igable / gist:3907955
Created October 17, 2012 20:29
mlx4 SRPMS build problem
install -m 644 -D /tmp/MLNX_EN/SOURCES/mlx4_ib.conf /tmp/MLNX_EN/BUILDROOT/mellanox-mlnx-en-1.5.9-1.x86_64/etc/depmod.d/mlx4_ib.conf
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/redhat/brp-compress
+ /usr/lib/rpm/redhat/brp-strip /usr/bin/strip
+ /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump
+ /usr/lib/rpm/brp-python-bytecompile
+ /usr/lib/rpm/redhat/brp-python-hardlink
+ /usr/lib/rpm/redhat/brp-java-repack-jars
Processing files: mellanox-mlnx-en-doc-1.5.9-1.unsupported.x86_64
@igable
igable / install.sh
Created October 17, 2012 21:23
mlnx_en-1.5.9 install script
#!/bin/bash
# install.sh - installation script for mlnx_en driver
# Initial sanity checks
if [ $UID -ne 0 ]; then
echo Must be root to run this script.
exit 1
fi