"Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)")

I am using mysqldb (the python MySQL) module.. But everytime I try to run. it gives me this error. super(Connection, self).__init__(*args, **kwargs2) _mysql_exceptions.OperationalError: (2002,...

Understanding the Linux oom-killer's logs

My app was killed by the oom-killer. It is Ubuntu 11.10 running on a live USB with no swap and the PC has 1 Gig of RAM. The only app running (other than all the built in Ubuntu stuff) is my...

No longer able to connect to MySQL through socket

I was trying to do replication and setup my server as slave. i first changed permissions using sudo chmod 777 /etc/mysql/my.cnf then sudo chown user:user -R /etc/mysql then i tried installing...

git push heroku master takes forever

I'm using a VM based on Ubuntu 12.04 (ruby 1.9.2p290 and rails 3.1.0) and my app work perfectly on local. I'm using git and when I try to git push heroku master it doesn't work: git push heroku...

cron job setup in magento

I have refer magentocommerce.com for setting up the cron job. I implemented what i get from that. At first i added cront tab in config.xml file. which i have done for my module...

mongodb 3 on ubuntu 15.04 Have to manualy start mongod service after every reboot

I used to have mongodb 2.6.3 and mongod service was always working. Yesterday I updated to mongodb 3.0.3 and if I type mongo in terminal I get this: 2015-06-06T10:24:51.679+0200 W NETWORK Failed...

Paste string in system

Within R how could I try to use this unix command printf "%s\t" NAMES n{1..1600} >file_o Trying system(paste("printf \"%s\t\" NAMES n{1..1600} >file_o")) causes no message, but it does not...

Python, Kivy, Buildozer: error using python-firebase/requests

[python = 2.7] I recently started to use kivy(newest version) to develop an app for android. For this I use buildozer(newest version) to create the apk file. Now everything works fine on my...

ImportError: No module named zlib; tox

I am trying to run tox tests as python 2.6. I just installed 2.6 and am now getting past the "Interpreter error: no python 2.6" style error, but tox is now crashing at zlib. Zlib is on my machine...

ROS node not working through launch-file execution

Similar issue has been addressed in these two questions before hello node and output roslaunch. But I cannot get my node to work through the launch file. If I run the node like...

Django hello word

I am trying to deploying a simple hello word inspired from here on apache2 using mod-wsgi. But I get the following error message althogh I added both the ip and hostname to the ALLOWED_HOST in...

Ubuntu 16.04 login loop on update

I read through all solutions proposed here and elsewhere. None of them worked. Here is how .xsession-errors look like: openConnection: connect: No such file or directory cannot connect to brltty...

Debugging (premature?) OOM-killer output

I am running a fairly memory intensive Python script, yet it seems that my machine is killing the process early. I have 16GB installed (and confirmed via lshw -class memory), and yet my process...

ubuntu login loop after install nvidia-375 graphic driver

i ran into the login loop issue. I've tried several solutions such as check .Xauthority files, start lightdm service and so on. But the issues remains there. I checked .xsession-errors file it...

How do I resolve this error in the Raspberry Pi Kernel file bounds.c?

I am new to kernel compilation. I want to create the Blinking LED driver for Raspberry Pi 1 Model B but as a first step towards the goal, I am trying to cross-compile unmodified Raspberry pi...

Issue with horizontal scroll with touchpad in gnome

I have installed gnome-shell on my ubuntu 17.04 and selected Gnome at my the login screen, everything works fine, but the horizontal scroll with touchpad doesn't work. It works when i shift to...

Network error handling for Android/Google Daydream (Unity)

Best way to create a UDP network for Android I recently asked a question regarding threading on Android (Google Daydream specific) which wasn't performing as expected. I was using a thread for...

Rstudio rsession hangs when editing file

I've been toying with this issue for hours now and I think I finally have it reproducible. When I start a new Rstudio session everything works fine and there is no issue. I can even load objects...

Cannot start a new React Native CLI project in WebStorm

The react-native-cli is generating the project fine when I use this command in terminal: react-native init myapp But for some reason WebStorm cannot create new React Native project. When I try I...

applcation.properties with maven jetty plugin

I try to configure maven jetty plugin to run on 8443 (TLS) port. I read much stuff about including official documentation. This manual...

ImportError: No module named 'config.settings'; 'config' is not a package

I'm trying to get my cookiecutter-django app running under Apache with mod_wsgi installed via pip. python3 manager.py runserver works. But after running it in Apache, I got an error saying Module...

Fail to startup Oracle Database (failure in processing system parameters)

I'm going to setup Oracle DB 12c on Ubuntu 16.04. I'm following this guide. But when I was trying to STARTUP, it's fail with this error: SQL> connect sys as sysdba Enter password: Connected to an...

Error to generate apk through buildozer android debugger in terminal

I am stuck on this issue it takes a long time, I am following a tutorial video explaining how to install Kivy, Buildozer and compile apk file. Until now, I have installed the supposed...

Getting "error: device offline" from adb.exe in Android Player SDK / Setting Up Unity Remote 5 (Solved)

First of all, this is my first post here and I'm a beginner so my apologies if this ends up being a stupid question or my format is wrong, but any help is appreciated. Essentially my problem is in...

Unity 2020.3.xx Gradle build failed

I've been working some android unity project but when i try to build i got some Errors Here is one; **Starting a Gradle Daemon, 1 stopped Daemon could not be reused, use --status for...