Error 2002 (HY000) – Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)

Mysql - Smarthomebeginner

Recently, out of the blue, I started receiving the following error message and mysql would not start properly: I searched for solutions and resorted to reinstalling mysql, which worked for me. If you have similar problems, then try the following. First, backup your databases: Then remove mysql-server. Reinstall mysql-server. Normally … read more

NameVirtualHost *:80 has no VirtualHosts – Apache

Write For Us - Smarthomebeginner

When upgrading from one version of Linux (Ubuntu in my case) to another or while transferring your websites to a clean install it is common to encounter the following warning while starting/restarting apache: This happens when hosts are defined in both /etc/apache2/sites-available/default as well as /etc/apache2/ports.conf. SOLUTION: Comment out the … read more

.bashrc file not found?

Write For Us - Smarthomebeginner

Sometimes when you install Ubuntu, the .bashrc file is missing. The problem comes when you want to start using aliases as described in this post. Here is how to fix it. Make sure that your .bashrc file is missing. Check to see if you have a .bashrc file. If you … read more