Hi
I wanted to install perl-DBI which is a dependency of git-1.7.3.4-1.el5.rf.i386.rpm
when I wanted to install git-1.7.3.4-1.el5.rf.i386.rpm by running
yum install git-core
or even running
rpm -i git-1.7.3.4-1.el5.rf.i386.rpm
it prompted me with a notice that
Error: Missing Dependency: perl(DBI) is needed by package git-1.7.3-1.el4.rf.i386 (rpmforge)
THe fix is so easy
just go to the file /etc/yum.conf using a …
25 March 2011
3 comments
Sometimes the server were blocking connections and from about 10 time requesting the sites on the server one of them would show the site hosted on that server or in the midle of serving a connection time out would occure.
In this situations I would went ahead to restart all of …
18 March 2011
No comments
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
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
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
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
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
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
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
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