Missing mysql.sock file on server.


Cheap reseller Hosting


Some times,  MySQL service doesn’t work due to missing mysql.sock file , then you need to create manually mysql.sock file. Follow the below steps to create mysql.sock file.
First, login your server and check /tmp and /var/lib/mysql , you may see that there is no mysql.sock file(It is called also Symbolic file).
Follow the below steps.
cd /var/lib/mysql/
touch mysql.sock
chmod 1777 mysql.sock
chown mysql.mysql mysql.sock
Create a symlink for the sock file :-
ln -s /var/lib/mysql/mysql.sock /tmp
Once created, then restart Mysql service : service mysql restart
Your Mysql service should be back normal now.

Cheap web Hosting


Mysql Database size shows 0 in cPanel


Cheap reseller Hosting


Some times , database size doesn’t update in Cpanel . You can check it through Cpanel===> MySQL database ,  it shows database size “zero” even if there is available database data. You should follow below steps to resolve this.
==============================================
root@server [#] vi var/cpanel/cpanel.config
and search for following line.
disk_usage_include_sqldbs=0 ( set it to 1 instead of 0 )
wq:
then you need to  run the below command to update the changes.
root@sever[#] /scripts/update_db_cache
==================================================
then you check your mysql database site, it will show correct database size,

Cheap web Hosting


Warning: POST Content-Length of in Joomla.


Cheap reseller Hosting


Some times, you get below error while posting in Joomla . 

“Error  : Warning: POST Content-Length of 9897293 bytes exceeds the limit of 8388608 bytes in Unknown on line 0″
then you need to increase  “post_max_size”  in php.ini file
post_max_size =8M
Replaced with as per your require.
post_max_size = 12 M
then check it.

Cheap web Hosting


Images not loading for websites.


Cheap reseller Hosting


If you find that images are not loading in linux  server then you should disable php functions.

php.ini is configuration file of PHP.
Find exact path of php.ini
# php -i | grep php.ini

Or you can use the another command like

# php.ini
Configuration File (php.ini) Path => /usr/local/lib
Loaded Configuration File => /usr/local/lib/php.ini
then search disabled disable_function in that file and remove  “readfile” optionin in that line.
: wq!
then restart apache service.

All images should be work fine.


Cheap web Hosting


Understanding DDOS Attack !!!


Cheap reseller Hosting


What is DDos Attack ?

Compromised PCs, or “bots,” are formed into groups called “botnets” and are used as weapons by cyber-attackers to launch various forms of cyber attacks. These attacks range widely from DDoS to identity theft and clandestine intelligence gathering operations.
During Distributed Denial of Service attempts, attackers launch attacks using different techniques including HTTP, HTTPS, ICMP, SYN Floods, UDP Floods, DNS Request Floods, GET Floods, and others. The attack components are often used in combination, and range in size from a few hundred megabits per second (Mbps) to over 80 gigabits per second (Gbps). Increasingly sophisticated attacks are based around application requests at Layer-7.
Normally, DDOS consists of 3 parts . One is the Master ,Other the slave and atlast the victim. The master is the attack launcher ie the person/machine behind all this,sound’s COOL right . The slave is the network which is being compromised by the Master and Victim is the target site/server . Master informs the compromised machines, so called slaves to launch attack on the victim’s site/machine. Hence its also called co-ordinated attack.

How do they Do it ?

DDOS is done in 2 phases. In the first phase they try to compromise weak machines in different networks around the world. This phase is called Intrusion Phase. Its in the next phase that they install DDOS tools and starts attacking the victims machines/site. This Phase is called Distributed DoS attacks phase.

What Allowed them to Do ?

Vulnerable softwares/Applications running on a machine or network.
Open network setup.
Network/ machine setup without taking security into account.
No monitoring or DataAnalysis are being conducted.
No regular Audit / Software upgrades being conducted.
First Identify if you are really under attack. If yes, follow the below steps :
Check if your machines load is high and you have large number of HTTP process running.
To find the load just use the command w or uptime –
Eg:
ashish@localhost>w 12:00:36 up 1 day, 20:27, 5 users, load average: 0.70, 0.70, 0.57
USER XYZ FROM LOGIN@ IDLE JCPU PCPU WHAT
To find if there is large number of HTTP process running use the command ” ps -aux|grep HTTP|wc -l ”
Eg:
[ashish@localhost]# ps -aux|grep HTTP|wc -l
23
In a heavy server , the number of connection will go above 100. But during DDOS attack, the number will go even higher and thats when we need to find out from which all networks are these attacks coming. In DDOS the host machine doesn’t have much importance. Its the network which is of importance here because, an attacker will use any machine on the compromised network or even will use all the machines in the network. Hence network address is of importance while fighting with the attack.
However, there are some actions you can take to protect yourself. Here’s some basic advice:
Ensure that you have adequate bandwidth on your Internet connection. You’ll be able to foil many low-scale DDoS attacks by simply having enough bandwidth (and processing power) to service the requests.
Deploy an intrusion prevention system on your network. Some (but definitely not all) DDoS attacks have recognizable signatures that an IPS can detect and use to prevent the requests from reaching the Web server.
Use a DDoS prevention appliance, including any of the Cisco Systems Inc. Cisco Guard products, that is specifically designed to identify and thwart distributed denial-of-service attacks.
Maintain a backup Internet connection with a separate pool of IP addresses for critical users. While you won’t be able to switch all access to your website over to a backup connection (the attacks will switch at the same time!), you can provide critical users with an alternate path to your site if the primary circuit is swamped with bogus requests.
These tips should get you started on the road toward building a hardy Web infrastructure with the highest probability of surviving a DDoS attack. Good luck!

Cheap web Hosting


Hidden Facebook Smileys Emotions codes… Only 4 my Loving Frndzz…


Cheap reseller Hosting


Hidden Smileys and Emoticons:

Facebook emoticon smileyemote for a smile!

Really happy emote: 😀 or 😀

Facebook emoticon smiley emote for wink!
Wink emote: 😉 or 😉


Facebook chat smiley for happy eyes!
Happy eyes: ^_^

Facebook chat emote smiley for laughing eyes!
Laughing eyes: >:o

Facebook chat emote smiley for cat smile!
Cat smile: :3

Facebook chat emote smiley for grumpy!
Grumpy: >:-(

Facebook chat emoticon smiley for sad face!
Sad: 🙁 or 🙁

Facebook emoticon smiley emote for crying!
Crying emoticon: :’(

Facebook emoticon smiley emote for shocked!
Shocked emoticon: 😮 or 😮

Facebook emoticon smiley emote for cool!
Glasses emoticon: 8) or 😎

Facebook chat emote smiley for cool!
Cool shades: 8-|

Facebook chat emoticon smiley for tongue out!
Rude: :p or :-p

Facebook chat emote smiley for WHAT?!
WHAT?!: O.o

Facebook emoticon smiley emote for ummmm!
Dork emote: -_-

Facebook emoticon smiley emote for not amused!
Duhhh emote: :/ or :\

Facebook chat emote smiley for Devil!
Devil emote: 3:)

Facebook chat emote smiley for angel!
Angel emote: O:)

Facebook emoticon smiley emote for a kiss!
Kiss emote: :-* or :*

Facebook emoticon smiley emote for a love heart!
Love emote: <3

Facebook chat emote smiley for Pacman!
Pacman: :v

Facebook chat emote smiley for robot!
Robot: :|]

Facebook chat emote smiley for Putnam's face
Putnam’s face: :putnam:



Penguin
<(")

Cheap web Hosting


Shut Down system by double Clicking on Internet Explorer !!!


Cheap reseller Hosting


Double click on Internet explorer to Restart the Computer:

1) Goto Desktop
2) Right click > new > Shortcut
3) In “Type the Location of the item” > write: “C:\WINDOWS\system32\shutdown.exe -r -t 00″ without coutes.
4) Click next and in “Type a name for this shortcut” write ” Internet Explorer” and click Finish.
5) Now Right Click on the shortcut of Internet Explorer and goto “Change Icon” and select the icon of Internet Explorer.

6) Now Virus is Ready….. check it out.. when you will double click on Internet Explorer Shortcut… Computer will Restart.

7) This is just  a Prank… don’t Misuse it..

Cheap web Hosting


How to make a folder with name “con” ?


Cheap reseller Hosting


“CON” is the system keyword and you can’t create it using normal method. Just try cmd .

Folder with Name “con”

Goto command Prompt,

Goto the location where you want to make the folder with name “con”.

write the command: mkdir \\.\e:\con

To remove the folder again: rmdir \\.\e:\con

Cheap web Hosting


How to Reset the Ubuntu Password….


Cheap reseller Hosting


Reset Your Ubuntu Password

Reboot your computer, and then as soon as you see the GRUB Loading screen, make sure to hit the ESC key so that you can get to the menu.

Root Shell – Easy Method

If you have the option, you can choose the “recovery mode” item on the menu, usually found right below your default kernel option.

Then choose “Drop to root shell prompt” from this menu.

This should give you a root shell prompt.

Alternate Root Shell Method

If you don’t have the recovery mode option, this is the alternate way to manually edit the grub options to allow for a root shell.

First you’ll want to make sure to choose the regular boot kernel that you use (typically just the default one), and then use the “e” key to choose to edit that boot option.

Now just hit the down arrow key over to the “kernel” option, and then use the “e” key to switch to edit mode for the kernel option.

You’ll first be presented with a screen where you can find this written “ro single”

You’ll want to remove the “ro single” part with the backspace key, and then add this onto the end:

rw init=/bin/bash

Once you hit enter after adjusting the kernel line, you’ll need to use the B key to choose to boot with that option.

At this point the system should boot up very quickly to a command prompt.

Changing the Actual Password

You can use the following command to reset your password:

passwd

After changing your password, use the following commands to reboot your system. (The sync command makes sure to write out data to the disk before rebooting)

sync

reboot –f

I found that the –f parameter was necessary to get the reboot command to work for some reason. You could always hardware reset instead, but make sure to use the sync command first.

And now you should be able to login without any issues.

Cheap web Hosting


Firefox Shortcut


Cheap reseller Hosting


As we know Mozilla Firefox is very popular amongst all the browsers. It has lots of shortcut, so here in this post I am going to show you the shortcuts available in mozilla firefox.
Double-click (On a word)                                   Select the word.
Triple-click                                                              Select entire line.
Wheel click                                                              Activate the Smooth scrolling
Hold Ctrl + Scroll Wheel forward                   Increase font size
Hold Ctrl + Scroll Wheel backward               Decrease font size
Click one end, hold Shift & click another    Create a selection from the two points
F5                                                                                 Refresh.
F6                                                                                 Move focus to address bar.
F11                                                                               Toggle on/off full-screen mode
Alt + (Left Arrow)                                                  Go back on history. Same pas Backspace
Alt + (Right Arrow)                                               Go forward on history.
Ctrl + A                                                                       Select All.
Ctrl + B                                                                        Favorites.
Ctrl + C                                                                        Copy Selected.
Ctrl + D                                                                        Add the current page to favorite.
Ctrl + E                                                                        Search panel.
Ctrl + F                                                                        Find (on page).
Ctrl + H                                                                        Toggle History panel.
Ctrl + I                                                                          Toggle Favorites panel.
Ctrl + J                                                                          Download.
Ctrl + N                                                                         Open New browser window.
Ctrl + P                                                                          Print current page / frame.
Ctrl + R                                                                          Refresh. Same as F5
Ctrl + T                                                                           New Tab
Esc                                                                                   Stop (while page is loading).
Ctrl + Enter                                                                  Auto complete a url address
Shift + Enter                                                                 Complete a .net instead of a .com address.
Ctrl + Shift + Enter                                                     Complete a .org address.
Ctrl + Tab                                                                       Cycle through open tabs.

Cheap web Hosting


1 3 4 5 6