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

44
votes
5answers
9k 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 ...
14
votes
3answers
25k 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 ...
11
votes
1answer
9k 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
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 ...
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
3answers
3k 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
396 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
1answer
8k 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 ...
7
votes
1answer
9k 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 ...
7
votes
2answers
944 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 ...
7
votes
2answers
2k 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
13k 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
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
805 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
1k 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 ...
5
votes
3answers
6k views

Do I need to restart my server after editing fstab and mtab?

I'm just wondering if I need to restart my server after editing fstab and mtab. I changed something in this file manually due to problem with awstats report. I am using ISPConfig 3 with the help of ...
5
votes
2answers
3k 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
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: ...
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
617 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
900 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
2k 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
337 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
90 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
3answers
9k 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. ...
4
votes
1answer
681 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 ...
4
votes
2answers
910 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
2answers
3k 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 ...
4
votes
1answer
368 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
967 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
5answers
4k 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
1answer
764 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
4answers
1k 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
176 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
344 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
63 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
4answers
12k views

Find out what high CPU usage apache process is actually doing?

Currently having a few issues with our server where, intermittently, we seem to get apache processes which just run and run, taking up 100% CPU. When running top, we see the following: PID USER ...
4
votes
1answer
552 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
4k views

DNS Server Behind NAT

I've got a Bind 9 DNS server sitting behind a NAT firewall, assume the Internet facing IP is 1.2.3.4 There are no restrictions on outgoing traffic, and port 53 (TCP/UDP) is forwarded from 1.2.3.4 to ...
4
votes
1answer
3k 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
2k 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
793 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
7k 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
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
1answer
2k 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
435 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
2answers
1k views

Is there an easier way to add public-key authentication for new users?

I am in the arduous and painful process of setting up secure users on a new web LEMP server with Ubuntu 12.04. I was initially going to setup something like vsftpd or proftpd but many have suggested ...