Jonathan Arbib

Archive for August, 2010

PTY allocation request failed on channel 0

by on Aug.13, 2010, under Tech Junk

When installing a new virtual machine (Lenny) you may get this error:

PTY allocation request failed on channel 0

stdin: is not a tty

To fix this do the following:

Add the following line to /etc/fstab (in the domU):

none /dev/pts devpts defaults 0 0

Then run:

mkdir /dev/pts
mount /dev/pts

Enjoy!

Leave a Comment :, , more...

How to flush DNS cache os x

by on Aug.06, 2010, under Tech Junk

Leopard:
sudo dscacheutil -flushcache

Tiger:
sudo lookupd -flushcache

Leave a Comment :, more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Blogroll

A few highly recommended websites...