Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Virtualbox program error:

Failed to open a session for the virtual machine .... Failed to load VMMR0.r0 (VERR_SUPLIB_OWNER_NOT_ROOT).

Terminal output:

balazs@inspiron:/usr$ ls -l
total 164
drwxr-xr-x   2 root   root   69632 Oct 12 12:27 bin
drwxr-xr-x   2 root   root    4096 Apr 24 19:04 games
drwxr-xr-x  81 root   root   12288 Sep 29 11:57 include
drwxr-xr-x 200 balazs balazs 36864 Oct 12 12:27 lib
drwxr-xr-x   4 root   root    4096 May 23 10:43 lib32
drwxr-xr-x  12 root   root    4096 Oct  3 14:02 local
drwxr-xr-x   2 root   root   12288 Oct 10 19:17 sbin
drwxr-xr-x 337 root   root   12288 Oct 12 12:27 share
drwxr-xr-x  11 root   root    4096 Oct 12 12:27 src

I didn't changed anything. Maybe some other installed software screwed things up. But I think /usr/lib should be owned by root. Inside the folder everything is owned by root.

balazs@inspiron:/usr/lib$ ls -l | less
total 196232
drwxr-xr-x  2 root   root         4096 Apr 24 19:03 accountsservice
drwxr-xr-x  7 root   root         4096 Jul 16 12:49 ADM_plugins
drwxr-xr-x  3 root   root         4096 Apr 24 19:04 aisleriot
drwxr-xr-x  2 root   root         4096 Apr 24 19:04 apg
drwxr-xr-x  2 root   root         4096 May 28 01:50 apr-util-1
drwxr-xr-x  4 root   root         4096 Apr 24 19:02 apt
drwxr-xr-x  2 root   root        12288 Apr 24 19:03 aspell
drwxr-xr-x  2 root   root         4096 Apr 24 19:03 at-spi2-core
-rw-r--r--  1 root   root        34512 Jul 11 07:51 attica_kde.so
drwxr-xr-x  2 root   root         4096 Apr 24 19:04 avahi

How should I fix this ?

I fear I'll break my OS. I did sudo chown on that folder once and I had to reinstall everyting because sudo wasn't owned by root etc. ( a year ago ) I decided not to use Virtualbox, but now I need it. Any help?

share|improve this question
    
You appear to have multiple accounts. Please register one of these accounts. Then click the contact-us link at the bottom of this page to request that your other accounts are merged. Once done, you'll be able to re-edit your question with further details. Thanks. –  fossfreedom Oct 13 '13 at 8:00

1 Answer 1

Use chown to change the owner:

sudo chown root:root /usr/lib

This will change the owner of /usr/lib directory to root.

More about: man chown.

share|improve this answer
    
Sure? sudo chown -R root:root /usr/lib Won't it cause "sudo: effective uid is not 0, is sudo installed setuid root?" And other problems like that? chown recursively is a good thing on that folder? I have very sensitive data on this OS, don't want to waste time reinstalling everything :s –  balazs Oct 12 '13 at 11:07
    
Thank you. I did it. And after that "sudo gedit" and no errors. seems like it's working. thx ^^ –  balazs Oct 12 '13 at 11:10
    
@balazs If this answered your question, you may mark this answer as accepted, by clicking the green check mark next to it. That will indicate that your problem is solved. –  Radu Rădeanu Oct 12 '13 at 11:12
    
Virtualbox output: "Effective UID is not root (euid=1000 egid=1000 uid=1000 gid=1000) (rc=-10)" oh snap. Starts again ..... –  balazs Oct 12 '13 at 11:13
    
System program problem detected.... Sytstem program problem reporter crashed. I fear restarting my OS :s :( I'll quickly save everything to a USB storage drive then probably reintall the whole thing. –  balazs Oct 12 '13 at 11:14

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.