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 / 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
#!/usr/bin/env perl
use Net::RabbitMQ
my $mq = Net::RabbitMQ->new();
if(!$mq){
print "Constructor didn't return anything.\n";
}
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
@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-
@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 / 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 / lookup_service.log
Created December 9, 2011 22:39
Multiple Instances of this error message are found in the perfSonar-PS 3.2.1 Toolkit Loopup Service log
2011/12/09 17:25:35 (3070) INFO> daemon.pl:567 main::psService - Received incoming connection from: 161.45.190.11
2011/12/09 17:25:35 (9330) ERROR> XMLDB.pm:322 perfSONAR_PS::DB::XMLDB::openDB - Error &quot;Error: Cannot call XmlManager::createTransaction when transactions are not initialized in /opt/perfsonar_ps/lookup_service/bin/../lib/perfSONAR_PS/DB/XMLDB.pm, line 287&quot;.
2011/12/09 17:25:35 (9330) WARN> gLS.pm:387 perfSONAR_PS::Services::LS::gLS::prepareDatabase - Waiting on DBXML error.
2011/12/09 17:25:40 (9330) ERROR> XMLDB.pm:322 perfSONAR_PS::DB::XMLDB::openDB - Error &quot;Error: Cannot call XmlManager::createTransaction when transactions are not initialized in /opt/perfsonar_ps/lookup_service/bin/../lib/perfSONAR_PS/DB/XMLDB.pm, line 287&quot;.
2011/12/09 17:25:40 (9330) WARN> gLS.pm:387 perfSONAR_PS::Services::LS::gLS::prepareDatabase - Waiting on DBXML error.
2011/12/09 17:25:45 (9330) ERROR> XMLDB.pm:322 perfSONAR_PS::DB::XMLDB::openDB - Error &quot;Error: Cannot call XmlManager::createTran
@igable
igable / fdt_lustre_exception
Created November 5, 2011 23:28
Exception when writing to a Lustre FS with FDT. FDT server run on the machine with the mounted LustreFS
Nov 5, 2011 4:23:01 PM lia.util.net.copy.FileWriterSession getChannel
WARNING: [ FileWriterSession ] Cannot lock file: /xyratex/ianfdt/ssd/atlas/group10.perf-tau.00182787.Egamma-AOD.f382_m866.01-01-02.D3PD.110608134836_TauMEDIUM/.group10.perf-tau.22321_009494.TauMEDIUM._00001.root; will try to write without lock taken. Cause:
java.io.IOException: Function not implemented
at sun.nio.ch.FileChannelImpl.lock0(Native Method)
at sun.nio.ch.FileChannelImpl.lock(FileChannelImpl.java:832)
at java.nio.channels.FileChannel.lock(FileChannel.java:860)
at lia.util.net.copy.FileWriterSession.getChannel(FileWriterSession.java:126)
at lia.util.net.copy.disk.DiskWriterTask.run(DiskWriterTask.java:151)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
#tcp tunning
net.core.rmem_max = 16777216
net.core.wmem_max = 16777216
net.ipv4.tcp_rmem = 4096 87380 16777216
net.ipv4.tcp_wmem = 4096 65536 16777216
net.ipv4.tcp_congestion_control=htcp
$ vagrant box add scientificlinux-60 http://vmrepo.heprc.uvic.ca/scientificlinux-60.box
$ mkdir sl6-test
$ cd sl6-test/
$ vagrant init scientificlinux-60
$ vagrant up
$ vagrant ssh