Category "linux"

cannot import name 'MutableMapping' from 'collections' [duplicate]

I'm getting the following error: File "/home/ron/rzg2l_bsp_v1.3/poky/bitbake/lib/bb/compat.py", line 7, in <module> from collectio

hdfs: command not found

I am using Centos7 and Hadoop 3.2.1. I have created a new user in Linux. I copied the .bash_profile file from the master user to my new user. But when I try run

Showing a dynamic plane

I have written a Python program that continuously returns 4 changing Cartesian coordinates that align to form a square plane that can be at any given orientatio

How to use FIO to test a FUSE filesystem?

I'm using fio to test the performance of fuse filesystem using this commandline: fio -filename=/User/mbl/fusefs -direct=1 -iodepth 1 -thread -rw=write -ioengine

ftrace cannot trace some kernel functions

I'm using ftrace to trace ip_local_out() in kernel 5.4.20. I'm sure ip_local_out() is available to trace: /sys/kernel/debug/tracing # cat available_filter_funct

How to use local docker images with Minikube?

I have several docker images that I want to use with minikube. I don't want to first have to upload and then download the same image instead of just using the l

VSFTPD 500 OOPS: cannot change directory:/logs

I am getting error "500 OOPS: cannot change directory:/logs" while using file zila client to access this directory. My linux kernel version is "4.9.11". I have

How can I loop with all the nc -zv connections?

I am trying to write a script to monitor all the server ports. But I am able write to for only one connection at a time. How can I write it for all the connecti

Can javafx run with DRM in ubuntu without desktop environment?

I am tring to run a javafx program on ubuntu with this DOC,i am using sdk:monocle-linux-x64_bin-sdk,and copy the library to lib path(include the libgluon_drm-1.

How to serve html page or AMI test page in browser on new amazon ec2 server

I got an Amazon ec2 server and when I go to the URL (Public DNS (IPv4)) in my browser I get "ERR_CONNECTION_TIMED_OUT" I did the tutorial "Installing a LAMP We

Ansible uncomment line in file

I want to uncomment a line in file sshd_config by using Ansible and I have the following working configuration: - name: Uncomment line from /etc/ssh/sshd_confi

Java using much more memory than heap size (or size correctly Docker memory limit)

For my application, the memory used by the Java process is much more than the heap size. The system where the containers are running starts to have memory prob

conan system_requirements auto install

While installing xorg with conan install .. command, system requirements are checked in conan receipe using pkg-config tool. Each missing system package raises

conan system_requirements auto install

While installing xorg with conan install .. command, system requirements are checked in conan receipe using pkg-config tool. Each missing system package raises

Kestrel error: address already in use (dotnet core)

Summary: it works as dotnet run, but it doesn't work as dotnet myappname.dll. My linux skills are limited, but I am trying to go by the book so I don't mix thi

Tired of creating /run/postgresql and setting read and execute writes after every reboot

I'm running Arch Linux, I installed PostgreSQL as any other arch package. I'm running postgres with a local database located in my user directory. (postgres -D

How do I delete all except the latest 5 recently updated/new files from AWS s3?

I can fetch the last five updated files from AWS S3 using the below command aws s3 ls s3://somebucket/ --recursive | sort | tail -n 5 | awk '{print $4}' Now

Aur package Showing Permission denied

Hello folks actualy i'm making an AUR package for arch linux and i have made the PKGBUILD file with reference through various YouTube videos and Blog post and O

How to display list of running processes Python?

How to display list of running processes Python with full name and active status? I tried this command: pgrep -lf python

No schema has been selected to create in ... error

I am working on a Linux server that is hosted on Amazon's server and I have completely set up the server. The final thing I am trying to do is host one of my ol