Category "linux"

How to avoid failing with Decimal function when 0/0 occurs?

I have a Python 2.7 script and it uses two lists and divides the numbers to each other then creates a new list with the results and it is working fine but it er

Flutter Linux build error when executing flutter run -d linux

Flutter doctor did not show any issues. What could be wrong? executing: flutter run -d linux Shows the following: CMake Error at /snap/flutter/81/usr/share/cmak

running python script as a systemd service

I have a python script myScript.py which is writing on a file every 2 second. But when I want to run this script as a systemd service, service works but not wri

How to access Unix Domain Sockets from the command line?

Reading a Unix Domain Socket file using Python is similar to an ordinary TCP socket: >>> import socket >>> import sys >>> >>&g

sh file not found in linux command line

I'm an owner of synology's diskstation NAS server running on special OS (mainly linux) It has only access from internet. I established command line interface t

Copy Files from Windows to Windows Subsystem for Linux (WSL) [closed]

I have enabled developer mode and installed Bash on Ubuntu on Windows. My home directory can be found under %localappdata%\Lxss\home\<ubun

/usr/bin/ld: final link failed: Illegal seek collect2: ld returned 1 exit status

I am running my program on linux server and it was compiling and running fine then i made another directory and tried to compile it in that directory and it w

Adding member to existing hyperledger Fabric 1.2 network on amazonmanaged blockchain

I am exploring amazon managed blockchain. Network (Hyperledger Fabric 1.2) is created, first member is added, peer node is added and VPC Service endpoint is als

Adding member to existing hyperledger Fabric 1.2 network on amazonmanaged blockchain

I am exploring amazon managed blockchain. Network (Hyperledger Fabric 1.2) is created, first member is added, peer node is added and VPC Service endpoint is als

undefined reference to '_asan_init_v4' when compiling

When linking my code compiled with the AddressSanitizer tool, I'm getting many errors of the kind undefined reference to '_asan_init_v4'. clang -fPIC -g -fno-om

SonarQube server can not be reached at http://localhost:9000 with Sonarqube-4.5.1

I have recently setup Sonarqube-4.5.1 on my linux machine ( x86_64 x86_64 x86_64 GNU/Linux ). I am able to start sonar with ./sonar.sh start command. On checkin

undefined reference to '_asan_init_v4' when compiling

When linking my code compiled with the AddressSanitizer tool, I'm getting many errors of the kind undefined reference to '_asan_init_v4'. clang -fPIC -g -fno-om

How to fix "E: The list of sources could not be read" could not be read error?

I have added these two lines in etc/apt/sources.list.d/webmin.list `deb http://download.webmin.com/download/repository sarge contribdeb` `http://download.we

Execute a JAR file in a specific JRE

I have been looking at this question and although it shows how you can execute a jar in Windows, it does not show how this can be done in Linux (preferably Cent

How to declare a var in bash without it replacing a var in a different file

I have 2 files file1 and file2. Inside file1 I declare a var, x=1. In file2 I make a var x=2. If I run file one then file two, and then in the shell echo x, I g

PCL problems in Ubuntu 20.04. how to get it running?

Make Error at CMakeLists.txt:12 (find_package): By not providing "FindPCL.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configu

Linux kernel: is a re-assigned page frame cleared?

When a process ends, the Linux kernel can re-assign the user-space page frames (the pages in physical memory) to the user-space pages (in virtual memory) of ano

How to install PostGIS on Oracle Linux 6.4 x64?

I am reading the following guide http://www.postgresonline.com/journal/archives/329-An-almost-idiots-guide-to-install-PostgreSQL-9.3,-PostGIS-2.1-and-pgRouting-

Docker Nginx + PHP-FPM Error Fastcgi Header

I am creating a PHP(Phalcon) project, using docker compose. The image is tailored based on the webdevops project. In our production, staging, and my own machine

Ubuntu create-react-app fails with permission denied

I'm getting a weird error: Unhandled rejection Error: EACCES: permission denied, mkdir '/home/ubuntu/.npm/_cacache/index-v5/14/36'atus I just install npm (6.