Ubuntu 12.04, named "Precise Pangolin" is 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

5
votes
1answer
1k 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 ...
1
vote
3answers
1k views

Setting up fail2ban to ignore connections behind a dynamic IP

Using fail2ban to secure an Ubuntu 12.04 x64 Server on DigitalOcean, while editing /etc/fail2ban/jail.local there's this part: [DEFAULT] # "ignoreip" can be an IP address, a CIDR mask or a DNS host ...
0
votes
2answers
2k views

Best way to recover mysql from a “chmod -R 777 /” with databases intact

Question: What is the best way to recover mysql (or worst case: migrate away) from a "chmod -R 777 /" with databases intact? System: Ubuntu 12.04 LTS MySQL 5.5.24 64 bit Amazon EC2 cloud server. ...
0
votes
1answer
993 views

For setting locale in Ubuntu, what does the LANGUAGE environment variable mean?

For setting locale in Ubuntu, what does the LANGUAGE environment variable mean? It is not defined in Ubuntu Community Docs or on man 1 locale. Related question: In Ubuntu, what is the difference ...
13
votes
1answer
15k 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 ...
49
votes
5answers
13k 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 ...
6
votes
2answers
11k views

How to reset Ubuntu 12.04 iptables to default without locking oneself out?

Could anyone kindly provide the commands to completely reset the iptables (firewall) for Ubuntu 12.04 to its default "factory" setting? From what I understand, doing this wrong would cause one to be ...
13
votes
1answer
22k 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
3answers
10k views

How can I install WildFly 8.0.0.Final as service on Ubuntu Linux?

I am trying to install the WildFly 8.0.0.Final application server on a Virtual Machine running Ubuntu 12.04 LTS. I've done some searches on Google, but I found only third-party scripts and, I think, ...
4
votes
5answers
21k 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 ...
5
votes
2answers
1k views

No network loopback device after security update ubuntu 12.04

I've had Ubuntu 12.04 on a server for the last several months, with everything working fine. Last night I did an aptitude update && aptitude safe-upgrade to bring in all the latest security ...
2
votes
2answers
2k views

Increasing disk size of Linux guest in VMware?

After increasing the size of my Ubuntu 12.04 LTS VM's OS disk by editing the guest VM's settings through the vSphere client, I do not see the increase in disk size when I check from within the OS (df ...
9
votes
3answers
14k 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 ...
7
votes
2answers
4k 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 ...
4
votes
0answers
1k views

Apache 2.2 fails with “unable to write 'random state'” with 2048-bit RSA key (1024-bit works fine)

I'm usually pretty good with Apache and OpenSSL, but this one has me completely baffled. I'm running Apache 2.2.22 and OpenSSL 1.0.1 on a Ubuntu 12.04 LTS Server. I have an IP-based virtual host ...
4
votes
1answer
575 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 ...
3
votes
2answers
2k views

Windows Server 2012 and Ubuntu 12.04.1 under Hyper-V

I've set up an instance of Ubuntu 12.04.1 LTS under Hyper-V 2012. However it seems to be nondeterministic as to whether or not it completes the boot process. I get a Kernel Panic, "IO-APIC + timer ...
2
votes
1answer
3k views

sendmail doesn't send email to specific domain email address

We have ubuntu 12.04 server and installed sendmail to send mails from this server. Problem: There is some strange issue on mail server. Somehow, server not able to send email to xxx@ayolla.com ...
1
vote
1answer
3k views

Poor guest I/O performance KVM Ubuntu 12.04

I have a guest VM running inside a 12.04 Ubuntu host. VM was created using the vmbuilder python script. On the host the phoronix-test-suite "aio-stress" gives a performance speed of >1600MB/s Random ...
1
vote
3answers
4k views

Linux policy routing - packets not coming back [closed]

i am trying to set up policy routing on my home server. My network looks like this: Host routed VPN gateway Internet link through VPN 192.168.0.35/24 ---> 192.168.0.5/24 ...
4
votes
2answers
3k 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 ...
3
votes
1answer
3k views

Postgresql 9.2 “invalid locale name” on Ubuntu 12.04

Today I installed Postgresql 9.2 on Ubuntu precise via apt.postgresql.org – all was relatively painless until I got stuck in a "invalid locale name: it_IT.utf8" error: root@ubuntu:/tmp# sudo -u ...
3
votes
2answers
2k 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 ...
2
votes
1answer
2k views

Ubuntu 12.04 - HP ProLiant DL380 G4 - Load Maxes Out / Unresponsive

Trying to post this question on here. I've posted it on the Ubuntu forums as well with no replies. Recently I upgraded an HP ProLiant DL380 G4 server from Ubuntu 10.04 server to Ubuntu 12.04 server. ...
1
vote
2answers
3k views

BIND9 as a cache-only nameserver doesn't work

I installed BIND9 via apt-get on a newly installed and completely updated UBUNTU 12.04, virtualized on VirtualBox. I want to use it as a cache-only nameserver. named.conf contains only the following ...
0
votes
2answers
169 views

Ubuntu EC2 server not accepting key following OpenSSH upgrade

I've just upgraded OpenSSH on an EC2 Ubuntu instance. sshd -V now gives: OpenSSH_6.6p1 previously showed: OpenSSH_5.9p1 Debian-5ubuntu1.3 However, I can no longer log in with the .pem file from ...
0
votes
3answers
107 views

Linux console login with screwed up home permissions

I have an Ubuntu 12.04 server where the /home perms have been mucked up. Now when I try and login I get: Could not chdir to home directory /home/myuser: Permission denied /bin/bash: Permission denied ...
0
votes
1answer
163 views

Rackspace Ubuntu 12.04 apache2 causing Out of memory

After less than 2 hours uptime, my Rackspace server (1CPU 1GB RAM 40GB) memory is used up by /usr/sbin/apache2 -k start which ends up killing my wordpress site. QUESTION 1: Why is this happening ...
0
votes
1answer
1k views

Manually flush iptables in rescue mode

I ruined iptables and I can't connect to my Ubuntu 12.04.03 server... I activated rescue mode (grml) and this is what I get when I try to flush it: root@grml:/# iptables -F FATAL: Could not load ...
0
votes
1answer
774 views

Ubuntu 12.04 Server - MySQL keeps crashing - Possible InnoDB problems

I have been searching for a solution but nothing seems to work. I have a single Drupal 6 website up on this server. Server:Ubuntu 12.04 Apache/2.2.22 (Ubuntu) 5.3.10-1ubuntu3.8 MySQL 5.5.32 Drupal ...
0
votes
1answer
344 views

How do I “duplicate” a server?

I have a EC2 and Digital Ocean servers and I want to re-create them locally (same config files and everything). By local I mean virtual box (vagrant). I had started out by managing them with Chef but ...
0
votes
0answers
565 views

RoundCube mail redirects to itself all https requests

All requests to https://example.com end up being redirected to RoundCube login page. I want https to work the same way as regular protocol does, and to use the same URLs. Setup: Ubuntu 12.10 with ...
0
votes
1answer
3k views

Setting up SSL: Recompiling Apache with mod_ssl

I've got an old machine running Ubuntu 12.04 32bit in my office to host our internal wiki and bugzilla sites. We're also testing our new php app with it and I'm trying to get SSL working with a self ...
0
votes
1answer
3k views

How can I automatically delete old apache error log files?

My /var/log/apache2 folder is getting out of hand. It has loads of old compressed error.log files that I want to get rid of before my server runs out of space and explodes. Firstly - Is it safe to ...
0
votes
2answers
467 views

Apache per user permissions

Ok so I looked at a number of resources, per Google, and questions on here an none seem to be what I require. I come from a Windows IIS background so maybe my thought process is flawed and that ...
0
votes
1answer
424 views

Why is autovacuum using so much IO when running on a partition's master table after upgrading PosgreSQL from 8.4 to 9.1?

We have an application where we are collecting timestamp-based data. Since a month of data goes over 30M rows (and growing each month), we decided to partition the data on an year-and-month basis. We ...
0
votes
1answer
1k views

Apache2: module evasive20_module is already loaded, skipping

I am installing mod_evasive on my Ubuntu LAMP server. I followed the simple directions: sudo apt-get install libapache2-mod-evasive sudo mkdir /var/log/mod_evasive sudo chown www-data:www-data ...
0
votes
1answer
540 views

in Ubuntu, what is the difference between en_US:utf8 and en_US: when setting LANGUAGE [duplicate]

related question: for setting locale in ubuntu what does the LANGUAGE environment variable mean for setting locale my existing Ubuntu 12.04 server has LANGUAGE as en_US: And I can set it to ...