Questions tagged [ubuntu-12.04]

The previous LTS release of Ubuntu, code-named Precise Pangolin. Released on 26th April, 2012. You should only use this tag if your question is hardware or version-specific.

Precise Pangolin was released on 26 April, 2012 and is supported until April 2017.

Code name: Precise Pangolin

The previous stable and Long Term Support (LTS) release of Ubuntu. Unlike previous LTS versions, Canonical will provide support for five years due to popularity of LTS usage in businesses:

  • Two years of support will include hardware updates
  • Remaining three years will consist of maintenance upgrades.

Ubuntu Flavors available under 12.04 (questions on all are allowed):

The 12.04 Ubuntu variants - Mythbuntu, Ubuntu Studio, Xubuntu, Lubuntu - are not commercially supported by Canonical.

Ubuntu Editions available under 12.04 (questions on all are allowed):

2824 questions
435
votes
17 answers

How to install python3 version of package via pip on Ubuntu?

I have both python2.7 and python3.2 installed in Ubuntu 12.04. The symbolic link python links to python2.7. When I type: sudo pip install package-name It will default install python2 version of package-name. Some package supports both python2 and…
kev
  • 137,128
  • 36
  • 241
  • 259
269
votes
13 answers

How to check if a particular service is running on Ubuntu

I do not know the service's name, but would like to stop the service by checking its status. For example, if I want to check if the PostgreSQL service is running or not, but I don't know the service's name, then how could I check its status? I know…
abcd
  • 3,086
  • 2
  • 16
  • 13
259
votes
3 answers

Window appears off screen on ubuntu

I have a dual monitor setup, and I am using Ubuntu 12.04 LTS I have changed the positioning of the monitors several times, and now for some reason some of the windows open up off-screen (outside of both screens), Update Manager, for instance. How…
Mladen Danic
  • 3,243
  • 2
  • 22
  • 24
242
votes
9 answers

sh: 0: getcwd() failed: No such file or directory on cited drive

I am trying to compile ARM code in Ubuntu 12. Everything is working fine when I put the code in the local directory. But when I put the code in cited mount directory error shows up: making testXmlFiles sh: 0: getcwd() failed: No such file or…
CrazyKitty Rotoshi
  • 2,429
  • 2
  • 11
  • 4
157
votes
28 answers

Package doesn't exist error in intelliJ

I'm trying to use the barbecue barcode printing library. I have successfully added the library to IntelliJ through project structure add library. Then I imported the packages and wrote the methods, which gave me no error. The packages were…
Tika
  • 1,623
  • 2
  • 10
  • 9
140
votes
3 answers

What is the difference between the 'sites-enabled' and 'sites-available' directory?

What is use of these two directories in Apache 2 and how can we do it?
Amit Mehta
  • 1,511
  • 2
  • 10
  • 3
108
votes
9 answers

convert_tz returns null

I know this sounds stupid, but when I use SELECT CONVERT_TZ('2004-01-01 12:00:00','UTC','Asia/Jakarta') AS time it outputs NULL. I'm using MySQL Workbench in Ubuntu 12.04 64 bit, and it works in my other laptop/os (also using MySQL Workbench).
mohur
  • 1,475
  • 4
  • 14
  • 25
103
votes
6 answers

MongoDB mongorestore failure: locale::facet::_S_create_c_locale name not valid

I created a dump with mongodump on computer A (ubuntu 12.04 server). I moved it to computer B (ubuntu 12.04 server) and typed: mongorestore -db db_name --drop db_dump_path It failed and it reported: connected to: 127.0.0.1 terminate called…
Luca Anceschi
  • 2,188
  • 3
  • 17
  • 23
100
votes
3 answers

Context switches much slower in new linux kernels

We are looking to upgrade the OS on our servers from Ubuntu 10.04 LTS to Ubuntu 12.04 LTS. Unfortunately, it seems that the latency to run a thread that has become runnable has significantly increased from the 2.6 kernel to the 3.2 kernel. In fact…
Michael Goldshteyn
  • 65,547
  • 23
  • 122
  • 176
89
votes
7 answers

python error: no module named pylab

I am new to Python and want to use its plot functionality to create graphs. I am using ubuntu 12.04. I followed the Python installation steps from http://eli.thegreenplace.net/2011/10/10/installing-python-2-7-on-ubuntu/ but when I do from pylab…
Sadiksha Gautam
  • 4,604
  • 6
  • 35
  • 67
86
votes
21 answers

java.lang.Exception: No runnable methods exception in running JUnits

I am trying to run the JUnit on my Linux command prompt /opt/junit/ contains the necessary JARS(hamcrest-core-1.3.jar and junit.jar) and class files and I am using the following command to run the JUnit: java -cp hamcrest-core-1.3.jar:junit.jar:.…
vipin8169
  • 4,121
  • 9
  • 33
  • 66
82
votes
6 answers

nginx + uwsgi: -- unavailable modifier requested: 0 --

Ubuntu 12.04, nginx 1.2.0, uwsgi 1.0.3. I start uwsgi with the following command: uwsgi -s 127.0.0.1:9010 -M -t 30 -A 4 -p 4 -d /var/log/uwsgi.log On each request nginx replies with 502 and uwsgi writes to log the following line: -- unavailable…
Lisio
  • 1,461
  • 2
  • 14
  • 19
80
votes
6 answers

How to check which PHP extensions have been enabled/disabled in Ubuntu Linux 12.04 LTS?

I'm using Ubuntu Linux 12.04 LTS on my local machine. I've installed LAMP long ago on my machine. Now I want to enable following PHP extensions: php_zip php_xml php_gd2 For it first I want to check whether these PHP extensions are enabled or not.…
PHPLover
  • 7,021
  • 32
  • 90
  • 182
78
votes
4 answers

postgres, ubuntu how to restart service on startup? get stuck on clustering after instance reboot

I have a Postgres db 9.1 running on AWS EC2, with ubuntu 12.04. I messed a lot with the instance (i.e installed all kinds of postgres X.X before i settled on 9.1). Now after a month working on that db, I discovered that if I restart my instance…
yaron
  • 1,133
  • 1
  • 9
  • 21
75
votes
8 answers

Speed up rsync with Simultaneous/Concurrent File Transfers?

We need to transfer 15TB of data from one server to another as fast as we can. We're currently using rsync but we're only getting speeds of around 150Mb/s, when our network is capable of 900+Mb/s (tested with iperf). I've done tests of the disks,…
BT643
  • 2,541
  • 4
  • 29
  • 45
1
2 3
99 100