Blog Feed: foxpa.ws

Blog Feed: foxpa.ws

Already a Member? Log In to Your Account

Apache OFBiz: Cannot find a service engine definition for the engine name [java] in the serviceengine.xml file

Published on 2013-04-23 16:45:42

Chances are you just changed the port settings in framework/base/config/ofbiz-containers.xml but forgot to update framework/service/config/serviceengine.xml. Open serviceengine.xml and replace all four instances of “8080″ with the non-sec

Find Files Which Have Been Recently Modified or Created

Published on 2013-04-23 16:13:35

Has your outdated wordpress or other shrinkwrapware been compromised? (Yes >.>) After taking steps to shut down the site you should probably use the find command to check to see if there are any unusual files which have been uploaded recently. If you

LG’s Tucked-Away RMA Portal

Published on 2013-04-23 15:53:21

I recently purchased an LG blu-ray burner which was DOA. I might just be an idiot, and things may have changed by now but I wasted a solid half hour of my life not finding anywhere to RMA the drive on their Canadian consumer products site. For your b

Documentary for Dinner: Light Darkness and Colours (1998)

Published on 2013-04-21 18:27:27

Using Goethe’s Theory of Colours as point of departure, Light Darkness and Colours takes us on a fascinating journey through the universe of colours

Find the Largest Open Files and Their Owner(s) on Linux with lsof

Published on 2013-04-12 18:15:57

In this article we covered finding the largest files on a file system. Often this doesn’t account for the whole story when you scramble to clear up a filled volume; for as long as a process exists which has opened a given file that file will &#

Documentary for Dinner: VPRO Tegenlicht|Backlight: The Tax Free Tour (2013)

Published on 2013-03-29 21:39:14

My favourite Dutch series is back with a visually stunning tour around the world’s tax havens in an effort to crystalize how giant multinational corporations like Apple can pay an effective tax rate in the ballpark of 1.9%

Zimbra “Some Services Are Not Running” Even Though They Are

Published on 2013-03-29 10:43:24

If you have logged in to your Zimbra administration interface and been told that “Some services are not running” despite what zmcontrol status is telling you there may be a problem with the cron scripts. You can force a manual update by r

Catastrophic Zimbra Meltdown Over Dinky Missing Log Files

Published on 2013-03-29 10:33:56

Upon restarting a Zimbra instance this morning: Starting ldap...Done. Starting zmconfigd...Done. Starting logger...Failed. Starting logswatch...failed. Starting mailbox...Done. Starting antispam...Done. Starting antivirus...Done. Starting snmp...Done

Failed to Load Module “glx” Module Does Not Exist, libglx.so is Missing

Published on 2013-03-21 15:22:11

If you recently un-installed fglrx then switched back to the open source radeon driver you may be left with a couple of broken links to a missing libglx.so and no OpenGL support in X: [ 65311.851] (II) LoadModule: "glx" [ 65311.851] (WW) Warning, cou

Lecture for Lunch: Greg Palast and RFK Jr. in NYC – MayDay 2007

Published on 2013-03-16 10:35:10

Legendary investigavtive journalist Greg Palast and RFK Jr. deliver a talk about how the news media have failed democracy and we have failed the medium by allowing it to become a consolidated, information-starved wasteland. It’s not you –

Documentary for Dinner: Prisoner X (2013)

Published on 2013-03-14 17:53:21

Journeyman Pictures presents Trevor Bormann’s ABC documentary on Ben Zygier, an Israeli-Australian intelligence operative who committed suicide in 2010 after being held in secretive detention for over a year

Zimbra CSR is Invalid, 2048-bit Private Key Required

Published on 2013-03-12 12:19:51

If your certificate authority has increased their key requirements to 2048 bit your CSR may be rejected when generated like so: # /opt/zimbra/bin/zmcertmgr createcsr comm -new "/C=CA/ST=ON/L=Toronto/O=Yourbusiness/OU=Yourdept/CN=mail.server.com" Fort

Unable to Connect to Zimbra Web Interface on Port 80

Published on 2013-03-11 20:18:13

First check that port 80 is open on your server: # iptables-save | grep 80 -A INPUT -p tcp -m state --state NEW -m tcp --dport 80 -j ACCEPT Switch to the zimbra user: # su - zimbra Turn on redirection to SSL: zmtlsctl redirect Now restart mailboxd: [

Barracuda Spam Firewall Reject Bad Recipients with Zimbra LDAP

Published on 2013-03-10 22:08:52

You may need to open the LDAP port on your Zimbra server: # iptables -A INPUT -p tcp -m state --state NEW -m tcp --dport 389 -j ACCEPT Determine your Zimbra LDAP password: # su - zimbra $ $ zmlocalconfig -s zimbra_ldap_password zimbra_ldap_password =

tar /opt/zimbra Fills Hard Drive/Significantly Larger Than Installation

Published on 2013-03-10 19:22:13

If you’ve tried to make a backup of your zimbra installation by taring /opt/zimbra you may have noticed the output either fills your available storage or is 80 gigs larger than the actual Zimbra installation. This is caused by an 80 gig sparse

Zimbra 8 RHEL/CentOS 6.3 opendkim segfault error 4 in libpthread

Published on 2013-03-10 16:41:24

There appears to be a benign segfault from opendkim when Zimbra is shut down: opendkim[4057]: segfault at 1f0 ip 0000003044209220 sp 00007fffa235bd48 error 4 in libpthread-2.12.so[3044200000+17000] opendkim[10772]: segfault at 1f0 ip 0000003044209220

Xen Virtual Disk I/O Errors

Published on 2013-03-10 16:05:39

I just encountered this while making a tar backup on one of my virtual filesystems: lost page write due to I/O error on xvdb1 end_request: I/O error, dev xvdb1, sector 33707688 Buffer I/O error on device xvdb1, logical block 4213461 Unfortunately, my

Force File System Check (fsck) on Reboot

Published on 2013-03-10 15:21:32

You may wish to check the integrity of your root file system without using a live cd or different system. To force a file system check on reboot either: # touch /forcefsck or # shutdown -rF now

Zimbra Firewall Configuration for RHEL/CentOS and Others

Published on 2013-03-09 17:47:11

The firewall on a RHEL system is configured by default with system-config-firewall, which on the console is an annoying ncurses menu which doesn’t permit adding custom ports/protocols. The ports you probably want open for Zimbra are: 25 smtp [m

How to Rename a Linux User Account

Published on 2013-03-09 16:19:04

Use this command to rename a user without changing their UID: usermod -l newname oldname

Convert a QCOW Image to Raw Disk Format (QEMU, Xen)

Published on 2013-03-09 14:08:08

qemu-img convert -O raw diskimage.qcow diskimage.raw

Documentary for Dinner: Vice Motherboard: Internet Scamming in Ghana (2013)

Published on 2013-03-09 00:06:31

Vice travels to Ghana to meet the Sakawa Boys, Internet fraudsters with a mystical twist

Epic Segfault: Zimbra 5.0.18′s slapd on Ubuntu 8.04 Server LTS

Published on 2013-03-08 22:00:18

After dealing with kernel panics (from what I am hoping was merely OOMs) by moving my new Zimbra VM to a different box and giving it 4 cores and 4 gigs of ram and 4 gigs of swap I was about 80 accounts deep into my second Courier-IMAP Maildir Migrati

Disable NetworkManager on CentOS/RHEL

Published on 2013-03-08 19:53:38

NetworkManager is an annoying network configurator for home users. It will interfere with custom network-scripts unless disabled. # chkconfig --level 2345 NetworkManager off # /etc/init.d/NetworkManager stop

Move Zimbra Storage to Different Drive/File-System

Published on 2013-03-08 17:29:39

If your Zimbra server’s storage is running out or you try to keep your virtual machines lean and easily transferrable it might be necessary to put Zimbra’s mail storage on a different file system or storage medium. The process is straight

Import Courier-IMAP Maildir E-Mail and IMAP Folders to Zimbra

Published on 2013-03-08 16:54:14

I have the good fortune of being forced to migrate over 1,100 e-mail accounts from a 15 year old qmail server with Courier-IMAP. A script is provided at http://wiki.zimbra.com/wiki/Courier-IMAP_Maildir_to_zmmailbox. It should be easy to run as root a

Install NFS Client on Debian/Ubuntu

Published on 2013-03-08 15:30:32

Missing NFS client support? # apt-get install nfs-common portmap

An Unfunny Thing Happened on the way to 51% Full tmpfs

Published on 2013-03-07 18:57:11

I’ve run into another caveat of my SHM/tmpfs File-Based PHP Cache/Datastore in RAM technique. Fortunately, this one is much better documented than the subject of A Funny Thing Happened on the way to 100% Full tmpfs. On a 2GB tmpfs used storage

Force Unlock Zimbra Shutdown Domain

Published on 2013-03-07 16:48:47

After doing a host name change on a Zimbra appliance the domain was locked. Error messages included: Webmail: This account is currently in maintenance mode Admin FE The domain is temporarily locked by the server. You will not be able to make any chan

A Funny Thing Happened on the way to 100% Full tmpfs

Published on 2013-03-06 18:08:03

I’ve been having trouble with XCache’s datastore lately and was prompted to revisit my SHM/tmpfs File-Based PHP Cache/Datastore in RAM strategy. I mounted a 256MB tmpfs slice like this: none /mnt/ram tmpfs defaults,noatime,size=256M 0 0 S

A Tidy Little OpenRC (Gentoo) init Script for TeamSpeak3

Published on 2013-03-05 18:53:03

I recently set up a TeamSpeak3 server for the YI Minecraft users. Due to a crazy high-load-but-low-CPU-utlization problem I have decided to ditch ts3 and try Mumble. Before I remove it, here’s the qick and clean init script I made (assumes ts3

Documentary for Dinner: TPB AFK: The Pirate Bay Away From Keyboard (2013)

Published on 2013-02-09 22:13:54

The much-anticipated The Pirate Bay documentary covers the events surrounding the trial and conviction of TPB founders

Lecture for Lunch: A Bunch of Noam Chomsky Lectures I Went Through Too Fast to Post

Published on 2012-12-27 14:47:48

I went through these Noam Chomsky lectures too quickly to post individually, and a few of them are in fact the same speech with a different angle. Forgotten History Dershowitz vs Chomsky debate Israel at Harvard Noam Chomsky on the State-Corporate Co

Documentary for Diner: The Rageh Omaar Report – From Minneapolis to Mogadishu (2010)

Published on 2012-12-27 14:42:09

Al Jazeera’s Rageh Omaar investigates 20 young Somali-American men who were radicalized and sent to fight in a homeland many of them had never seen before

Documentary for Dinner: Vice: Toxic Linfen (2012)

Published on 2012-12-27 14:38:41

Vice travels to Linfen, China – the world’s most polluted city

Documentary for Dinner: Don’t Get Me Started – What’s so Wrong about Blasphemy? (2012)

Published on 2012-12-27 14:36:43

Stewart Lee is one of my favourite comedians and the co-creator of widely popular comedy-musical Jerry Springer: The Opera. Lee investigates the power of religious protest and the meaning of free speech in modern Britain

Documentary for Dinner: The Ka-Ching Dynasty! (2012)

Published on 2012-12-27 14:32:46

Journeyman Pictures presents a special on China’s new super-rich, rich and middle classes

Julian Assange’s Christmas Address

Published on 2012-12-23 19:31:28

Lecture for Lunch: Media, Objectivity and Reality of US Foreign Policy in the Middle East

Published on 2012-12-13 19:02:36

A speech delivered by Noam Chomsky to the 33rd Annual Conference & Interfaith Service for Peace

Lecture for Lunch: The Militarization of Science and Space

Published on 2012-12-13 18:59:42

A speech delivered by Noam Chomsky at

FurFinding: Restoring a Piece of Furry History: The Furnpike

Published on 2012-12-13 15:19:21

As mentioned in my last FurFinding article, I’ve been cleaning up the furry sites database at Yiffy International in preparation for the re-launch of FurFinder. Along the way I found The Furnpike, what was once the largest furry site directory

Lecture for Lunch: Imminent Crisis – Noam Chomsky

Published on 2012-12-13 12:15:26

Noam Chomsky delivers a speech at Washington State University

Lecture for Lunch: You Don’t Know what you Don’t Know

Published on 2012-12-13 12:11:30

Noam Chomsky delivers a speech at Boston University, interspersed with segments from other speaches and illustrative footage

Documentary for Dinner: Breaking the Taboo (2012)

Published on 2012-12-11 21:48:59

In the “share this video and we can change the world”-of-the-week department we have Breaking the Taboo. Narrated by Morgan Freeman and interviewing several ex-presidents and high-ranking political figures, Breaking the Taboo packs more w

FurFinding: Neat Stuff I Found While Cleaning up the Furry Sites Database

Published on 2012-12-10 17:34:03

I’ve been going through the furry sites database at http://yiffy.tk/review.php lately to keep dead sites out of the new FurFinder index and categorize those not already in The Furnpike. Here’s some of the neat things I’ve found: @Si

Google Ends Free Version of Google Apps

Published on 2012-12-07 20:24:20

Before you soil your trousers, those domains which have already been registered with a free version of google apps will continue to be free. That doesn’t make the news any less devastating to those of us whom have taken advantage of the free se

Disable Form Autocomplete

Published on 2012-12-07 18:53:22

Disabling a visitor’s browser’s built-in form autocomplete feature sounds like it should be a simple enough task, but like many seemingly mundane things in web design it’s a bit asinine. I have personally never had to do this until

FurFinding: The Spammedest Page Ever

Published on 2012-12-07 15:09:58

Do you remember the good old days before CAPTCHAs? It was a simpler time – bots spammed e-mail accounts, not websites. Few people thought of the security implications of accepting user input on their sites, even successful commercial outfits. I

Why your UserAgent is a Fat Liar

Published on 2012-12-05 19:31:57

I just ran across this entertaining article by Aaron Anderson and thought I’d share it: History of the browser user-agent string It reads like a trip down memory lane; rife with the jaded nostalgia we whom have suffered every browser since Mosa

Documentary for Dinner: Uncovered: The War on Iraq (2004)

Published on 2012-12-02 19:14:16

Also released as “Uncovered: The Whole Truth About The Iraq War,” The War on Iraq is the second film in Robert Greenwald’s “Un Trilogy“. It investigates the false intelligence that led the United States into war with Ira

Documentary for Dinner: Al Jazeera Investigates: What Killed Arafat (2012)

Published on 2012-12-02 10:54:48

A provocative investigation carried out by Al Jazeera in cooperation with Yasser Arafat’s widow, Suha Arafat uncovers evidence of Pulonium poisoning. Arafat’s body was exhumed just 5 days ago for further testing: CBC: Yasser Arafat’

Documentary for Dinner: The Mars Underground (2012)

Published on 2012-12-01 23:40:45

“This film captures the spirit of Mars pioneers who refuse to let their dreams be put on hold by a slumbering space program. Their passionate urge to walk the soil of an alien world is infectious and inspirational. This film is the manifesto of

Documentary for Dinner: Vice Guide to Travel: Who Really Invented Vodka? (2012)

Published on 2012-11-21 13:44:33

Vice travels from Moscow to Warsaw to find the true origin of Vodka

Documentary for Dinner: Fault Lines: The Battle for the Arctic (2012)

Published on 2012-11-18 15:45:00

Al Jazeera’s Fault Lines travels to the Canadian Arctic to investigate the impact melting ice sheets are having on resource exploitation, sovereignty and local inhabitants

Documentary for Dinner: Vice Fringes: Africa’s Moonshine Epidemic (2012)

Published on 2012-11-14 18:48:30

Vice travels to Uganda, the “drunkest place on earth” according to UN alcohol consumption statistics to taste test traditional Ugandan moonshine, Weragi

Automated Remote Backups with rsync

Published on 2012-11-09 15:05:16

One of the oldest and simplest ways to back up UNIX-like systems is with rsync. Automated remote backups are a simple matter of setting up rsync as a daemon on the system you want to back up and running an appropriate rsync command as a cron job on t

Recovering From a Disk Failure with Software RAID

Published on 2012-11-06 17:56:17

Recovering from a disk failure in a software RAID is a very straightforward and easy process. If your server, chipset and kernel module allow, it may be possible to replace the offending drive without downtime. This is generally not the case with che

Documentary for Dinner: 101 East – China (2012)

Published on 2012-11-06 17:32:49

Al Jazeera documentary series 101 East explore’s China’s environmental issues, one child policy, rapidly growing economy and changing political tides

Simple Disk or File-System Image Encryption with dm-crypt

Published on 2012-11-02 19:40:38

dm-crypt is a part of modern Linux’s device mapper system which allows for the transparent application of a broad range of block cyphers to a virtual block device. The virtual block device is configured with the cryptsetup command and can point

Filling a Drive with Random Data: urandom, dd and Patience

Published on 2012-10-31 21:48:49

Filling a block device with random data is a good first step in file system encryption, particularly where there will be no partition table or the partition table itself is to be encrypted. The objective is to make encrypted data indistinguishable fr

Documentary for Dinner: We. (2006)

Published on 2012-10-29 21:19:24

A stunning documentary about world politics, power, war, corporations, deception and exploitation illustrated by footage interspersed with Arundhati Roy’s Come September speech against a backdrop of chilling downtempo music. http://www.archive.org/download/resistcomauWehighquality/We_Arundhati_Roy__256k.wmv http://www.archive.org/download/WeArundhatiRoyiTunesVersion/We_Unauthorized_Arundhati_Roy.mp4 http://thoughtmaybe.com/we/ http://www.weroy.org

Gentoo Prefix Errors: Aborting due to QA concerns: there are files installed outside the prefix

Published on 2012-10-29 17:30:21

Just like it sounds, the package you are trying to emerge is attempting to write files outside of your prefix. Depending on the situation it may be that there is no fix, but it is possible that upgrading eselect or portage and re-syncing the portage tree will solve the problem – as was the case

Install slocate on OS X

Published on 2012-10-28 19:35:12

OS X used to ship with a version of locate which, when running locate.updatedb would throw a message warning that building the locate db as root could expose the location of all files to any user. As of Lion (10.7) this warning is no longer shown but I haven’t found anything which would indicate it’s

SFTP File-System Abstraction in OS X with OSXFUSE and SSHFS

Published on 2012-10-28 16:40:09

One of the things I love about KDE is kio’s built in, long-time support for sftp:// and fish:// SSH file system abstration. It lets kdelibs applications like KATE and Konqueror manage files remotely as though they are on the local computer. This saves mountains of time when, for example, working on a live website. The

The Twitter XML/JSON Feed API Transition Situation

Published on 2012-10-28 13:53:15

A few weeks ago Twitter stopped supporting this URL convention to grab XML feeds of a user’s timeline: http://twitter.com/statuses/user_timeline/{{SCREEN_NAME}}.(xml|json) Fortunately, it’s still possible to fix your apps with a drop-in replacement, which was probably always considered the “right way” to grab them anyway: https://api.twitter.com/1/statuses/user_timeline.(xml|json)?screen_name={{SCREEN_NAME}} The bad news is it doesn’t look like this will work

Lecture for Lunch: Chris Hedges at Wilfred Laurier University

Published on 2012-10-28 13:07:38

Interesting to find out Hedges’ wife is Canadian and he used to be chums with our boy Iggy

Documentary for Dinner: Britain’s Nazi King (2011)

Published on 2012-10-22 15:00:18

National Geographic explores declassified FBI files on King Edward VIII, Nazi sympathiser and alleged collaborator

Lecture for Lunch: The Nazis Were Never Defeated (2012)

Published on 2012-10-22 13:31:16

Tony Gosling delivers a lecture on the post-nazi Bormann Organization and its links to the Bilderberg Group

Documentary for Dinner: Australian Atomic Confessions (2003)

Published on 2012-10-12 20:29:49

An investigation into atomic weapons testing by the British on Austrailian soil and the radioactive legacy left behind

Documentary for Dinner: Frontline: The Choice 2012

Published on 2012-10-12 17:20:51

PBS’ Frontline takes a look at the events which shaped 2012 presidential candidates Mitt Romney and Barack Obama

Installing Cordova (formerly PhoneGap) with Android SDK on Gentoo

Published on 2012-10-11 13:32:21

Apache Cordova is an open source framework for rapidly generating mobile apps from HTML5, CSS and JavaScript. At present, Cordova supports 7 mobile platforms with plans to expand. Since it uses core web design languages Cordova allows web developers to become mobile phone app developers without having to learn Java, C++ or the proprietary APIs

Documentary for Dinner: BBC Panorama: The War Party (2003)

Published on 2012-10-10 09:46:55

Back when the word “neoconservative” was still gaining household status, Panorama investigated the motives and means of the rising stars in American politics

Documentary for Dinner: Vice: North Korean Film Madness (2012)

Published on 2012-10-07 18:31:57

In a look back at Vice’s widely popular The Vice Guide to North Korea, never before seen footage is used to tell the story of the North Korean “film industry.&#

Documentary for Dinner: Ancient Aliens Debunked (2012)

Published on 2012-10-07 17:59:07

A superbly researched and liberally foot-noted deconstruction of The History Channel’s fraudulent, pseudo-intellectual masturbation serial Ancient Aliens. Intro ( 0:00 ) http://ancientaliensdebunked.com/references-and-transcripts/124-2/ Puma Punku ( 3:38 ) or http://ancientaliensdebunked.com/references-and-transcripts/puma-punku/ The Pyramids ( 22:41 ) Or http://ancientaliensdebunked.com/references-and-transcripts/the-pyramids/ Baalbek, ( 37:40 ) Or http://ancientaliensdebunked.com/referen [..]

My Custom BKN WASD Mechanical Keyboard

Published on 2012-10-03 11:44:37

My blank Das Keyboard Model S has pretty much had its last run. Purchased last March, it had seen the last of my days as a smoker and consequentially the switches have become a little gummy. Now that everyone and their uncle has a blank keyboard I pondered what would have the same level of

Samsung Galaxy S III: Sexfone

Published on 2012-10-02 21:03:57

After a series of rate hikes and cuts to Telus’ service coupled with the death of my Optimus One‘s SD card reader I decided it was time to get a big shiny phone. The kind that I could brag about. Meet the $649 Samsung Galaxy S III: His name is George, and we’ve become very

Culture in Decline Episode 2: Economics 101

Published on 2012-10-02 20:33:56

This episode posits that our modern concept of economics enforces a values system which rewards inefficiency and unsustainability while leaving vast swaths of the population starving needlessly. That little bit with the animated gremlin really takes the wind out of this episode’s sails

Documentary for Dinner: Vice: Mexican Drug Cartels vs. Mitt Romney’s Mormon Family

Published on 2012-09-30 18:39:44

Vice travels to Chihuahua where kidnappings and murder are a virtually daily occurance to meet with Mormon colonists, including relatives of presidential candidate Mitt Romney for a look into the drug war south of the border and how United States policy affects the daily lives of nothern Mexicans

Documentary for Dinner: People & Power: In Search of Putin’s Money

Published on 2012-09-25 10:01:03

Is Vladimir Putin the richest man in Europe? Al Jazeera’s People & Power investigates the rumours surrouding Putin’s alleged vast and hidden fortune

Documentary for Dinner: Occupy Tactics – Violence and Legitimacy in the Occupy Movement and Beyond (2012)

Published on 2012-09-25 09:08:33

A Debate between Chris Hedges and the CrimethInc. Ex-Workers Collective on Tactics & Strategy, Reform & Revolution. I found it most entertaining to watch this passive-aggressive neo-hippie representing the black bloc come up against Chris’ cool, deliberate, authoritative demeanour. Admittedly, I had made up my mind going into this debate having seen first hand the

Documentary for Dinner: CIA Involvement in WTC 93 Bombing

Published on 2012-09-25 08:47:56

Joseph Calhoun delivers a brief talk and two suppressed videos about the CIA connection to the 1993 bombing of the World Trade Centre

Documentary for Dinner: Skywatcher (2012)

Published on 2012-09-24 19:32:26

A refreshing departure from conspiracy-loaded “chemtrail” lore, Skywatcher posits that chemtrails are actually an unintended consequence of the widespread practise of cloud seeding interacting with commercial flight

Documentary for Dinner: An Inconvenient Tooth (2012)

Published on 2012-09-23 17:41:20

An Inconvenient Tooth is a compilation of interviews with professors emeritus, public health professionals and concerned citizens about the alleged dangers of fluoridated drinking water

Installing APCUPSD on ClearOS 6.3

Published on 2012-09-20 14:56:34

First we’re going to need to install net-snmp: # yum install net-snmp The latest version of apcupsd also requires libgd.so.2 which is brought in with the gd package: # yum install gd Now we’re going to pull the matching architecture and RHEL version of apcupsd from http://pkgs.repoforge.org/apcupsd/: # rpm -iv http://pkgs.repoforge.org/apcupsd/apcupsd-3.14.10-1.el6.rf.x86_64.rpm Retrieving http://pkgs.repoforge.org/apcupsd/apcupsd-3.14.10-1.el6.rf.x86_64.rpm warning: /var/tmp/rpm-tmp [..]

Documentary for Dinner: Fault Lines: Conventions 2012: The Price of the Party

Published on 2012-09-19 19:38:47

Al Jazeera’s Fault Lines uses the RNC and DNC as a backdrop to investigate the impacts of the Citizens United ruling and the sway of wealth in elections

Documentary for Dinner: People and Power: Attack of the Drones (2012)

Published on 2012-09-15 17:33:41

Al Jazeera’s People and Power series takes a look at the increasing use of drones in American military operations as a means to appease a war weary population at home – but are drones as “clean” and “precise” as their proponents claim and might their illegal and deadly use lead to unforseen blowback

E-Mails to Hotmail Bounce 550 SC-001: Part of Your Network is on Our Block List

Published on 2012-09-12 19:16:25

Having trouble sending e-mail to @hotmail or @live addresses? Trouble like: Diagnostic-Code: SMTP; 550 SC-001 (BAY0-MC4-F36) Unfortunately, messages from xxx.xxx.xxx.xxx weren't sent. Please contact your Internet service provider since part of their network is on our block list. You can also refer your provider to http://mail.live.com/mail/troubleshooting.aspx#errors. The irony of course is that the URL provided

Documentary for Dinner: The War You Don’t See (2010)

Published on 2012-09-12 10:01:03

The War You Don’t See investigates the complicity of media in distributing propaganda, failure to investigate claims made by authority figures and willing dismissal of information that does not suit the pro-war narrative in the modern era. http://thepiratebay.se/torrent/6042414/John_Pilger_-_The_War_You_Don_t_See This is one of John Pilger’s finest works, I’m particularly fond of how he makes interviewees of

Documentary for Dinner: Game Change (2012)

Published on 2012-09-11 18:03:05

Game Change is an HBO movie starring Woody Harrelson as Steve Schmidt, the Senior Campaign Strategist for the McCain/Palin campaign of ’08. The film is a dramatic re-enactment of the events leading to Sarah Palin’s selection as John McCain’s running mate through to their defeat, ostensibly perpetrated a great deal by her incompetence and famously

Migrate a Virtual Machine from Full Disk to Single File-System Image

Published on 2012-09-06 18:45:23

Full-disk images – that is to say a file containing an MBR, partition table and one or more partitions – are a pain in the arse to scale. Conventional wisdom tells us we should be able to do this with losetup and parted, or less gracefully with (c)fdisk but I’ve never had anything but trouble.

Force a User to Log Out

Published on 2012-09-06 12:31:01

It looks like I have a stale session open which is preventing me from umounting a disk image: # w 13:21:37 up 56 days, 2:51, 2 users, load average: 4.30, 3.70, 2.23 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT kfox pts/8 192.168.8.90 Wed13 20:49m 0.02s 0.02s -bash kfox pts/22 192.168.8.90 12:04 1.00s 0.07s 0.00s

How to Tell What Version of a RedHat-Based Flavour you are Using

Published on 2012-09-06 11:40:32

It’s important to know what version of RHEL/Fedora/CentOS/Scientific Linux/etc. you are dealing with when looking for version-compatible RPMs that are out-of-repo. I always end up forgetting how to do this, so for our mutual benefit: $ cat /etc/redhat-release CentOS release 5.6 (Final)

64-bit Ubuntu 12.04.1 Server Virtual Machine Image for Xen, QEMU, VirtualBox etc.

Published on 2012-09-05 15:41:10

This raw full disk image is a straight-up install of Ubuntu 12.04.1 Server LTS “Precise Pangolin” on EXT3. No packages were selected for installation other than OpenSSH Server. It will boot under full virtualization platforms (QEMU, VirtualBox, VMWare) without modification (except maybe disk image conversion) but the steps below are required to make it play

Documentary for Dinner: Know your Mushrooms (2008)

Published on 2012-09-03 15:27:42

Know your Mushrooms takes us on a journey to the Colorado rockies to learn about various types of fungi; poison, medicinal, edible and psychotropic!

Documentary for Dinner: The Vice Guide to the Balkans (2012)

Published on 2012-09-02 22:02:29

VICE takes us on a quick tour of former Yugoslavian states Serbia, Kosovo and Bosnia to investigate long standing ethnic tensions

Documentary for Dinner: Sex, Lies and Julian Assange (2012)

Published on 2012-09-02 19:00:26

A detailed look into the events leading up to and surrounding Julain’s current legal troubles

Documentary for Dinner: Superpower (2008)

Published on 2012-09-02 14:10:23

Superpower is an exploration of the emergence and consequences of the United States as the sole world superpower and major imperialist force

A Rant on the Direction of ClearOS, Apps and the Marketplace

Published on 2012-08-30 22:27:28

Something about this new “apps” paradigm ClearOS has entered has been gnawing away at my subconcience ever since I wrote my little critique on 6.3. In a post on the ClearOS forum regarding missing IPsec support I think I was able to finally articulate the off-ish smell that has been driving me mental. kfox: I

ClearOS 6.3: I am an Access Point and So Can You

Published on 2012-08-29 10:55:45

Despite the crappy things I’ve had to say about 6.3 I’ve decided to tough it out on my new home router. Normally, where the modem and router-ap are separate pieces of equipment you can simply turn off DHCP on the old router and keep using it as an access point by plugging the switch side

Documentary for Dinner: The Corporation (2003)

Published on 2012-08-28 21:24:29

The Corporation is a landmark documentary, possibly the first to bring the notion of corporations as pathological psychopaths to the common discourse. The film begins with the corporation’s roots and traces them through its evolution into personhood under the 14th amendment – intended to protect the rights of former slaves – then into the modern

Documentary for Dinner: Pax Americana and the Weaponization of Space (2009)

Published on 2012-08-28 16:34:08

Pax Americana and the Weaponization of Space looks at the possible consequences of the American strategy of total military domination in space. I have to take issue with how much emphasis is put on satellites in this documentary (and many others). Aside from weather observation, GPS and television broadcasting – all of which have feasible

Documentary for Dinner: Human Resources (2010)

Published on 2012-08-28 14:36:11

Another excellent Metanoia Films documentary, Human Resources explores bahaviourism and how techniques for conditioning humans have been developed and employed as a means of mass social management. I kept hearing this narrators’ very wonderful, mood-setting voice in some of my most favourite documentaries (The Power Principle, The Corporation, many more) and decided to look her

ksign-publickey.c:2:17: error: key.h: No such file or directory

Published on 2012-08-27 10:27:11

Encountered while compiling a new kernel and modules for ClearOS 6.2 kernel 2.6.32-279.2.1.v6.x86_64 to obtain the one wireless module that isn’t offered (naturally): scripts/kconfig/conf -s arch/x86/Kconfig CHK include/linux/version.h CHK include/linux/utsrelease.h SYMLINK include/asm -> include/asm-x86 CALL scripts/checksyscalls.sh CHK include/linux/compile.h CC crypto/signature/ksign-publickey.o crypto/signature/ksign-publickey.c:2:17: error: key.h: No such file or directory crypto/sign [..]

Bill Moyers and Chris Hedges on Capitalism’s ‘Sacrifice Zones’

Published on 2012-08-24 10:13:07

Chris Hedges discusses the effects unfettered capitalism have on resource-rich areas of the United States; deeming them sacrifice zones as wealth is extracted from the very ground increasingly impoverished citizens live on with wonton disregard for the long-term environmental impact

Documentary for Dinner: The Power Principle (2012)

Published on 2012-08-23 20:23:34

Over four hours of excellently edited and narrated footage investigating the roots power as we know it today. Read more. Part I – Empire Part II – Propaganda Part III – Apocalypse

Documentary for Dinner: Vice: How to Get Away with Stealing (2012)

Published on 2012-08-23 20:05:39

A quick jaunt through the world of London fraudsters

ClearOS 6.3 is Godawful, Keep Using 5.x

Published on 2012-08-17 17:15:30

I’m sure anyone who works for ClearFoundation and sees this will think “well, you can’t please everyone!” but this is a list of things they have managed to horribly screw up that every admin needs to know before plunging head first into ClearOS 6.3 or worse, an earlier 6.x: You can no longer limit or

Reliable AJAX: Timeout and Retry XMLHttpRequest

Published on 2012-08-15 19:21:40

A lot of AJAX seems to rely on ideal conditions: a server that is both running and in good health, a reliable high speed internet connection, a lack of packet loss etc. Unfortunately, this is not always the case – what happens when your user triggers an event and the daemon is restarting or they

Configuring APCUPSD on Gentoo for APC SmartUPS Over Serial

Published on 2012-08-14 20:33:36

Both of the Gentoo wiki links at the bottom of this article are more-or-less USB-oriented so here’s a quick start for Serial connections. I use a USB to serial adapter so my serial device is named /dev/ttyUSB0, yours may be different if you use a regular serial port (i.e. /dev/ttyS0). Emerge apcupsd: # emerge apcupsc

Documentary for Dinner: Psywar (2010)

Published on 2012-08-14 18:50:30

A Metanoia Films production, Psywar investigates the history of propaganda and its integral role in modern polyarchy. Excellent soundtrack and narration

Documentary for Dinner: America’s Most Hated Family in Crisis (2011)

Published on 2012-08-12 21:38:51

Theroux follows up The Most Hated Family in America with America’s Most Hated Family in Crisis, examining the recent rash of ex-communications and departures afflicting the church

Documentary for Dinner: The Most Hated Family in America (2007)

Published on 2012-08-12 21:35:40

Louis Theroux’s The Most Hated Family in America takes up residence with Fred Phelps’ Westboro Baptist Church

Documentary for Dinner: Vice Fringe: Brainwashed by the Westboro Baptist Church (2012)

Published on 2012-08-12 21:31:47

Vice Fringe’s Brainwashed by the Westboro Baptist Church interviews ex-members and the documentarian-turned-westboroer Stephen Drain

Apache Reload: Fix seg fault or similar nasty error detected in the parent process

Published on 2012-08-12 18:07:52

I noticed this nasty wee bugger last week: [notice] seg fault or similar nasty error detected in the parent process The first time it happened the drop in traffic did not correlate with the daily init scripts but when the second occurance this morning did I finally had somewhere to start. The default logrotate script

Documentary for Dinner: The 9/11 Decade (2011)

Published on 2012-08-11 17:01:10

The 9/11 Decade is a three part documentary produced by Al-Jazeera that goes into fine detail about the events triggered by the 9/11 attacks

Installing NRPE for Nagios/Icinga on Gentoo

Published on 2012-08-09 16:51:46

You have two options for monitoring things like load average and logged in users on a remote host with Nagios or Icinga: SNMP (which you are probably already using for Cacti or a similar graphing/monitoring solution) or the Nagios Remote Plugin Executor (NRPE). NRPE gives one greater flexibility in the kind of data collected and

conftest segfault Emerging PHP 5.3.15

Published on 2012-08-08 22:15:52

Just had this happen on a 64 bit box after seeing it on a 32 bit virtual machine: conftest[6750]: segfault at 1 ip 00007f1978ec2739 sp 00007fff4de65190 error 4 in libc-client.so.1.0.0[7f1978e84000+fb000] conftest[18209]: segfault at 1 ip 00007f034a1de739 sp 00007fff522332a0 error 4 in libc-client.so.1.0.0[7f034a1a0000+fb000] conftest[30093]: segfault at 1 ip 00007f6f163ea739 sp 00007fff6cd3a0c0 error 4 in libc-client.so.1.0.0[7f6f163ac000+fb000] conftest[9687]:

Culture in Decline Episode 1: What Democracy?

Published on 2012-08-07 13:50:30

Culture in Decline is a new series by documentarian Peter Joseph, the man behind the Zeitgeist Movement. This episode covers the inherant flaws of presidential and two-party systems

Keiser Report 324: Facebook Bots Drive Up Ad Costs

Published on 2012-08-07 11:24:42

I’m always thrilled to hear bad news about Facebook and today’s Keiser Report delivered in full. From the Beeb: Last week, digital distribution firm Limited Press alleged that, based on its own analytics software, 80% of clicks on its advertisements within Facebook had come from fake users. “Bots were loading pages and driving up our

Documentary for Dinner: From the Wilderness: The Truth and Lies of 9/11

Published on 2012-08-07 11:06:12

Far from being a whacky 9/11 conspiracy theory doc, The Truth and Lies of 9/11 is a lecture given by author Michael Ruppert on the facts that defy coincidence surrounding the events of 9/11. From the mysterious put options on United and American Airlines to CIA drug running Ruppert exposes a disturbing web of interconnectedness

Documentary for Dinner: Alternative Views – Guest John Stockwell (1988)

Published on 2012-08-06 22:42:17

Documentary for Dinner: Collapse (2009 Michael Ruppert Interview)

Published on 2012-08-06 21:30:36

Collapse documents an interview with notable author Michael Ruppert about his take on the impending collapse of modern civilization with special focus on the consequences of peak oil

Documentary for Dinner: Ethos (2012)

Published on 2012-08-02 18:17:03

Narrated by Woody Harrelson, Ethos is a documentary about how our capitalist system allows large corporations and private interests to control society and ignore the will of the majority despite the apparent democratic advances of the last 200 years. Ethos ends with a rallying call for democratic spending; i.e. rewarding companies that behave desirably with

Documentary for Dinner: Iran Is Not The Problem (2007)

Published on 2012-08-01 22:19:59

Iran Is Not The Problem presents the point of view that no war waged by the United States against Iran can be justified and moreover that Iran’s alleged nuclear ambitions are rational

Documentary for Dinner: The Crime of the Canadian Banking System (2007)

Published on 2012-07-31 21:31:12

A short talk by Bill Abram  about how – despite the fact that we do not suffer under an American-style private central banking system – Canadian politicians were persuaded to turn their backs on the Bank of Canada in favour of private loans. The result is a situation not unlike that of the Americans with

Documentary for Dinner: Propaganda (2012)

Published on 2012-07-31 20:25:46

Propaganda is a documentary film – itself a propaganda piece – ostensibly produced for North Korean audiences about Western propaganda. Despite its brazen hypocrisy and clear intent as external propaganda the facts presented are mostly accurate and the typical North Korean moments of self-gratification are tolerably short. The description attached to this video is very

Documentary for Dinner: Vice Fringe: How to Sell Drugs (2012)

Published on 2012-07-30 13:06:23

Vice Fringe’s How to Sell Drugs follows a day in the life of “Nims,” a New York City dealer. Despite the title you won’t learn any real trade secrets – other than don’t be a little shit. This doc is much more focused on Nims’ humanity and taking sweet shots of drugs than the business.

ApacheBench Shows Lots of Failed Requests due to Length

Published on 2012-07-27 19:52:20

Breathe easy. Smile. You’re probably here because you’ve just run ab and got output something like: This is ApacheBench, Version 2.0.40-dev apache-2.0 Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Copyright 2006 The Apache Software Foundation, http://www.apache.org/ Benchmarking **** (be patient) Completed 100000 requests Completed 200000 requests Completed 300000 requests Completed 400000

SHM/tmpfs File-Based PHP Cache/Datastore in RAM

Published on 2012-07-21 23:00:46

It seems like only yesterday XCache was my knight in shining armour but a burst of segfaults has prompted the creation of a backup plan. We can use files on tmpfs to provide much the same function as XCache or APC’s shared datastore. Start by mounting a slice somewhere appropriate (this line is for fstab):

Removing virbr0 or Why The Fsck is My Dom0 NATting?

Published on 2012-07-21 21:32:33

I noticed one of my new Xen dom0s was coughing up our friend, the ip_conntrack: table full, dropping packet message today. If you like to get your money’s worth out of your dedis the RAM available to dom0 is probably limited – meaning a correspondingly low default ip_conntrack_max. I’m sure you can see how this

ip_ct_ras: decoding error: out of bound

Published on 2012-07-19 09:34:34

I recently started getting complaints from a client running VoIP services about lag and jitter. I wasn’t able to correlate the issue with any regular indicators and I have a number of people using VoIP services as a client on the same network who haven’t reported any issues. Looking closer at the router I noticed

Importing CSV Data to MySQL (Microsoft Access, Excel, etc.)

Published on 2012-07-05 20:00:16

I have the unenviable task of migrating some Microsoft Office Access tables into MySQL. The first step, assuming you don’t want to go through the pain of setting up a MySQL ODBC connection is to export these tables to Excel then use Excel to export the spreadsheets to CSV format. One might think one would

XCache: My PHP Opcode Cache and Datastore in Shining Armour

Published on 2012-07-04 20:07:27

I recently mentioned using APC with threaded Apache and PHP was incredibly unstable. For a few days I moved back to the prefork (process-based) Apache MPM to see if it was worth bringing back APC. This eventually ended up bringing the load average on the SQL VM to about 40 with what I would normally

PHP with Calls to ffmpeg Functions Terminate Early

Published on 2012-06-27 13:28:27

If your PHP scripts die suddenly on calls to ffmpeg functions you may have: - Built a new version of PHP without recompiling ffmpeg-php against it - Switched to or from thread safe PHP The solution in both cases is: # emerge --update --newuse ffmpeg ffmpeg-php

mpm_worker and Thread-Safe PHP are Toxic to APC

Published on 2012-06-27 13:09:02

Technically the reverse is true but with all the problems folks seem to be having with the threaded Apache MPM mpm_worker and the supposedly “thread safe” versions of PHP one wonders – though it is said PHP itself is thread safe but many of its add-ons (apparently APC among them) are not. I can testify

/bin/rm: Argument list too long

Published on 2012-06-27 12:47:04

You may encounter this error when deleting all the files in a given directory: /bin/rm: Argument list too long This happens because you can only pass 128K of command line and environment data; doing an rm * first fills that buffer with all of the filenames in the given directory. The solution is to feed

/etc/init.d/apache2 restart lags, fails with mpm_worker, SSL

Published on 2012-06-27 12:22:55

If you’ve switched to the threaded mpm_worker you may have noticed restarting apache sometimes looks like this: * Stopping apache2 ... [ ok ] * Starting apache2 ... * start-stop-daemon: /usr/sbin/apache2 is already running Then, if you wait for it to really die, this: # /etc/init.d/apache2 restart * apache2 not running (no pid file) *

max_input_fields: Why Your Long Forms are Being Chopped Off

Published on 2012-06-27 12:03:13

If you don’t keep your php.ini in sync with your PHP version you might be wondering why very large forms seem to be missing their bottom half when you go to analyse your $_POST array. Newer releases of PHP have a configuration directive called max_input_fields with a default value of 1000 which is meant to

Documentary for Dinner: The Iceman Tapes

Published on 2012-06-22 17:15:31

Richard Kuklinski, prolific mafia hitman known as “The Iceman” sits down for a series of interviews: Inside the Mind of a Mafia Hitman America Undercover: Confessions Of A Mafia Hitman 1 America Undercover: Confessions Of A Mafia Hitman

Documentary for Dinner: Let’s Make Money (2008)

Published on 2012-06-17 16:52:18

Let’s Make Money explores financial exploitation in both emerging and developed economies by following the hypothetical and hidden trail of an ordinary bank account depositor’s money. The film illustrates that while globalization is reducing the cost of goods and services, protectionist subsidization in developed countries reduces workers in the developing world to virtually unpaid slaves

Documentary for Dinner: The 2nd Assassination of JFK (2010)

Published on 2012-06-16 16:28:50

The 2nd Assassination of JFK bemoans the recent loss of funding and subsequent program terminations at NASA through interviews with retired employees and politicians in the vicinity of the Kennedy Space Center. Despite the jobs being lost as an indirect result of NASA’s de-funding I for one am quite optimistic about the future of corporate

Documentary for Dinner: The Day Reagan Was Shot (2001)

Published on 2012-06-14 15:06:15

The second film in Oliver Stone’s presedential biographical trilogy, The Day Reagan Was Shot recounts how the most powerful nation on earth was reduced to a headless chicken by the actions of one nutter. magnet:?xt=urn:btih:3338be80b396021bfe1a1b7e1d42cb01de9b4ab4&dn=THE+DAY_REAGAN_WAS_SHOT.avi&tr=udp%3A%2F%2Ftracker.openbittorrent.com%3A80&tr=udp%3A%2F%2Ftracker.publicbt.com%3A80&tr=udp%3A%2F%2Ftracker.istole.it%3A6969&tr=udp%3A%2F%2Ftracker.ccc.de%

Documentary for Dinner: A Competent Democracy (2012)

Published on 2012-06-14 11:41:54

A Competent Democracy (newfuturemedia.net) examines the purported shortcomings of politics-based democracy and endorses a more technical approach. While this short film feels like an abbreviated Venus Project documentary I am always happy to watch something that is more about solutions than problems. I am reminded of Voltaire’s preference for enlightened despotism: Democracy seems suitable only

Wall Street Journal Says Big Screens are Bandwidth Hogs

Published on 2012-06-13 14:06:42

Wall Street Journal contributor Clint Boulton gaffed in a blog entry Monday titled “CIOs Beware: New Macbook Pro Will Be a Bandwidth Hog.” Clint argues that larger screens take up more bandwidth, apparently forgetting that there is a difference between screen resolution and the actual resolution content is delivered in: …Better quality displays require more

Documentary for Dinner: People & Power: Iran and The Bomb (2012)

Published on 2012-06-13 11:59:00

This episode of the Al Jazeera-produced People & Power series examines Iran’s nuclear program. At about 14:30 the argument is made that due to the short half-life of medical isotopes allegedly to be produced by a certain reactor its location doesn’t match the official story since the materials are likely to “decay before you even

Documentary for Dinner: War Promises (2009)

Published on 2012-06-12 22:36:00

Despite the 9/11 Truth-y YouTube description which asserts that 9/11 was an inside job, this documentary mostly concerns itself with how the events of 9/11 have been used as a pretext for American imperialist expansion. Other interesting topics touched on include the India-Pakistan dispute over Kashmir and the use of Depleted Uranium (DU) munitions. Although

Documentary for Dinner: W. (2008)

Published on 2012-06-12 20:29:26

W. is Oliver Stone’s lighthearted but mostly true docudrama about the rise of infamous American president George W. Bush. Stone glosses over important parts of Bush’s life before politics and has been criticized for his portrayal of the Bush family dynamic but succeeds nontheless in making an enjoyable and informative film. magnet:?xt=urn:btih:3075c9013d5b3fdcf767b5353a7f464b5b6bcd90&dn=W.+%5Bdouble-u%5D+by+Oliver+Stone+%282008%29+H.264+DVDRip&tr=udp%3A%2F%2Ftracker.openbittorrent.co [..]

Documentary for Dinner: Backlight: Here Comes the Sun (2008)

Published on 2012-06-12 17:37:13

VPRO’s Tegenlicht/Backlight is among my favourite documentary series. In this 2008 film the reality of the solar economy is explored with special focus on Germany’s success

Documentary for Dinner: Ireland’s Secret Cults (2011)

Published on 2012-06-12 16:27:34

A look inside three cults operating in Ireland today: The House of Prayer, the Palmarian Catholic Church and Scientology. A few of the comments made by the presenters might lead one to believe that this production is slanted in favour of the mainstream Catholic Church, but this could well be the norm in the republic

Documentary for Dinner: Credo: Hare Krishnas (198?)

Published on 2012-06-12 16:12:08

Despite the harsh YouTube title on this video (“The Hare Krishna Cult”) Credo takes a rather objective look at Hare Krishnas in 1980s Britian, with special attention to white, middle class British converts to the strongly Hindu-themed religion. Admittedly, until watching this I didn’t know much more about the Krishna’s than what I had gleaned

Documentary for Dinner: War Made Easy (2008)

Published on 2012-06-12 15:57:12

I’m a very big fan of documentary films and thought I might start sharing what I’m watching in this new line of articles: Documentary for Dinner. Why this name? First, I like to watch documentaries when eating alone because by the time I’m done shoveling food into my face I can at least say I’ve

gen_initramfs_list.sh: Cannot open ‘/usr/share/v86d/initramfs’

Published on 2012-05-16 00:49:16

If you encounter this error while compiling a newer kernel: CC init/calibrate.o LD init/built-in.o HOSTCC usr/gen_init_cpio /usr/src/linux-3.2.12-gentoo/scripts/gen_initramfs_list.sh: Cannot open '/usr/share/v86d/initramfs' make[1]: *** [usr/initramfs_data.cpio] Error 1 make: *** [usr] Error 2 Emerge v86d: # emerge v86d Credit due: big my secret: Problem of make kernel about v86d initramfs

The CoreNetworks.net Scam

Published on 2012-05-10 10:44:44

It has been 30 days since I first told you about CoreNetworks’ unfortunate bandwidth test file placement, which they have still not bothered to correct. Against my better judgement I decided to give them a second chance this morning when, upon configuring my order for 100mbit/s port (+$10) and 3300GB (+$55) add-on I was surprised

Delete All Entries for a Given Criterion in ip_conntrack Table

Published on 2012-05-04 10:50:09

You may find yourself in a position where it is necessary to remove all the entries in Netfilter’s connection tracking table (ip_conntrack) for a particular criterion, like the source or destination IP. For example, I recently detected a user on one of my networks engaged in what was likely a TCP denial of service attack

ip_conntrack: table full, dropping packet.

Published on 2012-05-03 10:41:03

Connections in to and out of your network are working sporadically. Your router’s dmesg is flooded with “ip_conntrack: table full, dropping packet.” What do you do? This condition occurs when the connection tracking table has reached its limit. Connection tracking is a function of Netfilter that stores information like the source and destination IP addresses,

Parsing and Embedding Twitter Feeds in PHP

Published on 2012-04-22 21:36:16

Twitter feeds can be obtained in XML with this URL scheme: http://twitter.com/statuses/user_timeline/$username.xml?count=$count Where $username is the twitter user’s name and $count is how far back you want to go. If your environment allows url_fopen you can load the whole thing directly into an object with simplexml_load_file(). Portability is good and allow_url_fopen is arguably very dangerous.

Find and Delete the Largest Files on a File System

Published on 2012-04-17 21:09:43

The fastest way to find large or run-away files on a whole filesystem or specific directory is to run: find / -type f -follow -print | xargs ls -l | sort -r -n -k 5,5 | head -20 Where / is the target and 20 is the number of results you would like to see

Download: 32-bit PAE Xen Paravirtual DomU 3.2.12 Kernel

Published on 2012-04-17 18:28:02

This kernel is monolithic, ext2/ext3 compatible, xen paravirtualized and based off gentoo-sources-3.2.12. It should work with any 32-bit virtual machine running a recent version of udev, external or internal to the file system (pv/pygrub, initrd not reqired). Since this kernel uses the mainstream Xen support rather than Gentoo patches virtual partitions are now mapped to

Portage Errors: fatal error: gcrypt.h: No such file or directory

Published on 2012-04-17 18:11:33

When installing a number of packages – such as wireshark – that require but do not include libgcrypt as a dependency: packet-ssl-utils.h:37:20: fatal error: gcrypt.h: No such file or directory compilation terminated. make[5]: *** [libdissectors_la-packet-dtls.lo] Error 1 make[5]: Leaving directory `/var/tmp/portage/net-analyzer/wireshark-1.6.6/work/wireshark-1.6.6/epan/dissectors' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/var/tmp/portage/net-analyzer/wireshark [..]

I Schooled CoreNetworks.net

Published on 2012-04-09 11:07:17

I was considering CoreNetworks.net after my crummy experience with iWeb last week because I had a dedicated with them once upon a time and their support team was really fast and courteous. I know someone personally who has been with them for three years and the reviews around the web generally concur that the support

sys-devel/libtool-2*:1.5 is blocking sys-devel/libtool

Published on 2012-04-05 16:21:44

If you encounter libtool blocking itself in an update: [blocks B ] =sys-devel/libtool-2*:1.5 ("=sys-devel/libtool-2*:1.5" is blocking sys-devel/libtool-2.4-r1) Update libtool independently before proceeding: # emerge --update libtool

Portage Errors: sys-apps/sysvinit is blocking sys-apps/util-linux

Published on 2012-04-05 16:03:39

If you encounter a block error for util-linux from sysvinit: [blocks B ]

Nine Web and Server Hosting Providers I Hate

Published on 2012-04-04 21:51:59

I’ve had a lot more crummy experiences with web hosts, collocation and dedicated server providers than I have glowy, happy ones – as seems to be the case for most everyone in this industry subject to a budget. For your benefit (and my therapy) here are some of the crappier ones I have had the

PayPal Here: PayPal to Release Card Reader and App for Androids, iPhones

Published on 2012-04-04 18:52:45

PayPal Here is an exciting new feature PayPal will be launching in Canada soon that promises to bring credit card processing (and, naturally, PayPal payments) to merchants who are under-serviced by traditional Point-of-Sale transaction processing. By giving anyone with a smartphone the ability to take plastic or PayPal it will soon be possible for very

Easter Cooking Chez Karma: Sacrelasagna (Four Cheese Scalloped Potatoes with Peameal Bacon)

Published on 2012-04-04 15:33:59

This American-South-meets-Canada dish is delish and succeeds at offending all three major religions! Not only will we be cooking with pork it’s going to be virtually poached in dairy for bonus points. You will need: Potatoes, pealed (optional) and sliced thinly (not optional) Milk A bunch of different cheeses that are appropriate for cooking, I

Always Test the RAM on a New Server!

Published on 2012-03-28 20:40:04

Don’t expect your provider to do it for you! I ran into paging errors on bootup with the monolithic 2.6.38 paravirtualized Xen kernel I published here and have been using without issue for over three months on a new dedicated server with a similar dom0 software configuration as the one it was compiled for. The

“Anonymous” Threatening to “Shut Down Internet” March 31

Published on 2012-03-28 16:35:27

Apparently some among legion want to DRDoS the root name servers with the same sort of UDP-spoofing DNS amplification attack I have had personal experience defending against. I’m not going to get into how horribly misguided this is, how negatively this is going to affect the cause’s image or some long-winded speech on ethics. I

Portage Errors: sys-devel/patch is blocking sys-libs/glibc

Published on 2012-03-23 20:44:56

If you run into this error while updating glibc: # emerge --update gcc glibc * IMPORTANT: 6 news items need reading for repository 'gentoo'. * Use eselect news to read news items. Calculating dependencies -[root@hd-t3672cl ~]# xm console dns2 ... done! [ebuild U ] dev-libs/mpfr-3.0.1_p4 [2.4.1_p5] [ebuild U ] sys-devel/gcc-config-1.5-r2 [1.4.1] [ebuild N ] virtual/os-headers-0

Testing Download Speed and Latency with AJAX

Published on 2012-03-21 22:46:54

I came across this script while looking for something that would let me quickly determine a user’s download speed. I’ve improved upon it by detecting latency (and HTTP header overhead) then subtracting it from the total time of the bulk download to yield more accurate results. You must supply a large file to download, the

Fix Missing mbstring Functions in PHP on Gentoo

Published on 2012-03-16 17:26:12

If your web software complains about missing MultiByte String (mb_*) functions like so: Call to undefined function mb_internal_encoding() Add the USE flag ‘nls’ for versions 5.1 and under, ‘unicode’ for versions 5.1 and over then rebuild: # USE="unicode" emerge --newuse php --ask ... [ebuild R ] dev-lang/php-5.3.8 USE="unicode*"

Raspberry Pi Update: Early Bird Gets the Lemon

Published on 2012-03-15 09:21:45

Feeling a little better about not being among the first to order now. From their blog: It’s inevitable, isn’t it – you’re freewheeling along perfectly happily and then you get a puncture.As you’ll have noticed, there’s been a bit of a delay in shipping the first batch of Raspberry Pis out to people. This is

TypeError: Object # has no method ‘create’

Published on 2012-03-11 17:22:59

If you’re running web software that bridges with Flex you will need to update the FABridge.js file to avoid errors like the one above with modern browsers. Download your copy of the latest SDK from http://opensource.adobe.com/wiki/display/flexsdk/Flex+SDK and do a simple drop-in replacement from frameworks/javascript/fabridge/src/bridge

Raspberry Pi Update

Published on 2012-03-09 11:13:36

The first run of Raspberry Pis sold out in a matter of seconds. Farnell and RS are now going through their long list of backorderers. I received this 3 days ago: Farnell/Newark/Element14/whatever the hell ever won’t begin shipping until June for we stragglers who were a couple hours late. The pre-order gives me a CAD

Fixing Africa: Kony 2012 and The Rise of Oh-Dearism

Published on 2012-03-08 19:17:53

I’m among the thousands who have watched the recently distributed Kony 2012 film and like many of its viewers felt briefly compelled to help carry out its sole objective: dissemination. I would be a hypocrite to help propagandise; I’ve never really cared “enough” about the plight of Africans and to start pontificating now would be

Raspberry Pi Launched, Still Won’t Be Out Forever

Published on 2012-03-01 14:08:21

I registered with both vendors supplying the new Raspberry Pi only hours after they announced the launch. While I still haven’t heard from Premier Farnell, RS has been running through the long list of other contenders today. I received this minutes after a friend in the UK: Dear Customer Thank you for joining the Raspberry

Make Magnet Links Work in Firefox

Published on 2012-02-29 22:32:00

Since The Pirate Bay dropped torrent files and started only providing magnet links other day it became quickly annoying that Firefox wouldn’t open them or associate them with my torrent client, The error message one encounters is: Firefox doesn't know how to open this address, because the protocol (magnet) isn't associated with any program The

Implementing One-Time Pads in JavaScript

Published on 2012-02-29 11:48:32

I have always been fond of the One-Time Pad. There are a lot of paranoid people who think admins have nothing better to do than sit around reading private messages all day and I thought it would be neat (even if never used) to implement client-side OTP encryption. Not having the time to do this

Heart-Stopping Cheese Sauce in Under 5 Minutes

Published on 2012-02-29 11:14:37

Making cheese sauce is a delicate process but you should have no trouble producing a smooth, consistent result if you follow these steps. I don’t cook with measurements but the ratios are something like this: one part flour to one part butter, six parts milk and five+ parts cheese. It is important to have your

Loading The List of Fan-fiction Kinks, Tropes, and Clichés Into a MySQL Table

Published on 2012-02-26 18:19:39

The List of Fan-fiction Kinks, Tropes, and Clichés is 388 items long and was posted by Anna S in 2006. It is the foundation for many kink/fetish lists used on the web. It may be more convenient for you to work with this list in a database, in which case create a file called fetishes.txt

Replacing a Ceiling Light Fixture

Published on 2012-02-25 19:19:29

For obvious reasons I didn’t like the stock fixtures in my bedroom: Or my bathroom: Because crappy fixtures take all the swank out of X10 dimmers. We can see there was some buggery in here to get the bathroom fan running in series with the light (which I fixed the other day). The box is

X10 Security: PS561 Console DS12A Magnetic and GB10A Glass Sensors

Published on 2012-02-24 16:13:13

The PS561 Voice Dialer Security Console integrates up to 16 security sensors with your X10 home automation system. When the alarm is tripped the console will dial up to four preprogrammed numbers and allow the party on the other end to listen in. This suffers, of course, from the fact that the mic is in

Installing a Recessed Bathroom Tissue Holder

Published on 2012-02-24 14:40:42

The last goon who lived here ripped the surface-mount toilet paper roll holder out of the wall. These holes are easily cleaned and filled in with spackling paste. Cut any of the paper fluff from around the edges of the holes at an angle so that the hole is tapered inwards. Unfortunately, bigger holes require

Running New Romex and Adding an Electrical Box to Re-Install a Bathroom Fan

Published on 2012-02-21 11:14:15

One of the bathroom fans in my new pad was installed by the same Joe Handyman that brought you electrical tape on a wall switch and the decorative phone jack. Not only is the fan wired in series with the light switch, the switch is screwed into the drywall and the neutral is running up

Installing a WS12A X10 Decorator Style 3-Way Dimmer

Published on 2012-02-20 13:19:01

Ok so I lied in my first article on X10: I’m sticking with it. Insteon is unfortunately still out of my price range for a house I don’t own (I don’t want to have to rip everything out of the walls when I leave). X10, for that matter, is out of my price range –

Fun With Vapour Part Seven: That’s a Wrap.

Published on 2012-02-17 17:00:26

I’ve been a non-smoker for three months now. I haven’t hit the e-cigarettes in as many weeks. I recently bought $60 worth of new flavours and syringes and dropper bottles because I expected vaping to replace smoking in my life but most of the first flavours I ordered remain unopened. Don’t get me wrong –

Installing Cat5e 8P8C Wall Plate and RJ-11 Telephone Jack

Published on 2012-02-15 18:09:10

This is more of an anecdote than a tutorial since I threw it together with what was handy and wouldn’t endorse this kind of work on-site. I love moving. Broken back, head-to-toe agony and thousands of dollars vaporized aside – it gives me an opportunity to put new holes in walls and try to make

Fix Mouse and Keyboard Stop Working after Update on Gentoo

Published on 2012-02-15 13:13:28

My mouse and keyboard seem to “disappear” the next time I boot into a freshly upgraded version of Xorg on Gentoo without fail. http://forums.gentoo.org/viewtopic-t-892706-view-previous.html?sid=0560bd180d44bc6b6eb27d8454e2f31f – eccerr0r: Xorg does an internal check that the OS doesn’t (dynamic linker). They probably did this because they tend to do minute API changes that aren’t ELF linkable (like saying

kde-base/kopete-4.7.4 Fails Build on kopete_wp.so

Published on 2012-02-13 22:09:18

If you encounter this error while installing the latest version of kopete: Linking CXX shared module ../../../lib/kopete_wp.so [ 51%] Built target kopete_wp make: *** [all] Error 2 * ERROR: kde-base/kopete-4.7.4 failed (compile phase): * emake failed * * If you need support, post the output of 'emerge --info =kde-base/kopete-4.7.4', * the complete build log and

Fix Unable to connect to xend: Connection refused. ExpatError: no element found

Published on 2012-01-23 19:32:28

The error message Unable to connect to xend: Connection refused. Is xend running? can be caused by a number of issues, but if your xend.log contains lines regarding syntax, such as: [2012-01-23 11:33:37 5670] INFO (SrvDaemon:227) Xend stopped due to signal 15. [2012-01-23 11:33:38 6427] INFO (SrvDaemon:332) Xend Daemon started [2012-01-23 11:33:38 6427] INFO (SrvDaemon:336)

Gestapo Bootfuck Megaupload, Anonymous Quick on the Draw

Published on 2012-01-19 17:19:28

A little over a month since the release of the Megaupload Song New Zealand police have arrested co-founders Kim Dotcom and Mathias Ortmann along with two of their underlings today. Some irony at play in that yesterday was Wikipedia/Reddit/etc’s annoying-but-effective SOPA protest/blackout. Federal prosecutors have accused it of costing copyright holders more than $500m (£320m)

The Telus LG Optimus One (P500h): Not The Worst Thing Ever

Published on 2012-01-18 16:45:51

About a year ago I shared my nightmarish adventure on the Keybo2 with you. It’s finally dying and I’ll be moving soon so I decided it was high time for a new phone. In my time with the Keybo, Telus and Virgin began offering actual smartphones on their prepaid plans. Unfortunately, Telus is the only

Everything I Wanted to Tell You About X10 Home Automation

Published on 2012-01-04 21:00:10

…But Didn’t Have the Time to Say I had been meaning to chronicle my tinkering with Home Automation in the same way I have been documenting my ongoing experience with Electronic Cigarettes. Unfortunately, I never found the time to post as I made my installations and I will be moving soon, leaving most of them

GoDaddy’s Latest Scumbag Move Backfires, Damage Control Failing

Published on 2011-12-25 11:47:21

GoDaddy is no stranger to the ire of Internet liberty advocates but the last few days have seen what could be the registrar giant’s biggest PR blunder yet. Although GoDaddy has been involved with new American anti-piracy legislation Stop Online Piracy Act (or SOPA) since nearly its inception the media started buzzing when the U.S.

Horrible News in the Bradley Manning/Wikileaks Case

Published on 2011-12-19 22:22:38

New evidence emerged hours ago that implies a personal link between Bradley Manning, suspected of leaking the war logs – among other classified military information – to whistleblower organization WikiLeaks and Julian Assange, the embattled spokesman thereof. This poses a problem for WikiLeaks; if it can be proven Assange or an associate intentionally helped Manning

ClearOS: Can Not Ping Internal or External Gateway IPs from Open DMZ Host

Published on 2011-06-21 12:00:23

You may find yourself unable to ping the local and remote IPs of the ClearOS router from a host configured with a public IP address participating on a DMZ subnet. I haven’t had time to find out why but it is possible to address this by explicit

Portage Errors: dev-libs/libaio final link failed: Nonrepresentable section on output

Published on 2011-06-09 07:55:53

You may encounter output similar to this when compiling libaio (a dependency of multipath-tools) if you have enabled Stack Smashing Protection in your CFLAGS: io_getevents.os:io_getevents.c:(.text+0xe1): more undefined references to `__stack_chk_fail

Fun with Vapour Part Two: Great News from the United States

Published on 2011-04-26 11:35:02

From http://www.huffingtonpost.com/2011/04/26/e-cigarettes_n_853828.html: RICHMOND, Va. — The Food and Drug Administration said Monday that it plans to regulate smokeless electronic cigarettes as tobacco products and won’t try to regulate

Portage Errors: cc1: out of memory

Published on 2011-04-13 10:29:22

This condition occurs when the compiler requires more memory than is currently available. It is not unusual for SSH sessions to drop when an out of memory error occurs, as you can tell from the output in this VM’s dmesg: Out of Memory: Kill pro

Portage Errors: libselinux and libsemanage won’t emerge with Python 3.x

Published on 2011-04-13 10:11:46

You may encounter this problem with libselinux and libsemanage when attempting to compile them while Python 3x is set as the default interpreter. make PYLIBVER=python3.1 pywrap make -C src pywrap make[1]: Entering directory `/var/tmp/portage/sys-libs

Portage Errors: gcc-config: error: could not run/locate ‘gcc’

Published on 2011-04-13 09:55:08

This problem crops up when the active version of gcc has been removed (i.e. through emerge –depclean) before a different one has been selected. >>> Emerging (1 of 2) sys-libs/libselinux-2.0.71 * libselinux-2.0.71.tar.gz RMD160 SHA1

Portage Errors: touch: No such file or directory

Published on 2011-04-12 12:21:15

After updating coreutils you may encounter a problem using touch. This problem often manifests itself as a loop while trying to update other packages: * Touching gcc/cstamp-h.in * touch: setting times of `gcc/cstamp-h.in': No such file or directory *

Portage Errors: app-emulation/xen-tools NOT merged due to file collisions

Published on 2011-04-12 08:34:39

If you are updating your Xen installation from 3.x to 4.x you may encounter something like this: >>> Installing (1 of 3) app-emulation/xen-tools-4.1.0-r1 * This package will overwrite one or more files that may belong to other * packages

Portage Errors: app-emulation/xen-tools check_python FAILED

Published on 2011-04-12 08:14:10

You may run into something like this while updating or installing your Xen platform: >>> Emerging (1 of 3) app-emulation/xen-tools-4.1.0-r1 * xen-4.1.0.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * Package: app-emulation/xen-tools-4.1.0

Portage Errors: groupadd: invalid option — ‘r’

Published on 2011-04-06 16:34:23

You may encounter this error when installing packages that manage system groups if your installed version of shadow is older than version 4.1.4.2-r4: >>> Installing (1 of 27) net-misc/dhcp-3.1.2_p1 * Adding group 'dhcp' to your system ... * - Groupid

Fun with Vapour Part One: “Health E-Cigarette” Electronic Cigarette

Published on 2011-04-02 10:27:39

I wondered for a while if this topic would be best suited here but eventually concluded that electronic cigarettes are a clever way to hack smoking ;) The electronic cigarette fad appeals to me on many levels, but foremost because I believe it is a p

Portage Errors: Portage is Blocking Python

Published on 2011-03-30 11:25:09

I started updating a pair of neglected Xen servers a few days ago and I ran into this problem: xen2 ~ # emerge portage * IMPORTANT: 3 news items need reading for repository 'gentoo'. * Use eselect news to read news items. Calculating dependencies...

Apple iSight G5: iMac From Hell

Published on 2011-03-25 17:08:15

I haven’t given macs much thought since they switched to Intel and my computer repair days are long behind me but one of my clients is a doll of an ol’ gal who eats, sleeps and breathes mailing lists and when her old mac started crapping

Beefcase

Published on 2011-02-15 19:20:20

As a dedicated IT professional on-the-go I can tell you that losing my laptop would be like losing one of my hands. Fortunately, today I can guarantee the former will only happen in the event of the latter. If you’ve ever wanted to raise the un

Dumpster Diving Part One: Meet the Nortel Meridian Norstar Modular Key Phone System/PBX

Published on 2011-02-10 12:17:44

I recently partook in a pleasure which I have not indulged for some years. I went dumpster diving. I noticed a company was tossing out their old Meridian phones and made plans to return at night in hopes of scoring the whole system. These phones, unf

Sniping k-fox.com

Published on 2011-02-03 09:04:08

If my last article told you one thing it should be that I HATE e-mail. About a week ago I started receiving spam from domain fraudsters regarding the upcoming sale of k-fox.com (http://k-fox.net/ is my furry business card). This is by no means an unu

You are Your Own Worst Enemy

Published on 2011-02-02 12:50:05

Before I begin this article I must point out that some of the subject matter is of an adult nature and some links may lead to pages that are NSFW, but within the confines of this site we will keep things thoroughly scientific and PG-13. In a change f

Transparent HTTP/DNS Anonymity, Encryption and Filtering with TOR, Privoxy, Squid, DansGuardian and dnsmasq on ClearOS

Published on 2011-01-22 15:02:30

In this article we will use Tor and Privoxy with dnsmasq and netfilter on ClearOS to transparently encrypt and anonymize web and DNS traffic on an entire private network or a single host without necessarily having to reconfigure any of its constituen

Fix: Multiple NICs on Same Layer 2 Network Broadcast All MACs on ARP request

Published on 2011-01-14 13:21:52

By default when a Linux host is connected to the same layer 2 network by two network interfaces (i.e. plugged into the same or connected switch (and VLAN) or attached to a bridge in similar configuration) ARP requests for any IP on the NICs in questi

BotHunter Headless on ClearOS with TOR

Published on 2011-01-13 18:31:29

I was inspired to play with BotHunter by this article: https://www.whataboutbob.org/public/?p=102 I’m not fond of running GUIs on firewalls (let alone virtual machines) and I’ve been writing about using TOR with ClearOS for an upcoming

ISC Contacts L’il Ol’ Me!

Published on 2011-01-11 09:23:26

Someone from ISC contacted me a couple days ago regarding the ongoing DRDoS attack one of my client’s DNS servers has been involved in for months, see the comments section of ISC.org DRDoS Update 2: Problems with .nl Netherlands TLD. I was quit

ISC.org DRDoS Update 2: Problems with .nl Netherlands TLD

Published on 2011-01-03 13:25:10

I provided a netfilter rule in my last update that indiscriminately drops packets containing the string “isc.org” on port 53/UDP which I have had to implement on a client’s network due to one of their name servers being targeted as

Transparent Proxy for Hot Spot/Public Network Web-Based Authentication on ClearOS

Published on 2010-12-31 13:13:29

Despite the title  neither making a hot spot nor “public” network is my intent in this article, but what it will cover can be directly applied to these situations. One of my clients is a small ISP and collocation datacentre which has a n

Cleaning up Snort’s Droppings on ClearOS

Published on 2010-12-15 13:30:49

In the last couple of weeks a wave of attacks has seen the snort packet logs on a client’s firewall fill the disc to capacity, causing all sorts of wonderful problems. Packet logging is optional and usually only worth the trouble if you are act

Search Engines for Fun and Profit Interlude: The Bungle

Published on 2010-12-12 10:45:56

In my last article I talked about using NFS to separate resources for indexing and querying. I mentioned my preference for using a third, dedicated file server for both indexing and query servers. It didn’t take long before the graphs told me t

© 2006-2013 OnToplist.com, All Rights Reserved