Odoo Help

0

Internal Server Error right after installation of OpenERP 7.0

By
Zakaria
on 5/6/13, 12:31 PM 9,969 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?

Thanks!

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

    self.gen.next()
    File "/usr/share/pyshared/openerp/addons/web/http.py", line 422, in session_context
    session_store.save(request.session)
    File "/usr/share/pyshared/werkzeug/contrib/sessions.py", line 237, in save
dir=self.path)
    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'
1
Martin
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!

Zakaria
on 5/6/13, 12:56 PM

Please see my update.

Martin
on 5/6/13, 2:29 PM
0
Gustavo
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.

Register

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)

Stats

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