Archive for August, 2010
PTY allocation request failed on channel 0
by ac3bf1 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!
How to flush DNS cache os x
by ac3bf1 on Aug.06, 2010, under Tech Junk
Leopard:
sudo dscacheutil -flushcache
Tiger:
sudo lookupd -flushcache

