puppet and puppetmaster won't start - puppet

I have been following a tutorial for installing tomcat using puppet master on CentOs.
I have installed from the following repo then ran yum install.
rpm -ivh http://yum.puppetlabs.com/puppetlabs-release-el-7.noarch.rpm
and I am getting the following error
Redirecting to /bin/systemctl start puppet.service
For puppet master its the same thing.
The only difference between this and the tutorial is that I am running CentOS7 ion a VM. Any ideas?
Many thanks
Adam

Related

How to install Railgun on AWS EC2 (with Amazon Linux installed)?

I have a problem with installing Railgun listener on AWS EC2 of ELB.
I followed this instruction:
https://www.cloudflare.com/docs/railgun/installation.html
So, what I did:
Accessed the ec2 via Putty.
Installed the new key using this command:
$ sudo rpm --import https://pkg.cloudflare.com/pubkey.gpg
And then I was not sure how to add Cloudflare yum repository, because there seemed to be no relevant description about it.
So, I added a Redhat linux repo using this command:
$ sudo rpm -ivh http://pkg.cloudflare.com/cloudflare-release-latest.el7.rpm
Then I tried to install Railgun using this command:
$ sudo yum install railgun-stable
But I got 404 Not found error. Here’s the screenshot:
The error message is:
http://pkg.cloudflare.com/dists/2018.03/main/binary-x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Please let me know how to install Railgun on Amazon linux instance?
Any help will be appreciated.
Thank you for your time and help.

Cannot connect to the Docker daemon on ubuntu 14.04

I have a VPS hosting with Ubuntu installed
Description: Ubuntu 14.04.3 LTS
Release: 14.04
Codename: trusty
Kernel version is 3.13.0-*
I tried to install docker and I went through all steps as mentioned here and everything installed and worked fine with the exception of this:
For Ubuntu Trusty, Wily, and Xenial, it’s recommended to install the
linux-image-extra kernel package. The linux-image-extra package allows
you use the aufs storage driver.
To install the linux-image-extra package for your kernel version
sudo apt-get install linux-image-extra-$(uname -r)
When I was trying to run this command I've been told that
E: Unable to locate package linux-image-extra-3.13.0-042stab113.17
E: Couldn't find any package by regex 'linux-image-extra-3.13.0-042stab113.17'
Anyway seems like docker is installed and I can start it using
service docker start
And when I run this command it says that
docker start/running, process 12235
But when I check the status it says me that
docker stop/waiting
And when I try to start hello-world container it says me that
Cannot connect to the Docker daemon. Is the docker daemon running on this host?
Error: failed to start containers: hello-world
I've already installed docker on my OS X following all steps from official tutorial and it worked fine,
but can't figure out what's wrong with my ubuntu.
Thanks in advance!

How to resolve dependencies while installing application on linux (CentOS 7.1)

When I tried install deluge on my CentOS 7.1 I was facing dependecy problems due to some el6 which are not meant for CentOS 7.1. So, I found this page:
https://gist.github.com/dasgoll/111f6f3364e2ab97bc08
His instructions:
Centos 7.1
yum -y install wget wget hxxp://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm
rpm -ivh nux-dextop-release-0-5.el7.nux.noarch.rpm
yum -y install deluge-web
systemctl start deluge-web
systemctl stop firewalld
browse http://192.168.3.101:8112
check it
yum install deluge-console
And my question is: Why he installed "nux-dextop-release-0-5.el7.nux.noarch.rpm" from li.nux.ro (if I'm not wrong it's a repository, correct me if I'm)? Because I had this dependency problem earlier when I tried installing deluge. But when I used his instructions it resolved all the dependencies automatically for me. So does this rpm file he installed on the first place was for resolving dependencies? If not then how can one work around with dependencies while installing a piece of software/application. Than You in advance.
P.S. I asked the same question in comments there too. But I'm uncertain of receiving reply there (no offence for the guy/girl - dasgoll).
Third party package repos will often use a *-release package to contain both a yum repo definition and a rpm signing public key so that end users can install packages directly from the repo using yum instead of having to find and then download them one by one.

Install Marklogic centos virtualbox vm

I recently set up a CentOS 6.4 basic LAMP server (no GUI) in a pre-built Virtualbox image, and then followed the installation guide/steps for MarkLogic.
When I attempt install with rpm -i /tmp/MarkLogic-8.0-1.x86_64.rpm, MarkLogic states that it cannot find libc.so.6, however when I run the command whereis libc.so.6, the shell responds with /lib64/libc.so.6
I would make a symbolic link I suppose, but I'm not sure where MarkLogic is expecting that file to be.
Does anyone have experience installing MarkLogic on Centos6 and how to verify the install is working properly? While ML gave some good instructions, I am very new to CentOS and Redhat, in general.
Running the following yum command before installing MarkLogic should be sufficient normally:
yum -y install glibc.i686 gdb.x86_64 redhat-lsb.x86_64
You can also look at this and related scripts for more inspiration:
https://github.com/grtjn/mlvagrant/blob/master/opt/mlvagrant/install-ml-centos.sh#L17
HTH!

Error installing google wavebox in ubuntu linux server

I am trying to configure and instance of http://waveinabox.net/ . I have been facing an error while installing wave box in linux server
operating system : Ubuntu 12.04.1 LTS
I have used commands from this site : http://www.waveprotocol.org/wave-in-a-box/setting-up
$sudo apt-get install mercurial ant default-jdk mongodb eclipse
$mkdir wave-development
$cd wave-development
Problem starts when I type this line
$hg clone https://wave-protocol.googlecode.com/hg/ wave-protocol
I am getting error (error is: No command clone found )
I am not used to linux commands much, can anybody tell me what could be the issue. thanks in advance
you need to install mercurial - sudo apt-get install mercurial
after installing try it.

Resources