
Dear all I have the following problem: -I'm running libvirt 0.9.11 on ubuntu 12.04; -when I try to create a VM with the following configuration: ... <serial type='pty'> <source path='/dev/pts/2'/> <target port='0'/> <alias name='serial0'/> </serial> <console type='pty' tty='/dev/pts/2'> <source path='/dev/pts/2'/> <target type='serial' port='0'/> <alias name='serial0'/> </console> ... I obtain this output: errore: Impossibile creare il dominio da domain_alpha_1.xml (error, impossible to create a domain from domain_alpha_1.xml) errore: errore interno Process exited while reading console log output: chardev: opening backend "pty" failed: Permission denied Does anyone know what's going wrong and ho to fix it? Thanks, Daniele Milani

Are you running the command as root? Regards On 21/05/2012, Daniele Milani <dano1988@hotmail.it> wrote:
Dear all I have the following problem: -I'm running libvirt 0.9.11 on ubuntu 12.04; -when I try to create a VM with the following configuration: ... <serial type='pty'> <source path='/dev/pts/2'/> <target port='0'/> <alias name='serial0'/> </serial> <console type='pty' tty='/dev/pts/2'> <source path='/dev/pts/2'/> <target type='serial' port='0'/> <alias name='serial0'/> </console> ... I obtain this output: errore: Impossibile creare il dominio da domain_alpha_1.xml (error, impossible to create a domain from domain_alpha_1.xml) errore: errore interno Process exited while reading console log output: chardev: opening backend "pty" failed: Permission denied
Does anyone know what's going wrong and ho to fix it?
Thanks,
Daniele Milani
-- Sent from my mobile device

Date: Mon, 21 May 2012 12:31:09 -0400 Subject: Re: [libvirt-users] Problem with pty From: javi@legido.com To: dano1988@hotmail.it; libvir-list@redhat.com; libvirt-users@redhat.com; roberto.sassu@polito.it; paolo.smiraglia@polito.it
Are you running the command as root?
Regards
Yes, if I run it from standard libvirt directory it works, if I run it from not standard directory (I configured it with option --prefix=/usr/local/recompiledlibvirt/) it doesn't. Daniele
On 21/05/2012, Daniele Milani <dano1988@hotmail.it> wrote:
Dear all I have the following problem: -I'm running libvirt 0.9.11 on ubuntu 12.04; -when I try to create a VM with the following configuration: ... <serial type='pty'> <source path='/dev/pts/2'/> <target port='0'/> <alias name='serial0'/> </serial> <console type='pty' tty='/dev/pts/2'> <source path='/dev/pts/2'/> <target type='serial' port='0'/> <alias name='serial0'/> </console> ... I obtain this output: errore: Impossibile creare il dominio da domain_alpha_1.xml (error, impossible to create a domain from domain_alpha_1.xml) errore: errore interno Process exited while reading console log output: chardev: opening backend "pty" failed: Permission denied
Does anyone know what's going wrong and ho to fix it?
Thanks,
Daniele Milani
-- Sent from my mobile device
participants (2)
-
Daniele Milani
-
Javi Legido