RHEL6: Zabbix server/web mysql package not available - rhel

Trying to install zabbix-server-mysql and zabbix-web-mysql through:
yum install zabbix-server-mysql zabbix-web-mysql
After installing the repository by:
rpm -ivh http://repo.zabbix.com/zabbix/3.0/rhel/6/x86_64/zabbix-release-3.0-1.el6.noarch.rpm
But keep getting following error:
No package zabbix-server-mysql available.
No package zabbix-web-mysql available.
Error: Nothing to do
Same issue even when trying to install the package from its repo directory, such:
yum install http://repo.zabbix.com/zabbix/3.0/rhel/6/x86_64/zabbix-server-mysql-3.0.6-1.el6.x86_64.rpm
Any advise?

Solved by changing the repo directories.

Related

Issue with Docker installation on Linux

I am trying to install Docker on RHEL whose version details are shown below
I have downloaded the rpm docker-ce-20.10.2-3.el7.x86_64.rpm from here. And I run the following install command
sudo yum install /home/projuser/usr/share/Docker/docker-ce-20.10.2-3.el7.x86_64.rpm
Error comes up suggesting that docker-ce-rootless-extras is required.
Error: Package: 3:docker-ce-20.10.2-3.el7.x86_64 (/docker-ce-20.10.2-3.el7.x86_64)
Requires: docker-ce-rootless-extras
Here is the full screenshot of error
As per the message I try to install docker-ce-rootless-extras-20.10.2-3.el7.x86_64.rpm that I downloaded from here using command shown below
sudo yum install /home/projuser/usr/share/Docker/docker-ce-rootless-extras-20.10.2-3.el7.x86_64.rpm
I get an error that suggests that docker-ce is required
Error: Package: docker-ce-rootless-extras-20.10.2-3.el7.x86_64 (/docker-ce-rootless-extras-20.10.2-3.el7.x86_64)
Requires: docker-ce
Here is the complete screenshot
So I am not sure how to resolve this dependency as docker-ce and docker-ce-rootless-extras are both not getting installed with dependency on each other. Please let me know if you need any other details.
Please help resolve this
Hope it not too late. You have to install both packages at the same time.
rpm -i docker-ce-XXXXX docker-ce-rootless-extras-XXXXX
This command is working for me.
you need to install the centos package on RHEL. installing the correct package resolved the same issue I was facing. check out this Link

Install perl-LWP-Protocol-https package on OEL 6.10

I wanted to install perl-LWP-Protocol-https package on my OEL 6.10 server. I did download the rpm of the same and tried to install it. But it has lot of dependencies. So I did setup repo from https://packages.endpoint.com/ to install the required package. But I am getting below error while installing. Could some one help me ?
yum install perl-LWP-Protocol-https*
Loaded plugins:
security Setting up Install Process
https://packages.endpoint.com/rhel/6Server/os/x86_64/repodata/repomd.xml:
[Errno 14] problem making ssl connection Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for
repository: endpoint. Please verify its path and try again
install perl-LWP-Protocol-https package on OEL 6.10
The rpm package perl-LWP-Protocol-https seems to origin from a discontinued Suse repo for EL6.
Install the perl module LWP-Protocol-https :
# yum install perl-IO-Socket-SSL perl-CPAN
# cpan
cpan[1]> install Net::HTTPS
cpan[2]> install LWP::UserAgent
cpan[3]> install LWP::Protocol::https
The install test was done with "Redhat CentOS 6.10".
Alternatives for OEL 6.10 : Install perl-CPAN with yum. And install "the other modules" with CPAN
If no perl-CPAN in the OEL repo, then install CPAN from source https://cpan.metacpan.org/authors/id/A/AN/ANDK/CPAN-2.27.tar.gz
cd CPAN-2.27/ && perl Makefile.PL && make
# make install

Unable to install postgresql on oracle linux with yum

When i try to install the package it says package is already installed, But when i try to install then it says that no package is available.
Downloads $ sudo rpm -i pgdg-oraclelinux91-9.1-7.noarch.rpm
package pgdg-oraclelinux91-9.1-7.noarch is already installed
Downloads $ sudo yum -y install postgresql91 postgresql91-contrib postgresql91-devel postgresql91-libs postgresql91-plperl postgresql91-plpython postgresql91-pltcl postgresql91-docs postgresql91-server
Loaded plugins: langpacks, ulninfo
Repository google-chrome is listed more than once in the configuration
No package postgresql91 available.
No package postgresql91-contrib available.
No package postgresql91-devel available.
No package postgresql91-libs available.
No package postgresql91-plperl available.
No package postgresql91-plpython available.
No package postgresql91-pltcl available.
No package postgresql91-docs available.
No package postgresql91-server available.
Error: Nothing to do
Thanks in Advance.
Use yum list postgresql91\* to find this package first and then use full name to install a package
I have facing same issue when downloading postgres in linux.
As i have followed some step from surfing some site.
I have download repository RPM first and its downloaded successfully.
then after in next step i have run below command
yum install postgresql10-server postgresql10
then getting below error
No package postgresql10-server available.
No package postgresql10 available.
in resolution of that i have run yum list command. and you can find out list of available software where postgres also mentioned so used specific name of postgres in command like
sudo yum install postgresql-server.x86_64
And it is working fine.

RPM Installation dependency error

I am attempting to install StackStorm on a RHEL6 environment since I was encountering issues with their deployment script. I believe I got all the required software installed but have been encountering issues trying to install the actual StackStorm packages. All my commands are run with the sudo prefix as the root user.
Ex command:
sudo rpm -i st2common-0.11.0-6.noarch.rpm
Output:
error: Failed dependencies:
python(abi) = 2.7 is needed by st2common-0.11.0-6.noarch
Here is the resource I am using:
http://docs.stackstorm.com/install/rpm.html
How can I resolve this dependency error and update python?
Thanks!
You can do it using yum.
yum localinstall st2common-0.11.0-6.noarch.rpm

Installing Node.js with yum on Amazon CentOS - libssl error

We are using CentOS as elastic build agent for Bamboo on demand.
Recently we utilized grunt for processing our JavaScript files. So I am trying to install npm and grunt in startup script.
Original solution was taken from https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager
curl -O http://download-i2.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
sudo rpm -ivh epel-release-6-8.noarch.rpm
sudo yum install npm --enablerepo=epel
npm install -g grunt
npm install -g grunt-cli
And it worked for some time. But later it start fail on yum with error related to missed libssl.so.10.
I checked and libssl.so.10 present in the system.
yum install libssl.so.10 ->
Package openssl-1.0.0g-1.26.amzn1.i686 already installed and latest version
Nothing to do
yum install libcrypto.so.10 ->
Package openssl-1.0.0g-1.26.amzn1.i686 already installed and latest version
Nothing to do
yum install nodejs ->
Error: Package: nodejs-0.10.24-1.el6.i686 (epel)
Requires: libcrypto.so.10(libcrypto.so.10)
Error: Package: nodejs-0.10.24-1.el6.i686 (epel)
Requires: libssl.so.10(libssl.so.10)
The most interesting part that on the same machine I absolutely successfully compiled nodes from sources using
git clone http://github.com/joyent/node.git
cd node
./configure
make
make install
Eventually it takes too long to make nodejs upon each elastic agent start. So I am still seeking for a way to install node.js with yum. Can you provide any ideas about directions to evaluate?
Maybe there is some other way to install npm and grunt at CentOS?
How did you remove the node.js when it started giving you problems? Try force remove the ssl and crypto packages and reinstalled them.
yum remove libssl.so.10
yum remove libcrypto.so.10
yum install libssl.so.10
yum install libcrypto.so.10
It sounds like your library files are not there when you get the errors but the rpm itself is installed. You have to remove the rpm first before you can reinstall.

Resources