Ubuntu 17.04 - can't install mysql-server-5.6

I searched everywhere for this one and can't get it to work. when running: sudo apt-get install mysql-server-5.6 I get this result: Reading package lists... Done Building dependency tree ...

Just can't autostart tomcat in Ubuntu. What's wrong?

I tried two ways: Add the following in etc/rc.local: export JAVA_HOME=/home/phoenies/jdk1.6.0_17 export JRE_HOME=/home/phoenies/jdk1.6.0_17/jre export...

How do I add another run level (level 7) in Ubuntu?

Ubuntu has 8 run levels (0-6 and S), I want to add the run level 7. I have done the following: 1.- Created the folder /etc/rc7.d/, which contains some symbolic links to /etc/init.d/ 2.- Created...

docker-engine conflicts with packages

I have installed docker-engine . Then i removed the package with apt-purge docker-engine command. so after it i see the following conflicts aptitude show docker-engine Package: docker-engine ...

Compiling linux source to windows 7 w/ makefile.in

I have the source for a linux-based program, but trying to run in Win7 environment. I found software called "mingw32" and msys that can compile linux source to win7 using makefile.in (included...

free():invalid size, but no new() or free() was called - SQLite3 using C++

Hi I am playing around with sqlite3 using C++. I am storing an array as BLOB and try to extract it from the database. However, when I select data from the database I got free():invalid size error...

gRPC asynchronous service deadlocks/stuck forever

I implemented a multi-thread asynchronous service based on https://github.com/grpc/grpc/blob/master/examples/cpp/helloworld/greeter_async_client2.cc . I have 64 threads doing some execution and...

Restoring package state without upgrade to keep Docker Container small

As a step of a Dockerfile I need to install the build-essential package (if not available) and run make. To keep the footprint of the container nice and small; I would also like to remove...

logging multithreading deadlock in python

I run 10 processes with 10 threads per each, and they constantly and quite often write to 10 log file (one per process) using logging.info() & logging.debug() during 30 seconds. Once, usually...

Unable to install docker

I am trying to do hyperledger fabric(setting up the environment) and it required docker. I tried searching the internet of solving to install docker but it was to no avail. The following is the...

How to use threads with libev

I'm making a webcrawler and want to spawn a number of threads each with its own event loop to monitor network activity. Here is my code so far: ``` static void my_cb(EV_P_ struct ev_io w, int...

A segmentation fault occurs when thread_kill is executed

I am developing a simple program in C on linux in which there is a thread that checks the time elapsed since the beginning of the program and when they have passed 10 seconds, sends an end signal...

Why is this message sent using paho.mqtt.c causing segmentation fault?

I am trying to send a specific message type using the MQTT protocol. I am using the paho.mqtt.c library, and my broker is RabbitMQ 3.6.12, running Erlang 20.0. I am working on a virtual machine...

C program fails at fopen, stack trace attached

We have ported an application to run on Linux with kernel 4.10.1. The program fails seems to hang at the __GI_abort() call, later a SIGABRT was issued against the process at which it again failed...

go install does not add the binary under GOBIN when running as cloudinit userdata script

I am trying to install this package: github.com/czerwonk/bird_exporter After installing golang like so: GO_VERSION=1.17.1 curl -L https://golang.org/dl/go${GO_VERSION}.linux-amd64.tar.gz -o...

Unable to start mongodb database for old dbPath

Today my mongodb database stoped due to file system inodes was full. I deleted old files in the var/www/html directory and start the mongodb database. but unable to start. i am getting following...

malloc issues with parallelization of ssh calls using threads

I'm trying to do multiple ssh connections(using libssh 0.7.5) and parallelizing them using boost::threads. Upon parallelization I observed that of the 20 executions of my executable 3 failed with...

Copy mongodb data directory to another server

I am running 2 CentOS7 server with mongodb database. Can I copy data directory from first server to second server after deleting data directory from second server? I tried but getting error...

Facing errors with running shell scripts at startup and poweroff

I am using Ubuntu 14.04 LTS and I want to run 3 scripts at startup. They are named as follows: voe.sh startUp.sh and runDown.sh The script voe.sh is the main file which will in turn call the other...

find the real line of segfault

I am having segfaults in my program so I made it run with gdb, the segfault is hsown as this Thread 5 "acd" received signal SIGSEGV, Segmentation fault. [Switching to Thread...

How to build boost 1.69.0 for Android with NDK r18b using moritz-wundke/Boost-for-Android?

I tried to use https://github.com/moritz-wundke/Boost-for-Android to compile boost for Android. It reports 1.69.0 is supported for NDK r18b. I'm under Windows 7. I encountered many problems, some...

Cannot Compile Kernel Headers (libc6-amd64 Dependencies)

Edit: Please read the update. I was unable to compile some programs using boost libraries and I was told it was a compiler error. I compiled GCC-5.1.0 from source and placed it in /opt/gcc-5.1.0/...

Mongodb is running however still cannot connect

This is what i get when i run service mongod status: ‚óŹ mongod.service - LSB: An object/document-oriented database Loaded: loaded (/etc/init.d/mongod; bad; vendor preset: enabled) Active:...

Tomcat8 failing to start in Ubuntu 16.04 in VirtualBox Vagrant on Windows Host

I'm not super familiar with vagrant and have an image for Ubuntu 16.04 with an ansible script that sets up and runs a tomcat8 server application. I went to set it up on a Windows host, and the...

Segfault in qemu user emulation of Android binary

I'm running qemu on an Ubuntu 18.04 x64 host and trying to do user emulation of dynamic binaries built for Android (for aarch64 or i386) using the Android NDK, but I always get a segfault. For...

Stanford coreNLP Dedicated server not running

I am trying to run a dedicated coreNLP server using a CentOS7 server hosted on Linode.com. I have followed all the instructions from...

pbuilder not building correctly

This is my first time packaging a debian package so i might be doing something wrong but I've followed the guidelines and after running "pbuilder create" it goes through the process of...

How to install clang on ubuntu14.04

I want to learn llvm so I have to install clang in my ubuntu 14.04,but I encounter some problems.Here it is: when I execute command:sudo apt-get install clang-3.5 I just get some error message...