How to install rabbitmq on CentOS6 - centos

When I try to install the rabbitMQ, I recive this message:
warning: rabbitmq-server-3.8.5-1.el6.noarch.rpm: Header V4 RSA/SHA256 Signature, key ID 6026dfca: NOKEY
error: Failed dependencies:
erlang >= 21.3 is needed by rabbitmq-server-3.8.5-1.el6.noarch
My version this erlang is "R16B03-1", because the versioning type for CentOS is different.

Just as the error message indicates, you need to install newer version of erlang.
Check the https://www.erlang.org/downloads/R16B03-1, and find an appropriate one.

Related

How to fix `mailtutils` attempting to install a Postgresql version that does not exist?

I'm attempting to install mailutils on Ubuntu 22.04 inside a Docker container, but receiving the following error:
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/p/postgresql-14/libpq5_14.4-0ubuntu0.22.04.1_amd64.deb 404 Not Found [IP: 185.125.190.36 80]
I've had a look at the Ubuntu archive, and as sure as the message claims, Postgresql 14.4 has been replaced with 14.5 (most likely due to a security vulnerability which has been fixed). I've also tried --fix-missing, and it still cannot be resolved.
How do I go about resolving this?

gdcmanon - Requested cryptoraphic library not configured

I am using gdcmanon to anonimize dicom files like the following:
LD_LIBRARY_PATH=../lib ./gdcmanon --certificate CA_cert.cer -e ./dump ./dump/anon
But it gives the following error:
Error: In /home/travis/build/malaterre/GDCM/Source/Common/gdcmCryptoFactory.cxx, line 61, function static gdcm::CryptoFactory* gdcm::CryptoFactory::GetFactoryInstance(gdcm::CryptoFactory::CryptoLib)
No crypto factory registered with id 1
Requested cryptoraphic library not configured.
How can I solve this?
The error is because of binaries you use, it looks like SSL dependencies are not satisfied.
As a solution (workaround?), you can get the binaries via apt system. For Ubuntu 16.04 Xenial distribution, there is version 2.6.3 of libgdcm-tools package.
Another possibility is to compile gdcm from scratch, but you need development files of OpenSSL (apt install libssl-dev). Moreover, to use anonymisation with certificates, in CMake system set GDCM_USE_SYSTEM_OPENSSL=YES.

memcached Version 3.0.4 does not have REST xml available install failed

i follow a tutorial from plesk to install memcache(d), he say put this line:
/opt/plesk/php/7.2/bin/pecl install memcached
But this work not and i get this error:
Package "memcached" Version "3.0.4" does not have REST xml available
install failed
What i can do? Have any a how to for noobs? :-)
Best regards, Stefan
Can't reproduce this error. I have successfully compiled module with
yum install plesk-php72-devel gcc make libmemcached-devel
/opt/plesk/php/7.2/bin/pecl install memcached
libmemcached directory [no] : /usr

mysqli::real_connect(): Headers and client library minor version mismatch. Headers:50614 Library:50544

codeigniter 3.0.6 gives error
mysqli::real_connect(): Headers and client library minor version mismatch. Headers:50614 Library:50544
I had the same problem when i updated my mysql server or client version, what you have to do is install mysqlnd, you can use
yum install php54-mysqlnd
it depends on your php version, you can check it using phpinfo(); or running php -i on bash

Installing Ruby 1.9.2 via rvm. Ubuntu 11.10 Problems

I have installed 1.8.3 version but when I trying to install Ruby 1.9.2 via rvm see some ERRORS .
I used Google, used many methods to solve this problem but I have not received any any answers. Can anybody help me?
I quote the part of code(in Terminal) below
unforbiddenyet#Trash-PC:~$ rvm install 1.9.2
0Warning: Failed to create the file yaml-0.1.4.tar.gz: Access is denied
Database file /usr/share/ruby-rvm/config/packages does not exist.
0Warning: Failed to create the file ruby-1.9.2-p290.tar.bz2: Denied Warning: Access
curl: (23) Failed writing body (0 != 2503)
There was an error, please check /usr/share/ruby-rvm/log//*.log. Next we'll try to fetch via http.
0Warning: Failed to create the file ruby-1.9.2-p290.tar.bz2: Denied Warning: Access
Failed writing body (0 != 2804)
There was an error, please check /usr/share/ruby-rvm/log//*.log
There has been an error while trying to fetch the source.
Halting the installation.
There has been an error fetching the ruby interpreter. Halting the installation.
To create the packages, first install 1.8.7 and then to install the current version (currently 1.9.3):
$ rvm install 1.8.7
$ rvm install 1.9.3