Git Product home page Git Product logo

Comments (6)

stevenschlansker avatar stevenschlansker commented on July 20, 2024

Hi, when this exception is thrown, that says that initdb failed. Did you look at the stderr that the process output? It doesn't appear in your stack trace. I bet it has a clue as to what went wrong.

from otj-pg-embedded.

farous avatar farous commented on July 20, 2024

Thank you for your answer.
When I launch the command alone, i don't have any error. Do you know where can I find the stderr of the process in linux ? This process is launched by jenkins and I thought the error happened because of multiple "initd" processes launched one after another but when I tried to launch the command line for every instance in my "/tmp/embeddedpg" (25 of them) I got no errors too.

If not, maybe you have a hint on where to ask ?
Thank you in advance.

from otj-pg-embedded.

fortu-nato avatar fortu-nato commented on July 20, 2024

@farous Could you solve this? I have exactly the same issue.

from otj-pg-embedded.

fortu-nato avatar fortu-nato commented on July 20, 2024

In my case it was a failing because the locale settings in my machine where weird and the Postgres server was not able to recognise them. So setting the variables
LC_COLLATE=en_US.UTF-8
LC_CTYPE=en_US.UTF-8
solved it for me.
Hope it helps.

from otj-pg-embedded.

stevenschlansker avatar stevenschlansker commented on July 20, 2024

Sounds like the locale fix might help. Feel free to reopen this issue if there are still problems and you capture some error output.

from otj-pg-embedded.

angstream555 avatar angstream555 commented on July 20, 2024

the same issue on MAC os.

Caused by: java.lang.IllegalStateException: Process [/var/folders/xj/9t71t3n16kbfzc7g0hl1crlxp578w7/T/embedded-pg/PG-3d7ce5d05cd575a649dd635576931b19/bin/initdb, -A, trust, -U, postgres, -D, /var/folders/xj/9t71t3n16kbfzc7g0hl1crlxp578w7/T/epg14288675036556769936, -E, UTF-8] failed

UPD: resolved by migration to ver 0.11.3

from otj-pg-embedded.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.