Search

Resume and bio of the author Couple of articles related to my hobby - robotics
My impressions about immigration to Australia. In Russian only. Recipes for everyday problems solving
Linux-related posts Windows-related posts
Software-related posts A lot of info about hardware
Different tools you might find useful Posts about various web technologies
Everything that doesn't fit the rest of the menu RSS feed for this blog

Tag Cloud

Archives

Links

Andrey Mikhalchuk’s Blog

Technoblog about life

Apr 17, 2008 Solving “configure: error: C++ compiler cannot create executables” problem

c++You ran ./configure and got “configure: error: C++ compiler cannot create executables”. Here is how to fix it …

Apr 17, 2008 Squid: unrecognized httpd_accel_port, httpd_accel_with_proxy on, httpd_accel_uses_host_header

Squid proxyI was recently installing squid at home as a single caching proxy for all computers in my home network. The simple way is just running squid on your linux router as is and configuring every single browser on all computers in your network so they access internet using squid. That’s doable, but boring. The more interesting way is setting up transparent proxy so all your http traffic goes through squid automatically. I’m not going to explain how to setup the transparent proxy as there are tons of articles in the internet about that, for instance:

  • http://www.cyberciti.biz/tips/linux-setup-transparent-proxy-squid-howto.html
  • http://tldp.org/HOWTO/TransparentProxy.html
  • http://www.deckle.co.za/squid-users-guide/Transparent_Caching/Proxy

The documentation is very straightforward, and has just one problem: it is outdated and doesn’t work with the most recent versions of squid. I’ve read several instructions and was always ending up with these error messages:


2008/03/23 01:51:52| parseConfigFile: line 26 unrecognized: 'httpd_accel_port 80'
2008/03/23 01:51:52| parseConfigFile: line 27 unrecognized: 'httpd_accel_with_proxy on'
2008/03/23 01:51:52| parseConfigFile: line 28 unrecognized: 'httpd_accel_uses_host_header on'

Here’s how to fix the problem …

Feb 6, 2008 Solving “The server you are connected to is using a security certificate that could not be verified.” problem

Uff that was tough one … If you decided to make your mail communications more secure you probably switched on SSL option in your mail client for POP3/IMAP/SMTP servers. There is a good chance you will get one of those errors that sound like

The server you are connected to is using a security certificare that could not be verified.
A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider.
Do you want to continue using this server?

I spent way too much time solving the problem because what was just annoying message in Outlook appeared to be serious problem in MacMail. It was not capable of working correctly with that problem. In addition to that I tried to solve the problem using Plesk 8.2 that was a mistake. It appeared that whatever you do with certificates in Plesk that doesn’t affect the mail. So here is the solution for the problem:

Feb 4, 2008 MacMail failes while receiving mail using imap from courier mail

As usually there might be a lot of reasons for that. In my case the reason became clear when I checked /var/log/messages:
imapd-ssl: /etc/courier-imap/shared/index: No such file or directory problem. The quick and dirty solution appeared to be really quick.

Jan 26, 2008 How to configure master/slave DNS servers so they do not conflict with Plesk 8.2

When you need to implement a DNS master/slave relationship, you obviously can go ahead and edit named config files, but when you do next change to DNS configuration using Plesk most your changes will be lost. From the other side Plesk doesn’t provide slave server configuration at all! Here is the solution that works for me on Plesk 8.2. Versions 8.3 and above support the master/slave DNS configuration via web interface.

Site Map (c) Andrey Mikhalchuk, 2005-2008