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