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):

2816 questions
440
votes
18 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
  • 155,172
  • 47
  • 273
  • 272
295
votes
8 answers

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

I am trying to compile ARM code on Ubuntu 12.04 (Precise Pangolin). Everything is working fine when I put the code in the local directory. But when I put the code in the cited mount directory, an error shows up: making testXmlFiles sh: 0: getcwd()…
CrazyKitty Rotoshi
  • 2,959
  • 2
  • 13
  • 4
290
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,600
  • 2
  • 25
  • 24
277
votes
14 answers

How to check if a service that I don't know the name of 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,164
  • 2
  • 18
  • 13
253
votes
38 answers

Why does IntelliJ give me "Package doesn't exist" error?

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
  • 2,573
  • 2
  • 12
  • 10
165
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,777
  • 2
  • 11
  • 3
133
votes
11 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
  • 3,495
  • 5
  • 34
  • 55
129
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,785
  • 4
  • 16
  • 25
126
votes
30 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:.…
Vipin Verma
  • 5,330
  • 11
  • 50
  • 92
109
votes
20 answers

CronJob not running

I have set up a cronjob for root user in ubuntu environment as follows by typing crontab -e 34 11 * * * sh /srv/www/live/CronJobs/daily.sh 0 08 * * 2 sh /srv/www/live/CronJobs/weekly.sh 0 08 1 * * sh /srv/www/live/CronJobs/monthly.sh But the…
bor
  • 2,211
  • 4
  • 22
  • 37
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,257
  • 3
  • 19
  • 24
102
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
  • 71,784
  • 24
  • 131
  • 181
93
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
  • 5,032
  • 6
  • 40
  • 71
91
votes
6 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,283
  • 1
  • 11
  • 21
90
votes
8 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
  • 1
  • 51
  • 158
  • 311
1
2 3
99 100