ubuntu-12.04

Enable broadcasts between docker containers

给你一囗甜甜゛ 提交于 2019-12-06 00:08:35
I've been trying to enable some UDP discovery between a few containers. It tuned out that containers have disabled broadcasts by default, missing brd for inet in: $ ip addr show dev eth0 27: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP link/ether 00:00:01:4f:6a:47 brd ff:ff:ff:ff:ff:ff inet 172.17.0.12/16 scope global eth0 valid_lft forever preferred_lft forever Stack: host: ubuntu 14.04 container: ubuntu 12.04 docker 1.8.3 How do I enable the broadcasts? Here's what I've tried so far: ip link set dev eth0 broadcast 172.17.255.255 gives RTNETLINK answers: Invalid

git pull fatal error

被刻印的时光 ゝ 提交于 2019-12-05 22:40:54
When I try to trigger git pull command it is returning an error as follows: mert@eren-VirtualBox:~/restoranya/restoranya$ git pull origin master error: object file .git/objects/2a/0836034919f0cfe0f8f1ab98037884dd1c93de is empty fatal: loose object 2a0836034919f0cfe0f8f1ab98037884dd1c93de (stored in .git/objects/2a/0836034919f0cfe0f8f1ab98037884dd1c93de) is corrupt mert@eren-VirtualBox:~/restoranya/restoranya$ fatal: The remote end hung up unexpectedly Whats the reason for such an error? What should I do to recover? For some reason, that object is corrupt in your origin remote. You need another

ReviewBoard installation on ubuntu 12.04

时光毁灭记忆、已成空白 提交于 2019-12-05 18:22:06
I'm trying to install ReviewBoard on ubuntu 12.04 using easy_install. http://www.reviewboard.org/docs/manual/1.7/admin/installation/linux/ I tried above instruction step by step, but stucked in easy_install ReviewBoard Error message is this: Traceback (most recent call last): File "/usr/local/bin/easy_install", line 9, in <module> load_entry_point('distribute', 'console_scripts', 'easy_install')() File "/usr/local/lib/python2.7/dist-packages/setuptools-0.8-py2.7.egg/pkg_resources.py", line 378, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib

Android Studio installation on Ubuntu 12.04 fails to initialize [closed]

♀尐吖头ヾ 提交于 2019-12-05 18:18:15
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center . Closed 6 years ago . I get this error while trying to install Android Studio on Ubuntu 12.04 . Plugin com.intellij failed to initialize and will be disabled. null Please restart Android Studio. Anybody has tried to run Android Studio on Linux yet ? Edit : Okay guys , had to update my Java , instructions for it are https://help.ubuntu

OpenGL Tutorial Error

二次信任 提交于 2019-12-05 16:41:47
I managed to build the tutorials from here but when executing them an error occurs: X Error of failed request: BadRequest (invalid request code or no such operation) Major opcode of failed request: 154 (GLX) Minor opcode of failed request: 34 () Serial number of failed request: 34 Current serial number in output stream: 33 Google told me that this error is related to the graphics driver somehow, so maybe information about my system is useful; I am using Ubuntu 12.04 64 bit on a Samsung 700Z7C notebook. You have: OpenGL version string: 2.1 Mesa 8.0.4 Third page, "What You Need" : ...but to

android emulator won't start on ubuntu 12.04 after when run from ssh

喜你入骨 提交于 2019-12-05 15:27:46
问题 I built the android source code based on the http://source.android.com/source/building.html on Ubuntu 12.04 and when I run the emulator I'm getting the error and emulator won't start: WARNING: Application calling GLX 1.3 function "glXCreatePbuffer" when GLX 1.3 is not supported! This is an application bug! X Error of failed request: GLXUnsupportedPrivateRequest Major opcode of failed request: 146 (GLX) Minor opcode of failed request: 16 (X_GLXVendorPrivate) Serial number of failed request: 20

Buffer Overflow - SegFaults in regular user

我的梦境 提交于 2019-12-05 14:15:55
Below is my code, both the vulnerable program (stack.c) and my exploit (exploit.c). This code works on a pre-packaged Ubuntu 9 that the prof sent out for windows users (I had a friend test it on his computer), but on Ubuntu 12 that I run on my iMac, i get segfaults when I try and do this in a normal user. here's stack: //stack.c #include <stdio.h> int bof(char *str) { char buffer[12]; //BO Vulnerability strcpy(buffer,str); return 1; } int main(int argc, char* argv[]) { char str[517]; FILE *badfile; badfile = fopen("badfile","r"); fread(str, sizeof(char),517, badfile); bof(str); printf(

403 Forbidden on nginx/1.4.6 (Ubuntu) - Laravel

心不动则不痛 提交于 2019-12-05 12:39:11
问题 I keep getting 403 Forbidden My settings: /etc/nginx/sites-available/default default server { listen 80; root home/laravel-app/; index index.php index.html index.htm; server_name example.com; location / { try_files $uri $uri/ /index.html; } error_page 404 /404.html; error_page 500 502 503 504 /50x.html; location = /50x.html { root /usr/share/nginx/www; } # pass the PHP scripts to FastCGI server listening on the php-fpm socket location ~ \.php$ { try_files $uri =404; fastcgi_pass unix:/var/run

CUDA “No compatible Device” error on Ubuntu 11.10/12.04

丶灬走出姿态 提交于 2019-12-05 12:24:35
I have been trying to set up an Ubuntu environment on my laptop for some time now for CUDA programming. I am currently dual booting Windows 8 and Ubuntu 12.04 and want to install CUDA 5 on Ubuntu. The laptop has a GeForce GT 640M graphics card (See below for full specs). It is an Optimus card. Originally I was dual booting Ubuntu 11.10 and have tried tutorials on both 11.10 and 12.04. I have tried many tutorials of all shapes and sizes, including this tutorial . The installation process shows the device driver installing and the Toolkit installing, and the Samples failing, but when I go to

File ./ib_logfile101: 'aio write' returned OS error 122

試著忘記壹切 提交于 2019-12-05 10:23:26
I'm trying to install MySQL 5.6.14 on Ubuntu 12.04 Desktop: $ scripts/mysql_install_db --no-defaults --force \ --explicit_defaults_for_timestamp --datadir=/tmp/data And I'm getting: Installing MySQL system tables... 2013-10-09 09:27:26 6463 [Warning] Buffered warning: Changed limits: max_open_files: 4096 (requested 5000) 2013-10-09 09:27:26 6463 [Warning] Buffered warning: Changed limits: table_cache: 1967 (requested 2000) 2013-10-09 09:27:26 6463 [Note] InnoDB: The InnoDB memory heap is disabled 2013-10-09 09:27:26 6463 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 2013-10-09 09