Odoo Help

Welcome!

This community 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.

0

Internal Server Error right after installation of OpenERP 7.0

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

--Martin--
1978
| 5 6 8
Cornwall, Canada
--Martin--

Analysing, designing, coding and mentoring since 1975. Kilobytes to terabytes. Punch cards to punchy sites. My OpenERP video series: http://www.youtube.com/playlist?list=PLq7op4J183lX44ZlXPiHxUpRvmmRDtxye My Google Speadsheets --> OpenERP Data Pump project: http://martinhbramwell.github.io/GData_OpenERP_Data_Pump My email (with spaces removed) : mhb . warehouseman @ gmail . com

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

--Gustavo--
950
| 2 1 4
Buenos Aires, Argentina
--Gustavo--

Python developer, big fan of sailing

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="">

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

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