Mindblown: a blog about philosophy.
OpenVZ and UFW
So I found another problem area with the OpenVZ host and the Ubuntu Server. A good firewall is important for the safety of a server, but I, at least feel overwhelmed at the complexity and risk of messing things up very badly to directly touch iptables, and I have only done on rare occasions, and…
ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’
So you ran an upgrade, or got carried away tweaking things on your server, and now MySQL is acting like an island of its own. Your websites can’t connect, your phpmyadmin can’t connect, and you are miserable. You get errors like ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/tmp/mysqld.sock’ and, you…
Problems upgrading your Ubuntu Server to 12.04 Ubuntu Precise Pangolin?
If you are running a Ubuntu server on a VPS, the latest upgrade may have brought dismay with warnings and errors and finally failure. Some of the sample output can look like: Processing triggers for man-db … locale: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.15′ not found (required by locale) locale: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14′ not found (required by locale)…
Configuring Privoxy to use TOR
In these days of censorship concerns, increasing numbers of people are using TOR as a proxy and thus, increasing numbers of people are configuring their browsers wrong and going to the TOR check page only to realize that for all their proxy configurations, they either cannot see the page at all, or they see the…
WordPress Database Error: You have an error in your SQL syntax
When I used a slideshow plugin on AamJanata, I got this error. WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘orderorder` INT(11) NOT NULL DEFAULT ‘0” at line 1] ALTER TABLE wp_gallery_slides CHANGE COLUMN order…
Permission denied: make_sock: could not bind to address 0.0.0.0:80
Did you just type service apache2 restart or /etc/init.d/apache2 restart and get stuff like: * Starting web server apache2 ulimit: 88: error setting limit (Operation not permitted) (13)Permission denied: make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, shutting down Unable to open logs Action ‘start’ failed. The Apache error log may have…
Got any book recommendations?