guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: qemu-nbd: Failed to bind socket: No such file or directory


From: 宋文武
Subject: Re: qemu-nbd: Failed to bind socket: No such file or directory
Date: Sun, 26 Apr 2015 12:07:09 +0800
User-agent: Notmuch/0.18.1 (http://notmuchmail.org) Emacs/24.5.1 (x86_64-unknown-linux-gnu)

Ludovic Courtès <address@hidden> writes:

> 白い熊@相撲道 <address@hidden> skribis:
>
>> On 2015-03-26 22:24, address@hidden wrote:
>>> I have no idea, but I would recommend running:
>>>
>>>   sudo strace -o log qemu-nbd -c /dev/nbd0 disk.qcow2
>>>
>>> and then find out the socket name in ‘log’ above “Failed to bind
>>> socket”.
>>
>> Yeah, was exploring this... I'm attaching the strace log, I don't
>> understand what's causing it... Any ideas?
>
> [...]
>
>> --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=2063, si_status=0, 
>> si_utime=0, si_stime=0} ---
>> read(3, "Failed to bind socket: No such f"..., 1024) = 49
>> write(2, "Failed to bind socket: No such f"..., 49) = 49
>
> The problem seems to happen in a child process.  Can you add the ‘-f’
> flag to the ‘strace’ command line so we have details about child
> processes?
I tried 'strace -f', then find out that qemu-nbd need access to "/var/lock".
After "mkdir /var/lock", it works.
>
> TIA,
> Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]