Skip to content

Instantly share code, notes, and snippets.

View robinsmidsrod's full-sized avatar

Robin Smidsrød robinsmidsrod

View GitHub Profile
@robinsmidsrod
robinsmidsrod / gist:0c1d858f5c4a29ad8b92
Last active August 29, 2015 14:02
Error when starting git gui on Ubuntu 10.04 using git-core PPA on git 2.0.0
$ git gui
Error in startup script: expected version number but got "1.7.0-"
while executing
"package vsatisfies $_git_version 1.7.0-"
(file "/usr/lib/git-core/git-gui" line 1)
@robinsmidsrod
robinsmidsrod / error_message.txt
Created July 1, 2014 11:48
Logstash configuration error when using if test with regular expression
# /opt/logstash/bin/logstash -t -f logstash.conf
SyntaxError: (eval):164: syntax error, unexpected tRPAREN
if (((event["[syslog_program]"] =~ /^postfix//)))
^
eval at org/jruby/RubyKernel.java:1121
initialize at /opt/logstash/lib/logstash/pipeline.rb:28
execute at /opt/logstash/lib/logstash/agent.rb:112
run at /opt/logstash/lib/logstash/runner.rb:168
call at org/jruby/RubyProc.java:271
initialize at /opt/logstash/vendor/bundle/jruby/1.9/gems/stud-0.0.17/lib/stud/task.rb:12
@robinsmidsrod
robinsmidsrod / gist:1b8ad76db211cdf67fbb
Created August 13, 2014 07:31
Error message stopping logstash pipeline
{
:timestamp => "2014-08-12T08:09:58.388000+0000",
:message => "Exception in filterworker",
"exception" => #<NoMethodError: undefined method `>' for nil:NilClass>,
"backtrace" => [
"(eval):917:in `initialize'",
"org/jruby/RubyProc.java:271:in `call'",
"/opt/logstash/lib/logstash/pipeline.rb:262:in `filter'",
"/opt/logstash/lib/logstash/pipeline.rb:203:in `filterworker'",
"/opt/logstash/lib/logstash/pipeline.rb:143:in `start_filters'"
touch: cannot touch `config/local/vbox/general.h': No such file or directory
touch: cannot touch `config/local/vbox/console.h': No such file or directory
touch: cannot touch `config/local/vbox/serial.h': No such file or directory
touch: cannot touch `config/local/vbox/crypto.h': No such file or directory
touch: cannot touch `config/local/vbox/sideband.h': No such file or directory
touch: cannot touch `config/local/vbox/colour.h': No such file or directory
@robinsmidsrod
robinsmidsrod / -
Created August 19, 2014 17:23
make -j4 CONFIG=vbox bin/10222000.rom bin/1af41000.rom bin/8086100e.rom EMBED=../nic-menu.ipxe V=1
touch config/named.h
touch config/local/vbox/general.h
touch: cannot touch `config/local/vbox/general.h': No such file or directory
touch config/local/vbox/console.h
touch: cannot touch `config/local/vbox/console.h': No such file or directory
touch config/local/vbox/serial.h
touch: cannot touch `config/local/vbox/serial.h': No such file or directory
touch config/local/vbox/crypto.h
touch: cannot touch `config/local/vbox/crypto.h': No such file or directory
[DEPS] crypto/privkey.c
{:timestamp=>"2014-09-02T10:48:49.644000+0000",
:message=>"+---------------------------------------------------------+\n|
An unexpected error occurred. This is probably a bug. |
\n|
You can find help with this problem in a few places: |
\n
| |
\n|
* chat: #logstash IRC channel on freenode irc. |
\n|
@robinsmidsrod
robinsmidsrod / gist:435d3a8efdd5f3359ee2
Last active August 29, 2015 14:06
iPXE: Problems with HP EliteBook 8470p with Intel 82579LM onboard NIC doing linkup on 10Mbit/half-duplex when chainloaded
ipxe.usb (cold boot):
PHY_CTRL before reset: 0x1e84000c
MAC reset (ctrl 00100260)
link status 00080683
ifstat says link: up
ipxe.pxe (cold boot):
PHY_CTRL before reset: 0x1e84000c
initial: 1040 7949 0154 0093 01e1 0000 0004 2001 (link status 80680)
first on dhcp: 1100 796d 0154 0093 01e1 c5e1 000f 2001 (link status 80603)
last on dhcp: 1100 796d 0154 0093 01e1 c5e1 000d 2001 (link status 80603)
:failed-login
echo Failed to log into ${after-login} menu option, please try again.
prompt --key 0x03 Press Ctrl-B to enter the iPXE command line, or any key to continue && goto shell ||
:login
login && goto ${after-login} || goto login
:fedora
echo Booting Fedora from iSCSI for ${initiator-iqn}
set after-login fedora
isset ${username} && isset ${password} || goto login
00:00:06.871112 PXE->EB: !PXE at 9C38:0700, entry point at 9C38:0320
00:00:06.871118 UNDI code segment 9C38:079C, data segment 9CB4:2CB8 (624-638kB)
00:00:06.871124 UNDI device is PCI 00:03.0, type DIX+802.3
00:00:06.871129 638kB free base memory after PXE unload
00:00:06.871135
00:00:06.871141
00:00:06.871147
00:00:06.871153
00:00:06.871159
00:00:06.871164