Solutions for Day to Day Technical Problems

Category Archives: linux

If you have been debugging the ‘upstream timed out (110: Connection timed out) while reading response header from upstream‘ error, then don’t panic. I have got a solution for you. Just like you, I googled around several sites and found … Continue reading →

You have a SVN server which is hosted on Apache with SSH Support. Now when you are checking out the SVN repo to your local linux box, you get this weird error: SSL handshake failed: SSL error: A TLS warning alert has been received Continue reading →

If you are using Load Data Infile and you get the error SQLSTATE[28000]: Invalid authorization specification: 1045 Access denied for user This is an error where the database user that is used for database connection is missing a permission required … Continue reading →

Recently, I came across an issue where is_file and file_exists would fail in case of file with symbolic links. Let’s say I have a file at /home/kpsolu2/personal/images/rome.jpg and I do a symbolic link from another user /home/kpsolu3/public_html/images/rome.jpg as follows: ln … Continue reading →

I guess you have an issue while you try to create thumbnail from a jpg, merge two jpgs or crop a jpg. Issue is that @createimagefromjpg fails without any reason on a code like this $srcImage = @createimagefromjpeg($filePath); Now, if … Continue reading →

The command I normally have been using to check the server performance is the good-old ‘top’ command. Gives you a very good snapshot of the things going on in your server. However, today when I issued the top command I … Continue reading →

Today, I was running out of disk space on my laptop; not quite unusual to happen. However, with this situation of out of disk, I had to get rid of the directories or files which are using most space and … Continue reading →

If you are a system admin or a webmaster, you will face this question at some point of time. How do I limit connections per user ip in Apache 2.2? Generally, you get good users visiting your site who use … Continue reading →

Very often, one would have seen that the server/desktop time goes off by some seconds/minutes than the standard time. It’s very easy to sync up the time in Linux/Unix. Issue the following command as ‘root’ to update the time. ntpdate … Continue reading →

Recently, I moved over to a new host with a dedicated box and I had to setup the nameservers for my domain kpsolution.com. In Godaddy’s domain manager, I tried to change the nameservers to my domain like ns1.xxxx.com and ns2.xxxx.com, … Continue reading →