Skip to content

Instantly share code, notes, and snippets.

View filler's full-sized avatar

Nick Silkey filler

View GitHub Profile
# ./delldset_v2.1.0.112_A00.bin
Dell System E-Support Tool (DSET) Options:
Choose an option:
1) Read DSET Release Notes First
Show latest information concerning features and known issues
rdj:~ silkey$ ls -sal /dev/bpf*
0 crw------- 1 root wheel 23, 0 Mar 15 09:02 /dev/bpf0
0 crw------- 1 root wheel 23, 1 Mar 15 09:02 /dev/bpf1
0 crw------- 1 root wheel 23, 2 Mar 11 13:02 /dev/bpf2
0 crw------- 1 root wheel 23, 3 Mar 11 13:02 /dev/bpf3
rdj:~ silkey$ sudo chmod 644 /dev/bpf*
rdj:~ silkey$ ls -sal /dev/bpf*
0 crw-r--r-- 1 root wheel 23, 0 Mar 15 09:02 /dev/bpf0
0 crw-r--r-- 1 root wheel 23, 1 Mar 15 09:02 /dev/bpf1
0 crw-r--r-- 1 root wheel 23, 2 Mar 11 13:02 /dev/bpf2
@filler
filler / stackops bomb post 'deploy a node'
Created March 23, 2011 22:07
after clicking through the 2903874928374 questions on installer.stackops or whatever
ERROR: Unexpected error while running command.
Command: mount /cdrom
Exit code: 32
Stdout: ''
Stderr: 'mount: no medium found on /dev/sr0\n'
ERROR: Unexpected error while running command.
Command: apt-get install -y mysql-server
Exit code: 100
Stdout: 'Reading package lists...\nBuilding dependency tree...\nReading state information...\nSome packages could not be installed. This may mean that you have\nrequested an impossible situation or if you are using the unstable\ndistribution that some required packages have not yet been created\nor been moved out of Incoming.\nThe following information may help to resolve the situation:\n\nThe following packages have unmet dependencies:\n mysql-server: Depends: mysql-server-5.1 but it is not going to be installed\n'
Stderr: 'E: Broken packages\n'
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:375:in `add_oneshot_timer': ran out of timers; use #set_max_timers to increase limit (RuntimeError)
from /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:375:in `add_timer'
from /usr/lib/ruby/gems/1.8/gems/logstash-0.2.20110405105154/lib/logstash/outputs/elasticsearch.rb:152:in `receive_http'
from /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/deferrable.rb:65:in `call'
from /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/deferrable.rb:65:in `errback'
from /usr/lib/ruby/gems/1.8/gems/logstash-0.2.20110405105154/lib/logstash/outputs/elasticsearch.rb:150:in `receive_http'
from /usr/lib/ruby/gems/1.8/gems/logstash-0.2.20110405105154/lib/logstash/outputs/elasticsearch.rb:141:in `call'
from /usr/lib/ruby/gems/1.8/gems/logstash-0.2.20110405105154/lib/logstash/outputs/elasticsearch.rb:141:in `receive'
from /usr/lib/ruby/gems/1.8/gems/logstash-0.2.20110405105154/lib/logstash/agent.rb:122:in `output'
...
@filler
filler / gist:916116
Created April 12, 2011 18:46
i think i dos'ed elasticsearch?
W, [2011-04-12T14:44:59.031527 #28237] WARN -- logstash: ["Failure configuring index (http failed to connect?)", "http://localhost:9200/logstash", {"settings"=>{"logs"=>{"mappings"=>{"@source_host"=>{"type"=>"string"}, "@source_path"=>{"type"=>"string"}, "@tags"=>{"type"=>"string"}, "@timestamp"=>{"type"=>"date"}, "@source"=>{"type"=>"string"}, "@fields"=>{"type"=>"object", "properties"=>{"HOSTNAME"=>{"type"=>"string"}}}, "@message"=>{"type"=>"string"}}}}}]
W, [2011-04-12T14:44:59.031755 #28237] WARN -- logstash: [#<EventMachine::HttpClient:0x2b6dda0b0478 @socks_state=nil, @chunk_header={}, @deferred_timeout=nil, @content_decoder=nil, @headers=nil, @method="PUT", @redirects=0, @callbacks=[#<Proc:0x00002b6dd902d3a8@/usr/lib/ruby/gems/1.8/gems/logstash-0.2.20110405105154/lib/logstash/outputs/elasticsearch.rb:51>], @disconnect=nil, @parser=#<EventMachine::HttpClientParser:0x2b6dda0b03b0>, @last_effective_url=#<Addressable::URI:0x15b6ed058610 URI:http://localhost:9200/logstash>, @parser_nbytes=0, @data=#<EventM
@filler
filler / gist:917724
Created April 13, 2011 15:17
sqlite atop netapp nfs does puke
[root@vm-pkgdevyum-01 yale.foo]# createrepo -d /data02/pkgdev01/pkg/yale.foo/
55/55 - php-pear-1.8.1-2.el5.noarch.rpm
Saving Primary metadata
Saving file lists metadata
Saving other metadata
(process:19846): GLib-CRITICAL **: g_timer_stop: assertion `timer != NULL' failed
(process:19846): GLib-CRITICAL **: g_timer_destroy: assertion `timer != NULL' failed
Traceback (most recent call last):
@filler
filler / gist:934414
Created April 21, 2011 12:48
dazed and confused centos xen dom0 kernel? o_O
[silkey@deadbeef ~]$ dmesg | tail -5
usb 2-2: USB disconnect, address 2
usb 2-2.1: USB disconnect, address 3
Uhhuh. NMI received for unknown reason 00 on CPU 0.
Do you have a strange power saving mode enabled?
Dazed and confused, but trying to continue
[silkey@deadbeef ~]$ uname -a
Linux deadbeef.its.yale.edu 2.6.18-194.32.1.el5xen #1 SMP Wed Jan 5 19:32:33 EST 2011 i686 i686 i386 GNU/Linux
[silkey@deadbeef ~]$ cat /etc/redhat-release
CentOS release 5.6 (Final)
@filler
filler / gist:969306
Created May 12, 2011 19:52
cherrypy anger via filelocker
ERROR:root:[system] [getUser] [Unable to get user: cannot import name pluginPackagePaths]
ERROR:cherrypy.error.203834704:[12/May/2011:15:51:25] Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/cherrypy/_cprequest.py", line 98, in run
hook()
File "/usr/lib/python2.4/site-packages/cherrypy/_cprequest.py", line 58, in __call__
return self.callback(**self.kwargs)
File "webFilelocker2.py", line 105, in requires_login
currentUser = fl.get_user(userId, True)
File "/opt/filelocker-trunk/core/Filelocker.py", line 376, in get_user
raise FLError(False, ["Unable to get user: %s" % str(e)])
@filler
filler / gist:982819
Created May 20, 2011 12:43
mysql enterprise obsoletes mess
*********************************************************************
Main Tree Sched: packages pass 1 @ Thu May 19 16:37:47 2011
*********************************************************************
RPM Package httpd-2.2.3-43.el5.x86_64 not installed.
RPM Package mod_ssl-2.2.3-43.el5.x86_64 not installed.
RPM Package clamav-0.97-13.el5.x86_64 not installed.
RPM Package mysql-5.0.77-4.el5_4.2.x86_64 not installed.
RPM Package MySQL-python-1.2.1-1.x86_64 not installed.
RPM Package python-crypto-2.0.1-4.el5.2.x86_64 not installed.