How to install PostgreSQL 14 into MacOS Big Sur - postgresql

I am currently self-studying postgreSQL from the ground up. I have spent the last 3 days trying to install PostgreSQL 14 and pgAdmin 4 into Mac OS Big Sur (version 11.6.2), but I kept getting the following errors:
1. When running pgAdmin 4, I encountered this message at the very beginning:
2. When installing postgreSQL 14 from EDB, at the very end of the installation process, I kept bumping into the error message: Problem running post-install step. Installation may not complete correctly Failed to start the database server. I tried following the solutions suggested in this thread, but I still get the same error in 1.
Question. Can someone please help me with the entire installment process to overcome these errors? Also, I am curious to know if pgAdmin 4's role to PostgreSQL 14 is the same as Rstudio's role to R or Anaconda to Python?

Related

Connection to server at port 5436 failed running on docker

I am trying to install pgAdmin4 in my windows machine. I am getting error message of connection to server failed.
I found a similar kind of issue here but the solution doesn't work. I have been struggling with the issue and didn't found any working solution. Earlier, I have PostgreSql 15 version installed but the 15 version was not compatible with yii2 project of mine. So, I uninstalled the PostgreSQL 15 version and reinstalled PostgreSQL 13. After reinstalling I start getting this error.
I tried to restart the services of postgresql from Task Manager -> Services but didn't worked.
Can anyone suggest me what I am doing wrong or what can I do get this fixed.
Many Thanks.

"su: cannot open session: Module is unknown" error when starting JasperServer 8.0.x Community Edition

I'm having some issues after installing JasperServer Community Edition 8.0.
When I try to run ctlscript.sh start, I get the following error message:
su: cannot open session: Module is unknown
<INSTALL_PATH>/postgresql/scripts/ctl.sh : postgresql  could not be started
and the PostgreSQL included in the installation does not start.
I tried debugging the startup code, and it seems that the issue is in file <INSTALL_PATH>/postgresql/scripts/ctl.sh, at line 63:
su postgres -c "$POSTGRESQL_START"
Just to let you have the complete context, I already have a Jasper Server at version 7.8 running on this server, using the same postgres user as the new 8.0 one. I'm not sure if it's a session issue.
Could you please help me figure out what's the problem?
Thanks a lot
Edit: I forgot to mention that the server is running RedHat 8.6

Postgres sql warning problem running post install step in windows 10 home edition?

When I tried to install Postgres SQL(11/12/13) in my windows 10 home edition when it almost comes near to complete installation showing this error:
Problem Running Post-Install Step. Installation May Not Complete Correctly failed to start the database server.
enter image description here
I googled about this issue but no luck, some of post show the create net postgres user but in windows 10 home edition local user/group options not available.
please help on this issue?

Google VM Instance Stopped Working after Upgrade

I have a google VM instance which was running flawlessly. It has Centos-7 and Plesk installed in it.
I just stopped it, upgraded machine type (to better CPU and RAM) and started it again. My server stopped responding at all. No websites are running, I can't connect to SSH & Google Cloud SDK Shell is unable to reach server. It says NETWORK ERROR, CONNECTION TIMED OUT. My all other instances works well.
I tried rebooting & resetting multiple times. Reading out stuff from internet since last 6 hours but for no luck. I also tried to clone disk of the instance and creating new instance with the cloned disk but for no luck. Same network connection issue. May be something in OS got corrupted? Please suggest. I have a number of websites hosted on the server which are down due to this. Thanks a lot in advance.
I took screenshot of my VM using Google Cloud Shell. It is as follows:
I connected with serial console which is as follows:
While creating a ticket with google, I found that they've posted some information under "Known Issues". I am pasting the whole stuff as there is no direct link to reach there. The symptoms they told were exactly what was happening to me:
Below is Known Issue Posted by Google:
Description:
We are experiencing an issue with Google Compute Engine instances running RHEL and CentOS 7 and 8. More details on this issue are available in the following article and bugs: https://access.redhat.com/solutions/5272311 https://bugzilla.redhat.com/show_bug.cgi?id=1861977 (RHEL 8) https://bugzilla.redhat.com/show_bug.cgi?id=1862045 (RHEL 7) Symptoms: Instances running RHEL and CentOS 7 and 8 that run yum update may fail to boot after restart with errors messages referring to a combination of: "X64 Exception Type - 0D(#GP - General Protection) CPU Apic ID", "FXSAVE_STATE" or "Find image based on IP". This issue affects instances with specific versions of the shim package installed. To find the currently installed shim version, use the following command: rpm -q shim-x64 Affected shim versions: CentOS 7: shim-x64-15-7.el7_9.x86_64 CentOS 8: shim-x64-15-13.el8.x86_64 RHEL 7: shim-x64-15-7.el7_8.x86_64 RHEL 8: shim-x64-15-14.el8_2.x86_64 Workaround: Do not update or reboot instances running RHEL or CentOS 7 and 8. If you are on an affected shim version, run yum downgrade shim\* grub2\* mokutil to downgrade to the correct version. This command may not work on CentOS 8. If you have already rebooted, you will need to attach the disk to another instance, chroot into the disk, then run the yum downgrade command. We will provide an update by Thursday, 2020-07-30 14:00 US/Pacific with current details.
Start time:
July 30, 2020 at 9:08:34 PM GMT+5
How to diagnose:
Instances running RHEL and CentOS 7 and 8 that run yum update may fail to boot after restart with errors messages referring to a combination of: "X64 Exception Type - 0D(#GP - General Protection) CPU Apic ID", "FXSAVE_STATE" or "Find image based on IP". This issue affects instances with specific versions of the shim package installed. To find the currently installed shim version, use the following command: rpm -q shim-x64 Affected shim versions: CentOS 7: shim-x64-15-7.el7_9.x86_64 CentOS 8: shim-x64-15-13.el8.x86_64 RHEL 7: shim-x64-15-7.el7_8.x86_64 RHEL 8: shim-x64-15-14.el8_2.x86_64
Workaround:
Do not update or reboot instances running RHEL or CentOS 7 and 8. If you are on an affected shim version, run yum downgrade shim\* grub2\* mokutil to downgrade to the correct version. This command may not work on CentOS 8. If you have already rebooted, you will need to attach the disk to another instance, chroot into the disk, then run the yum downgrade command.

Cannot launch SQL Shell from PostgreSQL Installation on Windows 10

I have recently installed PostgreSQL to my Windows 10 following this tutorial. When I completed the installation, I failed to launch the SQL shell -- I could only see the pgAdmin interface in my installation. I uninstalled and installed PostgreSQL a few times, and the result was always the same. Would anyone be able to help with figuring out how can I get access to the SQL shell?
Thank you!