Author Archives: itdoctor - Page 32
CentOS : Can’t send outbound message?
After installing Centos and Sendmail , you can’t send mail from PHP , you might have a warning ” can not initial mail function ” from php page Resolution:...
adding sudoer
sudo usermod -a -G sudo
Monitoring Apache2/php process
watch -n 1 “ps u -C apache2,apache,php”
How do i run a file automatically when my linux starts?
Put the command you want to run on this file /
monitoring apache process command
watch -n 1 "echo -n 'Apache Processes: ' && ps -C apache2 --no-headers | wc -l && free -m"
How to delete frozen mails from Exim mail queue
Sometimes there can be so many frozen mails in the Exim mail queue. To know the number of frozen mails in the mail queue, you can use the following...
Client requested master to start replication from impossible position
If you run a replicated MySQL setup and have a master failure, you may see the following error in your error log. Error reading packet from server: Client...
How to fix MySql Replication Error 1236
How to fix MySql Replication Error 1236 We have some websites that use two database servers in master-master replication. Recently one of the servers died and had to be...
Can not see any IPAD/Iphone Photos in Windows Explorer
When you connect your IPAD/IPHONE to the computer, you used to be able to see photos under DCIM folder , now it’s blank. It’s because your iphone is locked...
How to check run level in Ubuntu?
just run “runlevel” , it will tell you what level the system is running. It’s good for chkconfig utilities.