Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

execute QEMU command 'nbd-server-start': Failed to bind socket to ... [Permission denied] #103

Closed
ENO2019 opened this issue Feb 7, 2023 · 2 comments
Labels
apparmor issue caused by apparmor support Usage/support questions.

Comments

@ENO2019
Copy link

ENO2019 commented Feb 7, 2023

[2023-02-08 00:22:39] INFO lib common - printVersion [MainThread]: Version: 1.9.14 Arguments: /usr/bin/virtnbdbackup -d INS-e8evhb8aifmj -l full -o /tmp/backupset
[2023-02-08 00:22:39] INFO root virtnbdbackup - main [MainThread]: Backup level: [full]
[2023-02-08 00:22:39] INFO root virtnbdbackup - main [MainThread]: Libvirt library version: [7000000]
[2023-02-08 00:22:39] INFO virt client - getDomainDisks [MainThread]: Skipping attached [cdrom] device: [hda].
[2023-02-08 00:22:39] INFO root virtnbdbackup - main [MainThread]: Backup will save [1] attached disks.
[2023-02-08 00:22:39] INFO root virtnbdbackup - main [MainThread]: Concurrent backup processes: [1]
[2023-02-08 00:22:39] INFO virt client - redefineCheckpoints [MainThread]: Loading checkpoint list from: [/tmp/backupset/checkpoints]
[2023-02-08 00:22:39] INFO root virtnbdbackup - handleCheckpoints [MainThread]: Checkpoint handling.
[2023-02-08 00:22:39] INFO root virtnbdbackup - handleCheckpoints [MainThread]: Using checkpoint name: [virtnbdbackup.0].
[2023-02-08 00:22:39] INFO root virtnbdbackup - main [MainThread]: Local NDB Endpoint socket: [/var/tmp/virtnbdbackup.51977]
[2023-02-08 00:22:39] INFO root virtnbdbackup - main [MainThread]: Temporary scratch file target directory: [/var/tmp]
[2023-02-08 00:22:39] INFO root virtnbdbackup - startBackupJob [MainThread]: Starting backup job.
[2023-02-08 00:22:39] INFO virt client - fsFreeze [MainThread]: Freezed [1] filesystems.
[2023-02-08 00:22:40] INFO virt client - fsThaw [MainThread]: Thawed [1] filesystems.
[2023-02-08 00:22:40] ERROR root virtnbdbackup - startBackupJob [MainThread]: Failed to start backup: [internal error: unable to execute QEMU command 'nbd-server-start': Failed to bind socket to /var/tmp/virtnbdbackup.51977: Permission denied]

OS: debian 11
libvirtd (libvirt) 7.0.0
virtnbdbackup -V: 1.9.14

@ENO2019 ENO2019 added the bug Something isn't working label Feb 7, 2023
@abbbi
Copy link
Owner

abbbi commented Feb 7, 2023

Most probably apparmor causing the issue, search past issues for solution

@abbbi abbbi added support Usage/support questions. and removed bug Something isn't working labels Feb 7, 2023
@abbbi abbbi closed this as completed Feb 7, 2023
@abbbi abbbi added the apparmor issue caused by apparmor label Feb 7, 2023
@abbbi abbbi pinned this issue Apr 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
apparmor issue caused by apparmor support Usage/support questions.
Projects
None yet
Development

No branches or pull requests

2 participants