Files to check
- /etc/apache2/ports.conf
- /etc/apache2/apache2.conf
Consider the ServerName to be “myserver”. Check /etc/hosts for an entry
127.0.0.1 localhost
192.168.1.100 myserver.com myserver
…
(more…)
Kurinchilion.com » Linux Windows Enterprise Solutions
Files to check
- /etc/apache2/ports.conf
- /etc/apache2/apache2.conf
Consider the ServerName to be “myserver”. Check /etc/hosts for an entry
127.0.0.1 localhost
192.168.1.100 myserver.com myserver
…
(more…)
Reason why this error might occur:
i) Incomplete MySQL implementation
ii) MySQL setting mis-configuration
Solution:
root@myserver:/# vi /etc/mysql/my.cnf
Comment out the below line in my.cnf file to make MySQL listen on ALL interfaces
#bind-address = 127.0.0.1
root@myserver:/# netstat -tap | grep mysql
tcp 0 0 *:mysql *:* LISTEN 17785/mysqld
Note that above line which indicates MySQL listening on all interfaces.
| M | T | W | T | F | S | S |
|---|---|---|---|---|---|---|
| « Aug | ||||||
| 1 | 2 | 3 | 4 | 5 | ||
| 6 | 7 | 8 | 9 | 10 | 11 | 12 |
| 13 | 14 | 15 | 16 | 17 | 18 | 19 |
| 20 | 21 | 22 | 23 | 24 | 25 | 26 |
| 27 | 28 | 29 | 30 | |||