I am trying to install PostgreSQL 9.3 on CentOS 6.5 with command:
rpm -i https://download.postgresql.org/pub/repos/yum/9.3/redhat/rhel-6-x86_64/pgdg-centos93-9.3-2.noarch.rpm
But I got an error message:
curl: (35) SSL connect error
error: skipping https://download.postgresql.org/pub/repos/yum/9.3/redhat/rhel-6-x86_64/pgdg-centos93-9.3-2.noarch.rpm - transfer failed
Please help!
please also follow this steps :
1- first download rpm file :
wget https://download.postgresql.org/pub/repos/yum/9.3/redhat/rhel-6-x86_64/pgdg-centos93-9.3-2.noarch.rpm
2- then install it :
rpm -ivh pgdg-centos93-9.3-2.noarch.rpm
what is the result of these command?
Related
I follow these steps to install xbt on ubuntu.
Download Xbt from GitHub
install g++
install xbt
4)create database and import data.
when I am going to start xbt ./xbt_tracker it shows bind failed: EADDRINUSE. Kindly help me I am stuck on this error for the last two days
kiran#kiran:/var/www/xbt_tracker$ ./xbt_tracker
bind failed: EADDRINUSE
The error points to the port already being in use by another application or service. You can check which by using netstat:
sudo netstat -tulpn
I'm trying to install Postgres 11 on an EC2 CentOS 7 server but can't get past the Postgres yum repo. I try to install the repo:
yum install https://download.postgresql.org/pub/repos/yum/11/redhat/rhel-7-x86_64/pgdg-centos11-11-2.noarch.rpm
and get [Errno 14] HTTPS Error 404 - Not Found for the URL https://download.postgresql.org/pub/repos/yum/11/redhat/rhel-2-x86_64/repodata/repomd.xml.
The error is correct - that URL does NOT exist. rhel-2* doesn't exist in https://download.postgresql.org/pub/repos/yum/11/redhat/. How can I work around what appears to be a yum definition bug? Is there a more valid mirror somewhere?
I was having the same problem on Amazon Linux 2.
This worked for me:
sudo rpm -Uvh https://yum.postgresql.org/11/redhat/rhel-7-x86_64/pgdg-centos11-11-2.noarch.rpm
sudo sed -i "s/rhel-\$releasever-\$basearch/rhel-7.5-x86_64/g" "/etc/yum.repos.d/pgdg-11-centos.repo"
sudo yum install postgresql11
Found the correct 2nd statement here:
https://installvirtual.com/how-to-install-postgresql-11-on-amazon-ec2-amazon-linux/
I am using Debian 7 amd64, sensu (version 0.28.4-1).
I install sensu-plugins through a proxy with the command:
/opt/sensu/embedded/bin/gem install sensu-plugins-redis --user-install --no-document -p http://myproxy:3128 --verbose -s https://rubygems.org/
But have an error:
ERROR: While executing gem ... (Errno::EPERM)
Operation not permitted - send(2)
When I try to directly install it in a server, which have directly internet connection, everything is successful.
I don't know why.
I also find key work: install sensu-plugins by offline package, but not have recommendation.
Please help me, thanks so much.
I was trying to install PostgreSQL-9.3 and postgis-2.1 using this command
sudo apt-get install postgresql postgresql-contrib postgis postgresql-9.3-postgis-2.1
I got this error
The PostgreSQL server failed to start. Please check the log output:
2016-03-18 10:54:56 IST FATAL: private key file "/etc/ssl/private/ssl-cert-snakeoil.key" has group or world access
2016-03-18 10:54:56 IST DETAIL: File must be owned by the database user or root, must have no write permission for "group", and must have no permissions for "other".
I searched for the error and got some solutions from the below links
PostgreSQL won't start: "server.key" has group or world access
I tried the solution but this gave me error permission denied..
and the second one I tried was
chmod 640 /etc/ssl/private/ssl-cert-snakeoil.key
this gave error operation not permitted. Please help me with this..
I am trying to install PostgreSQL on my micro Amazon EC2 instance through the commands:
sudo su
yum install postgresql postgresql-server postgresql-devel postgresql-contrib postgresql-docs
except it returns the following error message:
yum install postgresql postgresql-server postgresql-devel postgresql-contrib postgresql-docs
Loaded plugins: amazon-id, rhui-lb, security
Setting up Install Process
https://download.postgresql.org/pub/repos/yum/9.3/redhat/rhel-6-x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 407"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: pgdg93. Please verify its path and try again
I have been trying to figure out the cause of this error to no prevail, could anyone shine some light on potential problems on my instance that I could try correcting?
Thank you in advance,
Try out the steps here. This should work
https://wiki.postgresql.org/wiki/YUM_Installation