HostOnNet Blog

Author Archives: admin

could not build the server_names_hash, you should increase server_names_hash_bucket_size

After adding a virtual host on nginx, i got following error on restart root@server70 [/etc/init.d]# service nginx restart 2009/06/19 12:22:17 [emerg] 4322#0: could not build the server_names_hash, you should increase server_names_hash_bucket_size: 32 2009/06/19 12:22:17 [emerg] 4322#0: the configuration file /etc/nginx/nginx.conf


Creating zip archive in linux

Today i want to move a site from linux server to windows. Moving with FTP takes long. Normal tar.gz transfer will not work as windows by default do not support extraction of tar.gz file. To create a ZIP file on


registerAutoload is deprecated as of 1.8.0 and will be removed with 2.0.0

On a new Zend Framework project created with Zend Studio, accessing the public folder, git following error Notice: Zend_Loader::Zend_Loader::registerAutoload is deprecated as of 1.8.0 and will be removed with 2.0.0; use Zend_Loader_Autoloader instead in /usr/local/zend/share/ZendFramework/library/Zend/Loader.php on line 207 This was


Installing OpenVZ

Install instructions for OpenVZ available at http://wiki.openvz.org/Quick_installation Here is what i done to install OpenVZ on CentOS 5 32 bit OS/ cd /etc/yum.repos.d wget http://download.openvz.org/openvz.repo rpm –import http://download.openvz.org/RPM-GPG-Key-OpenVZ Find if OS is 32 or 64 bit using uname -a #


Debian: How to find a package is installed from .deb or source

When installing ffmpeg-php in a debian server, i got error # phpize -bash: phpize: command not found # This is because php-devel package is not installed on the server. Before installing, you need to find out whether php is installed


error: zlib not found on system or in local libs

On installing gpac i got following error on Debian 4 latinvideo1:/usr/local/src/gpac# sh ./configure error: zlib not found on system or in local libs latinvideo1:/usr/local/src/gpac# This is fixed by installing zlib. apt-cache search zlib apt-get install zlib-bin zlib1g zlib1g-dev zlibc


Error: Missing Dependency: perl(Crypt::PasswdMD5) is needed by package syslinux

When i run yum update I got following error root@server70 [~]# yum update Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * rpmforge: fr2.rpmfind.net * base: mirrors.service.softlayer.com * updates: mirrors.service.softlayer.com * addons: mirrors.service.softlayer.com * extras: mirrors.service.softlayer.com rpmforge | 1.1


Installing Monit On Linux CentOS Server

monit is an open source software that monitor services on your server. It can restart if any of the service go down. Download latest version of file from http://mmonit.com/monit/download/ cd /usr/local/src wget http://mmonit.com/monit/dist/monit-5.0.3.tar.gz tar -zxvf monit-5.0.3.tar.gz cd monit-5.0.3 ./configure make


Fedora 11 Released

Open Source community based Fedora Linux have released latest version of operating system. Some of the new features in Fedora 11 are Faster boot time Gnome 2.26.1 2.6.29-4 Kernel ext4 as the default file system KDE 4.2.2 For more info,


Reset Flash Media Server password

To reset flash media server password, got to folder cd /opt/macromedia/fms/conf Edit fms.ini vi fms.ini To change user name, password or port, modify following settings SERVER.ADMIN_USERNAME = admin SERVER.ADMIN_PASSWORD = superserver SERVER.ADMINSERVER_HOSTPORT = :1111 In this cause, user name is