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

1
vote
2answers
124 views

DNS Lookup takes too long

I've got BIND9 DNS running on local Ubuntu machine. Used https://help.ubuntu.com/lts/serverguide/dns-configuration.html to set it up. Everything works ok, but sometimes it take awhile to load, ...
0
votes
1answer
133 views

Speed up Nginx displaying website - Time to First Byte

I have an Nginx server with a few sites on, and some sites on the server are taking quite a while longer to transfer the first byte then some others. As far as I am aware, Nginx looks through each ...
0
votes
1answer
345 views

Forcing 644 Permissions on Files with ProFTPd

We have an Ubuntu 12.04 server set up with ProFTPd for users to upload files. Each user has their own account and are jailed to their directory. Normally, everything works fine, they get 644 ...
9
votes
2answers
5k 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 ...
0
votes
2answers
76 views

Apache2 SSL 'default virtualhost' does not work

I have a server with a number of virtualhosts, most of which do not have or need https:// connections, and some that do. What I want to happen is for users who accidentally type in ...
0
votes
1answer
129 views

Permission denied when setting values in sysctl on Ubuntu 12.04

I am trying to configure my Ubuntu 12.04 VPS (OpenVZ) to reboot when it runs out of memory. To do this I have added following lines to my "/etc/sysctl.conf" file. vm.panic_on_oom = 1 kernel.panic = ...
0
votes
2answers
1k views

Relay Access Denied - Postfix - Ubuntu

Been having a bit of trouble getting my Ubuntu server to relay my mail to external addresses. Here's whats currently happening: When I telnet locally to port 25 I can send email to any host just ...
0
votes
1answer
373 views

Adding a custom SSH port to Ubuntu 12.04 LTS through UFW

I am trying to configure a Ubuntu 12.04 based VPS and I have changed my ssh port from 22 to 803 and everything worked fine. After this I've installed UFW and now I can't login using SSH. Before I ...
1
vote
2answers
4k views

How to share the clipboard between Windows Server 2008R2 and a guest running Ubuntu 12.04? [closed]

I use Windows Server 2008 R2 with Hyper-V and a guest running Ubuntu 12.04 LTS. How can I share the clipboard between Windows Server 2008R2 and a guest running Ubuntu 12.04? UPDATE What protocols ...
0
votes
1answer
56 views

IP was blocked even allow order [closed]

I have protected my database PHPMYADMIN. I try to do like: <Directory /usr/share/phpmyadmin> DirectoryIndex index.php Options Includes ExecCGI AllowOverride None Order ...
2
votes
2answers
1k views

How to restore Linode to Vagrant VM?

I'm trying to set up a Linux development environment so I can safely make changes to my website without breaking the live site. Linode hosts my live site. A simple solution would be to host my ...
0
votes
1answer
708 views

Debugging HAProxy

I have tested / been testing a server cluster locally for quite a while with no problem. I have recently set my server cluster up for a live test, and I have noticed problems, and believe that the ...
0
votes
0answers
244 views

Remove information revealed in packet inspection

I did a security scan of my server and got the following message: This test gives some information about the remote HTTP protocol - the version used, whether HTTP Keep-Alive and HTTP pipelining are ...
0
votes
1answer
90 views

munin-node send data to more than one master?

I'm in the process of making everything on our server setups redundant, and so comes the monitoring. We have one virtual machine acting as munin master and all other virtual machines are munin nodes ...
1
vote
1answer
282 views

bind apache2 to localhost only Ubuntu 12.04.3 LTS

Trying to bind apache2 to localhost only, running Ubuntu 12.04.3 LTS on OpenVZ VPS. It fails on me (see /var/log/apache2/error.log). Default configuration is: # cat /etc/hosts fe00::0 ...
3
votes
1answer
2k views

Change and initialize Postgresql 9.3 default data and log directories on Ubuntu 12.04 LTS

On Azure with Ubuntu 12.04 LTS image, we're trying to change Postgres 9.3 default data and log file paths and also initialize them for the first time on a secondary drive /mnt/pgdata. We've starting ...
2
votes
1answer
326 views

MySQL Crashing and failing to restart

MySQL seems to be crashing, normally later in the day but I can't see why! It says out of memory but there is loads of free ram and no swap space being used. I'm using Azure. Here is the log: Oct 3 ...
0
votes
0answers
300 views

OpenVPN on Ubuntu 12.04 - unable to connect to internet

I'm trying to use OpenVPN on my Ubuntu 12.04 web server, but as soon as OpenVPN is running, I can't connect to the internet. Befor starting OpenVPN, route says: Kernel IP routing table Destination ...
2
votes
0answers
1k views

lxc container doesn't start because - lxc_conf - failed to setup the console

I use ubuntu 12.04 server with all updates I was restarted lxc container by a command in shell: "reboot" lxc version is: 1.0.0~alpha1.0+master~20130930-1830-0ubuntu1~ppa1~precise1 #uname -a Linux ...
4
votes
3answers
4k 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 ...
1
vote
1answer
2k views

VMWare tools not installing with an error

VMWare tools not installing on Ubuntu 12.04. I'm using Chef to manage the installation, but the Apt commands fail if run manually. I'm using the VMWare tool Debian repo. Example: $ cat ...
0
votes
2answers
154 views

Will re-installing phpmyadmin will have any effect on my Databases?

I am quiete new and somehow I crashed my phpmyadmin website, it can't be displayed without errors after changing the port of it once. So does it has any effect on my databases when I reinstall my ...
0
votes
1answer
335 views

Amazon EC2 Ubuntu Instance package installation problems

I have an amazon EC2 installation of Ubuntu Precise 12.04, 64Bit (ami-ce7b6fba) I just don't seem to be able to install anything as you would normally expect. When I run 'sudo apt-get update' I get ...
-1
votes
2answers
79 views

What's the most lightweight option to forward mail on Ubuntu 12.04?

I want to setup mail forwarding on my Ubuntu 12.04. It will be only used to forward mail to several existing custom domain Gmail accounts. What is the most lightwieght option to do this?
0
votes
1answer
37 views

How to configure DNS nameservers for Ubuntu cloud machines non-interactively?

I want to setup custom nameservers for my Ubuntu cloud instances (which have static IPs). When I try to edit /etc/resolv.conf, I see that it gets overwritten on reboot. If I try to set it in ...
0
votes
1answer
80 views

Configure FTP on Ubuntu to default to a certain directory

I am trying to configure an FTP server on my 12.04.3 LTS machine. I am hosting a website from /home/webuser/public/mywebsite.com/public. Now, I want to configure the FTP server in such a way where, ...
4
votes
4answers
2k 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 ...
0
votes
1answer
312 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
185 views

mysql-server-5.5 (5.5.32-0ubuntu0.12.04.1) … start: Job failed to start

Seems this issue is common but I cannot solve it. How do I reinstall mysql-server. Every time I try, I receive this crash message. Setting up mysql-server-5.5 (5.5.32-0ubuntu0.12.04.1) ... start: ...
1
vote
0answers
1k views

How do I allow www-data to (negatively) change the niceness of a process in Linux?

So I'm running a website using django and sometimes I call scripts located on the server by spawning a subprocess in python. When looking at the processes with "top" I see these are called under the ...
1
vote
1answer
737 views

SSH doesn't work with my key for an user but works for another

Server (Ubuntu): ~/.ssh/authorized_keys file (on issue-user): just one public key on one single line. No extra lines! No comments! correct user/group owner 644 rights Local Machine (Windows 7): ...
1
vote
1answer
2k views

Excluding some messages from syslog-ng

I'm trying to exclude some messages from being logged by syslog-ng, such as this LDAP log entry: Sep 18 15:18:34 myserver slapd[9682]: conn=1043 op=24 SEARCH RESULT tag=101 err=0 nentries=1 text= ...
-3
votes
1answer
126 views

What are some unnecessary processes in Ubuntu 12.04? [closed]

So, I'm using Ubuntu 12.04 for my AWS instances and when I first start it up and look at the processes there seems to be a lot of things running that I'm not sure are necessarily needed for my ...
1
vote
1answer
2k views

setting debconf selections for keyboard-configuration fails… layout ends up as Afghani

I have a machine I netinstalled, with german keyboard set, but it ignored my setting, and it is installed with US keyboard. I'm sure I set it, because if I don't set it, it asks interactively, but I ...
0
votes
1answer
105 views

Can't stop LAMP graceful restart

I just got my first LAMP up and running, everything works fine except that my server is restarting itself every sunday. When I read the logs I see "Graceful restart requested, doing restart" Should ...
1
vote
1answer
3k views

Ubuntu 12.04 LTS server - Failed to bring up

sudo /etc/init.d/networking restart * Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces * Reconfiguring network interfaces... ...
0
votes
2answers
314 views

Create Exception on Mime filtering on squid

I have a server with the operating system Ubuntu 12:04 LTS version. I also paired the squid version 3.1.19 on my server. with the client about 30 units. to prevent my clients to download any files ...
-2
votes
3answers
1k views

How can I scp files over ssh OVER through an intermediate server that does not allow TCP tunneling? [closed]

I'm ssh'ing to my university network, and from there I can ssh to my server. How can I transfer files from my local machine to my server? I tried tunneling but it seems it's not allowed, I get: Note ...
1
vote
0answers
47 views

Installation of nagios failed due to ucf and file acls

While installing Nagios give me this error and hence the packages left unconfigured on my server. I looked for some help but they don’t tell me the exact solution. Does any one have a fix. cp: ...
1
vote
1answer
2k views

Bad Gateway when seting up NGINX as a reverse proxy server for GAE

I want to use NGINx as a reverse proxy server so I can open my GAE (google app engine) web site from china mainland, because there most of google IP's are blocked by the GFW. DNS: I have those DNS ...
1
vote
0answers
74 views

PostgreSQL replication lag Ubuntu 11.10/12.04

I've a PostgreSQL cluster running on Amazon AWS EC2 instances with streaming replication and "hot standby" option enabled. I'm now gradually upgrading it from Ubuntu 11.10 to Ubuntu 12.04 LTS and I've ...
2
votes
1answer
171 views

CUPS: “Too many open files” message

I have a small Linux server (Ubuntu Server, 12.04 LTS) which is serving as a print release server. Essentially, I have defined a CUPS printer, and added Option job-hold-until indefinite to the entry ...
0
votes
2answers
161 views

I am unable to execute a PHP file via NGiNX

Here is the config I am calling from the browser: location ~ ^/getfileinfo/(.*)$ { proxy_pass http://127.0.0.1/editionspanda_conn/$1; } Here is my config that calls the PHP file: ...
0
votes
2answers
2k views

MySQL without password prompt?

I have a MySQL server with the MySQL root password is an empty string. If I try to connect to MySQL without a password, I am denied. Like this: # mysql ERROR 1045 (28000): Access denied for user ...
0
votes
1answer
240 views

Automation of blocking IP address

I have an Ubuntu 12.04 machine running Apache2 which hosts about 10 wordpress websites. Recently I have been subjected to attacks from clients which seem to be sending POST requests to a wordpress ...
0
votes
4answers
1k views

Can't login via ssh after upgrading to Ubuntu 12.10

I have an Ubuntu 12.04LTS instance on AWS EC2 and I upgraded it to 12.10 following the instructions at https://help.ubuntu.com/community/QuantalUpgrades. After upgrading I can no longer ssh into my ...
1
vote
1answer
445 views

Gunicorn error: “Error opening file for reading: Permission denied”

I'm getting an error when running my Django app with gunicorn: when I make a post request over 7800 bytes I see the following error from gunicorn: "Error opening file for reading: Permission denied". ...
0
votes
1answer
1k views

/etc/init.d/iptables-persistent start returns fail but seems to work

I am trying to activate iptables-persistent on an Ubunutu server. Config files are located in /etc/iptables/rules.v4 /etc/iptables/rules.v6 I have installed the iptables-persistent package. ...
1
vote
1answer
230 views

ServerAlias not working in ubuntu

I know it is a question asked several times, but I've read them all and not solved the problem. I have configured the virtualhost apache like this: sudo nano /etc/apache2/sites-available/example.loc ...
0
votes
1answer
78 views

Is there a way to restore iptables rules to the ones set after a fresh installation?

I have a server which is being kept behind a corporate firewall, so the corporate firewall takes care of all firewall issues. After making a fresh installation of the server, and setting the ...