Installing dse 3.1 dependency - datastax-enterprise

When I run 'sudo apt-get install dse-full', I am getting dependency/configuration issues, Full output listed below.
I had a previous version of dse & opscenter installed and I did manually delete the config files located in /etc/dse earlier, which is the probably the root cause of my issue.
I am relatively new to linux does anybody know what I can do, where I can look to resolve this issues?
Any help would be greatly appreciated,
Thanks
NJF
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
dse dse-demos dse-hive dse-pig
Recommended packages:
sun-java6-jre
The following NEW packages will be installed:
dse dse-demos dse-full dse-hive dse-pig
0 upgraded, 5 newly installed, 0 to remove and 323 not upgraded.
Need to get 31.9 MB of archives.
After this operation, 39.8 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://debian.datastax.com/enterprise/ stable/main dse all 3.1.4-1 [5,638 kB]
Get:2 http://debian.datastax.com/enterprise/ stable/main dse-hive all 3.1.4-1 [1,392 B]
Get:3 http://debian.datastax.com/enterprise/ stable/main dse-demos all 3.1.4-1 [26.3 MB]
Get:4 http://debian.datastax.com/enterprise/ stable/main dse-pig all 3.1.4-1 [1,386 B]
Get:5 http://debian.datastax.com/enterprise/ stable/main dse-full all 3.1.4-1 [9,840 B]
Fetched 31.9 MB in 43s (726 kB/s)
Selecting previously unselected package dse.
(Reading database ... 188939 files and directories currently installed.)
Unpacking dse (from .../archives/dse_3.1.4-1_all.deb) ...
Selecting previously unselected package dse-hive.
Unpacking dse-hive (from .../dse-hive_3.1.4-1_all.deb) ...
Selecting previously unselected package dse-demos.
Unpacking dse-demos (from .../dse-demos_3.1.4-1_all.deb) ...
Selecting previously unselected package dse-pig.
Unpacking dse-pig (from .../dse-pig_3.1.4-1_all.deb) ...
Selecting previously unselected package dse-full.
Unpacking dse-full (from .../dse-full_3.1.4-1_all.deb) ...
Processing triggers for ureadahead ...
Setting up dse (3.1.4-1) ...
chgrp: cannot access `/etc/dse/hadoop/taskcontroller.cfg': No such file or directory
dpkg: error processing dse (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of dse-hive:
dse-hive depends on dse (= 3.1.4-1); however:
Package dse is not configured yet.
dpkg: error processing dse-hive (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of dse-demos:
dse-demos depends on dse-hive (= 3.1.4-1); however:
Package dse-hive is not configured yet.
dpkg: error processing dse-demos (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of dse-pig:
dse-pig depends on dse (= 3.1.4-1); however:
Package dse is not configured yet.
dpkg: error processing dse-pig (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of dse-full:
dse-full depends on dse (= 3.1.4-1); however:
Package dse is not configured yet.
dse-full depends on dse-hive (= 3.1.4-1); however:
Package dse-hive is not configured yet.
dse-full depends on dse-pig (= 3.1.4-1); however:
Package dse-pig is not configured yet.
dse-full depends on dse-demos (= 3.1.4-1); however:
Package dse-demos is not configured yet.
dpkg: error processing dse-full (--configure):
dependency problems - leaving unconfigured
Processing triggers for ureadahead ...
Errors were encountered while processing:
dse
dse-hive
dse-demos
dse-pig
dse-full
E: Sub-process /usr/bin/dpkg returned an error code (1)

It would seem that you have a partial install on the system. Lets see what is there right now:
dpkg --get-selections | grep dse
Depending on what is there, remove the remaining packages and data with (I assume you are ok with a complete uninstall):
apt-get purge dse-libcassandra dse-libhadoop dse-libhive dse-liblog4j dse-libmahout dse-libpig dse-libsqoop dse-libsolr dse-libtomcat dse
That should allow you to reinstall.

Related

Error: Package: ImageMagick-6.9.11.28-1.el7.remi.x86_64 (remi)

I'm getting following error for cPanel command.
Not sure how to resolve this issue. Any help?
Full log https://pastebin.com/PRuYP6tg
#/usr/local/cpanel/scripts/rpmup
...
Error: Package: ImageMagick-6.9.11.28-1.el7.remi.x86_64 (remi)
You could try using --skip-broken to work around the problem
Error: Package: ImageMagick-libs-6.9.11.28-1.el7.remi.x86_64 (remi)
You could try running: rpm -Va --nofiles --nodigest
info [rpmup] Completed yum execution “--assumeyes --color=never --config /etc/yum.conf update --disablerepo=epel”: in 3.459 second(s).
(XID dx5fnu) “/usr/bin/yum” reported error code “1” when it ended:
checkyum version 22.3 (excludes: bind-chroot ruby)
# yum repolist all | grep epel
* epel: ewr.edge.kernel.org
epel/x86_64 Extra Packages for Ente enabled: 12,624+802
epel-debuginfo/x86_64 Extra Packages for Ente disabled
epel-source/x86_64 Extra Packages for Ente disabled
epel-testing/x86_64 Extra Packages for Ente disabled
epel-testing-debuginfo/x86_64 Extra Packages for Ente disabled
epel-testing-source/x86_64 Extra Packages for Ente disabled
The EPEL repository is missing, which provides missing dependencies.
Explained in the repository configuration page and in the FAQ

Errors installing vue/cliapp under docker

I want to install my #vue/cli 4.0.5 app under docker and using https://medium.com/#jwdobken/vue-with-docker-initialize-develop-and-build-51fad21ad5e6 link :
I modified the command line : modified node source from 11-alpine and renamed project name and installed the project, but running command
yarn serve
I got error that serve was not found :
me#athoe:/mnt/_work_sdb8/wwwroot/lar/VApps/DOCKER_TEST$ mkdir vtaskproject && cd "$_" && docker run --rm -v "${PWD}:/$(basename `pwd`)" -w "/$(basename `pwd`)" -it node:11-alpine sh -c "yarn global add #vue/cli && vue create ."
Unable to find image 'node:11-alpine' locally
11-alpine: Pulling from library/node
e7c96db7181b: Already exists
0119aca44649: Pull complete
40df19605a18: Pull complete
82194b8b4a64: Pull complete
Digest: sha256:8bb56bab197299c8ff820f1a55462890caf08f57ffe3b91f5fa6945a4d505932
Status: Downloaded newer image for node:11-alpine
yarn global v1.15.2
[1/4] Resolving packages...
warning #vue/cli > #vue/cli-ui > vue-cli-plugin-apollo > apollo > git-parse > babel-polyfill > core-js#2.6.11: core-js#<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js#3.
warning #vue/cli > #vue/cli-ui > vue-cli-plugin-apollo > apollo > git-parse > babel-polyfill > babel-runtime > core-js#2.6.11: core-js#<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js#3.
[2/4] Fetching packages...
info fsevents#1.2.11: The platform "linux" is incompatible with this module.
info "fsevents#1.2.11" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
[4/4] Building fresh packages...
warning Your current version of Yarn is out of date. The latest version is "1.21.1", while you're on "1.15.2".
info To upgrade, run the following command:
$ curl --compressed -o- -L https://yarnpkg.com/install.sh | bash
success Installed "#vue/cli#4.1.1" with binaries:
- vue
Done in 32.17s.
? Your connection to the default yarn registry seems to be slow.
Use https://registry.npm.taobao.org for faster installation? Yes
Vue CLI v4.1.1
? Generate project in current directory? Yes
Vue CLI v4.1.1
? Please pick a preset: default (babel, eslint)
? Pick the package manager to use when installing dependencies: Yarn
Vue CLI v4.1.1
��� Creating project in /vtaskproject.
��� Installing CLI plugins. This might take a while...
yarn install v1.15.2
info No lockfile found.
[1/4] Resolving packages...
[2/4] Fetching packages...
info fsevents#1.2.11: The platform "linux" is incompatible with this module.
info "fsevents#1.2.11" is an optional dependency and failed compatibility check. Excluding it from installation.
success Saved lockfile.
Done in 77.43s.
���� Invoking generators...
���� Installing additional dependencies...
yarn install v1.15.2
[1/4] Resolving packages...
[2/4] Fetching packages...
info fsevents#1.2.11: The platform "linux" is incompatible with this module.
info "fsevents#1.2.11" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Saved lockfile.
Done in 24.82s.
��� Running completion hooks...
���� Generating README.md...
���� Successfully created project vtaskproject.
���� Get started with the following commands:
$ yarn serve
me#athoe:/mnt/_work_sdb8/wwwroot/lar/VApps/DOCKER_TEST/vtaskproject$ yarn serve
00h00m00s 0/0: : ERROR: [Errno 2] No such file or directory: 'serve'
serge#athoe:/mnt/_work_sdb8/wwwroot/lar/VApps/DOCKER_TEST/vtaskproject$ yarn --version
0.32
I see that on successfull installation newly created project dir was selected.
Also in the provided article next was :
Dockerfile The Dockerfile is identical to the given example in the
documentation. Only the build-stage is split up into an install-stage
and a build-stage, since we don’t need to build when we are
developing!
But the thin is I do not see any Dockerfile file in the created project : https://imgur.com/a/mKrdFgi as I expected.
Had Dockerfile be there and how move next ?
$ lsb_release -d; uname -r; uname -i
Description: Ubuntu 18.04.3 LTS
4.15.0-72-generic
x86_64
$ docker --version
Docker version 19.03.5, build 633a0ea838

Docker Build "Could not resolve hostname" behind corporate proxy

I have Docker for Windows set up, with GIT and Node.js.
While trying to run a docker build with the following command:
$ docker build --no-cache -t hfc_joomla .
The error is visible in Step 7/12, where I receive the following error:
ssh: Could not resolve hostname bitbucket.org: Name or service not known
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
This is the corresponding full console output:
Sending build context to Docker daemon 9.728kB
Step 1/12 : FROM joomla:php7.0-apache
---> 81957e4d1db2
Step 2/12 : COPY --chown=root:root id_rsa* /root/.ssh/
---> 273debc28e33
Step 3/12 : RUN chmod 700 /root/.ssh && chmod 600 /root/.ssh/*
---> Running in cb2fb8a799fc
Removing intermediate container cb2fb8a799fc
---> 21ffb5c797e7
Step 4/12 : RUN apt-get -yq update && apt-get -yqq install ssh; ssh-keyscan -H -t rsa bitbucket.org >> /root/.ssh/known_hosts; ssh-keyscan -H -t rsa hfc-ham.de >> /root/.ssh/known_hosts
---> Running in da941949c147
Get:1 http://security-cdn.debian.org/debian-security stretch/updates InRelease [94.3 kB]
Ign:2 http://cdn-fastly.deb.debian.org/debian stretch InRelease
Get:3 http://cdn-fastly.deb.debian.org/debian stretch-updates InRelease [91.0 kB]
Get:5 http://security-cdn.debian.org/debian-security stretch/updates/main amd64 Packages [475 kB]
Get:4 http://cdn-fastly.deb.debian.org/debian stretch Release [118 kB]
Get:6 http://cdn-fastly.deb.debian.org/debian stretch-updates/main amd64 Packages [7748 B]
Get:7 http://cdn-fastly.deb.debian.org/debian stretch Release.gpg [2434 B]
Get:8 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 Packages [7090 kB]
Fetched 7878 kB in 8s (946 kB/s)
Reading package lists...
debconf: delaying package configuration, since apt-utils is not installed
(Reading database ... 13113 files and directories currently installed.)
Preparing to unpack .../libsystemd0_232-25+deb9u8_amd64.deb ...
Unpacking libsystemd0:amd64 (232-25+deb9u8) over (232-25+deb9u6) ...
Setting up libsystemd0:amd64 (232-25+deb9u8) ...
Selecting previously unselected package libapparmor1:amd64.
(Reading database ... 13113 files and directories currently installed.)
Preparing to unpack .../00-libapparmor1_2.11.0-3+deb9u2_amd64.deb ...
Unpacking libapparmor1:amd64 (2.11.0-3+deb9u2) ...
Selecting previously unselected package libcap2:amd64.
Preparing to unpack .../01-libcap2_1%3a2.25-1_amd64.deb ...
Unpacking libcap2:amd64 (1:2.25-1) ...
Selecting previously unselected package dmsetup.
Preparing to unpack .../02-dmsetup_2%3a1.02.137-2_amd64.deb ...
Unpacking dmsetup (2:1.02.137-2) ...
Selecting previously unselected package libdevmapper1.02.1:amd64.
Preparing to unpack .../03-libdevmapper1.02.1_2%3a1.02.137-2_amd64.deb ...
Unpacking libdevmapper1.02.1:amd64 (2:1.02.137-2) ...
Selecting previously unselected package libcryptsetup4:amd64.
Preparing to unpack .../04-libcryptsetup4_2%3a1.7.3-4_amd64.deb ...
Unpacking libcryptsetup4:amd64 (2:1.7.3-4) ...
Selecting previously unselected package libip4tc0:amd64.
Preparing to unpack .../05-libip4tc0_1.6.0+snapshot20161117-6_amd64.deb ...
Unpacking libip4tc0:amd64 (1.6.0+snapshot20161117-6) ...
Selecting previously unselected package libkmod2:amd64.
Preparing to unpack .../06-libkmod2_23-2_amd64.deb ...
Unpacking libkmod2:amd64 (23-2) ...
Selecting previously unselected package libseccomp2:amd64.
Preparing to unpack .../07-libseccomp2_2.3.1-2.1+deb9u1_amd64.deb ...
Unpacking libseccomp2:amd64 (2.3.1-2.1+deb9u1) ...
Selecting previously unselected package systemd.
Preparing to unpack .../08-systemd_232-25+deb9u8_amd64.deb ...
Unpacking systemd (232-25+deb9u8) ...
Selecting previously unselected package libxau6:amd64.
Preparing to unpack .../09-libxau6_1%3a1.0.8-1_amd64.deb ...
Unpacking libxau6:amd64 (1:1.0.8-1) ...
Selecting previously unselected package openssh-client.
Preparing to unpack .../10-openssh-client_1%3a7.4p1-10+deb9u5_amd64.deb ...
Unpacking openssh-client (1:7.4p1-10+deb9u5) ...
Selecting previously unselected package openssh-sftp-server.
Preparing to unpack .../11-openssh-sftp-server_1%3a7.4p1-10+deb9u5_amd64.deb ...
Unpacking openssh-sftp-server (1:7.4p1-10+deb9u5) ...
Selecting previously unselected package ucf.
Preparing to unpack .../12-ucf_3.0036_all.deb ...
Moving old data out of the way
Unpacking ucf (3.0036) ...
Selecting previously unselected package libwrap0:amd64.
Preparing to unpack .../13-libwrap0_7.6.q-26_amd64.deb ...
Unpacking libwrap0:amd64 (7.6.q-26) ...
Selecting previously unselected package openssh-server.
Preparing to unpack .../14-openssh-server_1%3a7.4p1-10+deb9u5_amd64.deb ...
Unpacking openssh-server (1:7.4p1-10+deb9u5) ...
Selecting previously unselected package ssh.
Preparing to unpack .../15-ssh_1%3a7.4p1-10+deb9u5_all.deb ...
Unpacking ssh (1:7.4p1-10+deb9u5) ...
Selecting previously unselected package libdbus-1-3:amd64.
Preparing to unpack .../16-libdbus-1-3_1.10.26-0+deb9u1_amd64.deb ...
Unpacking libdbus-1-3:amd64 (1.10.26-0+deb9u1) ...
Selecting previously unselected package dbus.
Preparing to unpack .../17-dbus_1.10.26-0+deb9u1_amd64.deb ...
Unpacking dbus (1.10.26-0+deb9u1) ...
Selecting previously unselected package ncurses-term.
Preparing to unpack .../18-ncurses-term_6.0+20161126-1+deb9u2_all.deb ...
Unpacking ncurses-term (6.0+20161126-1+deb9u2) ...
Selecting previously unselected package libnih1.
Preparing to unpack .../19-libnih1_1.0.3-8_amd64.deb ...
Unpacking libnih1 (1.0.3-8) ...
Selecting previously unselected package libnih-dbus1.
Preparing to unpack .../20-libnih-dbus1_1.0.3-8_amd64.deb ...
Unpacking libnih-dbus1 (1.0.3-8) ...
Selecting previously unselected package libcgmanager0:amd64.
Preparing to unpack .../21-libcgmanager0_0.41-2_amd64.deb ...
Unpacking libcgmanager0:amd64 (0.41-2) ...
Selecting previously unselected package cgmanager.
Preparing to unpack .../22-cgmanager_0.41-2_amd64.deb ...
Unpacking cgmanager (0.41-2) ...
Selecting previously unselected package systemd-shim.
Preparing to unpack .../23-systemd-shim_10-3_amd64.deb ...
Adding 'diversion of /usr/share/dbus-1/system-services/org.freedesktop.systemd1.service to /usr/share/dbus-1/system-services/org.freedesktop.systemd1.service.systemd by systemd-shim'
Unpacking systemd-shim (10-3) ...
Selecting previously unselected package libpam-systemd:amd64.
Preparing to unpack .../24-libpam-systemd_232-25+deb9u8_amd64.deb ...
Unpacking libpam-systemd:amd64 (232-25+deb9u8) ...
Selecting previously unselected package libxdmcp6:amd64.
Preparing to unpack .../25-libxdmcp6_1%3a1.1.2-3_amd64.deb ...
Unpacking libxdmcp6:amd64 (1:1.1.2-3) ...
Selecting previously unselected package libxcb1:amd64.
Preparing to unpack .../26-libxcb1_1.12-1_amd64.deb ...
Unpacking libxcb1:amd64 (1.12-1) ...
Selecting previously unselected package libx11-data.
Preparing to unpack .../27-libx11-data_2%3a1.6.4-3+deb9u1_all.deb ...
Unpacking libx11-data (2:1.6.4-3+deb9u1) ...
Selecting previously unselected package libx11-6:amd64.
Preparing to unpack .../28-libx11-6_2%3a1.6.4-3+deb9u1_amd64.deb ...
Unpacking libx11-6:amd64 (2:1.6.4-3+deb9u1) ...
Selecting previously unselected package libxext6:amd64.
Preparing to unpack .../29-libxext6_2%3a1.3.3-1+b2_amd64.deb ...
Unpacking libxext6:amd64 (2:1.3.3-1+b2) ...
Selecting previously unselected package libxmuu1:amd64.
Preparing to unpack .../30-libxmuu1_2%3a1.1.2-2_amd64.deb ...
Unpacking libxmuu1:amd64 (2:1.1.2-2) ...
Selecting previously unselected package tcpd.
Preparing to unpack .../31-tcpd_7.6.q-26_amd64.deb ...
Unpacking tcpd (7.6.q-26) ...
Selecting previously unselected package xauth.
Preparing to unpack .../32-xauth_1%3a1.0.9-1+b2_amd64.deb ...
Unpacking xauth (1:1.0.9-1+b2) ...
Setting up ncurses-term (6.0+20161126-1+deb9u2) ...
Setting up libip4tc0:amd64 (1.6.0+snapshot20161117-6) ...
Setting up libcap2:amd64 (1:2.25-1) ...
Setting up ucf (3.0036) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
Setting up libkmod2:amd64 (23-2) ...
Processing triggers for libc-bin (2.24-11+deb9u3) ...
Setting up libseccomp2:amd64 (2.3.1-2.1+deb9u1) ...
Setting up libapparmor1:amd64 (2.11.0-3+deb9u2) ...
Setting up libxdmcp6:amd64 (1:1.1.2-3) ...
Setting up openssh-client (1:7.4p1-10+deb9u5) ...
Setting up libnih1 (1.0.3-8) ...
Setting up libx11-data (2:1.6.4-3+deb9u1) ...
Setting up libxau6:amd64 (1:1.0.8-1) ...
Setting up libdbus-1-3:amd64 (1.10.26-0+deb9u1) ...
Setting up libnih-dbus1 (1.0.3-8) ...
Setting up libwrap0:amd64 (7.6.q-26) ...
Setting up libcgmanager0:amd64 (0.41-2) ...
Setting up tcpd (7.6.q-26) ...
Setting up cgmanager (0.41-2) ...
Created symlink /etc/systemd/system/multi-user.target.wants/cgmanager.service → /lib/systemd/system/cgmanager.service.
Created symlink /etc/systemd/system/multi-user.target.wants/cgproxy.service → /lib/systemd/system/cgproxy.service.
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of start.
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of start.
Setting up openssh-sftp-server (1:7.4p1-10+deb9u5) ...
Setting up dbus (1.10.26-0+deb9u1) ...
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of start.
Setting up libxcb1:amd64 (1.12-1) ...
Setting up systemd-shim (10-3) ...
Setting up libx11-6:amd64 (2:1.6.4-3+deb9u1) ...
Setting up libxmuu1:amd64 (2:1.1.2-2) ...
Setting up openssh-server (1:7.4p1-10+deb9u5) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
Creating config file /etc/ssh/sshd_config with new version
Creating SSH2 RSA key; this may take some time ...
2048 SHA256:uqHbJJqVPYii2CPvd1/dkarOG+B9+BTutk2LqvjB4PQ root#da941923c147 (RSA)
Creating SSH2 ECDSA key; this may take some time ...
256 SHA256:0V4isICgSRVMDbcvzOtdqb6BjyiKF+wxkZJu/a4VswY root#da941923c147 (ECDSA)
Creating SSH2 ED25519 key; this may take some time ...
256 SHA256:VKTj5CfwI4aWUWHlWLX4JlSS3BvbP9Dsc52AABOig9Y root#da941923c147 (ED25519)
Created symlink /etc/systemd/system/sshd.service → /lib/systemd/system/ssh.service.
Created symlink /etc/systemd/system/multi-user.target.wants/ssh.service → /lib/systemd/system/ssh.service.
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of start.
Setting up libxext6:amd64 (2:1.3.3-1+b2) ...
Setting up xauth (1:1.0.9-1+b2) ...
Setting up ssh (1:7.4p1-10+deb9u5) ...
Setting up libdevmapper1.02.1:amd64 (2:1.02.137-2) ...
Setting up dmsetup (2:1.02.137-2) ...
Setting up libcryptsetup4:amd64 (2:1.7.3-4) ...
Setting up systemd (232-25+deb9u8) ...
Created symlink /etc/systemd/system/getty.target.wants/getty#tty1.service → /lib/systemd/system/getty#.service.
Created symlink /etc/systemd/system/multi-user.target.wants/remote-fs.target → /lib/systemd/system/remote-fs.target.
Created symlink /etc/systemd/system/sysinit.target.wants/systemd-timesyncd.service → /lib/systemd/system/systemd-timesyncd.service.
Adding group `systemd-journal' (GID 103) ...
Done.
Setting up libpam-systemd:amd64 (232-25+deb9u8) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
Processing triggers for libc-bin (2.24-11+deb9u3) ...
Processing triggers for dbus (1.10.26-0+deb9u1) ...
getaddrinfo bitbucket.org: Name or service not known
getaddrinfo hfc-ham.de: Name or service not known
Removing intermediate container da941949c147
---> 471b5822cd46
Step 5/12 : RUN apt-get install -y --no-install-recommends git
---> Running in 49128bec92c5
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
git-man libcurl3-gnutls liberror-perl
Suggested packages:
gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email
git-gui gitk gitweb git-arch git-cvs git-mediawiki git-svn
Recommended packages:
less rsync
The following NEW packages will be installed:
git git-man libcurl3-gnutls liberror-perl
0 upgraded, 4 newly installed, 0 to remove and 13 not upgraded.
Need to get 5917 kB of archives.
After this operation, 31.8 MB of additional disk space will be used.
Get:1 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 liberror-perl all 0.17024-1 [26.9 kB]
Get:2 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 git-man all 1:2.11.0-3+deb9u4 [1433 kB]
Get:4 http://security-cdn.debian.org/debian-security stretch/updates/main amd64 libcurl3-gnutls amd64 7.52.1-5+deb9u9 [290 kB]
Get:3 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 git amd64 1:2.11.0-3+deb9u4 [4167 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 5917 kB in 9s (633 kB/s)
Selecting previously unselected package libcurl3-gnutls:amd64.
(Reading database ... 17141 files and directories currently installed.)
Preparing to unpack .../libcurl3-gnutls_7.52.1-5+deb9u9_amd64.deb ...
Unpacking libcurl3-gnutls:amd64 (7.52.1-5+deb9u9) ...
Selecting previously unselected package liberror-perl.
Preparing to unpack .../liberror-perl_0.17024-1_all.deb ...
Unpacking liberror-perl (0.17024-1) ...
Selecting previously unselected package git-man.
Preparing to unpack .../git-man_1%3a2.11.0-3+deb9u4_all.deb ...
Unpacking git-man (1:2.11.0-3+deb9u4) ...
Selecting previously unselected package git.
Preparing to unpack .../git_1%3a2.11.0-3+deb9u4_amd64.deb ...
Unpacking git (1:2.11.0-3+deb9u4) ...
Setting up git-man (1:2.11.0-3+deb9u4) ...
Setting up liberror-perl (0.17024-1) ...
Setting up libcurl3-gnutls:amd64 (7.52.1-5+deb9u9) ...
Processing triggers for libc-bin (2.24-11+deb9u3) ...
Setting up git (1:2.11.0-3+deb9u4) ...
Removing intermediate container 49128bec92c5
---> 90103eb73762
Step 6/12 : WORKDIR /usr/src
---> Running in 3a34b59a24ce
Removing intermediate container 3a34b59a24ce
---> ea3e8ea82885
Step 7/12 : RUN rm -rf joomla ; git clone git#bitbucket.org:hfc-ham/www-portal-hfc-ham.git joomla
---> Running in 2666b896680a
Cloning into 'joomla'...
ssh: Could not resolve hostname bitbucket.org: Name or service not known
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
The command '/bin/sh -c rm -rf joomla ; git clone git#bitbucket.org:hfc-ham/www-portal-hfc-ham.git joomla' returned a non-zero code: 128
I am running the system behind a corporate proxy and the config.json of .docker/ is set the following (otherwise the Steps 1-5 wouldn't work anyhow):
{
"stackOrchestrator": "swarm",
"proxies":
{
"default":
{
"httpProxy": "http://user:pw#prx-company.de:8080",
"httpsProxy": "http://user:pw#prx-company.de:8080"
}
}
}
I recon there is still a problem with the proxy or maybe a DNS problem inside the docker container, where it cannot connect to bitbucket, but I have no idea on how to fix this.
Try to build the docker file like that:
docker build --build-arg http_proxy=http://your.proxy:8080 --build-arg http_proxy=http://your.proxy:8080 -t yourimage .

Failed to install rabbitmq-server on Linux(Oracle Linux Server release 6.7/RHEL)

I am getting following error while installing.
$ sudo yum install rabbitmq-server
Loaded plugins: aliases, changelog, fastestmirror, kabi, presto, refresh-packagekit, security, tmprepo, ulninfo, verify, versionlock
Loading support for kernel ABI
Setting up Install Process
Loading mirror speeds from cached hostfile
* epel: archive.linux.duke.edu
* ol6_UEKR3: slcac475.us.oracle.com
* ol6_latest: slcac475.us.oracle.com
Resolving Dependencies
--> Running transaction check
---> Package rabbitmq-server.noarch 0:3.1.5-1.el6 will be installed
--> Finished Dependency Resolution`
...
...
...
groupadd: Can't get unique system GID (no more available GIDs)
useradd: group 'rabbitmq' does not exist
error: %pre(rabbitmq-server-3.1.5-1.el6.noarch) scriptlet failed, exit status 6
Error in PREIN scriptlet in rpm package rabbitmq-server-3.1.5-1.el6.noarch
error: install: %pre scriptlet failed (2), skipping rabbitmq-server-3.1.5-1.el6
Verifying :
rabbitmq-server-3.1.5-1.el6.noarch
Failed
rabbitmq-server.noarch 0:3.1.5-1.el6
Complete!
Note: I have already installed the erlang
I have refereed few posts already there
Installing rabbitmq-server on RHEL
RabbitMQ install issue on Centos 5.5
Go to /etc/login.defs and check if you have something like this, if not add it into it.
SYS_GID_MIN 2000
SYS_GID_MAX 9000

Unit neo4j-service.service failed to load

installed neo4j 2.2.1 after first removing the previous version.
service neo4j-service start
produces the error:
Failed to start neo4j-service.service: Unit neo4j-service.service failed to load: No such file or directory.
System is:
system: os => {"name"=>"Ubuntu", "family"=>"Debian", "release"=>{"major"=>"15.04", "full"=>"15.04"}, "lsb"=>{"distcodename"=>"vivid", "distid"=>"Ubuntu", "distdescription"=>"Ubuntu 15.04", "distrelease"=>"15.04", "majdistrelease"=>"15.04"}}
Output of the install script:
root#cb-8:~# aptitude install neo4j -y # Install Neo4j, community edition
The following NEW packages will be installed:
daemon{a} neo4j
0 packages upgraded, 2 newly installed, 0 to remove and 0 not to upgrade.
Need to get 0 B/53.2 MB of archives. After unpacking 62.4 MB will be used.
Selecting previously unselected package daemon.
(Reading database ... 183856 files and directories currently installed.)
Preparing to unpack .../daemon_0.6.4-1_amd64.deb ...
Unpacking daemon (0.6.4-1) ...
Selecting previously unselected package neo4j.
Preparing to unpack .../archives/neo4j_2.2.1_all.deb ...
Unpacking neo4j (2.2.1) ...
Processing triggers for man-db (2.7.0.2-5) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for systemd (219-7ubuntu3) ...
Setting up daemon (0.6.4-1) ...
Setting up neo4j (2.2.1) ...
update-rc.d: error: initscript does not exist: /etc/init.d/neo4j-service
dpkg: error processing package neo4j (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
neo4j
E: Sub-process /usr/bin/dpkg returned an error code (1)
Failed to perform requested operation on package. Trying to recover:
Setting up neo4j (2.2.1) ...
update-rc.d: error: initscript does not exist: /etc/init.d/neo4j-service
dpkg: error processing package neo4j (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
neo4j
root#cb-8:~# service neo4j-service status
● neo4j-service.service
Loaded: not-found (Reason: No such file or directory)
Active: inactive (dead)
/etc/init.d/neo4j-service does in fact exist.
lrwxrwxrwx 1 root root 36 Mar 5 17:28 /etc/init.d/neo4j-service -> /opt/neo4j-community-2.1.7/bin/neo4j
I'm out of ideas and hoping someone might be able to point me in the right direction.
~ Ross
I had the same exact error. However, if installing newer version (3.3.0 in my case) of neo4j the syntax is different. It should be:
service neo4j start
not
service neo4j-service start
To double check you can do:
ls /etc/init.d | grep neo4j
In my case it finds neo4j
Problem solved.
2.2.1 was still linking to 2.1.7 somehow.
removed the spurious link and it all worked.

Resources