ssh2_exec() wont change directory with "cd"

I have a problem with ssh_exec() refusing to execute the "cd" command. If I log into the server directly and execute the command, it works fine, so I don't think the problem is with my command. My...

libarchive - Extract to specified directory

I have a tar file I want to extract with libarchive to a specific directory. How can I make libarchive extract into to any directory I want? At the moment it always extracts into my program's...

Can't start elasticsearch server via Homebrew

So I have installed elasticsearch through brew: $ brew install elasticsearch Then when I run the elasticsearch server: elasticsearch -f -D...

How to find files except given name?

There is a directory containing the following files: . ├── bla-bla-bla1.tar.7z ├── bla-bla-bla2.tar.7z ├── bla-bla-bla3.tar.7z └── _bla-bla-bla_foo.tar.7z I need to find...

"libevent not found" error in tmux

I am trying to install tmux in my Scientific Linux release 6.5 (Carbon) machine These are the steps I followed wget http://downloads.sourceforge.net/tmux/tmux-1.9.tar.gz tar xvzf...

How to untar all tar files in current directory using Putty

How can I untar all tar files in one command using Putty. I Tried the following but its not un-tarring (all files start with alcatelS*) tar -xfv alcatelS*.tar It is not working i don't get no...

How to `docker import` ubuntu cloud image?

Trying to import an ubuntu cloud image from their website like this: docker import http://cloud-images.ubuntu.com/trusty/current/trusty-server-cloudimg-amd64-root.tar.gz...

nvm tar: Unrecognized archive format

Greetings Everybody! I had this problem while installing node via nvm when i type: $ nvm install 5.5.0 had this: Downloading...

ImportError: No module named django_auth_ldap

I can't seem to get python ldap libraries to work properly with Django: >>> from django_auth_ldap import * Traceback (most recent call last): File "<console>", line 1, in <module> ImportError:...

Unable to run tar command - invalid option -- '▒'

I've run into a problem while running a tar script. I am getting an invalid option, as shown in the screenshots, that is stopping the script running. I don't get why however as the command...

standard_init_linux.go:178: exec user process caused "exec format error"

docker started throwing this error: standard_init_linux.go:178: exec user process caused "exec format error" whenever I run a specific docker container with CMD or ENTRYPOINT, with no regard to...

RDO install OpenStack queens all-in-one get stuck

When I use packstack to install openstack queens allinone, it got stuck at: # sudo packstack --answer-file pack-1534411186.txt Welcome to the Packstack setup utility The installation log file is...

Import or Symbol not Found Error with polyglot when PyICU and icu4c installed correctly

I'm really struggling with polyglot, pyicu and icu4c - and it seems like I'm not the only one... I'm running Mac OS High Sierra 10.13.6 and python3 with a virtualenv Here are the steps I've taken,...

How to copy files from kubernetes Pods to local system

I'm trying to copy files from Kubernetes Pods to my local system. I am getting the below error while running following command: kubectl cp aks-ssh2-6cd4948f6f-fp9tl:/home/azureuser/test.cap...

Error relocating - symbol not found - building docker-fpm-alpine image

Trying to create an image (from a working one) I got this error, been googling the solution but couldn't find a proper one, I asume something's wrong with libraries. Don't fully understand what...

How to include all necessary packages (or library) into archive for Python code to work

I have a Python code that I have to send to my teacher. The issue is that I import the following packages : import numpy as np import matplotlib.pyplot as plt import datetime as date import...

Getting error to run test cases from bit-bucket pipeline( working on localhost direct test cases)

I am using lmc-eu/steward to write test cases with selenium server in php i am running this test cases direct command that is working fine but as i have added it in bitbucket pipeline then its...

How to show file download progress with CMake?

I've tried using the FetchContent module and file(DOWNLOAD ...) to download some dependencies for my project at build time. I'd rather use FetchContent only, but it creates so many files polluting...

tar: Error opening archive: Failed to open 'wekaUT.tar.gz' in Command Line Windows 10

I want to extract a tar file that I obtained at tar.gz file. However, when I try: tar -xzvf wekaUT.tar.gz I get the following error: tar: Error opening archive: Failed to open 'wekaUT.tar.gz' I...

ar: libcrypto.so: file format not recognized when installing openssl-1.1.1g

I'm getting this error when I run make install after compiling openssl-1.1.1g. link /my/dir/lib/libcrypto.so -> /my/dir/lib/libcrypto.so.1.1 install libcrypto.so ->...

TF2.2: Loading a Saved Model from tensorflow_hub failed with `AttributeError: '_UserObject' object has no attribute 'summary'`

System info: Python: 3.6.9 Tensorflow: 2.2.0 CPU package from pip The issue: I got https://tfhub.dev/google/imagenet/resnet_v2_50/classification/4?tf-hub-format=compressed from tf-hub and then...

npm ERR! invalid json response body at http://registry.npmjs.org/ansi-escapes reason: Unexpected end of JSON input

I have nodejs and npm installed I tried running the command npm install -g create-react-app but it halts at the error below [email protected]:~$ npm install -g create-react-app npm WARN registry...

Snort 3.0 Error: Could not find requested DAQ moduel: pcap

I am trying to install Snort 3.0 on an Ubuntu 20.04 desktop. I'm using the manual as a guide for this install. Everything went well and it seems the install went fine, however, at page 6, to test...

Unable to start haproxy 2.4 - Missing LF on last line?

Basically the title. I'm working on upgrading our existing haproxy from 1.5 to the latest version. Because of that, I'm setting up a test case to ensure our old setup can work on it. However,...

Shopify Node Server command don't working

I need to develop app with node/react and embed it into shopify. I installed shopify cli properly, from installed cli i created new app. When i type shopify node server command on terminal, i get...

How to install libs for R arrow package on ubuntu without internet?

I am working on Azure databricks and it's compute server is Ubuntu 18.04. I want to install arrow R package but without internet access because of security reasons. I downloaded arrow tar file on...

Use Paketo.io / CloudNativeBuildpacks (CNB) in GitLab CI with Kubernetes executor & unprivileged Runners (without pack CLI & docker)

We want to use Paketo.io / CloudNativeBuildpacks (CNB) GitLab CI in the most simple way. Our GitLab setup uses an AWS EKS cluster with unprivileged GitLab CI Runners leveraging the Kubernetes...

html-pdf not work in docker to create pdf

i have an node js app which deploy into docker and using html-pdf library. but when tried in local docker container, it return this error: Error: spawn Unknown system error -8 at...

How can I get notified when money has been sent to a particular Bitcoin address on a local regtest network?

I want to programmatically detect whenever someone sends Bitcoin to some address. This happens on a local testnet which I start using this docker-compose.yml file. Once the local testnet runs, I...

Z_DATA_ERROR, ERRNO -3, zlib: incorrect data check, MBA M1

Recently I face an issues to install my dependencies using latest Node and NPM on my MacBook Air M1 machine. Then I found out M1 is not supported latest Node version. So my solution, to using NVM...

Relevant tags