I came across a situation where ntpdate would not sync the time correctly in a Xen Virtual machine. The time was 10 minutes ahead of what it was supposed to be. Apparently , you need to force it to not use the dom0’s clock.
You may come across this error in newer version of apache which is because the newer configurations use an event based Multi Processing Module by default. If the PHP is not compiled with threadsafe, you will need to switch to the prefork MPM, which does not use threads.
When you use curl in Linux machines to make remote calls to SSL sites, you need to have latest root certificates installed. Recently I came across a situation where the newer root certificate were not available and so the remote call suddenly started failing.
D : This means the process is in uninterruptible sleep mode. Usually Input and output are in this mode.
R : Currently Running Process or is in the running queue.
S : Is in sleep state waiting for an event to complete.
T : Means the process is stopped by a signal.
X : X means a dead process.
Z : Zombie or dysfunctional process which has terminated.
L : This represents a process which has pages locked into the memory for real time processing or input output.
s : Means that this process is leading the session.
+ : Running in the foreground.
There are cases when you might accidently change the system permissions and you want to revert it back to default permissions. You can revert ownership and permissions on installed packages by using rpm or you can copy permissions from a clone machine if you have one.
You might have to deal with a lot of machines with different keys and ports. Here is a simple way to make that easier.
Edit / Create ssh config file.
Now whenever you try to connect to that host, it will use the key, username and port defined in this config file.
In this tutorial, I am showing how to setup GIT on Centos with SSH .
Now you should have gitosis.conf and keydir/ in your gitosis-admin directory.
git commit -a -m "New users to the repo repoName"
git commit -a -m "Created New users newUser1 and newUser2"
Note : In windows, you can use tortoise Git, you can save the session in putty and use the session name in stead of hostname in the commit and clone operations.