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

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?
3
votes
1answer
367 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
2k 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
1answer
281 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
944 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
587 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
535 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
362 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
14k 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
2answers
463 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
994 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
819 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
360 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
4answers
10k 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 ...
3
votes
2answers
2k 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
83 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
313 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
174 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
3k 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 ...
3
votes
1answer
234 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
5answers
8k 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
98 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
480 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
176 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
748 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
250 views

Ubuntu 12.04 logger won't write to remote syslog

I'm trying to use logger to send events to a remote syslog server. The syslog server is Ubuntu 12.04 running the default rsyslogd. The "client" servers are both Ubuntu 12.04 and SLES11SP1. On SLES11, ...
3
votes
1answer
369 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
766 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
3answers
6k 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
146 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
2answers
928 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
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
383 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
188 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
129 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
4answers
160 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 ...
2
votes
3answers
5k 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 ...
2
votes
2answers
648 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
312 views

Set iDRAC IP Address on Ubuntu 12.04 without Reboot?

We have a Dell PowerEdge R720XD server and want to setup iDRAC, but this is a production server so we need to do it without a reboot if possible. We just need to set the IP address on the iDRAC but ...
2
votes
2answers
134 views

Storing duplicate files efficiently on linux

I host a lot of websites and our system makes it easy to duplicate items in these sites which is handy, but leads to lots of duplicated (and potentially quite large) files. I was wondering if these is ...
2
votes
2answers
842 views

How do I protect my Wordpress/Apache website from a brute-force botnet attack?

There's something (a botnet?) that is apparently attacking my Wordpress site. I see lots of entries like this in the Apache access logs, several per second: 46.105.113.8 - - [14/Apr/2013:22:57:18 ...
2
votes
2answers
1k views

Linux Symbolic Linking not working as expected

I have achieved my "goal" several times before but am running into an issue I have not yet experienced before. I have a webserver setup with Nginx on Ubuntu 12.04 LTS. I have my system setup the way I ...
2
votes
2answers
973 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?
2
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. ...
2
votes
1answer
96 views

My nginx redirect setting is not working

I am having a problem with my site. Whenever I try to access my website it is not redirecting. That means when I type the URL as financenectar.com it opens my site at financenectar.com but does not ...
2
votes
1answer
139 views

SSH Hardening not working as expected

I am trying to do ssh hardening on my server but looks like it just blocks everyone. I checked auth.log on target server and it just says: "Connection closed by x.x.x.x [preauth]" Let me paste the ...
2
votes
1answer
3k views

Is It key_buffer or key_buffer_size?

I search the internet regarding the correct variable in my.cnf file. Some said that key_buffer_size is deprecated, but some said that key_buffer_size is the correct variable in my.cnf. So, what is ...
2
votes
1answer
3k 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 ...
2
votes
1answer
2k views

DHCP fails in Ubuntu network install: DHCPDECLINE

I'm trying to do a network install of Ubuntu 12.04 on Cisco UCS C240 rack-mounted servers, using Cobbler for the provisioning. Cobbler is managing my DHCP server (ISC), which is configured to hand out ...