You are not logged in.

#1 2022-08-19 11:54:41

uPos3odon08
Member
Registered: 2022-08-19
Posts: 5

Issues with starting libvbirtd [SOLVED]

So basically i was following "Mental Outlaw"'s video on how to install QEMU/Virt Manager, everything was going well until it came to the point where i had to start libvirtd. First i ran

$sudo systemctl enable libvirtd

which worked at first try, but then i ran

$sudo systemctl start libvirtd

which returned with the prompt

Job for libvirtd.service failed because the control process exited with error code.
See "systemctl status libvirtd.service" and "journalctl -xeu libvirtd.service" for details.

i then ran "$systemctl status libvirtd.service" and a prompt saying


libvirtd.service - Virtualization daemon
     Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; enabled; preset: disabled)
     Active: failed (Result: exit-code) since Fri 2022-08-19 13:38:03 CEST; 11min ago
TriggeredBy: 
             × libvirtd-admin.socket
             × libvirtd.socket
             × libvirtd-ro.socket
       Docs: man:libvirtd(8)
             [url]https://libvirt.org[/url]
    Process: 45998 ExecStart=/usr/bin/libvirtd $LIBVIRTD_ARGS (code=exited, status=1/FAILURE)
   Main PID: 45998 (code=exited, status=1/FAILURE)
        CPU: 7ms

then i proceeded to both start and enable the 3 services the error was triggered by to see if it would solve the issue which it didn't so then i ran "$journalist -xeu libvirtd.service" and got this prompt


"Aug 19 13:38:03 asj systemd[1]: libvirtd.service: Scheduled restart job, restart counter is at 5.
Aug 19 13:38:03 asj systemd[1]: Stopped Virtualization daemon.Subject: Automatic restarting of a unit has been scheduled
░░ Defined-By: systemd
░░ Support: [url]https://lists.freedesktop.org/mailman/listinfo/systemd-devel[/url]
░░ 
░░ Automatic restarting of the unit libvirtd.service has been scheduled, as the result for
░░ the configured Restart= setting for the unit.
Aug 19 13:38:03 asj systemd[1]: Stopped Virtualization daemon.
░░ Subject: A stop job for unit libvirtd.service has finished
░░ Defined-By: systemd
░░ Support: [url]https://lists.freedesktop.org/mailman/listinfo/systemd-devel[/url]
░░ 
░░ A stop job for unit libvirtd.service has finished.
░░ 
░░ The job identifier is 5469 and the job result is done.
Aug 19 13:38:03 asj systemd[1]: libvirtd.service: Start request repeated too quickly.
Aug 19 13:38:03 asj systemd[1]: libvirtd.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: [url]https://lists.freedesktop.org/mailman/listinfo/systemd-devel[/url]
░░ 
░░ The unit libvirtd.service has entered the 'failed' state with result 'exit-code'.
Aug 19 13:38:03 asj systemd[1]: Failed to start Virtualization daemon.
░░ Subject: A start job for unit libvirtd.service has failed
░░ Defined-By: systemd
░░ Support: [url]https://lists.freedesktop.org/mailman/listinfo/systemd-devel[/url]
░░ 
░░ A start job for unit libvirtd.service has finished with a failure.
░░ 
░░ The job identifier is 5469 and the job result is failed.

Aug 19 13:38:03 asj systemd[1]: libvirtd.service: Start request repeated too quickly.
Aug 19 13:38:03 asj systemd[1]: libvirtd.service: Failed with result 'exit-code'.
Aug 19 13:38:03 asj systemd[1]: Failed to start Virtualization daemon." 

does anyone know how to solve this issue?

Last edited by uPos3odon08 (2022-09-03 15:59:51)


<<Gentlemen, I do not believe a lady on earth would be able to resist us now.>>
<<All pilots, listen carefully. Change your courses to 90 and leave the battle zone. Avoid engagement and fly as far as your fuel allows.>>
<<I will handle the Garuda Team.>>

Offline

#2 2022-09-03 09:31:16

uPos3odon08
Member
Registered: 2022-08-19
Posts: 5

Re: Issues with starting libvbirtd [SOLVED]

Journalist file

░ Subject: Automatic restarting of a unit has been scheduled
░░ Defined-By: systemd
░░ Support: [url]https://lists.freedesktop.org/mailman/listinfo/systemd-devel[/url]
░░ 
░░ Automatic restarting of the unit libvirtd.service has been scheduled, as the result for
░░ the configured Restart= setting for the unit.
Sep 03 11:29:31 asj systemd[1]: Stopped Virtualization daemon.
░░ Subject: A stop job for unit libvirtd.service has finished
░░ Defined-By: systemd
░░ Support: [url]https://lists.freedesktop.org/mailman/listinfo/systemd-devel[/url]
░░ 
░░ A stop job for unit libvirtd.service has finished.
░░ 
░░ The job identifier is 4263 and the job result is done.
Sep 03 11:29:31 asj systemd[1]: libvirtd.service: Start request repeated too quickly.
Sep 03 11:29:31 asj systemd[1]: libvirtd.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: [url]https://lists.freedesktop.org/mailman/listinfo/systemd-devel[/url]
░░ 
░░ The unit libvirtd.service has entered the 'failed' state with result 'exit-code'.
Sep 03 11:29:31 asj systemd[1]: Failed to start Virtualization daemon.
░░ Subject: A start job for unit libvirtd.service has failed
░░ Defined-By: systemd
░░ Support: [url]https://lists.freedesktop.org/mailman/listinfo/systemd-devel[/url]
░░ 
░░ A start job for unit libvirtd.service has finished with a failure.
░░ 
░░ The job identifier is 4263 and the job result is failed.
lines 482-510/510 (END)
░░ Subject: Automatic restarting of a unit has been scheduled
░░ Defined-By: systemd
░░ Support: [url]https://lists.freedesktop.org/mailman/listinfo/systemd-devel[/url]
░░ 
░░ Automatic restarting of the unit libvirtd.service has been scheduled, as the result for
░░ the configured Restart= setting for the unit.
Sep 03 11:29:31 asj systemd[1]: Stopped Virtualization daemon.
░░ Subject: A stop job for unit libvirtd.service has finished
░░ Defined-By: systemd
░░ Support: [url]https://lists.freedesktop.org/mailman/listinfo/systemd-devel[/url]
░░ 
░░ A stop job for unit libvirtd.service has finished.
░░ 
░░ The job identifier is 4263 and the job result is done.
Sep 03 11:29:31 asj systemd[1]: libvirtd.service: Start request repeated too quickly.
Sep 03 11:29:31 asj systemd[1]: libvirtd.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: [url]https://lists.freedesktop.org/mailman/listinfo/systemd-devel[/url]
░░ 
░░ The unit libvirtd.service has entered the 'failed' state with result 'exit-code'.
Sep 03 11:29:31 asj systemd[1]: Failed to start Virtualization daemon.
░░ Subject: A start job for unit libvirtd.service has failed
░░ Defined-By: systemd
░░ Support: [url]https://lists.freedesktop.org/mailman/listinfo/systemd-devel[/url]
░░ 
░░ A start job for unit libvirtd.service has finished with a failure.
░░ 
░░ The job identifier is 4263 and the job result is failed.
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
lines 482-510/510 (END)
░░ Subject: Automatic restarting of a unit has been scheduled
░░ Defined-By: systemd
░░ Support: [url]https://lists.freedesktop.org/mailman/listinfo/systemd-devel[/url]
░░ 
░░ Automatic restarting of the unit libvirtd.service has been scheduled, as the result for
░░ the configured Restart= setting for the unit.
Sep 03 11:29:31 asj systemd[1]: Stopped Virtualization daemon.
░░ Subject: A stop job for unit libvirtd.service has finished
░░ Defined-By: systemd
░░ Support: [url]https://lists.freedesktop.org/mailman/listinfo/systemd-devel[/url]
░░ 
░░ A stop job for unit libvirtd.service has finished.
░░ 
░░ The job identifier is 4263 and the job result is done.
Sep 03 11:29:31 asj systemd[1]: libvirtd.service: Start request repeated too quickly.
Sep 03 11:29:31 asj systemd[1]: libvirtd.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: [url]https://lists.freedesktop.org/mailman/listinfo/systemd-devel[/url]
░░ 
░░ The unit libvirtd.service has entered the 'failed' state with result 'exit-code'.
Sep 03 11:29:31 asj systemd[1]: Failed to start Virtualization daemon.
░░ Subject: A start job for unit libvirtd.service has failed
░░ Defined-By: systemd
░░ Support: [url]https://lists.freedesktop.org/mailman/listinfo/systemd-devel[/url]
░░ 
░░ A start job for unit libvirtd.service has finished with a failure.
░░ 
░░ The job identifier is 4263 and the job result is failed.

Last edited by uPos3odon08 (2022-09-03 15:08:26)


<<Gentlemen, I do not believe a lady on earth would be able to resist us now.>>
<<All pilots, listen carefully. Change your courses to 90 and leave the battle zone. Avoid engagement and fly as far as your fuel allows.>>
<<I will handle the Garuda Team.>>

Offline

#3 2022-09-03 12:22:56

4censord
Member
Registered: 2022-09-03
Posts: 1

Re: Issues with starting libvbirtd [SOLVED]

First of: Please use code blocks for command output, it makes it significantly easier to read.
Secondly:
Could you please post the output of the following commands:

lsmod | grep kvm
sudo journalctl -u libvirtd

Offline

#4 2022-09-03 15:04:50

uPos3odon08
Member
Registered: 2022-08-19
Posts: 5

Re: Issues with starting libvbirtd [SOLVED]

lsmod | grep kvm

kvm_amd               176128  0
ccp                   143360  1 kvm_amd
kvm                  1216512  1 kvm_amd
irqbypass              16384  1 kvm

sudo journalctl -u libvirtd

Aug 19 12:37:50 asj systemd[1]: Starting Virtualization daemon...
Aug 19 12:37:50 asj systemd[1]: Started Virtualization daemon.
Aug 19 12:41:48 asj systemd[1]: Stopping Virtualization daemon...
Aug 19 12:41:48 asj systemd[1]: libvirtd.service: Deactivated successfully.
Aug 19 12:41:48 asj systemd[1]: Stopped Virtualization daemon.
Aug 19 12:41:48 asj systemd[1]: Starting Virtualization daemon...
Aug 19 12:41:48 asj libvirtd[209355]: 2022-08-19 10:41:48.064+0000: 209355: info : libvirt version: 8.6.0
Aug 19 12:41:48 asj libvirtd[209355]: 2022-08-19 10:41:48.064+0000: 209355: info : hostname: asj
Aug 19 12:41:48 asj libvirtd[209355]: 2022-08-19 10:41:48.064+0000: 209355: error : main:916 : Can't load config file: configuration file syntax error: /etc/libvirt/libvirtd.conf:10: expecting a name: /etc/libvirt/libvirtd.conf
Aug 19 12:41:48 asj systemd[1]: libvirtd.service: Main process exited, code=exited, status=1/FAILURE
Aug 19 12:41:48 asj systemd[1]: libvirtd.service: Failed with result 'exit-code'.
Aug 19 12:41:48 asj systemd[1]: Failed to start Virtualization daemon.
Aug 19 12:41:48 asj systemd[1]: libvirtd.service: Scheduled restart job, restart counter is at 1.
Aug 19 12:41:48 asj systemd[1]: Stopped Virtualization daemon.
Aug 19 12:41:48 asj systemd[1]: Starting Virtualization daemon...
Aug 19 12:41:48 asj libvirtd[209357]: 2022-08-19 10:41:48.398+0000: 209357: info : libvirt version: 8.6.0
Aug 19 12:41:48 asj libvirtd[209357]: 2022-08-19 10:41:48.398+0000: 209357: info : hostname: asj
Aug 19 12:41:48 asj libvirtd[209357]: 2022-08-19 10:41:48.398+0000: 209357: error : main:916 : Can't load config file: configuration file syntax error: /etc/libvirt/libvirtd.conf:10: expecting a name: /etc/libvirt/libvirtd.conf
Aug 19 12:41:48 asj systemd[1]: libvirtd.service: Main process exited, code=exited, status=1/FAILURE
Aug 19 12:41:48 asj systemd[1]: libvirtd.service: Failed with result 'exit-code'.
Aug 19 12:41:48 asj systemd[1]: Failed to start Virtualization daemon.
Aug 19 12:41:48 asj systemd[1]: libvirtd.service: Scheduled restart job, restart counter is at 2.
Aug 19 12:41:48 asj systemd[1]: Stopped Virtualization daemon.
Aug 19 12:41:48 asj systemd[1]: Starting Virtualization daemon...
Aug 19 12:41:48 asj libvirtd[209359]: 2022-08-19 10:41:48.649+0000: 209359: info : libvirt version: 8.6.0
Aug 19 12:41:48 asj libvirtd[209359]: 2022-08-19 10:41:48.649+0000: 209359: info : hostname: asj
Aug 19 12:41:48 asj libvirtd[209359]: 2022-08-19 10:41:48.649+0000: 209359: error : main:916 : Can't load config file: configuration file syntax error: /etc/libvirt/libvirtd.conf:10: expecting a name: /etc/libvirt/libvirtd.conf
Aug 19 12:41:48 asj systemd[1]: libvirtd.service: Main process exited, code=exited, status=1/FAILURE
Aug 19 12:41:48 asj systemd[1]: libvirtd.service: Failed with result 'exit-code'.
Aug 19 12:41:48 asj systemd[1]: Failed to start Virtualization daemon.
Aug 19 12:41:48 asj systemd[1]: libvirtd.service: Scheduled restart job, restart counter is at 3.
Aug 19 12:41:48 asj systemd[1]: Stopped Virtualization daemon.
Aug 19 12:41:48 asj systemd[1]: Starting Virtualization daemon...
Aug 19 12:41:48 asj libvirtd[209360]: 2022-08-19 10:41:48.899+0000: 209360: info : libvirt version: 8.6.0
Aug 19 12:41:48 asj libvirtd[209360]: 2022-08-19 10:41:48.899+0000: 209360: info : hostname: asj
Aug 19 12:41:48 asj libvirtd[209360]: 2022-08-19 10:41:48.899+0000: 209360: error : main:916 : Can't load config file: configuration file syntax error: /etc/libvirt/libvirtd.conf:10: expecting a name: /etc/libvirt/libvirtd.conf
Aug 19 12:41:48 asj systemd[1]: libvirtd.service: Main process exited, code=exited, status=1/FAILURE
Aug 19 12:41:48 asj systemd[1]: libvirtd.service: Failed with result 'exit-code'.
Aug 19 12:41:48 asj systemd[1]: Failed to start Virtualization daemon.
Aug 19 12:41:49 asj systemd[1]: libvirtd.service: Scheduled restart job, restart counter is at 4.
Aug 19 12:41:49 asj systemd[1]: Stopped Virtualization daemon.
Aug 19 12:41:49 asj systemd[1]: Starting Virtualization daemon...
Aug 19 12:41:49 asj libvirtd[209361]: 2022-08-19 10:41:49.149+0000: 209361: info : libvirt version: 8.6.0
Aug 19 12:41:49 asj libvirtd[209361]: 2022-08-19 10:41:49.149+0000: 209361: info : hostname: asj
Aug 19 12:41:49 asj libvirtd[209361]: 2022-08-19 10:41:49.149+0000: 209361: error : main:916 : Can't load config file: configuration file syntax error: /etc/libvirt/libvirtd.conf:10: expecting a name: /etc/libvirt/libvirtd.conf
Aug 19 12:41:49 asj systemd[1]: libvirtd.service: Main process exited, code=exited, status=1/FAILURE
Aug 19 12:41:49 asj systemd[1]: libvirtd.service: Failed with result 'exit-code'.
Aug 19 12:41:49 asj systemd[1]: Failed to start Virtualization daemon.
Aug 19 12:41:49 asj systemd[1]: libvirtd.service: Scheduled restart job, restart counter is at 5.
Aug 19 12:41:49 asj systemd[1]: Stopped Virtualization daemon.
Aug 19 12:41:49 asj systemd[1]: libvirtd.service: Start request repeated too quickly.
Aug 19 12:41:49 asj systemd[1]: libvirtd.service: Failed with result 'exit-code'.
Aug 19 12:41:49 asj systemd[1]: Failed to start Virtualization daemon.
-- Boot 863fd1efff57417fb6028d56ec36f15d --
Aug 19 12:45:54 asj systemd[1]: Starting Virtualization daemon...

Last edited by uPos3odon08 (2022-09-03 15:07:41)


<<Gentlemen, I do not believe a lady on earth would be able to resist us now.>>
<<All pilots, listen carefully. Change your courses to 90 and leave the battle zone. Avoid engagement and fly as far as your fuel allows.>>
<<I will handle the Garuda Team.>>

Offline

#5 2022-09-03 15:36:42

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: Issues with starting libvbirtd [SOLVED]

So there's your problem. "Can't load config file: configuration file syntax error: /etc/libvirt/libvirtd.conf:10: expecting a name"

Offline

#6 2022-09-03 15:57:37

uPos3odon08
Member
Registered: 2022-08-19
Posts: 5

Re: Issues with starting libvbirtd [SOLVED]

thanks a lot smile it's fixed now all i had to do was remove a

/

sitting in front of a

#

lol


<<Gentlemen, I do not believe a lady on earth would be able to resist us now.>>
<<All pilots, listen carefully. Change your courses to 90 and leave the battle zone. Avoid engagement and fly as far as your fuel allows.>>
<<I will handle the Garuda Team.>>

Offline

Board footer

Powered by FluxBB