Odoo Help


Internal Server Error right after installation of OpenERP 7.0

on 5/6/13, 12:31 PM 10,061 views

Hello everyone,

I am new at OpenERP and I just installed OpenERP 7.0 on Ubuntu 12.04 using the All-In-One ".deb" file. But when I tried to open it it gave me this error message:

Internal Server Error: The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

What is going wrong and how can I fix it?


I did the "tail -f /var/log/openerp-server.log" command line and it gave me this:

    File "/usr/share/pyshared/openerp/addons/web/http.py", line 422, in session_context
    File "/usr/share/pyshared/werkzeug/contrib/sessions.py", line 237, in save
    File "/usr/lib/python2.7/tempfile.py", line 300, in mkstemp
    return _mkstemp_inner(dir, prefix, suffix, flags)
    File "/usr/lib/python2.7/tempfile.py", line 235, in _mkstemp_inner
    fd = _os.open(file, flags, 0600)
    OSError: [Errno 13] Permission non accordée: '/tmp/oe-sessions-openerp/tmpNUQsbf.__wz_sess'
On 5/6/13, 12:37 PM

There is a file openerp-server.log, probably in a path such as /var/log/openerp.

Please try:

 tail -f /var/log/openerp/openerp-server.log

You may see there, further clues as to what occurred.

Update This ...

 tail -fn 50 /var/log/openerp/openerp-server.log

... will show more lines.

But you certainly have a permissions problem:

OSError: [Errno 13] Permission non accordée: '/tmp/oe-sessions-openerp/tmpNUQsbf.__wz_sess'

Please try :

 sudo ls -l /tmp/oe-sessions-openerp/

In my case I see many lines like this :

 -rw-r--r-- 1 openerp openerp 211 May  5 22:28 werkzeug_ffae16202d6af971f83831481c7bf60ae9165a0b.sess

Also :

 sudo ls -l /tmp/

gives me :

 drwx------  2 openerp openerp 147456 May  6 12:20 oe-sessions-openerp

Hope that helps.

I just did what you said Martin and I put the answer as an update!

on 5/6/13, 12:56 PM

Please see my update.

on 5/6/13, 2:29 PM
On 5/6/13, 4:55 PM

You have a permission problem, the user you are using to install openerp does not have the write permissions on the /tmp directory. Try doing

sudo dpkg -i <name of="" the="" .deb="" file="">

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 5/6/13, 12:31 PM
Seen: 10061 times
Last updated: 3/16/15, 8:10 AM