Siirry sisältöön
Odoo Menu
  • Kirjaudu sisään
  • Kokeile ilmaiseksi
  • Sovellukset
    Talous
    • Kirjanpito
    • Laskutus
    • Kulut
    • Datataulukot (BI)
    • Asiakirjat
    • Allekirjoita
    Myynti
    • CRM
    • Myynti
    • Kassajärjestelmä myymälään
    • Kassajärjestelmä ravintolaan
    • Tilaukset
    • Vuokraus
    Verkkosivut
    • Verkkosivun Rakennustyökalu
    • Verkkokauppa
    • Blogi
    • Foorumi
    • Livechat
    • Verkko-oppiminen
    Toimitusketju
    • Varastointi
    • Tuotanto
    • Tuotteen elinkaaren hallinta (PLM)
    • Ostot
    • Huolto
    • Laatu
    Henkilöstöhallinto
    • Työntekijät
    • Rekrytointi
    • Vapaat
    • Arvioinnit
    • Suositukset
    • Kuljetuskalusto
    Markkinointi
    • Somemarkkinointi
    • Sähköpostimarkkinointi
    • Tekstiviestimarkkinointi
    • Tapahtumat
    • Markkinoinnin automaatio
    • Kyselyt
    Palvelut
    • Projekti
    • Työaikakirjaukset
    • Kenttähuolto
    • Asiakaspalvelu
    • Suunnittelu
    • Ajanvaraukset
    Tuottavuus
    • Viestintä
    • Hyväksynnät
    • IoT
    • IP-puhe
    • Tietokirjasto
    • WhatsApp
    Kolmannen osapuolen sovellukset Odoo-Studio Odoo-Pilvialusta
  • Toimialat
    Vähittäiskauppa
    • Kirjakauppa
    • Vaatekauppa
    • Huonekaluliike
    • Ruokakauppa
    • Laitteistokauppa
    • Lelukauppa
    Ruoka & Majoitus
    • Baari ja Pubi
    • Ravintola
    • Pikaruoka
    • Majatalo
    • Juomien jakelija
    • Hotelli
    Kiinteistöt
    • Kiinteistönvälitystoimisto
    • Arkkitehtitoimisto
    • Rakentaminen
    • Kiinteistönhallinta
    • Puutarhanhoito
    • Kiinteistön omistajien yhdistys
    Konsultointi
    • Tilitoimisto
    • Odoo-kumppani
    • Markkinointitoimisto
    • Lakitoimisto
    • Osaajahankinta
    • Tilintarkastus & sertifiointi
    Tuotanto
    • Tekstiili
    • Metalli
    • Huonekalut
    • Ruoka
    • Panimo
    • Yrityslahjat
    Terveys & Liikunta
    • Urheiluseura
    • Silmälasiliike
    • Kuntokeskus
    • Hyvinvointialan ammattilaiset
    • Apteekki
    • Kampaamo
    Kaupat
    • Yleismies
    • IT-laitteisto & Tuki
    • Aurinkoenergiajärjestelmät
    • Suutari
    • Siivouspalvelut
    • LVI-palvelut
    Muut
    • Voittoa tavoittelematon järjestö
    • Ympäristötoimisto
    • Mainostaulujen vuokraus  
    • Valokuvaus
    • Leasing-pyörät
    • Ohjelmistojen jälleenmyyjä
    Selaa kaikkia toimialoja
  • Yhteisö
    Opi
    • Kurssit
    • Dokumentaatio
    • Todistukset
    • Koulutus
    • Blogi
    • Podcast
    Kannusta kouluttautumaan
    • Koulutusohjelmat
    • Scale Up! Liiketoimintapeli
    • Vieraile Odoolla
    Hanki ohjelmisto
    • Lataa
    • Vertaile versioita
    • Julkaisut
    Tee yhteistyötä
    • Github
    • Foorumi
    • Tapahtumat
    • Käännökset
    • Ryhdy kumppaniksi
    • Kumppanipalvelut
    • Rekisteröi tilitoimistosi
    Hanki palveluja
    • Löydä kumppani
    • Löydä kirjanpitäjä
    • Varaa asiantuntijatapaaminen
    • Implementaatiopalvelut
    • Asiakasreferenssit
    • Tuki
    • Versionkorotukset
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Varaa demo
  • Hinnoittelu
  • Asiakaspalvelu

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

  • CRM
  • e-Commerce
  • Kirjanpito
  • Varastointi
  • PoS
  • Projekti
  • MRP
All apps
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Kaikki kirjoitukset Ihmiset Merkit
Tunnisteet (Näytä kaikki)
odoo accounting v14 pos v15
Tietoa tästä foorumista
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Kaikki kirjoitukset Ihmiset Merkit
Tunnisteet (Näytä kaikki)
odoo accounting v14 pos v15
Tietoa tästä foorumista
Apua

Internal Server "could not connect to server: Connection refused" Error after installing Odoo 9.0c on windows 10 - PostgreSQL not running?

Tilaa

Saat ilmoituksen, kun tähän viestiin ilmaantuu aktiviteettia

Tämä kysymys on merkitty
windowspostgresqlodoo-v9
3 Vastaukset
47069 Näkymät
Avatar
Mark Egloff

Dear all
After successful installation of Odoo on Windows 10 (All in One Package)  I get an Internal Error 500 on the local odoo site.
Looking at the log file of the odoo server it seems that the server is not able to access the postgresql server

OperationalError: could not connect to server: Connection refused (0x0000274D/10061)    Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432?
I checked the service management console on windows but there has no service "postgresql" os similar running.

My Questions

  • How can I verify if the postgresql server is up and running?

  • How can I start the "postgresql" server ?

  • Should the installer not install the postgresql as a service? if so what is the name of the service and how can I install it manually?

thank you regards
Mark

0
Avatar
Hylkää
Avatar
Mark Egloff
Tekijä Paras vastaus

Thank you, I verified and notices that the Odoo (all in One) installes the postgre binary but did not initialized the DB and also did not installed the service "postgre". I don't know if this is a problem of windows 10. May be other users can confirm this?

However I collected several information how to initialize postgresql and how it can be installed as a service from different sites on the internet.

finally I could it get running by following these steps:

1. Open cmd line environment with Administrator privileges

2. got to postgresql isntallation from odoo e.g.: cd "C:\Program Files (x86)\Odoo 9.0-20161005\PostgreSQL\bin"

3. initialize the postgresql server with the credentials you have entered during the odoo installer

initdb.exe --locale=German_Germany -E UTF-8 -U openpg -W "C:\Program Files (x86)\Odoo 9.0-20161005\PostgreSQL\data"

Remarks: please make sure that the data directory is empty. please use your "locale" according your platform. the -U is the option to create a superuser with that name while -W will prompt you for the password for this new user.

4. register the "postgres" service: pg_ctl.exe register -N postgres -D "c:\Program Files (x86)\Odoo 9.0-20161005\PostgreSQL\data"

5. start the service in the windows mgmt console

6. after that you should be able to access the odoo page and start with the DB installation

Hope this helps



1
Avatar
Hylkää
Avatar
Jaime Vasquez
Paras vastaus

Hi,
Odoo in Windows with the all in one package installs postgresql inside the openerp folder :

C:\Program Files\OpenERP 7.0-20150312\PostgreSQL

This is an old winxp installation of openerp.  Maybe for odoo and recent version of windows are the same.

To check for Postgresql service, in cmd run
net start | findstr "Postgre"

Or  Start -> Run ->  services.msc
Look for Posgresql_For_Openerp  or something similar

To access the postgresql server you have to modify the pg_hba.conf file.  This file resides in the data dir of the posgresql folder.  (C:\Program Files\OpenERP 7.0-20150312\PostgreSQL\data)

At the end of the file add something like this:

host all openerp all  md5     (or the name of the user you created when the installer asked for one)
host all odoo all md5


HTH.


0
Avatar
Hylkää
Jaime Vasquez

see https://www.postgresql.org/docs/9.1/static/auth-pg-hba-conf.html

for details.

Nautitko keskustelusta? Älä vain lue, vaan osallistu!

Luo tili jo tänään nauttiaksesi yksinoikeusominaisuuksista ja osallistuaksesi mahtavaan yhteisöömme!

Rekisteröidy
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
Postgresql installation on windows Ratkaistu
windows postgresql
Avatar
Avatar
Avatar
Avatar
Avatar
5
helmik. 24
39936
Where can I get the PostgreSQL Connection Information of my OpenERP Account?
windows postgresql
Avatar
Avatar
1
maalisk. 15
6144
Windows all-in-one package non-working
windows install postgresql connection
Avatar
Avatar
2
elok. 15
5112
meli_oerp web hook
windows
Avatar
0
maalisk. 25
1961
When Odoo 14 connects to PostgreSQL 15.7, the connection is idle but cannot be released
postgresql
Avatar
0
helmik. 25
2997
Yhteisö
  • Kurssit
  • Dokumentaatio
  • Foorumi
Avoin lähdekoodi
  • Lataa
  • Github
  • Runbot
  • Käännökset
Palvelut
  • Odoo.sh hosting
  • Tuki
  • Versionkorotus
  • Räätälöidyt kehitykset
  • Koulutus
  • Löydä kirjanpitäjä
  • Löydä kumppani
  • Ryhdy kumppaniksi
Meistä
  • Yrityksemme
  • Brändiominaisuudet
  • Ota yhteyttä
  • Työpaikat
  • Tapahtumat
  • Podcast
  • Blogi
  • Asiakkaat
  • Oikeudellinen ilmoitus • Yksityisyys
  • Tietoturva
الْعَرَبيّة 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 on kokoelma avoimen lähdekoodin yrityssovelluksia, jotka kattavat kaikki yrityksesi tarpeet: asiakkuudenhallinta eli CRM, verkkokauppa, kirjanpito, varastointi, kassajärjestelmä, projektinhallinta, jne.

Odoon uniikki arvolupaus on olla samanaikaisesti erittäin helppokäyttöinen ja täysin integroitu.

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