You are not logged in.

#1 2016-04-17 16:01:03

ahura
Member
Registered: 2016-02-20
Posts: 57

systemd-modules-load.service fails after installing virtualbox

I recently reinstalled VirtualBox. It works great, but when I check for system problems with systemctl --failed, I get:

  UNIT                         LOAD   ACTIVE SUB    DESCRIPTION
● systemd-modules-load.service loaded failed failed Load Kernel Modules

I tried looking for solutions but the closest I could find was this thread (https://bbs.archlinux.org/viewtopic.php?id=210194), where the user had mistakenly installed some guest packages on their host machine, which is not the case here. Not sure where to go from here to figure it out so any help is greatly appreciated.

Offline

#2 2016-04-17 16:06:31

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

Re: systemd-modules-load.service fails after installing virtualbox

take a look at the logs, see exactly what failed.

Offline

#3 2016-04-17 16:17:08

ahura
Member
Registered: 2016-02-20
Posts: 57

Re: systemd-modules-load.service fails after installing virtualbox

I'm not sure what you mean by that. The System Maintanence Wiki says to check for errors with journalctl -p 3 -xb which gives nothing.
After checking the man page for journalctl, I try journalctl "_SYSTEMD_UNIT=systemd-modules-loads.service" for info on that service - still no entries.
Is this what you mean, or could you elaborate if not?

Offline

#4 2016-04-17 16:40:58

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

Re: systemd-modules-load.service fails after installing virtualbox

systemctl status <unit> is a good place to start. Otherwise, ditch the -p 3 and search through the output

Offline

#5 2016-04-17 18:04:53

ahura
Member
Registered: 2016-02-20
Posts: 57

Re: systemd-modules-load.service fails after installing virtualbox

systemctl status gives

● systemd-modules-load.service - Load Kernel Modules
   Loaded: loaded (/usr/lib/systemd/system/systemd-modules-load.service; static; vendor preset: disabled)
   Active: failed (Result: exit-code) since Sun 2016-04-17 19:56:57 CEST; 1min 46s ago
     Docs: man:systemd-modules-load.service(8)
           man:modules-load.d(5)
  Process: 2661 ExecStart=/usr/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE)
 Main PID: 2661 (code=exited, status=1/FAILURE)

If I try to start the service again, the terminal advises me to run journalctl -xe, but that gives me a large output that doesn't look related (mainly warnings from Nemo).
I went to check out the file designated after ExecStart in the output, but that appears to be a binary file, leaving me with no idea what to do from here.

Offline

#6 2016-04-19 17:11:37

wollew
Member
Registered: 2007-08-08
Posts: 18

Re: systemd-modules-load.service fails after installing virtualbox

Solved the problem by deleting /usr/lib/modules-load.d/virtualbox-guest-dkms.conf  (containing vboxguest, vboxsf, vboxvideo)

Offline

#7 2016-04-19 17:38:53

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

Re: systemd-modules-load.service fails after installing virtualbox

Wait a minute, I thought you said you didn't have the guest modules installed?

Offline

#8 2016-04-19 18:20:12

wollew
Member
Registered: 2007-08-08
Posts: 18

Re: systemd-modules-load.service fails after installing virtualbox

Hi Scimmia, it's me, wollew, who solved the problem here.
There was nothing in /etc/modules-load.d concerning virtualbox modules, only in /usr/lib/modules-load.d/virtualbox-guest-dkms.conf. Problem arised after switching to dkms for virtualbox.

Offline

#9 2016-04-20 08:52:45

ahura
Member
Registered: 2016-02-20
Posts: 57

Re: systemd-modules-load.service fails after installing virtualbox

@Scimmia I don't have guest modules installed. Some other user just decided to comment that removing it solved the problem from them.

Offline

#10 2016-04-20 13:02:32

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

Re: systemd-modules-load.service fails after installing virtualbox

yeah, I see that now. Sorry bout that.

Offline

Board footer

Powered by FluxBB