Sep 03

IOError: [Errno 6] Device not configured

A cryptic error message on Zope startup, but with a simple solution

A friend of mine was reporting this error after he migrated his Plone site to a new server. It's one I'd not come across before, so I thought I'd record the problem and solution here for posterity.

The error is because Zope was started in the foreground, but can't write (via the Python logging module) to the terminal. How could this be - surely there must be a terminal for Zope to be started in the foreground?

Not if someone does:

bin/zopectl fg &
exit

The solution: don't do that.

Hope that's just saved someone some digging!


I've disabled comments for now due to spam problems - I'll turn them back on when I've fixed it!

This won't be published anywhere, it's just in case I need to contact you.

You can use Markdown in your comments. Be sensible!

Sorry about this, but I don't want spam comments.