I have followed the docs https://docs.scylladb.com/upgrade/upgrade-opensource/upgrade-guide-from-2.2-to-2.3/upgrade-guide-from-2.2-to-2.3-rpm/#upgrade-procedure and my version has remained the same. It has not upgraded to 2.3. Is there anything I can do or check?
I have followed the following https://docs.scylladb.com/upgrade/upgrade-opensource/upgrade-guide-from-2.2-to-2.3/upgrade-guide-from-2.2-to-2.3-rpm/
But I am still on version 2.2
[centos#ip-192-168-4-204 ~]$ sudo systemctl stop scylla-server
[centos#ip-192-168-4-204 ~]$ scylla --version
2.2.1-0.20181021.7f24b5319
[centos#ip-192-168-4-204 ~]$ sudo yum install epel-release
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.advancedhosters.com
* elrepo: reflector.westga.edu
* epel: d2lzkl7pfhq30w.cloudfront.net
* extras: mirrors.advancedhosters.com
* updates: mirrors.advancedhosters.com
Package epel-release-7-11.noarch already installed and latest version
Nothing to do
[centos#ip-192-168-4-204 ~]$ sudo yum update scylla\* -y
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.advancedhosters.com
* elrepo: reflector.westga.edu
* epel: d2lzkl7pfhq30w.cloudfront.net
* extras: mirrors.advancedhosters.com
* updates: mirrors.advancedhosters.com
No packages marked for update
[centos#ip-192-168-4-204 ~]$ sudo systemctl start scylla-server
[centos#ip-192-168-4-204 ~]$ scylla --version
2.2.1-0.20181021.7f24b5319
Looks like you made a mistake updating the repository file, Terri again and watch carefully for errors.
You probably have the wrong repository. Double check it with:
cat /etc/yum.repos.d/scylla.repo
There is a good chance you missed step 1 here:
https://docs.scylladb.com/upgrade/upgrade-opensource/upgrade-guide-from-2.2-to-2.3/upgrade-guide-from-2.2-to-2.3-rpm/#download-and-install-the-new-release
You need to put version details here cat /etc/yum.repos.d/scylla.repo. It will take the correct version while upgrading.
Related
I'm trying to install the package CertBot Certificate but the system gives me an error
Here is what happens while yum is executing:
ca-certificates-2019.2.32-76.el7_7.noarch.rpm | 399 kB 00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Updating : ca-certificates-2019.2.32-76.el7_7.noarch 1/2
Error unpacking rpm package ca-certificates-2019.2.32-76.el7_7.noarch
error: unpacking of archive failed on file /etc/ssl/certs: cpio: rename
Verifying : ca-certificates-2019.2.32-76.el7_7.noarch 1/2
ca-certificates-2018.2.22-70.0.el7_5.noarch was supposed to be removed but is not!
Verifying : ca-certificates-2018.2.22-70.0.el7_5.noarch 2/2
Failed:
ca-certificates.noarch 0:2018.2.22-70.0.el7_5 ca-certificates.noarch 0:2019.2.32-76.el7_7
Complete!
Could not install OS dependencies. Aborting bootstrap!
Anyone knows how to fix this?
I fixed by doing the following commands:
cd /etc/ssl
mv certs certs.saved
ln -s ../pki/tls/certs certs
After that the problem stopped happening and i was able to successfully install the certificate.
I had this issue in centos 7 server and this commands solved the error :
$ mv /etc/ssl/certs /etc/ssl/certs.back
$ ln -s /etc/pki/tls/certs /etc/ssl/certs
$ yum update ca-certificate*
I want to install devmode-engine-rust on Sawtooth 1.0.5 running on Ubuntu 16.04. Standard installation using apt-get gives:
sawtooth-devmode-engine-rust :
Depends: libstdc++6 (>= 8.3.0) but 5.4.0-6ubuntu1~16.04.11 is to be installed
Depends: libnorm1 (>= 1.5r6+dfsg1) but it is not installable
Depends: libzmq5 (>= 4.2.5) but 4.1.4-7ubuntu0.1 is to be installed
Depends: libssl1.1 (>= 1.1.1) but it is not installable
Depends: libsodium23 (>= 1.0.16) but it is not installable
Depends: libc6 (>= 2.27) but 2.23-0ubuntu11 is to be installed
Depends: libgcc1 (>= 1:8.3.0) but 1:6.0.1-0ubuntu1 is to be installed
E: Unable to correct problems, you have held broken packages
Could not correct this one, so tried to compile from sources. Looks like compilation went OK. Now the question: what are correct directories where to copy compiled binaries and supporting files? Tried the simplest one - put devmode-engine-rust on the path, but that doesn't work.
Alternatively, if anybody knows how to solve the problem with
sudo apt-get install sawtooth-devmode-engine-rust
that would be great, too. Any suggestions on installing sawtooth-devmode-engine-rust are very welcome.
Thank you!
(I did find several stackoverflow articles on that, i.e. adding another depository and doing apt-get update, etc. None of them worked)
P.S. Here is what happens when I start different parts of sawtooth:
Window 1 - Validator:
$ sudo -u sawtooth sawtooth-validator -vv --scheduler parallel
[sudo] password for ahg2009:
[2019-08-04 11:41:31.052 INFO path] Loading path information from config: /etc/sawtooth/path.toml
[2019-08-04 11:41:31.058 INFO validator] Loading validator information from config: /etc/sawtooth/validator.toml
[2019-08-04 11:41:31.076 INFO path] Loading path information from config: /etc/sawtooth/path.toml
[2019-08-04 11:41:31.082 INFO keys] Loading signing key: /etc/sawtooth/keys/validator.priv
[2019-08-04 11:41:31.109 INFO cli] sawtooth-validator (Hyperledger Sawtooth) version 1.0.5
[2019-08-04 11:41:31.110 INFO cli] config [path]: config_dir = "/etc/sawtooth"; config [path]: key_dir = "/etc/sawtooth/keys"; config [path]: data_dir = "/var/lib/sawtooth"; config [path]: log_dir = "/var/log/sawtooth"; config [path]: policy_dir = "/etc/sawtooth/policy" .....etc. long output
Window 2
$ sudo -u sawtooth settings-tp -v
[sudo] password for ahg2009:
[2019-08-04 11:42:06.578 INFO core] register attempt: OK
Window 3.
$ sudo -u sawtooth /home/ahg2009/sawtooth-devmode-master/target/release/devmode-engine-rust -vvv --connect tcp://localhost:5050
TRACE | sawtooth_sdk::messag | Sending 37 bytes
{{After a while...}}
ERROR | devmode_engine_rust: | ReceiveError: TimeoutError
```
If I understand correctly, you are trying to run the consensus engine and connect to the validator. Use Sawtooth version >= 1.1. The 1.0.5 version has the consensus module running inside the validator, so you can't connect it from outside as a separate process. It will be running dev mode consensus by default.
I am running CentOS 6.1 -
# lsb_release -d
Description: CentOS release 6.10 (Final)
release ver is 6 -
# python -c 'import yum, pprint; yb = yum.YumBase(); pprint.pprint(yb.conf.yumvar, width=1)'
Loaded plugins: fastestmirror
{'arch': 'ia32e',
'basearch': 'x86_64',
'infra': 'stock',
'releasever': '6',
'uuid': 'af2ec701-1921-42b0-95b1-4ec3ba0f92b7'}
relository -
# cat /etc/yum.repos.d/mongodb-org-4.0.repo
[mongodb-org-4.0]
name=MongoDB Repository
baseurl=https://repo.mongodb.org/yum/redhat/$releasever/mongodb-org/4.0/x86_64/
gpgcheck=1
enabled=1
gpgkey=https://www.mongodb.org/static/pgp/server-4.0.asc
Run update
yum update
Loaded plugins: fastestmirror
Setting up Update Process
Loading mirror speeds from cached hostfile
* base: ftp.cvut.cz
* epel: mirrors.nic.cz
* extras: ftp.cvut.cz
* updates: ftp.cvut.cz
No Packages marked for Update
From https://docs.mongodb.com/manual/tutorial/install-mongodb-on-red-hat/ I run -
# yum install -y mongodb-org
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: mirror.karneval.cz
* epel: mirrors.nic.cz
* extras: mirror.karneval.cz
* updates: mirror.karneval.cz
No package mongodb-org available.
Error: Nothing to do
https://repo.mongodb.org/yum/redhat/6/mongodb-org/4.0/x86_64/ exists
So why does it fail ?
Thanks
I'm trying to deploy hyperledger fabric on a raspberry pi, but it doesn't work. I'm searching for some tutorial but i didn't found it, there are someone that just did it?
Last time I've tried to run Hyperledger Fabric on RPi I've prepared following instructions:
Install latest RASPBIAN on SD card, you can download image from:
https://www.raspberrypi.org/downloads/raspbian/
Update and upgrade latest by running:
sudo apt-get update && sudo apt-get upgrade -y
Install required dependencies:
sudo apt-get install git curl gcc libc6-dev libltdl3-dev python-setuptools -y
Upgrade python pip installer:
sudo -H pip install pip --upgrade
Install docker and docker compose:
curl -sSL get.docker.com | shsudo usermod -aG docker pisudo pip install docker-compose
Logout/Login terminal session, so changes will take effect.
Install golang, by following instructions from: https://golang.org/doc/install
Create golang directory:
mkdir -p /home/pi/golang && mkdir -p /home/pi/golang/src/github/hyperledger/
Define environment variable
export GOPATH=/home/pi/golang
Make sure go binaries are in the path, e.g.:
export PATH=/usr/local/go/bin:$PATH
Clone fabric-baseimage repository into /home/pi/golang/src/github/hyperledger/
git clone https://github.com/hyperledger/fabric-baseimage.git
Clone client fabric repository into /home/pi/golang/src/github/hyperledger/
git clone https://github.com/hyperledger/fabric.git
Build based docker images
cd ~/golang/src/github/hyperledger/fabric-baseimage && make docker-local
Apply following patch to fabric code base:
--- a/peer/core.yaml
+++ b/peer/core.yaml
## -68,7 +68,6 ## peer:
# Gossip related configuration
gossip:
- bootstrap: 127.0.0.1:7051
# Use automatically chosen peer (high avalibility) to distribute blocks in channel or static one
# Setting this true and orgLeader true cause panic exit
useLeaderElection: false
## -280,7 +279,7 ## vm:
Config:
max-size: "50m"
max-file: "5"
- Memory: 2147483648
+ Memory: 16777216
AND
--- a/core/container/util/dockerutil.go
+++ b/core/container/util/dockerutil.go
## -45,6 +45,7 ## func NewDockerClient() (client *docker.Client, err error) {
// and GOARCH here.
var archRemap = map[string]string{
"amd64": "x86_64",
+ "arm": "armv7l",
}
func getArch() string {
Build Hyperledger peer and
cd ~/golang/src/github/hyperledger/fabric && make clean peer peer-docker
Peer executable binary will appear in:
~/golang/src/github/hyperledger/fabric/build/bin/
I am trying to install eJabberd on my CentOS using ssh (putty).
I am following this article.
[root#server ~]# yum repolist
Loaded plugins: fastestmirror, tsflags, universal-hooks
Loading mirror speeds from cached hostfile
* EA4: 208.100.0.204
* base: centos.mirror.lstn.net
* epel: mirror.steadfast.net
* extras: mirror.cs.uwp.edu
* updates: mirror.cs.uwp.edu
repo id repo name status
EA4 EA4 ( EasyApache 4 ) 23614
base CentOS-6 - Base 6634+62
epel Extra Packages for Enterprise Linux 6 - x86_64 11484+746
extras CentOS-6 - Extras 63
updates CentOS-6 - Updates 741+67
repolist: 42536
[root#server ~]#
I had enabled EPEL. Then I am trying to install ejabberd. so below output comes
[root#server ~]# yum install ejabberd
Loaded plugins: fastestmirror, tsflags, universal-hooks
Setting up Install Process
Loading mirror speeds from cached hostfile
* EA4: 208.100.0.204
* base: centos.mirror.lstn.net
* epel: mirror.steadfast.net
* extras: mirror.cs.uwp.edu
* updates: mirror.cs.uwp.edu
No package ejabberd available.
Error: Nothing to do
[root#server ~]#
please help me. What should I do?
You can use another approach (the ejabberd package seems not to be on the EPEL; at least I can't find it on my CentOS 6.x linux box).
Login as root on the WHM server via SSH. Then do this:
wget -c https://www.process-one.net/downloads/ejabberd/17.01/ejabberd-17.01-0.x86_64.rpm
rpm -Uhv ejabberd-17.01-0.x86_64.rpm
Of course if your OS is 32bit then you have to download the 32bit version of the .rpm package