Upgrade Centos 6.10 to 6.9 [closed] - centos6

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I am trying to update my Centos VPS.
I have one on Centos 6.9 but an another one in Centos 6.10
And i can not upgrade it.
I tried folowing commands :
# cat /etc/redhat-release
CentOS release 6.10 (Final)
# yum update
Modules complémentaires chargés : fastestmirror, presto, priorities
Configuration du processus de mise à jour
Loading mirror speeds from cached hostfile
* atomic: www4.atomicorp.com
* epel: mirror.ehv.weppel.nl
* rpmforge: miroir.univ-paris13.fr
Aucun paquet marqué pour mise à jour -> No packet to install.
So i tried the following commands :
# yum clean all
Modules complémentaires chargés : fastestmirror, presto, priorities
Nettoyage des dépôts : atomic base epel extras rpmforge updates
Nettoyage complet
Cleaning up list of fastest mirrors
0 delta-package files removed, by presto
# yum update
Modules complémentaires chargés : fastestmirror, presto, priorities
Configuration du processus de mise à jour
Determining fastest mirrors
epel/metalink | 21 kB 00:00
* atomic: www4.atomicorp.com
* epel: mirrors.ircam.fr
* rpmforge: miroir.univ-paris13.fr
atomic | 3.4 kB 00:00
atomic/primary_db | 620 kB 00:00
base | 3.7 kB 00:00
base/primary_db | 4.7 MB 00:00
epel | 3.2 kB 00:00
epel/primary | 3.2 MB 00:00
epel 12522/12522
extras | 3.4 kB 00:00
extras/primary_db | 25 kB 00:00
rpmforge | 1.9 kB 00:00
rpmforge/primary_db | 2.7 MB 00:00
updates | 3.4 kB 00:00
updates/primary_db | 645 kB 00:00
Aucun paquet marqué pour mise à jour -> No packet to install.
I tried also :
# yum install kernel
Modules complémentaires chargés : fastestmirror, presto, priorities
Configuration du processus d'installation
Loading mirror speeds from cached hostfile
* atomic: www4.atomicorp.com
* epel: mirrors.ircam.fr
* rpmforge: miroir.univ-paris13.fr
Le paquet kernel-2.6.32-754.2.1.el6.x86_64 est déjà installé dans sa dernière version (Already installed in last version)
Rien à faire (nothing to do)
Can someone help me please ?
Thanks

The CentOS release 6.10 (Final) is the final and last updated CentOS 6
The CentOS release 6.9 is older version than 6.10 so don't be confused its not 6.1..
See this link: https://blog.centos.org/2018/07/release-for-centos-linux-6-10-i386-and-x86_64/

Related

Nginx add modules = how to?

I just install Nginx on Oracle linux and working with it as reverse proxy.
it's wroking as I wanted.
now I want to add this moudle:
ngx_http_v2_module
how do I do this ?
where is the config file ?
everywhere I looked they say
his module is not built by default, it should be enabled with the --with-http_v2_module configuration parameter.
but I don't see any example of how to do it ....
when I enter
/usr/share/nginx/moudles/
I see this files only :
-rw-r--r--. 1 root root 65 Mar 30 2018 mod-http-geoip.conf
-rw-r--r--. 1 root root 72 Mar 30 2018 mod-http-image-filter.conf
-rw-r--r--. 1 root root 64 Mar 30 2018 mod-http-perl.conf
-rw-r--r--. 1 root root 71 Mar 30 2018 mod-http-xslt-filter.conf
-rw-r--r--. 1 root root 59 Mar 30 2018 mod-mail.conf
-rw-r--r--. 1 root root 61 Mar 30 2018 mod-stream.conf
so do I need to download something ? and put it in this directory ?
also
with this module I could push image to user?
meaning he will go the websites and will see my image\icon in his webpage?
or do I need another module ?
Thanks,
Assuming this is about Oracle Linux 7, Oracle provides nginx in two channels:
EPEL packages for Oracle Linux 7 (ol7_developer_EPEL)
# yum info nginx
Loaded plugins: langpacks, ulninfo
Installed Packages
Name : nginx
Arch : x86_64
Epoch : 1
Version : 1.12.2
Release : 2.el7
Size : 1.5 M
Repo : installed
From repo : ol7_developer_EPEL
Summary : A high performance web server and reverse proxy server
URL : http://nginx.org/
License : BSD
Description : Nginx is a web server and a reverse proxy server for HTTP, SMTP, POP3 and
: IMAP protocols, with a strong focus on high concurrency, performance and low
: memory usage.
and it is compiled with the http2 module:
# /usr/sbin/nginx -V 2>&1 | sed -e 's/--with/\n\0/g' | grep http_v2
--with-http_v2_module
Alternatively there is also a version in the Software Collection Library (ol7_software_collections)
# yum info rh-nginx114
Loaded plugins: langpacks, ulninfo
Installed Packages
Name : rh-nginx114
Arch : x86_64
Version : 1.14
Release : 6.el7
Size : 0.0
Repo : installed
From repo : ol7_software_collections
Summary : Package that installs rh-nginx114
License : GPLv2+
Description : This is the main package for rh-nginx114 Software Collection.
where we also have support for http2:
# /opt/rh/rh-nginx114/root/usr/sbin/nginx -V 2>&1 | sed -e 's/--with/\n\0/g' | grep http_v2
--with-http_v2_module
So basically whatever version you have installed, you should be covered.
For the configuration of this module, you should look at the upstream NGINX documentation.

Skipping acquire of configured file

I tried to update my raspberry pi 4 and I got this result.
$ sudo apt update
Hit:1 https://deb.nodesource.com/node_6.x xenial InRelease
Hit:2 http://archive.raspberrypi.org/debian buster InRelease
Hit:3 https://repos.influxdata.com/debian buster InRelease
Get:4 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
Hit:5 https://packages.grafana.com/oss/deb stable InRelease
Get:7 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages [13.0 MB]
Ign:6 https://download.rethinkdb.com/apt buster InRelease
Hit:8 https://download.rethinkdb.com/apt buster Release
Fetched 13.0 MB in 50s (263 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
N: Skipping acquire of configured file 'main/binary-armhf/Packages' as repository 'http://download.rethinkdb.com/apt buster InRelease' doesn't support architecture 'armhf'
$ lscpu
Architecture: armv7l
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Thread(s) per core: 1
Core(s) per socket: 4
Socket(s): 1
Vendor ID: ARM
Model: 3
Model name: Cortex-A72
Stepping: r0p3
CPU max MHz: 1500.0000
CPU min MHz: 600.0000
BogoMIPS: 108.00
Flags: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
I am newbie in Linux. I spend my time a lot to figure out this problem and also i can not run node-red and Grafana I have no idea because of it.
To fix this,
Type the following commands:
sudo cd /etc/apt/sources.list.d
ls -a
Go into apt source folder and see what request/hits on the internet it is trying to make and list all the folders so you can identify the name of the folder you need to delete (rethinkdb folder/file)
sudo rm <folder/file that is causing the error, in this case, the rethinkdb>
clear
sudo apt-get update
Things should work now. The error was caused because the rethinkdb module you tried to download is not compatible with the architecture of your raspberry pi; so every time you try to update your pi it tries to download that file from the internet and the error happens.

WooCommerce Gateway PayPal Express Checkout requires OpenSSL >= 1.0.1

I am running OSX Sierra 10.12.5 with PHP 5.6.30 and have a local Wordpress / WooCommerce setup with the "woocommerce-gateway-paypal-express-checkout" plugin installed. I am seeing an error in the admin relating to my OpenSSL version:
WooCommerce Gateway PayPal Express Checkout requires OpenSSL >= 1.0.1 to be installed on your server
I also have other issues with cURL request to https pages, as well as the Wordpress update check not working; which I understand to be related.
In my php info, I have this entry for OpenSSL
OpenSSL support enabled
OpenSSL Library Version LibreSSL 2.2.7
OpenSSL Header Version LibreSSL 2.2.7
Openssl default config /private/etc/ssl/openssl.cnf
From the command line, the version is reported as:
openssl version
OpenSSL 0.9.8zh 14 Jan 2016
which openssl
/usr/bin/openssl
Lastly, the server environment reported by WooCommerce status is:
### Server Environment ###
Server Info: Apache/2.4.25 (Unix) LibreSSL/2.2.7 PHP/5.6.30
PHP Version: 5.6.30
PHP Post Max Size: 8 MB
PHP Time Limit: 31
PHP Max Input Vars: 1000
cURL Version: 7.51.0
SecureTransport
I am at a loss as to how to fix this. I understand that the LibreSSL is a branch of OpenSSL, and is more secure. I have searched for a solution, and several seem to suggest running brew install openssl and then brew upgrade openssl. This doesn't seem to fix the problem. I know there are several similar or related questions, but most of the responses were either a couple of years old, or seemed to cause other problems.
I have several machines with this problem and would really like to get a better understanding for what is going wrong.

Centos sudo yum update fails

I have the following error when trying to update yum for security can someone advise a fix, i have run yum clean metadata and that didnt work i am worried about running yum clean all as this was suggested as a fix in another post as i am not sure what it does?
sudo yum update
Loaded plugins: priorities, update-motd, upgrade-helper
amzn-main/latest | 2.1 kB 00:00
amzn-updates/latest | 2.3 kB 00:00
centos | 3.7 kB 00:00
http://apt.sw.be/redhat/el5/en/x86_64/dag/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
epel/x86_64/metalink | 23 kB 00:00
epel/x86_64 | 4.3 kB 00:00
epel/x86_64/updateinfo | 736 kB 00:00
epel/x86_64/primary_db | 5.9 MB 00:00
http://apt.sw.be/redhat/el6/en/x86_64/rpmforge/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
rpmforge | 1.9 kB 00:00
4028 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package aws-cli.noarch 0:1.10.46-1.40.amzn1 will be updated
---> Package aws-cli.noarch 0:1.10.56-1.41.amzn1 will be an update
---> Package compat-libtiff3.x86_64 0:3.9.4-10.13.amzn1 will be updated
---> Package compat-libtiff3.x86_64 0:3.9.4-18.14.amzn1 will be an update
---> Package curl.x86_64 0:7.40.0-8.58.amzn1 will be updated
---> Package curl.x86_64 0:7.40.0-8.59.amzn1 will be an update
---> Package dracut.noarch 0:004-336.28.amzn1 will be updated
---> Package dracut.noarch 0:004-409.31.amzn1 will be an update
http://apt.sw.be/redhat/el5/en/x86_64/dag/repodata/filelists.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
Thanks
You should delete invalid repo file in /etc/yum.repos.d/ directory.
First detect repo file with:
# grep -l apt.sw.be /etc/yum.repos.d/
Delete invalid repo file and clean yum cache with:
# sudo yum clean all
Although AliOkan provided a valid answer, here is the reason why it fails in the first place, as I've hit the similar issue as well.
As from your trace (you actually had a ref to el5 btw, which is not maintained anymore):
http://apt.sw.be/redhat/el[5|6]/en/x86_64/dag/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
This error points to some issue with RPMForge repo, then on the official repo there's this info:
RPMforge/RepoForge status
RPMForge/RepoForge is a dead project. It is not maintained. DO NOT
USE.
See also https://github.com/repoforge/rpms/issues/375
It's not officially maintained anymore, but if needed, there are mirrors in place, see git issue above.

upgraded cassandra - cant see old data

I upgraded from cassandra 2.0 to 2.2.
[idf#node1 python]$ nodetool status
Datacenter: datacenter1
=======================
Status=Up/Down
|/ State=Normal/Leaving/Joining/Moving
-- Address Load Tokens Owns (effective) Host ID Rack
UN 10.0.0.60 137.2 KB 256 100.0% 062d5387-d755-4220-9687-d8a793283882 rack1
[idf#node1 python]$
I had to recreate the keyspace and table as they did not show up. Now when I try to insert into this keyspace/table (from golang) I get
[idf#node1 python]$ 01:16:23.460090 Cannot achieve consistency level QUORUM
Not sure if I created the ks exactly the same way as before
[idf#node1 cassandra_stuff]$ more CreateKeyspace.cql
CREATE KEYSPACE tickdata
WITH REPLICATION = { 'class' : 'SimpleStrategy', 'replication_factor' : 3 };
[idf#node1 cassandra_stuff]$
Also, I cannot see the data that belonged to this ks/table before upgrade.

Resources