Page 1 of 1

[SOLVED]fedora-loadmodules.service

PostPosted: Feb 17th, '16, 19:16
by vigen
Hello,

On Mageia 5 x86_64,
I have the following error message in boot.log:

Code: Select all
[FAILED] Failed to start Load legacy module configuration.
See "systemctl status fedora-loadmodules.service" for details.


systemctl status fedora-loadmodules.service

Code: Select all
fedora-loadmodules.service - Load legacy module configuration                                                                                     
   Loaded: loaded (/usr/lib/systemd/system/fedora-loadmodules.service; static)                                                                       
   Active: failed (Result: exit-code) since mer. 2016-02-17 17:59:34 CET; 16min ago                                                                 
  Process: 459 ExecStart=/lib/systemd/fedora-loadmodules (code=exited, status=1/FAILURE)                                                             
 Main PID: 459 (code=exited, status=1/FAILURE)


Any idéas?

Thanks in advance;

Vigen.

Re: fedora-loadmodules.service

PostPosted: Feb 17th, '16, 20:21
by doktor5000
Please post the output as root of

Code: Select all
systemctl status -al systemd-readahead-collect.service systemd-readahead-replay.service
ls -al /lib/systemd/fedora-loadmodules
ls -al /etc/sysconfig/modules*; cat /etc/sysconfig/modules/*

Re: fedora-loadmodules.service

PostPosted: Feb 17th, '16, 20:27
by vigen
Thank for the help !! ;)

Code: Select all
[seb@localhost ~]$ su
Mot de passe :
[root@localhost seb]# systemctl status -al systemd-readahead-collect.service systemd-readahead-replay.service
● systemd-readahead-collect.service
   Loaded: not-found (Reason: No such file or directory)
   Active: inactive (dead)

● systemd-readahead-replay.service
   Loaded: not-found (Reason: No such file or directory)
   Active: inactive (dead)

ls -al /lib/systemd/fedora-loadmodules
-rwxr-xr-x 1 root root 244 mars   7  2015 /lib/systemd/fedora-loadmodules*


ls -al /etc/sysconfig/modules*; cat /etc/sysconfig/modules/*
total 8
drwxr-xr-x 2 root root 4096 mars   7  2015 ./
drwxr-xr-x 6 root root 4096 févr. 17 15:01 ../
cat: /etc/sysconfig/modules/*: Aucun fichier ou dossier de ce type


Re: fedora-loadmodules.service

PostPosted: Feb 17th, '16, 21:59
by doktor5000
So looks all normally. Can you please show the full output as root of

Code: Select all
systemctl status -al fedora-loadmodules.service
cat /etc/modprobe.preload.d/cpufreq

Re: fedora-loadmodules.service

PostPosted: Feb 17th, '16, 22:04
by vigen
Problem with virtualbox?

Code: Select all
systemctl status -al fedora-loadmodules.service
● fedora-loadmodules.service - Load legacy module configuration
   Loaded: loaded (/usr/lib/systemd/system/fedora-loadmodules.service; static)
   Active: failed (Result: exit-code) since mer. 2016-02-17 19:47:55 CET; 1h 13min ago
  Process: 463 ExecStart=/lib/systemd/fedora-loadmodules (code=exited, status=1/FAILURE)
 Main PID: 463 (code=exited, status=1/FAILURE)

févr. 17 19:47:55 localhost.localdomain fedora-loadmodules[463]: Loading modules: evdev vboxguest vboxsf
févr. 17 19:47:55 localhost.localdomain fedora-loadmodules[463]: modprobe: ERROR: could not insert 'vboxguest': No such device
févr. 17 19:47:55 localhost.localdomain fedora-loadmodules[463]: modprobe: ERROR: could not insert 'vboxsf': No such device
Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.


Code: Select all
cat /etc/modprobe.preload.d/cpufreq
cat: /etc/modprobe.preload.d/cpufreq: Aucun fichier ou dossier de ce type

Re: fedora-loadmodules.service

PostPosted: Feb 17th, '16, 22:14
by doktor5000
Seems you forgot to copy the log outputs previously when you posted systemctl status output.
vigen wrote:Problem with virtualbox?

Code: Select all
févr. 17 19:47:55 localhost.localdomain fedora-loadmodules[463]: Loading modules: evdev vboxguest vboxsf
févr. 17 19:47:55 localhost.localdomain fedora-loadmodules[463]: modprobe: ERROR: could not insert 'vboxguest': No such device
févr. 17 19:47:55 localhost.localdomain fedora-loadmodules[463]: modprobe: ERROR: could not insert 'vboxsf': No such device
Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.



Well, depends. If this is on the system that hosts the virtualbox VMs then that is expected. Those modules are for the guest additions and shared folders, and should only be installed and loaded in the VMs, not on the host.
Please show the output of
Code: Select all
rpm -qa|sort|grep virtualbox

Re: fedora-loadmodules.service

PostPosted: Feb 17th, '16, 22:20
by vigen
Code: Select all
rpm -qa|sort|grep virtualbox
dkms-virtualbox-5.0.14-1.mga5
virtualbox-5.0.14-1.mga5
virtualbox-guest-additions-5.0.14-1.mga5
virtualbox-kernel-4.1.15-desktop-2.mga5-5.0.14-1.mga5
virtualbox-kernel-desktop-latest-5.0.14-1.mga5


Yes is the host machine, not the guest....

Probably, given the output, I have to uninstall "guest additions"?

edit: After uninstalling guest-additions
Code: Select all
systemctl status fedora-loadmodules.service
● fedora-loadmodules.service - Load legacy module configuration
   Loaded: loaded (/usr/lib/systemd/system/fedora-loadmodules.service; static)
   Active: active (exited) since mer. 2016-02-17 21:22:47 CET; 1min 12s ago
  Process: 457 ExecStart=/lib/systemd/fedora-loadmodules (code=exited, status=0/SUCCESS)
 Main PID: 457 (code=exited, status=0/SUCCESS)
   CGroup: /system.slice/fedora-loadmodules.service


Yessss !!! ;)


I remain at your disposal if you have additional commands to do?

Re: fedora-loadmodules.service

PostPosted: Feb 17th, '16, 23:21
by doktor5000
vigen wrote:Probably, given the output, I have to uninstall "guest additions"?

You answered yourself already :)
vigen wrote:Yessss !!! ;)


vigen wrote:I remain at your disposal if you have additional commands to do?

I probably have a lot of additional commands, the question is what problem are you trying to fix?

Please mark the thread accordingly by editing the topic of the first post and prefix it by [SOLVED], thanks

Re: fedora-loadmodules.service

PostPosted: Feb 17th, '16, 23:26
by vigen
A big thank you for your help doktor5000 !! :geek: