Skip to Content
Odoo Menu
  • Prisijungti
  • Išbandykite nemokamai
  • Programėlės
    Finansai
    • Apskaita
    • Pateikimas apmokėjimui
    • Sąnaudos
    • Skaičiuoklė (BI)
    • Dokumentai
    • Pasirašymas
    Pardavimai
    • CRM
    • Pardavimai
    • Kasų sistema - Parduotuvė
    • Kasų sistema - Restoranas
    • Prenumeratos
    • Nuoma
    Svetainės
    • Svetainių kūrėjimo įrankis
    • El. Prekyba
    • Internetinis Tinklaraštis
    • Forumas
    • Tiesioginis pokalbis
    • eMokymasis
    Tiekimo grandinė
    • Atsarga
    • Gamyba
    • PLM
    • Įsigijimai
    • Priežiūra
    • Kokybė
    Žmogaus ištekliai
    • Darbuotojai
    • Įdarbinimas
    • Atostogos
    • Įvertinimai
    • Rekomendacijos
    • Transporto priemonės
    Rinkodara
    • Socialinė rinkodara
    • Rinkodara el. paštu
    • SMS rinkodara
    • Renginiai
    • Rinkodaros automatizavimas
    • Apklausos
    Paslaugos
    • Projektas
    • Darbo laiko žiniaraščiai
    • Priežiūros tarnyba
    • Pagalbos tarnyba
    • Planavimas
    • Rezervacijos
    Produktyvumas
    • Diskucija
    • Patvirtinimai
    • IoT
    • VoIP
    • Žinių biblioteka
    • WhatsApp
    Trečiųjų šalių programos Odoo Studija Odoo debesijos platforma
  • Pramonės šakos
    Mažmeninė prekyba
    • Knygynas
    • Drabužių parduotuvė
    • Baldų parduotuvė
    • Maisto prekių parduotuvė
    • Techninės įrangos parduotuvė
    • Žaislų parduotuvė
    Food & Hospitality
    • Barai ir pub'ai
    • Restoranas
    • Greitasis maistas
    • Guest House
    • Gėrimų platintojas
    • Hotel
    Nekilnojamasis turtas
    • Real Estate Agency
    • Architektūros įmonė
    • Konstrukcija
    • Estate Managament
    • Sodininkauti
    • Turto savininkų asociacija
    Konsultavimas
    • Accounting Firm
    • Odoo Partneris
    • Marketing Agency
    • Teisinė firma
    • Talentų paieška
    • Auditai & sertifikavimas
    Gamyba
    • Textile
    • Metal
    • Furnitures
    • Maistas
    • Brewery
    • Įmonių dovanos
    Sveikata & Fitnesas
    • Sporto klubas
    • Akinių parduotuvė
    • Fitneso Centras
    • Sveikatos praktikai
    • Vaistinė
    • Kirpėjas
    Trades
    • Handyman
    • IT įranga ir palaikymas
    • Saulės energijos sistemos
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Kiti
    • Nonprofit Organization
    • Aplinkos agentūra
    • Reklaminių stendų nuoma
    • Fotografavimas
    • Dviračių nuoma
    • Programinės įrangos perpardavėjas
    Browse all Industries
  • Bendrija
    Mokykitės
    • Mokomosios medžiagos
    • Dokumentacija
    • Sertifikatai
    • Mokymai
    • Internetinis Tinklaraštis
    • Tinklalaidės
    Skatinkite švietinimą
    • Švietimo programa
    • Scale Up! Verslo žaidimas
    • Aplankykite Odoo
    Gaukite programinę įrangą
    • Atsisiųsti
    • Palyginkite versijas
    • Leidimai
    Bendradarbiauti
    • Github
    • Forumas
    • Renginiai
    • Vertimai
    • Tapkite partneriu
    • Services for Partners
    • Registruokite jūsų apskaitos įmonę
    Gaukite paslaugas
    • Susiraskite partnerį
    • Susirask buhalterį
    • Susitikti su konsultantu
    • Diegimo paslaugos
    • Klientų rekomendavimas
    • Palaikymas
    • Atnaujinimai
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Gaukite demo
  • Kainodara
  • Pagalba

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Apskaita
  • Atsarga
  • PoS
  • Projektas
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Žymos (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Žymos (View all)
odoo accounting v14 pos v15
About this forum
Pagalba

Why do I get an Internal server error when creating database after OpenERP 7 install on Centos ?

Prenumeruoti

Get notified when there's activity on this post

This question has been flagged
installdatabasecentos
1 Atsakyti
15363 Rodiniai
Portretas
Michael Wassmer

I am running a Centos 6.3 server and used the installation script found on the old openerp forum to install OpenERP 7.

After the install, I open OpenERP in the browser and create a new database, after I click the button it opens a popup with the following message :

XmlHttpRequestError INTERNAL SERVER ERROR

500 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.

In the terminal, when I run "service openerp start", here's the output I get :

[root@nsxxxxxx openerp]# service openerp start

Démarrage de OpenERP Server Daemon (openerp-server) : [ OK ]

[root@nsxxxxxx openerp]# Traceback (most recent call last):

File "/usr/lib64/python2.6/logging/__init__.py", line 776, in emit msg = self.format(record)

File "/usr/lib64/python2.6/logging/__init__.py", line 654, in format return fmt.format(record)

File "/usr/lib/python2.6/site-packages/openerp-7.0_20130522_231057-py2.6.egg/openerp/netsvc.py", line 144, in format return logging.Formatter.format(self, record)

File "/usr/lib64/python2.6/logging/__init__.py", line 454, in format s = s + record.exc_text.decode(sys.getfilesystemencoding())

File "/usr/lib64/python2.6/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True)

UnicodeDecodeError: 'utf8' codec can't decode byte 0xab in position 1184: invalid start byte

What can I do to try to fix this error ?

EDIT : Here is the what "locale" returns on the server:

LANG=en_US.UTF-8

LC_CTYPE="en_US.UTF-8"

LC_NUMERIC="en_US.UTF-8"

LC_TIME="en_US.UTF-8"

LC_COLLATE="en_US.UTF-8"

LC_MONETARY="en_US.UTF-8"

LC_MESSAGES="en_US.UTF-8"

LC_PAPER="en_US.UTF-8"

LC_NAME="en_US.UTF-8"

LC_ADDRESS="en_US.UTF-8"

LC_TELEPHONE="en_US.UTF-8"

LC_MEASUREMENT="en_US.UTF-8"

LC_IDENTIFICATION="en_US.UTF-8"

LC_ALL=

0
Portretas
Atmesti
Portretas
patrick
Best Answer

Your error message: UnicodeDecodeError: 'utf8' codec can't decode byte 0xab in position 1184: invalid start byte is about python trying to decode some character, it is expecting it to be UTF8 (Unicode), but it is not. This can happen is you have edited some files on a system which does not run the same kind of OS (Mac, Linux, Windows) as the server.

Another issue might be the usage of accents. Given Démarrage de OpenERP Server Daemon (openerp-server) : [ OK ] , I expect you to be in a french-speaking country. And there they use quite some accents (é or è for example).

Do you get the error with an empty database?

More information about unicode and your errormessage, have a look at the explanation at stackoverflow

Update

After some searching around, I found out that '0xab: ASCII code for Left double angle quotes'. So it loks like that you have modified a file on Windows, and typed ", which has been converted by Windows to the left double angle quotes (can't do it here). Hopefully you have got enough information to fix your issue

1
Portretas
Atmesti
Michael Wassmer
Autorius

Thanks for your answer. The server is on Centos and I connect to it from a Lubuntu box, so the OS is the same kind. I get the error when I push the "Create database" red button. PS. I juste ran the installation script you posted on the question "install-openerp-7-on-red-hat" and I still get the same error after. I'll keep looking.. definetly something to do with encoding.

patrick

Weird you run into that issue, while we do not have that. Given the 0xab character, I still expect somehow that the encoding is the issue, as you also found. Did you install CentOS in French? Is there a username/password you use which has accent in it?

Michael Wassmer
Autorius

I ended up using another install script found on the web, and everything works now (sorry can't post the link due to lack of karma). Still don't know exactly what happened. Thank you anyway for having looked into that.

Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Registracija
Related Posts Replies Rodiniai Veikla
lost Database Connection | odoo 12 | CentOS 7 Solved
database centos odoo-bin odoo12
Portretas
Portretas
3
bal. 19
4458
one server one odoo instance multi database and multi domain per database Solved
install database multiple instance
Portretas
Portretas
4
bal. 17
22605
odoo 9 fisrt database creation error
install database odoo v9
Portretas
Portretas
1
spal. 15
5208
set-up problem - receive 404 errors and empty files
v8 install centos cent
Portretas
Portretas
2
kov. 15
6136
Database disappeared from list after activating Google Oauth for administrator
database
Portretas
0
liep. 25
2304
Bendrija
  • Mokomosios medžiagos
  • Dokumentacija
  • Forumas
Atvirasis kodas
  • Atsisiųsti
  • Github
  • Runbot
  • Vertimai
Paslaugos
  • Odoo.sh talpinimas
  • Palaikymas
  • Atnaujinti
  • Pritaikytas programavimo kūrimas
  • Švietimas
  • Susirask buhalterį
  • Susiraskite partnerį
  • Tapkite partneriu
Apie mus
  • Mūsų įmonė
  • Prekės ženklo turtas
  • Susisiekite su mumis
  • Darbo pasiūlymai
  • Renginiai
  • Tinklalaidės
  • Internetinis Tinklaraštis
  • Klientai
  • Teisinis • Privatumas
  • Saugumas
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo yra atvirojo kodo verslo programų rinkinys, kuris apima visas įmonės poreikius: CRM, El. Prekybą, Apskaitą, Atsargų, Kasų sistemą, Projektų valdymą ir kt.

Unikali Odoo vertės pasiūla – būti tuo pačiu metu labai lengvai naudojama ir visiškai integruota sistema.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now