Difference between revisions of "Amahi 8 Troubleshooting"

From Amahi Wiki
Jump to: navigation, search
Line 3: Line 3:
 
No known issues at this time.
 
No known issues at this time.
  
== Upgrade ==
+
== Fedora 19 to 21 Upgrade==
===After performing the upgrade, the dhcp and dns server are not functional.===
+
After performing the upgrade, the dhcp and dns server are not functional.
  
 
To verify if the service is functional do the following from a command line:
 
To verify if the service is functional do the following from a command line:

Revision as of 00:25, 11 September 2015

Msgbox-WOPr.png Work In Progress
This article is currently undergoing major expansion or restructuring. You are welcome to assist by editing it as well. If this article has not been edited in several days, please remove this template.


New Installs

No known issues at this time.

Fedora 19 to 21 Upgrade

After performing the upgrade, the dhcp and dns server are not functional.

To verify if the service is functional do the following from a command line:

 sudo systemctl status dnsmasq.service

If its not working you will get a message similer to below with a failed status:

dnsmasq.service - DNS caching server.
Loaded: loaded (/usr/lib/systemd/system/dnsmasq.service; enabled)
Active: failed (Result: exit-code) since Tue 2015-09-08 10:38:40 MST; 6s ago
Process: 7798 ExecStart=/usr/sbin/dnsmasq -k (code=exited, status=2)
Main PID: 7798 (code=exited, status=2)


During the upgrade libvirtd was installed. libvirtd uses dnsmasq for virtual machines. This caused a conflict. To verify this is the issue do the following commands:

 sudo lsof -i :53
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
dnsmasq 1308 nobody 6u IPv4 20640 0t0 UDP localhost.localdomain:domain
dnsmasq 1308 nobody 7u IPv4 20641 0t0 TCP localhost.localdomain:domain (LISTEN)
 ps -ef| grep <number in bold above>
nobody 1308 1 0 10:04 ? 00:00:00 /sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --dhcp-script=/usr/libexec/libvirt_leaseshelper
root 1309 1308 0 10:04 ? 00:00:00 /sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --dhcp-script=/usr/libexec/libvirt_leaseshelper

if you see something like --conf-file=/var/lib/libvirt/dnsmasq/default.conf then you can fix the dnsmasq problem by issuing the following command and then rebooting.

 sudo systemctl disable libvirtd
 sudo reboot