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
1
vote
1 answer

Ubuntu terminal freeze

When I run this command it freezes terminal so I can't send new commands to the server. Is there a way to send this command and then send new commands while this command continues. deluge-web Best Regards
user1937922
1
vote
1 answer

after ruby upgrade: Failed to build gem native extension. (EC2 Ubuntu)

I tried to switch my ruby version from 1.8 (default) to 1.9.3 (latest on Pangolin) as per http://lenni.info/blog/2012/05/installing-ruby-1-9-3-on-ubuntu-12-04-precise-pengolin/. I'm doing this using apt. The other solutions to related questions on…
isomorphismes
  • 8,233
  • 9
  • 59
  • 70
1
vote
1 answer

mailer error in production only

Setup: VPS with Ubuntu 12.04, Apache, PhusionPassenger, Rail 3.2.12, Postgresql I want to send a confirmation mail with my app. In development mode everything works fine, the user receives a mail but in production I get this error (log): Started…
1
vote
3 answers

Linux header files giving syntax error

On trying to compile a program using gcc I get the following error. In file included from /usr/include/unistd.h:218:0, from fcfssched.c:3: /usr/include/x86_64-linux-gnu/bits/types.h:31:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’…
asheeshr
  • 4,088
  • 6
  • 31
  • 50
1
vote
1 answer

Code calls terminate instead of throwing exception

I want to throw an exception like this: if (...) { throw "not found"; } and catch it like this: try { myfunction(); } catch (const char * msg) { cout << msg << endl; } but then it says terminate called after throwing an…
gartenriese
  • 4,131
  • 6
  • 36
  • 60
1
vote
2 answers

error getting interface index using SIOCGIFINDEX

Hi i am trying to do packet injection using raw sockets, i have a problem in getting the interface index using SIOCGIFINDEX command of the ioctl. I am using ubuntu 12.04 as my OS. Please help the code is: int BindRawSocketToInterface(char *device,…
1
vote
0 answers

MySQL on Ubuntu 12.04 LOCAL_INFILE still disabled

On Ubuntu 12.04 64bit LTS, including MySQL version 5.5.29 - I am trying a LOAD DATA LOCAL INFILE command in mysql, but it fails with DB Error (1148) The used command is not allowed with this MySQL version I have done the following: Added…
Francois Stark
  • 153
  • 2
  • 10
1
vote
2 answers

Deleting user from Ubuntu when the user is logged in

I am working on Ubuntu 12.04 .Recently I downloaded Hadoop 2.0.3 and made a user named Hduser which I added and give privileged rights. Now I want to delete the user. I used sudo deluser hduser But it's giving me the following error: Warning:…
Uselesssss
  • 2,127
  • 6
  • 28
  • 37
1
vote
1 answer

Socket Direct Protocol error: "Address family not supported by protocol"

I thought I would try out SDP on our infiniband hardware. However, when I try to add AF_INET_SDP as the first argument to socket() I get the following error: "Address family not supported by protocol". Originally I had: #define AF_INET_SDP 26 But…
hookenz
  • 36,432
  • 45
  • 177
  • 286
1
vote
4 answers

Disable terminal commands

I want to disable the use of rm except in certain circumstances. I wrote a function called remove in a .sh file and it goes though certain checks that I wanted to impose before actually calling rm. However, one could still go into the terminal and…
nick
  • 319
  • 1
  • 4
  • 18
1
vote
3 answers

Git: Retrieve short commit hash for cache busting purposes

I want to use git hash's for cache busting purposes. My deployment script would look for specific files in git, and would use the short version of the hash from the last commit where the file was changed. This means that the cache busting string for…
michaelward82
  • 4,706
  • 26
  • 40
1
vote
0 answers

Matplotlib legend error under Ubuntu (but not on windows vista)

I have a python program using matplotlib which runs nicely under windows vista but under Ubuntu I get the following error: Traceback (most recent call last): File "Main.py", line 175, in my_measure self.widget.canvas.ax.legend(loc = 'center…
user2061878
1
vote
1 answer

Timeout while trying to contact RemoteTestNG in Selenium on Mac

I have a TestNG setup running on Eclipse Indigo 20120216-1857 and TestNG for Eclipse v2.0. Dev environment is Mac OSX 10.8.2. Target is a web server running on Ubuntu 12.04. Error: 'Couldn't contact the RemoteTestNG client. Make sure you don't…
1
vote
1 answer

qt 5 QMediaPlayer error: Gstreamer unable to play

I just installed QT 5 and am trying to run the example for playing video. The code snippet looks like: QMediaPlayer *player = new QMediaPlayer; player->setMedia( QUrl::fromLocalFile(fileUrl) ); QVideoWidget *videoWidget = new…
sibtx13
  • 123
  • 1
  • 6
1
vote
1 answer

WordPress FTP update on EC2 server

I have an AWS EC2 instance running an Ubuntu 12.04 web server that I host Wordpress on. For Wordpress to update, it's asking me to supply FTP credentials. I have set up FTP according to this post:…
skeniver
  • 2,647
  • 6
  • 28
  • 34