Need someone to lead product management at your software company? I build high-craft software and the teams that build it. I'm looking for my next opportunity. Check out my resume and get in touch.

This is the blog of Adam Kalsey. Unusual depth and complexity. Rich, full body with a hint of nutty earthiness.

ejabberd Import errors

If you’re trying to import a Jabberd 1.x-style spool directory into ejabberd and you get an error that looks like...

RPC failed on the node ejabberd@localhost: {'EXIT', {{badmatch,{error,enoent}}, [{jd2ejd,import_dir,1}, {ejabberd_ctl,process,1}, {rpc,'-handle_call/3-fun-0-',5}]}}

... there’s a couple of things you can try.

First, make sure the directory and file are both readable by ejabberd. Heck, make them readable by everyone, just to make sure.

Second, make sure the XML file is valid. If you’ve got a spool full of bad XML, you can’t import it. Try xmllint yourspoolfile.xml and see if you get any errors.

Third, make sure you’re giving the full path to the spool directory and not just the relative path. ejabberdctl import-dir ./myspool/example.com won’t work. You need ejabberdctl import-dir /full/path/to/myspool/example.com instead.

Finally, try import-file instead of import-dir and make sure to use the full path to the file.

I just spent half the morning figuring all that out. Now the solution is on the intarwebs and in the search indexes, so maybe this will help someone else.

Recently Written

Should individual people have OKRs?
May 14: A good OKR describes and measures an outcome, but it can be challenging to create an outcome-focused OKR for an individual.
10 OKR traps and how to avoid them
May 8: I’ve helped lots of teams implement OKRs or fix a broken OKR process. Here are the 10 most common problems I see, and what to do instead.
AI is Smart, But Wisdom Requires Judgement
May 3: AI can process data at lightning speed, but wisdom comes from human judgment—picking the best imperfect option when facts alone don’t point the way.
Decoding Product Leadership Titles
Mar 18: Not all product leadership titles mean what they sound like. ‘Head of Product’ can mean anything from a senior PM to a true VP. Here’s how to tell the difference.
What branding can teach about culture
Jan 8: Culture is your company’s point of view in action—a framework guiding behavior, even in the unknown. You can’t copy it; it must reflect your unique perspective.
Think Systems, not Symptoms
Dec 15: Piecemeal process creation frustrates teams and slows work. Stop patching problems and start solving systems. Adopting a systems thinking approach helps you design processes that are efficient, aligned with goals, and truly add value.
Your Policies Aren’t Your Culture
Dec 13: Policies guide behavior, but culture is the lived norms and values of your team. Policies reflect culture -- they don’t define it. Netflix’s parental leave shift didn’t change its culture of freedom and responsibility. It clarified how to live it.
Lighten Your Process Burden
Dec 7: Everyone hates oppressive processes, but somehow we keep managing to create them.

Older...

What I'm Reading