Pages

Bài đăng phổ biến

Monday, May 14, 2012

[Solved] Trouble shoot kvm virsh hang

Problem: When you type virsh list or virsh ... it's not return anything such as it's hanging

Solution: You just remove libvirtd and install it again ,Problem will be solved.

Nguyen Si Nhan

Tuesday, May 8, 2012

[Solved] libvirtError: Unable to read from monitor: Connection reset by peer

Problem :
Error starting domain: Unable to read from monitor: Connection reset by peer

Solution:

 virsh edit <domainname>

Search these word:  <graphics type='vnc' port='-1' autoport='yes'/>
Delete it and save .

After that start vm again is ok.
Good luck :) !

Nguyen Si Nhan




Deny all IP access to port assigned exclude my IP


In my exaple is port 25 and my ip is 1.2.3.4:


iptables -A INPUT -p tcp --dport 25 -s 1.2.3.4 -j ACCEPT
iptables -A INPUT -p tcp --dport 25 -s 1.2.3.4 -j ACCEPT
iptables -A INPUT -p tcp --dport 25 -j DROP

Finish!

Nguyen Si Nhan