ubuntu-12.04

Ubuntu rvm setup issue

喜你入骨 提交于 2019-12-23 20:01:10
问题 I followed this tutorial below: https://www.digitalocean.com/community/articles/how-to-install-ruby-on-rails-on-ubuntu-12-04-lts-precise-pangolin-with-rvm This worked perfectly for me; however, I have one small problem? Each time I open a new terminal I have to run this command in order for rails to work: source ~/.rvm/scripts/rvm What is the problem and why is rvm not recognized This is what I see after I open a new terminal and verify rails: robert@rob:~$ rails -v The program 'rails' is

python-dbg can't find Py_InitModule4 when debugging

社会主义新天地 提交于 2019-12-23 15:44:44
问题 I'm trying to debug a segfault i get in a multithreaded, qt webkit application. I installed python-dbg for the purpose of giving me pretty printing in gdb and get the following error on start python2.7-dbg node.py Traceback (most recent call last): File "node.py", line 4, in <module> import msgpack File "/usr/lib/pymodules/python2.7/msgpack/__init__.py", line 3, in <module> from msgpack._msgpack import * ImportError: /usr/lib/pymodules/python2.7/msgpack/_msgpack.so: undefined symbol: Py

Eclipse Juno Internal Web Browser unavailable (Ubuntu)

喜欢而已 提交于 2019-12-23 15:23:03
问题 I've installed Eclipse (Juno) on Ubuntu Precise and am unable to use Eclipse's internal web browser. I'm getting this error: SWT Browser control is not available I've searched around and haven't found a solution that works. Thanks for your help! Mike 回答1: I did find a solution which worked: sudo apt-get install libwebkitgtk-1.0-0 I'm not sure why, though. Mike 回答2: Under Linux, the SWT browser widget can either use Mozilla XULRunner or Webkit 1. I have had version conflicts between the web

Client can't connect to RabbitMQ server on localhost

久未见 提交于 2019-12-23 13:07:57
问题 I installed fresh RabbitMQ 3.1.3 on ubuntu 12.04.2 LTS by apt-get, and try to start consumers on the same server, but I have connection problem: [PhpAmqpLib\Exception\AMQPRuntimeException] Error Connecting to server(113): No route to host There is status of working server: Status of node rabbit@ns1 ... [{pid,2106}, {running_applications,[{rabbit,"RabbitMQ","3.1.3"}, {mnesia,"MNESIA CXC 138 12","4.5"}, {os_mon,"CPO CXC 138 46","2.2.7"}, {xmerl,"XML parser","1.2.10"}, {sasl,"SASL CXC 138 11","2

Overpass API dispatcher fails with Address already in use 98

一笑奈何 提交于 2019-12-23 12:49:14
问题 I've followed the installation instructions on: http://wiki.openstreetmap.org/wiki/Overpass_API/install Initially everything worked flawless, but I would like to try and use my own custom map, BUT when I killed the dispatcher process nothing works. This is with the original database and not my custom map. I tried to clean everything and install from scratch, this also worked flawless, but a simple kill on the dispatcher make everything crash from there on. I currently get the error message

Vagrant with Librarian-Puppet Broken

二次信任 提交于 2019-12-23 10:45:29
问题 I'm having problems with provisioning new Vagrant instances. I've used the exact same configuration before without problems. I cannot figure out what's causing the problems when it used to work. Vagrantfile # -*- mode: ruby -*- # vi: set ft=ruby : # Vagrantfile API/syntax version. Don't touch unless you know what you're doing! VAGRANTFILE_API_VERSION = "2" Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| config.vm.box = "precise64" config.vm.box_url = "http://files.vagrantup.com

Vagrant with Librarian-Puppet Broken

痴心易碎 提交于 2019-12-23 10:43:19
问题 I'm having problems with provisioning new Vagrant instances. I've used the exact same configuration before without problems. I cannot figure out what's causing the problems when it used to work. Vagrantfile # -*- mode: ruby -*- # vi: set ft=ruby : # Vagrantfile API/syntax version. Don't touch unless you know what you're doing! VAGRANTFILE_API_VERSION = "2" Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| config.vm.box = "precise64" config.vm.box_url = "http://files.vagrantup.com

Unable to install Maven plugin for Eclipse [duplicate]

ぃ、小莉子 提交于 2019-12-23 09:34:45
问题 This question already has answers here : Error: m2e Install In Eclipse (11 answers) Closed 5 years ago . I'm working on Eclipse 3.7 (indigo) on Ubuntu 12.04 LTS, and I am trying to install the Maven plugin. Following this page, I added http://download.eclipse.org/technology/m2e/releases to the Eclipse Install new software prompt box. It recognised the URL and showed "Maven Integration for Eclipse" But when I click on Next, it gives this error. Cannot complete the install because one or more

ARP reply packet does not update ARP cache on Ubuntu

坚强是说给别人听的谎言 提交于 2019-12-23 04:57:09
问题 So after I have played with the Network Spoofer developed by Digitalsquid (http://digitalsquid.co.uk/netspoof/), I have been trying to get a better understanding of its internal working by writing a c program that does something similar. My program currently takes in 4 parameters - source ip, source mac, victim ip, and victim mac - and send an ARP reply packet with them. When testing the program on my home network, I would do something like setting the source ip to be the router's ip, source

[IM002][unixODBC][Driver Manager]Data source name not found, and no default driver specified

♀尐吖头ヾ 提交于 2019-12-23 03:15:30
问题 I'm trying to install ODBC on Ubuntu 12.04 for the purpose of using it with Zabbix . I installed unixODBC as per these Zabbix instructions and modified my /etc/odbc.ini to look like this: [eyatest] Description = MySQL connection to 'dbname' database Driver = MySQL Database = dbname Server = localhost UserName = root Password = **** Port = 3306 Socket = /var/lib/mysql/mysql.sock But when I try connecting with isql I get the error in the title of this question: sudo isql -v eyatest [IM002]