Linux – mongoDB (result= signal , code = killed , signal = ill

mongoDB (result= signal , code = killed , signal = ill… here is a solution to the problem. mongoDB (result= signal , code = killed , signal = ill I get this error when I want to activate mongo on linux and it won’t work $ sudo systemctl status mongod mongod.service – MongoDB database server … Read more

C – Ubuntu library distribution

Ubuntu library distribution… here is a solution to the problem. Ubuntu library distribution I’m trying to port a program that uses GCD (Grand Central Dispatch) from OSX to Ubuntu 11.10. I installed libdispatch but I keep getting the following error: undefined reference to dispatch_main() Oddly enough, dispatch_main() is declared in the header file I included, … Read more

Linux – Raspberry Pi refuses to connect to the bottle server

Raspberry Pi refuses to connect to the bottle server… here is a solution to the problem. Raspberry Pi refuses to connect to the bottle server I’m trying to host bottle server on my Raspberry Pi (4, zero w or zero 2, latest pi OS) to provide some configuration for the project. The Raspberry Pi itself … Read more

Linux – zypper adds a repository and enables refresh in one line

zypper adds a repository and enables refresh in one line… here is a solution to the problem. zypper adds a repository and enables refresh in one line When I add a repository using zypper: zypper ar <url> name Then I’m going to do it zypper lr Check the number of repositories and enable auto-refresh: zypper … Read more

Linux – TCP dump: Match exact packet length

TCP dump: Match exact packet length… here is a solution to the problem. TCP dump: Match exact packet length I need to grab packets with a length equal to 16 bytes What I get is closer to this: tcpdump -ni lo -ttt dst port 1337 and greater 16 If I add other filters to match … Read more

Linux – Can’t write to a file I own and marked as writable?

Can’t write to a file I own and marked as writable?… here is a solution to the problem. Can’t write to a file I own and marked as writable? I’m working on Debian Jessie. As user opuser I created a file and owned it: opuser@mymachine: $ ls -lash /webapps/myapp/run/gunicorn.sock 0 srwxrwxrwx 1 opuser webapps 0 … Read more

Linux – What is the difference between SIGUSR1 and USR1

What is the difference between SIGUSR1 and USR1… here is a solution to the problem. What is the difference between SIGUSR1 and USR1 Is there any difference between SIGUSR1 and USR1 in terminating processes ex kill -SIGUSR1 {pid} or kill -USR1 {pid} Solution There is no difference (except for the number of characters you have … Read more