HostOnNet Blog

Author Archives: admin

How to extract RAR files in Ubuntu

To extract rar file, you need to install unrar with sudo apt-get install unrar To extract a rar file, go to command line, run unrar x fileName.rar For other command line options of unrar, run man unrar


Zend Framework error MySQL server through socket /tmp/mysql.sock

On a new apache/mysql installation, i got following error when connecting to mysql database in zend framework. This is because no socket /tmp/mysql.sock exists. Can be fixed by symlink to actual socket. To find mysql socket, in mysql command prompt


Enable Apache Mode Rewrite in ubuntu

You need to run “a2enmod rewrite” to enable apache mod_rewrite. hon@hon-desktop:~/web$ sudo a2enmod rewrite Module rewrite already enabled hon@hon-desktop:~/web$ In my case it was already enabled, still .htaccess was not working. It was the default site, so i need to


Install festival tts in ubuntu

festival is a tts (text-to-speech) software in ubuntu that offers several different voices. To install festival, run sudo apt-get install festival Now to use festival, in command line type echo “Host On Net Provides Web Hosting” | festival –tts Or


Can’t login to mail account

On a Cpanel server, a client can’t login to his web mail. I tried to reset his email account password from cpanel. Still web mail do not allow him to login. This error is fixed by running /scripts/fixpop [root@server56]# /scripts/fixpop


Go with Mac (or Linux) if you don’t want virus

Advertisement by Apple Mac. The Get A Mac Ad: ‘Top Of The Line’


Kerala Radio

Listen to Malayalam songs online with KeralaRadio.in http://keralaradio.in The site is powered by shoutcast software.


libphp5.so: cannot enable executable stack as shared object requires: Permission denied

On starting Apache, i got following error [root@localhost apache2]# service httpd restart Stopping httpd: [FAILED] Starting httpd: httpd: Syntax error on line 210 of /etc/httpd/conf/httpd.conf: Syntax error on line 6 of /etc/httpd/conf.d/zendserver_php.conf: Cannot load /usr/local/zend/lib/apache2/libphp5.so into server: /usr/local/zend/lib/apache2/libphp5.so: cannot enable


(response.c.544) file not found … or so: Too many open files

A site running lighttpd stopped working with 500 internal server error. On checking lighttpd log, found The error is fixed by editing /etc/lighttpd/lighttpd.conf and adding


Error: Missing Dependency: perl(Convert::ASN1) is needed by package samba-3.0.33-3.7.el5.i386 (base)

When i run “yum update” i get error [root@server28 ~]# yum upgrade ….. ….. samba-3.0.33-3.7.el5.i386 from base has depsolving problems –> Missing Dependency: perl(Convert::ASN1) is needed by package samba-3.0.33-3.7.el5.i386 (base) Error: Missing Dependency: perl(Convert::ASN1) is needed by package samba-3.0.33-3.7.el5.i386 (base)