Viewing Category » Linux

fixing ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/lib /mysql/mysql.sock’ (2)

Post Thumbnail of fixing ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib  /mysql/mysql.sock' (2)
 MySql       

fixing ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/lib /mysql/mysql.sock’ (2)
This may have so many causes
but the cause that i encountered today was because of permission problem both on the the /var/lib/mysql directory and also on /var/run/mysqld/
so I ran
chown -R mysql:mysql /var/lib/mysql
and also the …

14 November 2010  No comments

Fixing Error InnoDB: The error means mysqld does not have the access rights to

Post Thumbnail of Fixing Error InnoDB: The error means mysqld does not have the access rights to
 MySql       

When I wanted to fix my friends MySQL service one of the errors that loged in the
/var/log/mysqld.log
was the following
101114 12:45:43  mysqld started
101114 12:45:43  InnoDB: Operating system error number 13 in a file operation.
InnoDB: The error means mysqld does not have the access rights to
InnoDB: the directory.
InnoDB: File name ./ibdata1
InnoDB: File …

14 November 2010  No comments

Fixing Error Timeout error occurred trying to start MySQL Daemon.

Post Thumbnail of Fixing Error Timeout error occurred trying to start MySQL Daemon.
 MySql       

If you encountered this error
Timeout error occurred trying to start MySQL Daemon.
while you wanted to start MySql service by running the command service mysqld start, this may have so amny reasons
one may be that there is some /etc/my.cnf misconfigurations or there maybe some owbership of user or group misconfigrations in
/var/lib/mysql …

14 November 2010  4 comments

fixing [ERROR] /usr/libexec/mysqld: Can’t create/write to file ‘/var/run/mysqld/mysqld.pid’ (Errcode: 13)

Post Thumbnail of fixing [ERROR] /usr/libexec/mysqld: Can't create/write to file '/var/run/mysqld/mysqld.pid' (Errcode: 13)
 MySql       

Today I had to fix so many of ones server permission taht coudln’t start the MySql SERvice on a linux server
after fixing so many ownership finally I got this error in the log file
/var/log/mysqld.log
that had the following log in there
101114 12:43:42  mysqld started
101114 12:43:42  InnoDB: Started; log sequence number 9 …

14 November 2010  No comments

Remove Default Centos Firewalled port 80′

Post Thumbnail of Remove Default Centos Firewalled port 80'
 Centos       

Firewalled Port after each restart on Centos
If You have Experienced problems connecting to your port 80 after restarting a Centos Lniux server that needs the firewall to be stopped don’t worry and don’t feel that it is normal to have iptables or firewalls stopped after Each restart
The Apache webserver is …

9 November 2010  No comments

Linux Command to Copy and Overwrite on the New Destination Folder

Post Thumbnail of Linux Command to Copy and Overwrite on the New Destination Folder
 Centos       

About a couple of days ago I needed to copy some files from other destination to the new destination and have the current destination overwritten .The reason I wanted to do that was because my Linux Centos server crashed and I didn’t have a new backup of some hosting accounts,So …

5 November 2010  No comments

Linux Command to extract .tar.gz & .tar.bz2

Post Thumbnail of Linux Command to extract .tar.gz & .tar.bz2
 Linux       

Extracting .tar.gz linux Command Line
For Extracting .tar.gz you should use the following command line
tar -zxvf filename.tar.gz
Extracting to a certain directory
And for extracting it to a certain directory use the following structure
tar -xvzf file.tar.gz -C directory
Example
tar -xvzf Mplayer.tar.gz -C /src
Extracting .tar.gz linux Command Line
For Extracting .tar.bz2 you should use the following …

29 October 2010  No comments

Protect Server From DOS attack with csf Firewall DDOS protection Feature

Post Thumbnail of Protect Server From DOS attack with csf Firewall DDOS protection Feature
 CSF Firewall       

How CSF Can Protect your Server From Dost Attacks
there is a new built-in feature with newly version of CSF that can protect your serer against Dos Attack
you can easily protect any of your open ports against dos attack by providing their port in the field of its configuration
forexample that one …

16 August 2010  No comments

Why CSf Firewall Status: Enabled but in Test Mode?

Post Thumbnail of Why CSf Firewall Status: Enabled but in Test Mode?
 CSF Firewall       

Why Csf Firewall is notifying me by this warrning
Firewall Status: Enabled but in Test Mode – Don’t forget to disable TESTING in the Firewall Configuration
Dont become worry, it is just saying that your firewall is in test mode and is not active.This is because by default after you installed CSf, …

3 August 2010  5 comments

FFMPEG Auto Installer

Post Thumbnail of FFMPEG Auto Installer
 Linux       

it was always so hard for me to install ffmpeg and all of its dependencies every time such as flvtool2 mplayer lame ffmpeg-php and so on.it took me about 2 or 3 days or so for installing and configuring them that it was because of even error in the installing …

12 May 2010  No comments
 Page 2 of 4 « 1  2  3  4 »
CrossBlock designed by DeltaManual.Com  |  In conjunction with Web Hosting   |   Web Hosting   |   Reverse phone