Core.000 xxx number files in my drupal home/root folder

If you see core.000 number files in your root home folder you're not hacked or anything . They are just core dump files; they are files created when a program has terminated abnormally or crashed. Therefore you have program crashing in your drupal installation. You can eliminate this in the future by issuing a Linux command like this $ ulimit -c 0

Duplicate entry for key 'uri'

This problem happens when you are trying to upload an image or download an image from youtube or similar sites. To solve this problem we need to edit your mysql database using phpmysql or manually.
Navigate to file_managed table, go to the last row by clicking the double arrow and delete last entry. It will usually say something like temporary default.jpg or something like that, delete this entry and should be able to upload images again.

Setting up SuPHP in WHM for security reasons

Running Suphp is recommended to run your websites as it is more secure.

SuPHP allows directory to remain owned by user:usergroup and tight 0750 permissions (or even 0700). Furthermore, files created through PHP (uploaded files as well) will be owned by the effective user instead of nobody as they otherwise would be. This allows users to manage/delete/rename these files themselves as a normal cPanel-level user as opposed to requiring root access, or needing a server admin to change the ownership for them.

Sound good? If so, let's get started!
Building SuPHP Support

Drupal boost cache clear (solved)

In drupal 7, the boost module no longer has the "clear all cache" button.
Follow this instruction to clear it.
1 set minimum cache life time to 0.
2 take off the tick where it says" Ignore a cache flush command if cron issued the request".
3 Run drush cc all or flash all cache at the gui
4 run $ drush cron run or run cron at the gui
5. Repeat the process till boost cache is cleared.
Restart Apache if necessary
$ service httpd restart

mysql Open file limit error(solved)

This error will cause high load on your sever. There is a variable on mysql .cnf file. You may need to look at it check your variable and see if you can optimize your server. However, I found this file limit error was causing high load on my server.

Open your .cnf file with your favorite editor

nano /etc/my.cnf
change the open file limit to a number as high as 100 000
open_files_limit = 100000

Save and restart mysql server

service mysql restart

Apache Yahoo News Feed

Drupal Yahoo News

Linux Yahoo News Feed

Mysql Yahoo News Feed