2021-04-19 19:40:40 -03:00
|
|
|
Troubleshooting
|
2015-10-22 09:49:07 +10:00
|
|
|
===============
|
|
|
|
|
|
2021-04-19 19:40:40 -03:00
|
|
|
Local webserver
|
|
|
|
|
---------------
|
|
|
|
|
|
2015-10-22 09:49:07 +10:00
|
|
|
Drop firewall::
|
|
|
|
|
|
|
|
|
|
sudo firewall-cmd --add-service=http
|
|
|
|
|
|
|
|
|
|
|
2015-10-16 11:14:13 +10:00
|
|
|
DNS / hosts file issues
|
2021-04-19 19:40:40 -03:00
|
|
|
-----------------------
|
2015-10-16 11:14:13 +10:00
|
|
|
|
|
|
|
|
Flush cache
|
2021-04-19 19:40:40 -03:00
|
|
|
^^^^^^^^^^^
|
2015-10-16 11:14:13 +10:00
|
|
|
|
|
|
|
|
Note: some resolvers cache NX.
|
|
|
|
|
|
|
|
|
|
Max OS X::
|
|
|
|
|
|
|
|
|
|
dscacheutil -flushcache
|
|
|
|
|
|
|
|
|
|
Windows::
|
|
|
|
|
|
|
|
|
|
ipconfig /flush -- or is it /flushdns ?
|
|
|
|
|
|
2015-10-22 09:49:07 +10:00
|
|
|
|
|
|
|
|
Virtual network
|
2021-04-19 19:40:40 -03:00
|
|
|
---------------
|
2015-10-22 09:49:07 +10:00
|
|
|
|
|
|
|
|
If ``Vagrant::Errors::NetworkCollision`` occurs, try deleting host
|
|
|
|
|
network device, e.g.::
|
|
|
|
|
|
|
|
|
|
sudo ifconfig virbr2 down
|
|
|
|
|
|
|
|
|
|
|
2015-10-23 13:31:12 +10:00
|
|
|
*vagrant-libvirt* might have problems if the ``default`` network is
|
|
|
|
|
up::
|
|
|
|
|
|
|
|
|
|
sudo virsh net-destroy default
|
|
|
|
|
|
|
|
|
|
|
2015-10-22 09:49:07 +10:00
|
|
|
Vagrant
|
2021-04-19 19:40:40 -03:00
|
|
|
-------
|
2015-10-22 09:49:07 +10:00
|
|
|
|
|
|
|
|
If ``vagrant up`` fails to SSH into VM, delete
|
|
|
|
|
``~/.vagrant.d/insecure_private_key``. See
|
|
|
|
|
https://stackoverflow.com/questions/28284112/.
|
2015-10-22 16:40:37 +10:00
|
|
|
|
|
|
|
|
|
|
|
|
|
mod_lookup_identity
|
2021-04-19 19:40:40 -03:00
|
|
|
-------------------
|
2015-10-22 16:40:37 +10:00
|
|
|
|
|
|
|
|
To flush cache::
|
|
|
|
|
|
|
|
|
|
$ sudo sss_cache -E
|