Passa al contenuto
Odoo Menu
  • Accedi
  • Provalo gratis
  • App
    Finanze
    • Contabilità
    • Fatturazione
    • Note spese
    • Fogli di calcolo (BI)
    • Documenti
    • Firma
    Vendite
    • CRM
    • Vendite
    • Punto vendita Negozio
    • Punto vendita Ristorante
    • Abbonamenti
    • Noleggi
    Siti web
    • Configuratore sito web
    • E-commerce
    • Blog
    • Forum
    • Live chat
    • E-learning
    Supply chain
    • Magazzino
    • Produzione
    • PLM
    • Acquisti
    • Manutenzione
    • Qualità
    Risorse umane
    • Dipendenti
    • Assunzioni
    • Ferie
    • Valutazioni
    • Referral dipendenti
    • Parco veicoli
    Marketing
    • Social marketing
    • E-mail marketing
    • SMS marketing
    • Eventi
    • Marketing automation
    • Sondaggi
    Servizi
    • Progetti
    • Fogli ore
    • Assistenza sul campo
    • Helpdesk
    • Pianificazione
    • Appuntamenti
    Produttività
    • Comunicazioni
    • Approvazioni
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    App di terze parti Odoo Studio Piattaforma cloud Odoo
  • Settori
    Retail
    • Libreria
    • Negozio di abbigliamento
    • Negozio di arredamento
    • Alimentari
    • Ferramenta
    • Negozio di giocattoli
    Cibo e ospitalità
    • Bar e pub
    • Ristorante
    • Fast food
    • Pensione
    • Grossista di bevande
    • Hotel
    Agenzia immobiliare
    • Agenzia immobiliare
    • Studio di architettura
    • Edilizia
    • Gestione immobiliare
    • Impresa di giardinaggio
    • Associazione di proprietari immobiliari
    Consulenza
    • Società di contabilità
    • Partner Odoo
    • Agenzia di marketing
    • Studio legale
    • Selezione del personale
    • Audit e certificazione
    Produzione
    • Tessile
    • Metallo
    • Arredamenti
    • Alimentare
    • Birrificio
    • Ditta di regalistica aziendale
    Benessere e sport
    • Club sportivo
    • Negozio di ottica
    • Centro fitness
    • Centro benessere
    • Farmacia
    • Parrucchiere
    Commercio
    • Tuttofare
    • Hardware e assistenza IT
    • Ditta di installazione di pannelli solari
    • Calzolaio
    • Servizi di pulizia
    • Servizi di climatizzazione
    Altro
    • Organizzazione non profit
    • Ente per la tutela ambientale
    • Agenzia di cartellonistica pubblicitaria
    • Studio fotografico
    • Punto noleggio di biciclette
    • Rivenditore di software
    Carica tutti i settori
  • Community
    Apprendimento
    • Tutorial
    • Documentazione
    • Certificazioni 
    • Formazione
    • Blog
    • Podcast
    Potenzia la tua formazione
    • Programma educativo
    • Scale Up! Business Game
    • Visita Odoo
    Ottieni il software
    • Scarica
    • Versioni a confronto
    • Note di versione
    Collabora
    • Github
    • Forum
    • Eventi
    • Traduzioni
    • Diventa nostro partner
    • Servizi per partner
    • Registra la tua società di contabilità
    Ottieni servizi
    • Trova un partner
    • Trova un contabile
    • Incontra un esperto
    • Servizi di implementazione
    • Testimonianze dei clienti
    • Supporto
    • Aggiornamenti
    GitHub Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Richiedi una demo
  • Prezzi
  • Aiuto

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

  • CRM
  • e-Commerce
  • Contabilità
  • Magazzino
  • PoS
  • Progetti
  • MRP
All apps
È necessario essere registrati per interagire con la community.
Tutti gli articoli Persone Badge
Etichette (Mostra tutto)
odoo accounting v14 pos v15
Sul forum
È necessario essere registrati per interagire con la community.
Tutti gli articoli Persone Badge
Etichette (Mostra tutto)
odoo accounting v14 pos v15
Sul forum
Assistenza

Installting OpenERP 7 - PostgreSQL issues

Iscriviti

Ricevi una notifica quando c'è un'attività per questo post

La domanda è stata contrassegnata
postgresqlubuntuopenerp
1 Rispondi
8506 Visualizzazioni
Avatar
bizres

Hello,

I'm trying to setup the Postgresql for OpenERP on an Ubuntu 12.04 minimal server with no shell and am following instructions at theopensourcerer[DOT]com/2012/12/how-to-install-openerp-7-0-on-ubuntu-12-04-lts/comment-page-1/

I do however need some help creating a database in Postgresql. The command I'm required to use is (after changing to postgres user):

createuser --createdb --username postgres --no-createrole --no-superuser --pwprompt openerp

But unfortunately am ending up with the following error:

createuser: could not connect to database postgres: could not connect to server: No such file or directory

Is the server running locally and accepting connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?

According to the PostgreSQL official documentation, it 'cos the server was not started, or it was not started where createdb expected it

I then removed PostgreSQL inorder that I may be able to do a clean reinstall and note any error messages along the way.

Using the following to uninstall in 2 steps: First dpkg -l | grep postgres results with the following:

ii postgresql 9.1+129ubuntu1 object-relational SQL database (supported version)

ii postgresql-9.1 9.1.9-0ubuntu12.04 object-relational SQL database, version 9.1 server

ii postgresql-client 9.1+129ubuntu1 front-end programs for PostgreSQL (supported version)

ii postgresql-client-9.1 9.1.9-0ubuntu12.04 front-end programs for PostgreSQL 9.1

ii postgresql-client-common 129ubuntu1 manager for multiple PostgreSQL client versions

ii postgresql-common 129ubuntu1 PostgreSQL database-cluster manager

Then sudo apt-get --purge remove postgresql results:

Reading package lists... Done

Building dependency tree

Reading state information... Done

The following packages will be REMOVED:

postgresql*

0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.

After this operation, 64.5 kB disk space will be freed.

Do you want to continue [Y/n]? y

perl: warning: Setting locale failed.

perl: warning: Please check that your locale settings:

LANGUAGE = (unset),

LC_ALL = (unset),

LC_CTYPE = "en_CA.UTF-8",

LC_COLLATE = "en_CA.UTF-8",

LC_MESSAGES = "en_CA.UTF-8",

LANG = "en_CA.UTF-8"

are supported and installed on your system.

perl: warning: Falling back to the standard locale ("C").

locale: Cannot set LC_CTYPE to default locale: No such file or directory

locale: Cannot set LC_MESSAGES to default locale: No such file or directory

locale: Cannot set LC_ALL to default locale: No such file or directory

(Reading database ... 75235 files and directories currently installed.)

Removing postgresql ...

Now using sudo apt-get install postgresql results to:

Reading package lists... Done

Building dependency tree

Reading state information... Done

The following NEW packages will be installed:

postgresql

0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.

Need to get 0 B/5552 B of archives.

After this operation, 64.5 kB of additional disk space will be used.

perl: warning: Setting locale failed.

perl: warning: Please check that your locale settings:

LANGUAGE = (unset),

LC_ALL = (unset),

LC_CTYPE = "en_CA.UTF-8",

LC_COLLATE = "en_CA.UTF-8",

LC_MESSAGES = "en_CA.UTF-8",

LANG = "en_CA.UTF-8"

are supported and installed on your system.

perl: warning: Falling back to the standard locale ("C").

locale: Cannot set LC_CTYPE to default locale: No such file or directory

locale: Cannot set LC_MESSAGES to default locale: No such file or directory

locale: Cannot set LC_ALL to default locale: No such file or directory

Selecting previously unselected package postgresql.

(Reading database ... 75234 files and directories currently installed.)

Unpacking postgresql (from .../postgresql_9.1+129ubuntu1_all.deb) ...

Setting up postgresql (9.1+129ubuntu1) ...

When I try to start the postgresql server with /etc/init.d/postgresql start - no errors or messages are displayed

Would this give any indication as to why I'm getting the error as per my earlier post above?

Would really appreciate some help on this, pls. Thanks in anticipation.

0
Avatar
Abbandona
Bhavik

i guess u need to supply hostname and port number also while creating db

Avatar
patrick
Risposta migliore

I see some error messages regarding languages, when you install postgreSQL. Are you sure you have configured/specified the correct language for your server? I am talking about the following messages:

perl: warning: Setting locale failed.

perl: warning: Please check that your locale settings:

LANGUAGE = (unset),

LC_ALL = (unset),

LC_CTYPE = "en_CA.UTF-8",

LC_COLLATE = "en_CA.UTF-8",

LC_MESSAGES = "en_CA.UTF-8",

LANG = "en_CA.UTF-8"

are supported and installed on your system.

perl: warning: Falling back to the standard locale ("C").

locale: Cannot set LC_CTYPE to default locale: No such file or directory

locale: Cannot set LC_MESSAGES to default locale: No such file or directory

locale: Cannot set LC_ALL to default locale: No such file or directory

## Maybe you should reinstall the server from scratch, and make sure you have specified a language.

0
Avatar
Abbandona
Ti stai godendo la conversazione? Non leggere soltanto, partecipa anche tu!

Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!

Registrati
Post correlati Risposte Visualizzazioni Attività
postgres DB connect error on Ubuntu
postgresql ubuntu
Avatar
3
giu 20
7386
ubuntu 14.04lts run odoo reports 'OpenERP Server Error' Risolto
postgresql ubuntu
Avatar
Avatar
1
mar 15
5624
Openerp PostgreSQL issue
postgresql ubuntu
Avatar
0
mar 15
4918
Wrong Data posted in openerp
postgresql openerp
Avatar
0
mar 15
3786
What is the locale recommended for postgres?
postgresql ubuntu odoo
Avatar
0
ott 20
3458
Community
  • Tutorial
  • Documentazione
  • Forum
Open source
  • Scarica
  • Github
  • Runbot
  • Traduzioni
Servizi
  • Hosting Odoo.sh
  • Supporto
  • Aggiornamenti
  • Sviluppi personalizzati
  • Formazione
  • Trova un contabile
  • Trova un partner
  • Diventa nostro partner
Chi siamo
  • La nostra azienda
  • Branding
  • Contattaci
  • Lavora con noi
  • Eventi
  • Podcast
  • Blog
  • Clienti
  • Note legali • Privacy
  • Sicurezza
الْعَرَبيّة 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 è un gestionale di applicazioni aziendali open source pensato per coprire tutte le esigenze della tua azienda: CRM, Vendite, E-commerce, Magazzino, Produzione, Fatturazione elettronica, Project Management e molto altro.

Il punto di forza di Odoo è quello di offrire un ecosistema unico di app facili da usare, intuitive e completamente integrate tra loro.

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