Web Hosting Blog

Blog for Web Hosting Issues, FAQ’s, Tutorials and Troubleshooting, Blogging

Entries for the ‘Linux Hosting’ Category

Gcc biginners linux c programming.

Greetings,
Lets start with the basic.
Source: Youve probably seen this before Download Source In Linux (or unix) you will most likely be dealing with source code. This is actually the raw instructions that are written by the programmer. You can not run these! So dont try icon_smile.gif. You need to first compile them (well get to [...]

Maximum file limit has been reached

Maximum file limit has been reached :
Many times we get an error called the maximum number of files that can be opened has reach the limit, you can fix the issue as ;
In order to resolve this, you will have to login as a root on your server and edit the file called /etc/sysctl.conf
vi /etc/sysctl.conf
Add [...]

Learn vi Editor Basics…

Getting Started
The command “vi” without any file name will open a new file where you can enter the text and edit but while coming out you will be asked to enter a valid file name to save the text.
“vi” with a existing file name will open that file for editing.
After a file is opened it [...]

Install php - GD on Plesk with linux server

Hello,
The Plesk Hosting software package is a commercial hosting automation software. It allows to setup set up new websites, email accounts, and DNS entries through a web-based interface.
The php gd package contains a dynamic shared object that will add support for using the gd graphics library to PHP. If users are using popular CMS software [...]

No space left on device: mod_rewrite: could not create rewrite_log_lock

Hello,
If you are getting
No space left on device: mod_rewrite: could not create rewrite_log_lock
error while restrating apache then do this to fix it (replace “apache” with the name of the
user apache runs as):
ipcs -s | grep apache | perl -e ‘while () { @a=split(/s+/); print `ipcrm sem $a[1]`}’
Enjoy..
Bookmark Me

Install Mod_perl on cpanel server

This set of instructions will show you how to easily install mod_perl onto a cpanel server.
1) Create a new account, or choose an existing account where you will install mod_perl. I typically choose either the rvskin admin account or fantastico admin account. This tutorials will assume you install it in the rvadmin account.
2) SSH into [...]

Automatic way to fix RPM installations

Automatic way to fix RPM installations :
If you are installing rpm which is having many dependancies then you can do it with the up2date utility. It will automatically install all the dependencies for rpm package that is installed. If you have access to Red Hat Network (RHN) you can use the command up2date to update [...]

Setting a Universal Co-ordinated Timezone

Setting a Universal Co-ordinated Timezone
If your company is in country A; the data center is having timezone B; your customers are in country Y; and say their users are in country Z.
In this case you can  try Universal Co-ordinated Time (UTC).
Please edit the file /etc/sysconfig/clock as
vi /etc/sysconfig/clock
and change the UTC line as
“UTC=true”
You can set localtimezone [...]

Permission denied: .htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable

Hello,
If you are getting 403 error on your site with following messege in your error log
Permission denied: /home/user/public_html/subdomain/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
Then it seems that the nobody user is not getting read and executing permission upto any of that folder.So make sure that the public_html and the subdomain are [...]

What is PEAR

PEAR Is short for ‘PHP Extension and Application Repository’
PEAR is having it’s primary goal to become a repository for PHP extensions and library code. The most important goal of the PEAR project is to try to define standard coding packages that can be used be developers directoly and it is re-usable coding.
Each package is a [...]