Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ggxfx-0000d4-CK for pgsql-admin@arkaria.postgresql.org; Tue, 08 Jan 2019 20:08:37 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ggxfw-0006cS-4S for pgsql-admin@arkaria.postgresql.org; Tue, 08 Jan 2019 20:08:36 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ggxfv-0006Zu-Gb for pgsql-admin@lists.postgresql.org; Tue, 08 Jan 2019 20:08:35 +0000 Received: from sonic310-14.consmr.mail.bf2.yahoo.com ([74.6.135.124]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ggxfr-0002fe-Ev for pgsql-admin@lists.postgresql.org; Tue, 08 Jan 2019 20:08:34 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1546978110; bh=/FDKydEpPzlnR75Gp/mqdE90ostis/LemPRhvwfpPdo=; h=Date:From:Reply-To:To:In-Reply-To:References:Subject:From:Subject; b=b7oL+k84XFZvH1VkZ6eI0cmeNTWj5sMw2M7oGBYqXLK5+bnjnEfHfPF5m9bCYIGo/fHbXJCEmu7Uy4eajksDApMkL6qG7rAvI6sTlRoz/Dqooz43xa1ArrSt46fV7CpHvdSXgoLy7vEAtrRrFY+TpmcF+A1wJdz1QS5GqlxNma+JyeCLxAcRaZ0ioPXFC4EpLKMCQPg3NwCFH8fGmfQ7pKUhDbyOGWPNy83ZJpFWxNmLMW3wmBif8LMnJkbaaS74M/mxgyPg5ghIIfcIWRAUQ8L9XihZ9Z46rVHvIK5q1EzqotqqtlDG6K6GAOzMn5noHKlrWoO10EhMDL/ZMJv4ow== X-YMail-OSG: _CxHtRgVM1mQxewHqJGFhBb59K9NDTM2M5CKuIrj_bj__jZMM7uf0KSA3Ip9Wvh 5J9jr55X7mE1D1dooyGBSpgOk4Yo8FIxb84SLwJodquDxoVBxz0zLCyyW1_ENIfiacsAG5C3Gi7X SbNSmYfLcauiIwFnfxv5y4Dpl7iuYFX_jcBkGMrAz44dpmNlzlufhHZxS0ZQWilIcVs8Jmdci7rK SkJUTb5ErfEUUh4VdwJNcdOSbd9sJiq.mOn03_Sn62A.22.AqsljmHEr5onuO.HLdpvLXQ57p0ng 0NF.iroVZRn1.4jdEb7IBNEjyiPAJ1UOrhNBAGFAmdfTWbtqlf_br0c_U.1nUE5Ijvo69iDT3SGA 4y6MduF6KsMW407lB11lGh40P8UT2cwKX3QbVA2sYGFfw60evjwoXlxFH7VzDYBtIFXhVZq4TWG1 L63CZOSWideTKBLe6CXmzo7xZ3A3LpmaIejZyVZd5wHXLXKu4.0hqbwl2CT.Naa_xbsLFov8FwSn cEgBEA0Dyz1U7_DCw5E_aBMiiP2k8WY7z5mf2m6A42cJ5hWE.dTBFkzABx8rUGlSvOchJhYsZBTJ 1MQHBgUz.l8NrdryJz6ipIr7rdqOKOrfZLpR5i5MknBkmwuL5sLjF63RwyUjkeCh1qZA_aRZWqR9 eges065F63y.mg5fn26c.Inatq9UEcUS_LOfFMAEE.5_mWg7B9Fpr6koKL9LWts7DUZR2Bfcj4o. IArdtP5w96J.Kd85JqwmBS3DBYJBhGo4MLvb37XnzSJohaHv8ScE_BKmQcCUq.ueMVRkhH1aUDdn s34bykTjQ_9W23fbODVbBuBpX0m05dWPHgkapy._QRac7NC21J1xV1r2ZREbJpPiPKJHsdwaVQeO BTNLK4Dc4roG2uyDWiq.EMwO.iysYDIopkZqA9jQG2FwM50KVKf_w7cAZZRa9d0.QDH9Hnt9eTsq cgnEBQKROL2r0zjPbzTL3SPOLfdBHV_MFbBr21HSWHuI2.aCdUDGlXfpjShzeEcuK9KkIDwKo4nw GRWN.scNOt475RxdrdPojgIX8IoPa4PUDL3n9_GIE4kMRtOt_6Hg26mng4EE_y3_FkJTNDQ-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic310.consmr.mail.bf2.yahoo.com with HTTP; Tue, 8 Jan 2019 20:08:30 +0000 Date: Tue, 8 Jan 2019 20:08:25 +0000 (UTC) From: Pepe TD Vo Reply-To: Pepe TD Vo To: Ricardo Martin Gomez , Kris Deugau , "pgsql-admin@lists.postgresql.org" Message-ID: <646999185.15108632.1546978105400@mail.yahoo.com> In-Reply-To: References: <1631501735.1420767.1545138861194.ref@mail.yahoo.com> <1631501735.1420767.1545138861194@mail.yahoo.com> <413070647.1500395.1545146432141@mail.yahoo.com> <655950091.6682015.1545227950414@mail.yahoo.com> <1647331387.6706670.1545231013241@mail.yahoo.com> <1026281491.6868813.1545244876819@mail.yahoo.com> <16116df4-3ae8-688b-5794-440e47d61ba1@vianet.ca> <404624400.7401294.1545328383827@mail.yahoo.com> <1417769599.15062732.1546970845229@mail.yahoo.com> <663674680.15076651.1546972379997@mail.yahoo.com> Subject: Re: install Postgres on RHED 7 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_15108631_2114827373.1546978105395" X-Mailer: WebService/1.1.12857 YahooMailNeo Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36 Content-Length: 38609 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk ------=_Part_15108631_2114827373.1546978105395 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable #ps -aux|grep postgres postgres 4840 0.0 0.1396576 16772 ? Ss 12:02 0:00 /usr/pgsql-11/bin/postmas= ter -D /var/lib/pgsql/11/data/ postgre 4/842 0.9 9.9 352496 1928 ? Ss 12:02 0:00 posgres:loggerpostgre 4/8= 42 0.9 9.9 352496 1928 ? Ss 12:02 0:00 posgres:logger postgre 4/842 0.9 9.9 352496 1928 ? Ss 12:02 0:00 posgres:logger postgre 4/842 0.9 9.9 352496 1928 ? Ss 12:02 0:00 posgres:logger postgre 4/842 0.9 9.9 352496 1928 ? Ss 12:02 0:00 posgres:logger postgre 4/842 0.9 9.9 352496 1928 ? Ss 12:02 0:00 posgres:logger =C2=A0Bach-Nga No one in this world is pure and perfect.=C2=A0 If you avoid people for the= ir mistakes you will be alone. So judge less, love and forgive more.To call= him a dog hardly seems to do him justice though in as much as he had four = legs, a tail, and barked, I admit he was, to all outward appearances. But t= o those who knew him well, he was a perfect gentleman (Hermione Gingold) **Live simply **Love generously **Care deeply **Speak kindly.*** Genuinely = rich *** Faithful talent *** Sharing success=20 On Tuesday, January 8, 2019 1:41 PM, Ricardo Martin Gomez wrote: =20 #yiv6158620078 P {margin-top:0;margin-bottom:0;}Hi, but the ERROR is: "pg_= ctl[6896]:HINT: Is another postmaster alreadying runnin ...y" Please, Can you check this?# ps -aux |grep postgres Regards. ______________________Saludos=C2=A0Ing. Ricardo Mart=C3=ADn GomezDBA - SysA= dminDe: Pepe TD Vo Enviado: martes, 8 de enero de 2019 15:32 Para: Kris Deugau; pgsql-admin@lists.postgresql.org Asunto: Re: install Postgres on RHED 7=C2=A0sorry, my fingers split before = I can finish all typing: finally the SA installed the OS libraries and I installed the server packag= es successful but not postgres11-contrib.#yum install postgresql11-server p= ostgresql11-contrib=C2=A0 --> I see no package postgresql11-contrib availab= eDependencies resolvedTransaction test succeededrunning transaction=C2=A0in= stalling: libicu-50.1.2.17.el7.x86_64=C2=A0 =C2=A01/2Installing: postgresql= 11-11.1-1PGDG.rhel7.x86_64=C2=A0 =C2=A02/3failed to link /usr/bin/psql -> /= etc/alternative/pgsql-psql: /usr/bin/pgql exists and it's not a a symlinkfa= iled to link /usr/bin/clusterdb -> /etc/alternatives/pgsql-clusterdb: /usr/= bin/clusterdb exist and itis not a symlink failed to link /usr/bin/createdb -> /etc/alternatives/pgsql-createdb: /usr/= bin/createdb=C2=A0exist and it is not a symlinkfailed to link /usr/bin/crea= teuser -> /etc/alternatives/pgsql-createuser: /usr/bin/createuse=C2=A0exist= and it is not a symlink failed to link /usr/bin/dropdb -> /etc/alternatives/pgsql-dropdb: /usr/bin/= dropdb exist and it is not a symlinkfailed to link /usr/bin/dropuser -> /et= c/alternatives/pgsql-dropuser: /usr/bin/dropuser exist and it is not a syml= inkfailed to link /usr/bin/pg_basebackup -> /etc/alternatives/pgsql-pg_base= backup: /usr/bin/pg_basebackup exist and itis not a symlinkfailed to link /= usr/bin/pg_dump -> /etc/alternatives/pgsql-pg_dump: /usr/bin/pg_dump exist = and it is not a symlinkfailed to link /usr/bin/pg_dumpall -> /etc/alternati= ves/pgsql-pg_dumpall: /usr/bin/pg_dumpall exist and it is not a symlinkfail= ed to link /usr/bin/pg_restore -> /etc/alternatives/pgsql-pg_restore: /usr/= bin/pg_restore exist and it is not a symlink failed to link /usr/bin/reindexdbl -> /etc/alternatives/pgsq-reindexdb: /us= r/bin/reindexdb exist and it is not a symlink failed to link /usr/bin/vacuumdb -> /etc/alternatives/pgsql-vacuumdb: /usr/= bin/vacuumdbexist and it is not a symlink installing:=C2=A0=C2=A0postgresql11-server-11.1-1PGDB.rhel7.x86_64=C2=A0=C2= =A0 1/3 Verifying:=C2=A0 postgresql11-11.1-1PGDB.rhel7.x86_64=C2=A0 =C2=A01/3Verify= ing: libicu-50.1.2-17.el7.x86_64=C2=A0 =C2=A02/3Verirying:=C2=A0 postgresql= 11-server-11.1-1PGDB.rhel7.x86_64=C2=A0 =C2=A03/3 Installed:postgresql11-server.x86_64 0:11.1-1PGDG.rhel7Dependency Installed= :libicu.x86_64 0:50.1.2-17.el7=C2=A0 =C2=A0postgres11.x86_64 0:11.1-1PGDG.r= hel 7 Completed! After the server successful install, I initialize the database an # /usr/pgsql-11/bin/postgresql-11-setup initdbInitializing database .....OK # systemctl enable postgres-11created symlink from /etc/systemd/system/mult= i-user.target.wants/postgresql-11.service to /usr/lib/systemd/system/postge= resql-11.service. # systemctl start postgresql-11# systemctl status postgresql-11postgresql-1= 1.service - PostgreSQL 11 database serverLoaded:loaded (/usr/lib/systemd/sy= stem/postgresql-11.service; enabled; vendor preset: disabled)Active: active= (running) since Tues 2019-01-08 12:02:05 EST; 12s agoand so on .... # service postgresql initdbhint: the perferred way to do this is now "postg= resql-set initdb"Initializing database ... OK but when I tried to correct the postgres.conf with the listen_addresses =3D= '*' and port=3D5432.=C2=A0 Restart the postgresql server I get an error. redirecting to /bin/systemctl start postgresql.service job for postgresql.service failed because the control proces exited with er= ror code.=C2=A0 See "systemctl status postgresql.service" and "jouralctl -x= e" for details. I run:=C2=A0#systemctl status postgresql.service -lpostgresql.service - Pos= tgreSQL database serverLoaded:loaded (/usr/lib/systemd/system/postgresql.se= rvice; diabled; vendor preset: disabled)Active: failed (result: exit-code) = since Tues 2019-01-08 12:34:43 EST; 2min 22s agoProcess: 6896 ExecStart=3D/= usr/bin/pg_ctl start -D ${PGDATA} -s -o -p ${PGPORT} -w -t 300 (code=3Dexis= ted, status=3D1/FAILUREProcess: 688 ExecStartPre=3D/usr/bin/postgresql-chec= k-db-dir ${PGDATA} (code=3Dexisted, status=3D0/SUCCESS)=C2=A0=C2=A0Jan 08 1= 2:34:42 hostname pg_ctl[6896]:HINT: Is another postmaster alreadying runnin= ...yJan 08 12:34:42 hostname pg_ctl[6896]:LOG: could not bing IPV6 socket:= Addressa ...seJan 08 12:34:42 hostname pg_ctl[6896]:HINT: Is another postm= aster alreadying runnin ...yJan 08 12:34:42 hostname pg_ctl[6896]:WARNING: = could not create any TCP/IP socketsJan 08 12:34:43 hostname pg_ctl[6896]:pg= _ctl: could nto start serverJan 08 12:34:43 hostname pg_ctl[1]: postgresql.= service: control process existed, c...=3D1 Jan 08 12:34:43 hostname pg_ctl[1]: Failed to start PostgreSQL database ser= ver. Jan 08 12:34:43 hostname pg_ctl[1]: Unit postgresql.service entered failed = state. Jan 08 12:34:43 hostname pg_ctl[1]: postgresql.service failed Hint: Some lines were ellipsized, use -l to show in full what I did wrong here?=C2=A0 Do I need to add listen_addresses =3D '*' and = port =3D 5432 on both /var/lib/pgsql/data/postgres.conf and /var/lib/pgsql/= 11/data/postgres.conf ? thank you for all your help. v/r, Bach-Nga No one in this world is pure and perfect.=C2=A0 If you avoid people for the= ir mistakes you will be alone. So judge less, love and forgive more.To call= him a dog hardly seems to do him justice though in as much as he had four = legs, a tail, and barked, I admit he was, to all outward appearances. But t= o those who knew him well, he was a perfect gentleman (Hermione Gingold) **Live simply **Love generously **Care deeply **Speak kindly.*** Genuinely = rich *** Faithful talent *** Sharing success On Thursday, December 20, 2018 4:17 PM, Kris Deugau wro= te: Pepe TD Vo wrote: > May you suggest me exactly repositories packages needed for install=20 > PostgreSQL?=C2=A0 Seem to me this link,=20 > https://download.postgresql.org/pub/repos/yum/11/redhat/rhel-7-x86_64/=20 > all rpm files needed another dependencies.=C2=A0 Total more than 300 file= s=20 > and only a few allow me to install the rest of them needed another=20 > dependencies and didn't give me exactly what they are. Some of them will be from the stock Red Hat repositories, and some will=20 be from the PGDG repository.=C2=A0 I haven't used that repository, and I=20 haven't done much on an RPM-based system for a while so I can't give you=20 any more specific information. It's possible - but very tedious and difficult - to install a package=20 with a large dependency tree entirely by hand.=C2=A0 I *have* done this=20 myself in the past, and I recall a few cases where it literally took two=20 or three hours to get everything installed to support the specific=20 package I started out trying to install.=C2=A0 This is why tools like yum= =20 were developed;=C2=A0 they do the work of checking through the list to see= =20 what's required, and where it can be installed from. This isn't specific to Postgres;=C2=A0 it's how the underlying OS package= =20 system works.=C2=A0 You may want to see if someone in your office has more= =20 experience installing packages on RHEL with yum and ask them to give you=20 a hand.=C2=A0 You've got several issues around yum's basic operation that y= ou=20 need to fix, and local network/systems admins should know enough about=20 your setup to help a lot faster. -kgd =20 ------=_Part_15108631_2114827373.1546978105395 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
= #ps -aux|grep postgres

=
postgres 4840 0.0 0.1396576 16772 ? Ss 12:02 0= :00 /usr/pgsql-11/bin/postmaster -D /var/lib/pgsql/11/data/

postgre 4/842 0.9 9.9 352496 1= 928 ? Ss 12:02 0:00 posgres:logger
postgre 4/842 0.9 9.9 352496 1928 ? Ss 12= :02 0:00 posgres:logger
postgre 4/842 0.9 9.9 352496 1928 ? Ss 12:= 02 0:00 posgres:logger
postgre 4/842 0.9 9.9 352496 1928 ? Ss 12:02 0:00 posgre= s:logger
postgre 4/842 0.9 9.9 352496 1928 ? Ss 12:02 0:00 posgres:logger
postgre 4= /842 0.9 9.9 352496 1928 ? Ss 12:02 0:00 posgres:logger
 
Bach-Nga

= No one in this world is pure and perfect.  If you avoid people for the= ir mistakes you will be alone. So judge less, love and forgive more.
=
To call him a dog hardly seems to do him= justice though in as much as he had four legs, a tail, and barked, I admit= he was, to all outward appearances. But to those who knew him well, he was= a perfect gentleman (Hermione Gingold)

**Live simply **Love generously **Care deeply **Speak ki= ndly.
*** Genuinely rich *** Faithful talent *** Sharing suc= cess


<= div class=3D"yahoo_quoted" style=3D"display: block;">
On Tuesday, January 8, 2019 1:41 PM, Ricardo Martin Gomez <rimarting= omez@hotmail.com> wrote:


Hi, but the ERROR is: "pg_ctl[6896]:HINT: Is another postmaster alreadying runnin ...= y"

Please, Can you check this?
# ps -aux |grep postgres

Regards.

_______________= _______
Saludos 
Ing. Ricardo Mart=C3=ADn Gomez
DBA - SysAdmin

De: Pepe TD Vo &l= t;pepevo@yahoo.com>
Enviado: martes, 8 de enero de 2019 15:32
Para: Kris Deugau; pgsql-admin@lists.postgresql.org
Asunto: Re: install Postgres on RHED 7
 
sorry, my fingers split before I can finish all typing:




finally the SA installed the OS libraries and I instal= led the server packages successful but not postgres11-contrib.
#yum install postgresql11-server postgresql11-contrib&= nbsp; --> I see no package postgresql11-contrib availabe
Dependencies resolved
Transaction test succeeded
running transaction 
installing: libicu-50.1.2.17.el7.x86_64   1/2
Installing: postgresql11-11.1-1PGDG.rhel7.x86_64  &nbs= p;2/3
failed to link /usr/bin/psql -> /etc/alternative/pgsql-p= sql: /usr/bin/pgql exists and it's not a a symlink
failed to link /usr/bin/clusterdb -> /etc/alternatives/p= gsql-clusterdb: /usr/bin/clusterdb exist and itis not a symlink

failed to link /usr/bin/createdb -> /etc/alternatives/pg= sql-createdb: /usr/bin/createdb exist and it is not a symlink
failed to link /usr/bin/createuser -> /etc/alternatives/= pgsql-createuser: /usr/bin/createuse exist and it is not a symlink
failed to link /usr/bin/dropdb -> /etc/alternatives/pgsql-dropdb: /usr/b= in/dropdb exist and it is not a symlink
failed to link /usr/bin/dropuser -> /etc/alternatives/pgsql-dropuser: /u= sr/bin/dropuser exist and it is not a symlink
failed to link /usr/bin/pg_basebackup -> /etc/alternatives/pgsql-pg_base= backup: /usr/bin/pg_basebackup exist and itis not a symlink
failed to link /usr/bin/pg_dump -> /etc/alternatives/pgsql-pg_dump: /usr= /bin/pg_dump exist and it is not a symlink
failed to link /usr/bin/pg_dumpall -> /etc/alternatives/pgsql-pg_dumpall= : /usr/bin/pg_dumpall exist and it is not a symlink
failed to link /usr/bin/pg_restore -> /etc/alternatives/pgsql-pg_restore= : /usr/bin/pg_restore exist and it is not a symlink
failed to link /usr/bin/reindexdbl -> /etc/alternatives/= pgsq-reindexdb: /usr/bin/reindexdb exist and it is not a symlink
failed to link /usr/bin/vacuumdb -> /etc/alternatives/pg= sql-vacuumdb: /usr/bin/vacuumdbexist and it is not a symlink

installing:  postgresql11-server-11.1-1PGDB.rhel7= .x86_64   1/3

Verifying:  postgresql11-11.1-1PGDB.rhel7.x86_64 =  1/3
Verifying: libicu-50.1.2-17.el7.x86_64   2/3
Verirying:  postgresql11-server-11.1-1PGDB.rhel7.x86_6= 4   3/3

Installed:
postgresql11-server.x86_64 0:11.1-1PGDG.rhel7<= /div>
Dependency Installed:
libicu.x86_64 0:50.1.2-17.el7   postgres11.x86_64= 0:11.1-1PGDG.rhel 7

Completed!

After the server successful install, I initialize the datab= ase an

# /usr/pgsql-11/bin/postgresql-11-setup initdb
Initializing database .....OK

# systemctl enable postgres-11
created symlink from /etc/systemd/system/multi-user.target.= wants/postgresql-11.service to /usr/lib/systemd/system/postgeresql-11.servi= ce.

# systemctl start postgresql-11
# systemctl status postgresql-11
postgresql-11.service - PostgreSQL 11 database server
Loaded:loaded (/usr/lib/systemd/system/postgresql-11.servic= e; enabled; vendor preset: disabled)
Active: active (running) since Tues 2019-01-08 12:02:05 EST= ; 12s ago
and so on ....

# service postgresql initdb
hint: the perferred way to do this is now "postgresql-set i= nitdb"
Initializing database ... OK

but when I tried to correct the postgres.conf with the list= en_addresses =3D '*' and port=3D5432.  Restart the postgresql server I= get an error.

redirecting to /bin/systemctl start postgresql.service

job for postgresql.service failed because the control proce= s exited with error code.  See "systemctl status postgresql.service" a= nd "jouralctl -xe" for details.

I run: 
#systemctl status postgresql.service -l
postgresql.service - PostgreSQL database server
Loaded:loaded (/usr/lib/systemd/system/postgresql.service; = diabled; vendor preset: disabled)
Active: failed (result: exit-code) since Tues 2019-01-08 12= :34:43 EST; 2min 22s ago
Process: 6896 ExecStart=3D/usr/bin/pg_ctl start -D ${PGDATA= } -s -o -p ${PGPORT} -w -t 300 (code=3Dexisted, status=3D1/FAILURE
Process: 688 ExecStartPre=3D/usr/bin/postgresql-check-db-di= r ${PGDATA} (code=3Dexisted, status=3D0/SUCCESS) 
 
Jan 08 12:34:42 hostname pg_ctl[6896]:HINT: Is another postmaster alrea= dying runnin ...y
Jan 08 12:34:42 hostname pg_ctl[6896]:LOG: could not bing I= PV6 socket: Addressa ...se
Jan 08 12:34:42 hostname pg_ctl[6896]:HINT: Is another post= master alreadying runnin ...y
Jan 08 12:34:42 hostname pg_ctl[6896]:WARNING: could not cr= eate any TCP/IP sockets
Jan 08 12:34:43 hostname pg_ctl[6896]:pg_ctl: could nto sta= rt server
Jan 08 12:34:43 hostname pg_ctl[1]: postgresql.service: con= trol process existed, c...=3D1
Jan 08 12:34:43 hostname pg_ctl[1]: Failed to start Postgre= SQL database server.
Jan 08 12:34:43 hostname pg_ctl[1]: Unit postgresql.service= entered failed state.
Jan 08 12:34:43 hostname pg_ctl[1]: postgresql.service fail= ed

Hint: Some lines were ellipsized, use -l to show in full

what I did wrong here?  Do I need to add listen_addres= ses =3D '*' and port =3D 5432 on both /var/lib/pgsql/data/postgres.conf and= /var/lib/pgsql/11/data/postgres.conf ?

thank you for all your help.

v/r,

<= font color=3D"#8000ff">
Bach-Nga

No one in this world is pure and perfect.  If you avoid people for= their mistakes you will be alone. So judge less, love and forgive more.
To call him a dog hardly seems to do him justice though in as much as he had four = legs, a tail, and barked, I admit he was, to all outward appearances. But t= o those who knew him well, he was a perfect gentleman (Hermione Gingold)

**Live simply **Love generously **Care d= eeply **Speak kindly.
*** Genuin= ely rich *** Faithful talent *** Sharing success


On Thursday, December 20, 2018 4:17 PM, = Kris Deugau <kdeugau@vianet.ca> wrote:


Pepe TD Vo wrote:
> May you suggest me exactly repositories packages needed for install > PostgreSQL?  Seem to me this link,
> https://download.postgresql.org/pub/repos/yum/11/redhat/rhel-7-x86_64/ =
> all rpm files needed another dependencies.  Total more than 300 f= iles
> and only a few allow me to install the rest of them needed another > dependencies and didn't give me exactly what they are.

Some of them will be from the stock Red Hat repositories, and some will be from the PGDG repository.  I haven't used that repository, and I haven't done much on an RPM-based system for a while so I can't give you any more specific information.

It's possible - but very tedious and difficult - to install a package
with a large dependency tree entirely by hand.  I *have* done this myself in the past, and I recall a few cases where it literally took two or three hours to get everything installed to support the specific
package I started out trying to install.  This is why tools like yum <= br clear=3D"none"> were developed;  they do the work of checking through the list to see =
what's required, and where it can be installed from.

This isn't specific to Postgres;  it's how the underlying OS package <= br clear=3D"none"> system works.  You may want to see if someone in your office has more =
experience installing packages on RHEL with yum and ask them to give you a hand.  You've got several issues around yum's basic operation that y= ou
need to fix, and local network/systems admins should know enough about
your setup to help a lot faster.


-kgd







------=_Part_15108631_2114827373.1546978105395--