Ubuntu 12.04, named "Precise Pangolin" is the current Long Term Support (LTS) release of Ubuntu Linux. LTS releases receive updates for 5 years and have available paid support from Canonical. The version number comes from the year and month of release (April of 2012).

learn more… | top users | synonyms

41
votes
5answers
7k views

Monday morning mistake: sudo rm -rf --no-preserve-root /

Here's a an entertaining tragedy. This morning I was doing a bit of maintenance on my production server, when I mistakenly executed the following command: sudo rm -rf --no-preserve-root ...
13
votes
3answers
22k views

What is the ibdata1 file in my /var/lib/mysql directory?

Logging in to my Webmin control panel, I noticed that virtually all of my disk space is full. I searched for the ten largest files/ directories on my system and found that a file called ibdata1 is ...
8
votes
3answers
4k views

Not able to install Gearman on Ubuntu 12.04

I am trying to install Gearman on my Ubuntu 12.04 machine by following command sudo apt-get install gearman-job-server libgearman-dev sudo apt-get install php-pear php5-dev Above commands run ...
8
votes
1answer
8k views

Why does snmp fail to use its own MIBs?

I've done a fresh install of Ubuntu 12.04LTS, and installed the snmpd and snmp packages. If I type: snmpwalk -m ALL -v2c -c public localhost 1.3 I get swathes of errors, of the form: Cannot adopt ...
8
votes
3answers
2k views

NFS with encrypted ubuntu home directory

I am having trouble getting NFS setup on with vagrant: On my local machine I have installed NFS: apt-get install nfs-common nfs-kernel-server And in my Vagrantfile set it to be used: ...
8
votes
1answer
316 views

TCP packet being retransmitted 7 times when sysctl tcp_retries1 is set to 3 - why?

Ubuntu 12.04 I am trying to better understand how many times TCP will attempt to retransmit a packet when it does not receive confirmation the destination received it. After reading the tcp man page ...
7
votes
2answers
1k views

GlusterFS is failing to mount on boot

I'm running the official GlusterFS 3.5 packages on an Ubuntu 12.04 box that is acting as both, client and server, and everything seems to be working fine, except mounting the GlusterFS volumes at boot ...
6
votes
4answers
11k views

What do these disk errors in syslog mean?

I just rebooted my monitoring server for the first time in a while, and the following starting filling the screen: Jul 11 23:52:30 monit kernel: [ 25.255908] ata1.00: exception Emask 0x0 SAct 0x0 ...
6
votes
2answers
888 views

Sudoers file allow sudo on specific file for active directory group

I have active directory sign in working on an Ubuntu 12.04 box. When the user signs in, I have a script that runs that needs sudo permission (since it modifies the samba config file). How would I ...
6
votes
0answers
3k views

How to Build nginx 1.4.0 and ngx_pagespeed in Ubuntu/Debian? [closed]

How to Build nginx 1.4.0 and ngx_pagespeed in Ubuntu Create a directory to download necessary packages (optional) : mkdir pagespeed && cd pagespeed Make sure that you have latest version ...
6
votes
1answer
725 views

Grub2 reports physical volume pv0 not found on server non bootable anymore

I first installed my ubuntu server (11.10 amd64) using lvm but not fully mastering the concept of it. I think that's partly what made the mess of partitions on my two disks (seems to me). I installed ...
5
votes
3answers
3k views

How to mount /tmp in /mnt on EC2?

I was wondering what is the best way to mount the /tmp endpoint in the ephemeral storage /mnt on an EC2 instance and give the ubuntu user default write permissions. Some suggest editing /etc/rc.local ...
5
votes
2answers
5k views

NameVirtualHost has no effect

What do you think would be solution to my problem? user@admin:~$ sudo service apache2 restart sudo: unable to resolve host admin * Restarting web server apache2 ...
5
votes
1answer
8k views

How do I set the dns search domain in Ubuntu 12.04?

/etc/resolv.conf is dynamically generated from the contents of /etc/network/interfaces, which on my system contains a line like this: dns-servers 8.8.8.8 How do I include the default search ...
5
votes
2answers
2k views

Ubuntu Server hanging on adding swap

A fresh install of Ubuntu Server is refusing to boot and hanging on "Adding 524284k swap on /dev/mapper/test--vg-swap_1. Priority:-1 extents:1 across:524284k I can get around this by dropping onto ...
5
votes
2answers
3k views

Windows 2012 hyper-v saying degraded (integration services upgrade required) on Ubuntu 12.04

I have upgraded my Ubuntu 12.04 that runs under hyper-v Windows 2012 server, and since then, hyper-v manager reports that I need to upgrade my integration services under Ubuntu. But I cannot find how ...
5
votes
4answers
2k views

Ubuntu 12.04 host lookups extremely slow

I'm having issues with one of my servers taking a long time to look up host names. This is an Ubuntu 12.04 box, so I've tried following the new resolvconf directives. In my /etc/network/interfaces ...
5
votes
1answer
543 views

bash tab completion only works for root

I set up an Ubuntu 12 server (on rackspace cloud using their preconfigured image) and created a non-root user. When I log in as the standard user, pressing [TAB] at the terminal outputs an actual tab ...
5
votes
2answers
825 views

Unxeplainably high disk IO caused by nginx worker processes

I have just setup a ubuntu 12.04.2 LTS server that serves a big number of quite large static files. The configuration is the same as on another machine which works great. The other machine uses Ubuntu ...
5
votes
1answer
1k views

Intel NIC X540-T1 non-functional in Ubuntu Server 12.04

I have installed three Intel X540-T1's in servers running Ubuntu Server 12.04, but all are non-functional, no link lights, no packets sent or received, and no connection on ip4 or ip6 whether set up ...
5
votes
2answers
328 views

Ubuntu 12 crashed and took down network

We recently set up a new Ubuntu 12.04LTS server on our network. It's not fully configured so it's not doing much beyond sshd and a default apache2 install. But this evening it appears to have ...
5
votes
1answer
89 views

Storing secure keys on Ubuntu web server

I'm running Ubuntu 12.04 Precise with a DUNG (Django, Unix, Nginx & Gunicorn) environment and my app (as well as various config files) is stored in a python virtual environment inside /srv, which ...
4
votes
2answers
799 views

Postfix master.cf versus main.cf

I see a lot of the time that the same settings can be specified in both main.cf, and also in master.cf using the -o prefix. My question is, does one override the other, and if so, which file is given ...
4
votes
1answer
280 views

Cannot ping B from A until B pings A

I have a server cluster all connected on a local network(all physical machines, not virtual). When trying to ping from Server A to B, I get a Desitination Host Unreachable. I can ping from B to A no ...
4
votes
2answers
1k views

Active directory integration not working properly with winbind and samba

I'm trying to get my linux box to use active directory authentication. I believe I have almost everything setup correctly. I'm able to issue wbinfo -g and wbinfo -u and see all the groups and users ...
4
votes
3answers
864 views

Svn authorizing over sasl+ldap failing after Ubuntu update 10.04 -> 12.04

I have working svnserve solution on Ubuntu 10.04 for authorizing svn users over SASL to Active directory (LDAP, not LDAPDB). Config files are at the bottom. After upgrading server to 12.04 release, ...
4
votes
1answer
669 views

I need to monitor a log file with monit if the file does not change monit will alert

I need help. I was looking in to Monit documentation and I need help. I could not find my answer there. I need to monitor a log file of a service, if that log file stops to increase in size or even ...
4
votes
5answers
3k views

Ubuntu 12.04 LDAP SSL self-signed cert not accepted

I'm working with Ubuntu 12.04, using OpenLDAP server. I've followed the instructions on the Ubuntu help pages and can happily connect without security. To test my connection, I'm using ldapsearch ...
4
votes
4answers
883 views

12.04 preseeded install with RAID and LVM

I am trying to set up a preseed install (Ubuntu 12.04.03 64-bit) with the following partitioning recipe, but it's just not working and I'm not sure why. Please, Obi-Wan, you're my only hope. The -1 ...
4
votes
2answers
168 views

ipv6 multiple addresses and firewall on remote machine

I have an ubuntu server (serverA) which has a couple of IPv6 addresses. One of these is based on it's MAC address, and is known to the network, the other one I presume ubuntu created as a 'private' ...
4
votes
1answer
2k views

Trying to set up SFTP only in a chroot jail for one user

Hopefully you guys can help and see if I've done something weird here, I'm trying to log in with a user I set up, FileZilla shows me: Command: open "///@///" Command: Pass: ******** Status: ...
4
votes
1answer
268 views

How to Install RVM and RUBY to the specific user in the salt-minion

I am using Ubuntu 12.04 for salt-master and salt-minion.When i try to install a package in the salt-minion using salt, it installs only in the system specific. But i need to install in the user ...
4
votes
2answers
62 views

What is the effect of adding a user on a MySQL slave?

This is on a Ubuntu 12.04 server running MySQL 5.5 which is slaved to an OS X server running MySQL 5.1 Logrotate has been sending error: error running shared postrotate script for ...
4
votes
1answer
500 views

Add active directory user to linux group upon sign-in

I have Active Directory sign in working on an Ubuntu 12.04 box. When an active directory user signs in, I would like to add them to the group sambasharers. Where and how would I add this ...
4
votes
1answer
2k views

Dovecot (with Postfix) configuration has connection refused when accessing auth-userdb

...this was a hard one to describe in a title. This description should highlight the problem. Context I was following the Workaround.org tutorial to install a postfix, dovecot (plus some additional ...
4
votes
2answers
1k views

OpenLdap TLS authentication setup

I am trying to setup openldap on ubuntu 12.04 by following this guide https://help.ubuntu.com/12.04/serverguide/openldap-server.html When I tried to enable TLS on the server by creating a self signed ...
4
votes
1answer
744 views

Riak “error”:“insufficient_vnodes_available”

We have 4 nodes Riak installation. They are running on Ubuntu 12.04 LTS Precise installed servers. We have installed 1.1.4 at August 1st 2012 and upgraded 1.2.0 when its available. Server names are: ...
3
votes
1answer
6k views

a2ensite error “Site not exist” when creating virtualhost apache2 on ubuntu

I have created files for my site in the /home/junda/www/ directory. I use symfony2, means the public files goes to /home/junda/www/symfony2-tries/web/ directory. I then type this following command to ...
3
votes
1answer
3k views

Ubuntu “No space left on device” for /home, df shows 100% full, ds shows much, much less [duplicate]

Possible Duplicate: Linux different size for df and du for root partition On an Ubuntu 12.04 server, normal users can no longer create or add to files in /home, encountering a "No space ...
3
votes
3answers
785 views

Is it usually safe to run “apt-get upgrade” (in terms of stability) on a production server?

I often log into my Ubuntu 12.04.2 server (with Postgres 9.2.4 running with live production data) and see something akin to: 4 packages can be updated. 4 updates are security updates. This happens ...
3
votes
1answer
396 views

Tuning Postgresql on a 16GB Linode VPS

I'm running a dedicated PostgreSQL on a 16GB Linode (Ubuntu 12.04 32bit). I've tried using pgtune, but I'll run into shared memory errors. I.e. The PostgreSQL server failed to start. Please check the ...
3
votes
1answer
1k views

Cannot find network subsystem in cgroup on Ubuntu 12.04 LTS

I'm trying to use cgroups to limit a process's network bandwidth, as described in this answer. However, I am unable to find the "files" they refer to. I am using Ubuntu 12.04 LTS with cgroup-bin ...
3
votes
3answers
5k views

Would it be advised to use Ubuntu 14.04 LTS over 12.04 LTS?

I'm unsure how to ask this question, but I'm switching hosting companies and got to migrate everything. I'll probably set up everything up manually, no copy paste work, except the regular files. ...
3
votes
2answers
3k views

opening port 80 on Ubuntu AWS

I'm running a tomcat server on an ubuntu machine hosted in an AWS instance. I can reach the server via public_ip:8080 but when i change the listening port on server.xml from 8080 to 80 connection is ...
3
votes
1answer
544 views

iotop and iostat disagree

I'm trying to understand what's going on with my server's disks. It's running Ubuntu 12.04LTS and I'm used to using iostat to know when the disk is the bottleneck. But iostat -xd looks to me like ...
3
votes
2answers
4k views

Used vgextend/lvextend to add addtional 8GB space but it is not reflected in df output

I have created an instance of ubuntu VM in VirtualBox. At the beginning I have only allocated 7GB for the storage and the VM has now run out of space. First I added another 8GB (/dev/sdb) to the VM ...
3
votes
1answer
1k views

php-mysqlnd or php-mysql

Long story short: just installed Ubuntu 12.04 (Debian based), nginx, php-fpm and mysql. Now I need the MySQL driver for PHP, but which should I choose? Which is better php-mysqlnd or php-mysql?
3
votes
1answer
122 views

nginx not responding on port 81

I just installed and configured nginx to listen on port 81. I didn't change the nginx.conf file, removed sites-available/default, added a dystroy.org file in sites-available : server { listen 81; ...
3
votes
1answer
2k views

How do I enable gzip Compression on NGINX PageSpeed Module resources?

I have been focusing heavily on optimizing a certain website so that it scores 100 on the Google PageSpeed Insights tool (for both mobile and desktop). Most of the items are working flawlessly, but I ...
3
votes
1answer
71 views

How to prevent a service from starting until a volume is mounted?

Using Ubuntu 12.04 or 14.04, how can I prevent an upstart service from starting until a couple of network volumes (GlusterFS) get successfully mounted?