[SOLVED] postgresql.service start error. Job for postgresql failed because process exited with error

Поделиться
HTML-код
  • Опубликовано: 27 ноя 2024

Комментарии • 8

  • @cesarnavejar4388
    @cesarnavejar4388 4 года назад +1

    I'm using Arch. For me worked:
    I ran (inside postgres shell):
    initdb -D '/var/lib/postgres/data'
    The data folder was full with several files and then I restarted the server:
    #systemctl restart postgresql.service
    Then I checked:
    #systemctl status postgresql.service
    Everything was fine, now I proceeded to run in the postgres shell:
    psql
    And bingo!!!
    Thanks for the video!!!

  • @nuraktar7815
    @nuraktar7815 3 года назад +2

    mann..... a big thanks... it solve my problem... im trying this to solve from yesterday... and then i found u.. :)

  • @huyvole9724
    @huyvole9724 3 года назад +2

    centos 7. Not worked !

    • @huyvole9724
      @huyvole9724 3 года назад

      @@HackerStation still error like your title

    • @YA_MAHDI_313
      @YA_MAHDI_313 3 года назад

      @@HackerStation Starting PostgreSQL 13 database server: mainError: /usr/lib/postgresql/13/bin/pg_ctl /usr/lib/postgresql/13/bin/pg_ctl start -D /var/lib/postgresql/13/main -l /var/log/postgresql/postgresql-13-main.log -s -o -c config_file="/etc/postgresql/13/main/postgresql.conf" exited with status 1: 2021-10-30 17:43:32.027 UTC [405] FATAL: could not create shared memory segment: Function not implemented 2021-10-30 17:43:32.027 UTC [405] DETAIL: Failed system call was shmget(key=2443665, size=40, 03600). 2021-10-30 17:43:32.027 UTC [405] LOG: database system is shut down pg_ctl: could not start server Examine the log output. ... failed!
      failed!

  • @chinmaypokale6994
    @chinmaypokale6994 3 года назад

    asking for password for postgres

  • @adhycanno1681
    @adhycanno1681 Год назад +1

    it worked

  • @donqhomo8810
    @donqhomo8810 3 года назад +2

    dude, ty u so much!!!