Skip to content

Instantly share code, notes, and snippets.

@jblaine
jblaine / gist:4041819
Created November 8, 2012 21:35
DEVELOPERS! YEAH!
Should say: "Your kickstart config file's repo directive does not point to a valid repository."
Instead says:
The following was filed automatically by anaconda:
anaconda 15.31 exception report
Traceback (most recent call first):
File "/usr/lib/python2.7/site-packages/pyanaconda/yuminstall.py", line 378, in _mountInstallCD
dev.format.mountpoint = self.tree
File "/usr/lib/python2.7/site-packages/pyanaconda/yuminstall.py", line 488, in configBaseURL
libtool: compile: gcc -DHAVE_CONFIG_H -I. -DPREFIX=\"/usr/rcf-tools/collectd-5.1.0\" -DCONFIGFILE=\"/etc/collectd.conf\" -DLOCALSTATEDIR=\"/var\" -DPKGLOCALSTATEDIR=\"/var/lib/collectd\" -DPIDFILE=\"/var/run/collectd.pid\" -DPLUGINDIR=\"/usr/rcf-tools/collectd-5.1.0/lib/collectd\" -DPKGDATADIR=\"/usr/rcf-tools/collectd-5.1.0/share/collectd\" -I/usr/include/python2.4 -Wall -Werror -fno-strict-aliasing -Wno-strict-aliasing -g -O2 -MT python_la-python.lo -MD -MP -MF .deps/python_la-python.Tpo -c python.c -fPIC -DPIC -o .libs/python_la-python.o
python.c: In function 'cpy_write_callback':
python.c:443: error: 'Values' has no member named 'ob_refcnt'
make[3]: *** [python_la-python.lo] Error 1
make[3]: Leaving directory `/tmp/collectd-5.1.1/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/collectd-5.1.1/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/collectd-5.1.1/src'
make: *** [all-recursive] Error 1
root@ip-10-212-75-158:~# export JAVA_HOME=/opt/java/jdk1.7.0_10
root@ip-10-212-75-158:~# ls $JAVA_HOME
bin include LICENSE release THIRDPARTYLICENSEREADME.txt
COPYRIGHT jre man src.zip
db lib README.html THIRDPARTYLICENSEREADME-JAVAFX.txt
root@ip-10-212-75-158:~# service hadoop-0.20-mapreduce-tasktracker start
+======================================================================+
| Error: JAVA_HOME is not set and Java could not be found |
+----------------------------------------------------------------------+
| Please download the latest Sun JDK from the Sun Java web site |
@jblaine
jblaine / gist:4531928
Created January 14, 2013 17:57
collectd 5.2.0 build fail - Ubuntu 12
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../src -Wall -Werror -g -O2 -c -o libcollectdclient_la-network_buffer.lo `test -f 'network_buffer.c' || echo './'`network_buffer.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../src -Wall -Werror -g -O2 -c network_buffer.c -fPIC -DPIC -o .libs/libcollectdclient_la-network_buffer.o
network_buffer.c:109:3: error: unknown type name ‘gcry_cipher_hd_t’
network_buffer.c: In function ‘have_gcrypt’:
network_buffer.c:131:3: error: implicit declaration of function ‘gcry_control’ [-Werror=implicit-function-declaration]
network_buffer.c:131:17: error: ‘GCRYCTL_SET_THREAD_CBS’ undeclared (first use in this function)
network_buffer.c:131:17: note: each undeclared identifier is reported only once for each function it appears in
usage: qstat [options]
[-ext] view additional attributes
[-explain a|c|A|E] show reason for c(onfiguration ambiguous), a(larm), suspend A(larm), E(rror) state
[-f] full output
[-F [resource_attributes]] full output and show (selected) resources of queue(s)
[-g {c}] display cluster queue summary
[-g {d}] display all job-array tasks (do not group)
[-g {t}] display all parallel job tasks (do not group)
[-help] print this help
[-j job_identifier_list ] show scheduler job information
@jblaine
jblaine / gist:4541572
Created January 15, 2013 20:07
for Dean and Justin
Broadcast Message at 15:04 ...
*** Shutdown message for geeky from cookson@geeky ***
geeky going down in 5 minutes
...The Internet is rebooting to clear Derek's Butt off of Jeremy's head.
Be right back.
Broadcast Message at 15:08 ...
@jblaine
jblaine / gist:4638352
Created January 25, 2013 22:07
MD code GH render bug

According to http://daringfireball.net/projects/markdown/syntax, a code block ends when it encounters a line with no leading whitespace. As you can see below, github is clumping consecutive code blocks together when separated by a blank line with no leading space.

Some code. There should be a separation between this line and the other code block below.

Some code. The blank line above has no leading space in the editor.

@jblaine
jblaine / gist:4676267
Created January 30, 2013 19:55
RHEL5 postfix
Installing : postfix 3/3
postfix: fatal: file /etc/postfix/main.cf: parameter mail_owner: unknown user name value: postfix
warning: user postfix does not exist - using root
warning: user postfix does not exist - using root
warning: user postfix does not exist - using root
warning: user postfix does not exist - using root
warning: user postfix does not exist - using root
warning: user postfix does not exist - using root
warning: user postfix does not exist - using root
warning: user postfix does not exist - using root
default_attributes (
:yum => {
:proxy => "http://gatekeeper.our.org:80"
},
:netgroups => {},
:openssh => {
:server => {
:x11_forwarding => "yes"
}
}
#!/bin/sh
some_command &&
some-other-command-too &&
last_command