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

3
votes
1answer
490 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 ...
3
votes
2answers
6k 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
2answers
6k 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
3answers
6k 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, ...
3
votes
1answer
157 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
4answers
157 views

Remove IP with ip command in linux

If I add two IPs like this: ip addr add 1.1.1.1/24 dev eth2 ip addr add 1.1.1.2/24 dev eth2 and then I try to delete one of like this: ip addr del 1.1.1.2/24 dev eth2 BOTH IPs will be deleted ...
3
votes
2answers
1k views

Install Ubuntu truncate command to Mac OS X 10.7

Is there any way to install Ubuntu's truncate command to Mac OS X 10.7 in order to use the command in Terminal shell?
3
votes
2answers
17k views

How to get USB Devices to AutoMount in Ubuntu 12.04 Server

In Ubuntu 12.04 Desktop, USB devices can be plugged in, and they just work for the most part. In Ubuntu 12.04 Server, when I plug in a USB device it does nothing. How can I setup server do act like ...
3
votes
1answer
111 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?
3
votes
1answer
4k views

psql: fe_sendauth: no password supplied

I have an up and running PostgreSQL database. Now I would like to automate some operations on my database but I have a problem with the password. I am using the following bash script: #!/bin/bash ...
3
votes
1answer
2k 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
3answers
5k views

Correct way to move kvm vm

I'm wondering what is the correct way of moving a VM between two KVM hosts without using any kind of shared storage Would copying the disk files and the XML dump from the source KVM machine to the ...
3
votes
2answers
2k views

Installing php5-imagick in Ubuntu 12.04 w/ ondrej packages results in dependency error

I've been trying to setup an Ubuntu 12.04 VM that is running PHP 5.4 with the imagick module. All the results I find on google say to use the ondrej packages, which for the most part works perfectly. ...
3
votes
1answer
492 views

LXC and Saltstack minion_id configuration on Ubuntu

I'm using LXC as a lab platform for testing SaltStack scripts. The lab consists of +5 Ubuntu 12.04 LTS containers, which I create by cloning a template container with salt-minion pre-installed. Once ...
3
votes
1answer
4k views

Why does name resolution not work on the server itself?

I have got an Ubuntu Linux 12.04.1 server which as one service runs bind9 for name resolution for a xxx.local domain which forwards all other requests to the name servers of my Internet provider. ...
3
votes
2answers
4k views

Why can't I create this gluster volume?

I'm setting up my first Gluster 3.4 install and all is good up until I want to create a distributed replicated volume. I have 4 servers 192.168.0.11, 192.168.0.12, 192.168.0.13 & 192.168.0.14. ...
3
votes
1answer
381 views

Prioritise repositories in Ubuntu

We have a few PPA sources on some of our servers which we stick into /etc/apt/sources.list.d . Some of these repos provide same packages (in terms of names) but different versions and possibly ...
3
votes
3answers
1k views

Prevent apt-check from eating all my memory

On Ubuntu 12.04 LTS, with server of 512MB RAM, the apt-check is using up to 250 memory and cause my system to un-usable every night, e.g. ps ax | grep apt 14895 ? DN 0:02 /usr/bin/python ...
3
votes
1answer
634 views

Ubuntu Server 12.04: How does one configure the firewall during installation?

I'm following instructions to automate the installation of Ubuntu Server 12.04 using kickstart. It works well for automatically partitioning the drives, selecting languages etc. However, it doesn't ...
3
votes
1answer
643 views

How do I preseed a simple RAID5 setup on Ubuntu Server? [closed]

I have three 2TB drives in the machine; I want a RAID5 of ~4TB capacity, and 100GB or so of swap space. No LVM, no encryption, no fanciness. This is easy to do using the interactive installer, but I'm ...
3
votes
1answer
425 views

“No version information available” - After installing Postgres

I have installed Postgres 9.1.4 on an Ubuntu 12.04 (precise) 64-bit from here http://www.openscg.com/se/postgresql/packages.jsp, but right after installing many commands (programs) are throwing these ...
3
votes
2answers
577 views

OpenDirectory/LDAP Query Syntax to find all users in a Group for GADS

I would like to construct an LDAP query to find all users that are part of the "Google Apps Users" group (short name: googleappsusers) on my OS X 10.9 Server. When I run the following query in Google ...
3
votes
1answer
1k views

Why does this package (ppa:ondrej/php5, it's PHP 5.5) break the apache2 installation?

Problem Currently this package (ppa:ondrej/php5) is quite popular for installing the latest version of PHP 5.5. I've worked quite much with it, and everything ran smoothy, on several (dev) servers. ...
3
votes
2answers
1k views

How to make Chef-Server use Ruby 1.9 on Ubuntu?

I've installed Chef Server on Ubuntu 12.04 using the official instructions, which uses the "omnibus installer" that has embedded ruby 1.8.7. I'm trying to install knife-windows, but when I run gem ...
3
votes
1answer
452 views

GlusterFS Mount Keeps Disconnecting Randomly

We are using GlusterFS to provide a distributed file system on 2 web servers which use a shared media directory and cache. So i have created 2 gluster volumes (media and var) and have mounted these in ...
3
votes
2answers
3k views

runit - unable to open supervise/ok: file does not exist

I'm trying to figure out why runit will not boot or give me the status for the managed applications. Running on Ubuntu 12.04. I created /service, /etc/sv/myapp (with a run script, a config file, a ...
3
votes
1answer
85 views

Can Hand-Edited sendmail.cf actually be generated from sendmail.mc?

I have two CentOS systems, version 5 and 6. Because our firewall has blocked off unsolicited port 25 traffic, we have a little Perl script that logs into our email server as a valid user to send email ...
3
votes
1answer
504 views

How to configure SSL for CouchDB

How do I configure Couchdb to use ssl, I've followed the instructions here with no success. I generate my own self-signed certificate: mkdir cert && cd cert openssl genrsa > privkey.pem ...
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 ...
3
votes
1answer
186 views

Multi port clonezilla server

I am doing cloning of multiple computers - all of which are different. Therefore I can't do multicast - bummer :( However I can put multiple ethernets into the "server" (more like desktop) so can ...
3
votes
1answer
265 views

Why is upstart eating all of my RAM?

I'm running Ubuntu Server 12.04 LTS in EC2. I have several node.js daemons running as services under upstart, along with the usual init stuff. After every deploy, during which all the node.js daemons ...
3
votes
7answers
15k views

Vagrant Error: Connection timeout. Retrying

I have a server with Ubuntu 12.04, Virtualbox 4.3 and Vagrant 1.5.1. I'm trying to use this box http://puppet-vagrant-boxes.puppetlabs.com/centos-64-x64-vbox4210.box however unsucessfully. When I run ...
3
votes
1answer
118 views

Difference between AWS Software Subscription and Launching a Custom AMI?

Amazon AWS seems to provide two methods of launching an instance of Ubuntu 12.04 that confuse me, one of them is the Software Marketplace the other method is by launching an AMI on the Ubuntu ...
3
votes
0answers
742 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 ...
3
votes
2answers
177 views

Why can't I run this python script as a job in ubuntu 12.04?

Normally I do this: cd /home/ubuntu/project/beta python default.py -dev In order to start the web.py server I would prefer to do this: sudo start beta Here is my /etc/init/beta.conf setuid ...
3
votes
2answers
1k views

Chef 'notifies' fails to restart or reload services

I'm using chef-solo v10.12.0 to configure an Ubuntu 12.04 VM, and I keep running into an issue where services don't restart or reload as expected when a configuration file is changed. There are no ...
3
votes
1answer
392 views

I can't install windows 64bit on Virtualbox headless

I'm trying to install Windows2008r2 64bit on a Ubuntu 12.04 64bit host. After created the VM (with --ostype windows2008_64 I boot up the installation iso but windows says: Attempting to load a 64-bit ...
2
votes
2answers
2k views

How do I change, sort, add, remove graphs with Munin?

To keep an eye on what's happening with our production servers I recently discovered Munin. It was trivial to install but I'm having a lot of trouble working out how to add/remove graphs. I found ...
2
votes
3answers
7k views

cant install fastcgi ubuntu server: Package libapache2-mod-fastcgi is not available

When i try to install fastcgi in ubuntu server 12.04 I get the following error: sudo apt-get install libapache2-mod-fastcgi Reading package lists... Done Building dependency tree Reading ...
2
votes
2answers
975 views

How can I provide a default configuration file with puppet but allow the server administrator to update it

I'd like to provide a "default-example" configuration file to node servers using puppet (my.cnf for example) but I want to allow the server administrator to update it as much as he wants. (Basically, ...
2
votes
1answer
535 views

Autossh ask for password when running with sudo (or from upstart)

I have an upstart job /etc/init/tunnel.conf: description "SSH Tunnel" start on (net-device-up IFACE=eth0) stop on runlevel[016] respawn exec autossh -nNT -o ServerAliveInterval=15 -R ...
2
votes
2answers
158 views

Cron job not putting Redis in slave mode

My organization has Redis running in a Master/Slave configuration, using Keepalived to switch between the two. It was discovered that when the Slave instance dies for some reason, Keepalived will not ...
2
votes
4answers
3k views

after enabling mod ssl apache stops listening on port 80

I have an ubuntu 12.04 server with zend server CE installed. I now wanted to enable https but after the first steps according to the documentation, 'a2enmod ssl' and 'apache service restart', apache ...
2
votes
2answers
499 views

Something eats all memory on my server, but it is NOT fs cache

I had several times received notifications from my monitoring system about 98% memory. I ran top and counted only around 60% memory used if I sum memory column. After several hours memory usage was ...
2
votes
1answer
281 views

How to configure tcp wrapper

I have a server with ip-address 192.168.0.1 and a client with ip-address 192.168.0.2 both of them are able to connect with each other. Now the problem is I have configured TCP Wrapper on my server ...
2
votes
2answers
133 views

How do I identify which website on my server is under heavy traffic?

I currently host one website on a server which many other websites use connect to via an API. When I use the terminal command 'top' I can see www-data is the main culprit for my server running slow. ...
2
votes
2answers
1k views

Low on space in /run

On Ubuntu Precise, I'm low on space in /run: admin@foo:~$ df -h Filesystem Size Used Avail Use% Mounted on /dev/sda1 19G 6.6G 12G 38% / udev 10M 8.0K 10M 1% /dev ...
2
votes
2answers
1k 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 ...
2
votes
4answers
175 views

Apache Security Config - Ubuntu 12

I am running a LAMP stack on Ubuntu 12, with the primary function to serve a PHP based API. There is only one file I want to be exposed to the public called: api.php It needs to reference a config ...