Daily Archives: August 31, 2009

Enter into VE failed Unable to open pty: No such file or directory

If you face following error. [root@Node ~]# vzctl enter 445 enter into VE 445 failed Unable to open pty: No such file or directory This is a well known problem with udev

Unable to open pty: No such file or directory

# vzctl enter 1011 enter into VE  1011failed Unable to open pty: No such file or directory The fix is # vzctl exec   1011 /sbin/MAKEDEV tty # vzctl exec 1011 /sbin/MAKEDEV pty

Install pdo_pgsql in Cpanel server

Just use the command pecl install pdo_pgsql Then go for a Apache restart. It will be shown up in your phpinfo page

XCache Installation Cpanel

Download wget http://xcache.lighttpd.net/pub/Releases/1.2.1/xcache-1.2.1.tar.gz phpize ./configure –enable-xcache make make install Find the php.ini file. php -i| grep php.ini Edit the php.ini file Add the line below. Find other zend_extension lines. Add the line

configure: error: libpng.so not found

Please do the following. cd /usr/local/src wget http://prdownloads.sourceforge.net/libpng/libpng-1.2.26.tar.gz?download cd libpng-1.2.26 ./configure make make install