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

1
vote
1answer
304 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
60 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 ...
0
votes
0answers
11 views

configure hibernate.cfg.xml for MySQL on Ubuntu 12.04

I tried to rebuild project settings from SQL Server to Apache 2 with MySQL. I newly at JDBC and can't figure out all aspects. I installed according this tutorial MySQL/JDBC Driver Setting Up ...
2
votes
1answer
113 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
0answers
72 views

Issue with Nginx and Gunicorn with POST requests over ~8kb

I have a very peculiar issue with Nginx, Gunicorn and Django. Here's a breakdown of what I'm experiencing: Post requests > ~8K that go through Nginx to Gunicorn to a valid Django URL/view fail. ...
0
votes
2answers
105 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
160 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
107 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
0answers
141 views

L2TP vpn client setup

I needed to setup a l2tp vpn client (without IPSEC) to connect to my ISP for static IP. I've gotten to a point where xl2tpd tries to connect but gets: Sep 8 12:30:18 test-VirtualBox xl2tpd[5817]: ...
0
votes
4answers
701 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 ...
0
votes
1answer
227 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
425 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. ...
0
votes
1answer
40 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
63 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 ...
0
votes
1answer
210 views

DirectoryIndex works in htaccess but not in apache2 .conf files

I need my Ubuntu install to use index.php as the default file. Added DirectoryIndex index.php to /etc/apache2/apache2.conf Added <Directory /path/to/website/root/> ...
0
votes
0answers
157 views

problems while installing python-mysql package

I've got an Ubuntu 12.04 x64 Server edition VM that I'm running python2.7 on and trying to install the MySQLdb package via the command (I've already got easy_install installed and working): $ sudo ...
0
votes
2answers
223 views

passenger apache and nginx module not compiling on ubuntu 12.04LTS

I am doing all this from the root account. I have followed this guide: https://www.digitalocean.com/community/articles/how-to-install-rails-apache-and-mysql-on-ubuntu-with-passenger I have tried ...
0
votes
1answer
307 views

Redirecting sub-domains of different domains to the same site

I have a cloud VPS on which I am hosting a few sites on behalf of a few clients. My Apache is configured with VirtualHosts (I use Zpanel), so each site has its own root folder, and from the DNS ...
0
votes
3answers
249 views

Ubuntu not enough space on AWS EC2

I have 25GB volume on EC2. OS is Ubuntu 12.04 LTS. I can connect to it, but cannot even write 1KB. I tried to delete some files and write again - the same result - not enough space. I tried to check ...
0
votes
1answer
261 views

Odd permissions issue with php-fpm, session_start failed on some but works on others

Ok, I have php-fpm/apache/apc installed on ubuntu 12.04 with a website running a php shopping cart. I am getting flooded with perrmissions errors like "Failed to write session data (files). Please ...
0
votes
1answer
96 views

Fix security vulnerability in dnsmasq on Ubuntu 12.04

I have an Ubuntu 12.04 server using dnsmasq and recently ran into the following security vulnerability which does not seem to have a fix on 12.04. ...
1
vote
2answers
61 views

Is there a way to source cron jobs from a file

One of our servers has around 20-25 different cron jobs scheduled on it. Usually, we periodically check-in the cron jobs to a file in the repo using crontab -l > cron.jobs While bringing up a new ...
0
votes
2answers
100 views

How to run rsync without staying logged in?

I want to run the following rsync command to transfer a folder from a remote server to my current one sudo -r -a -v -e 'ssh -p portnum' username@serverip:/home/path/* /home/path this directory is ...
-1
votes
1answer
117 views

Observium not showing ubuntu icon before my ubuntu server

I just have set up snmpd, observium settings on my ubuntu machine, but sadly observium webpage shows linux icon before my ubuntu machine's name, not the ubuntu logo. Why is this happening, and how ...
0
votes
1answer
57 views

fail2ban doesnt permanently block

Fail2ban doesn't seem to block permanently. I have bantime =-1 but if i look a bit later on my iptables its just not there anymore all ill see is Chain fail2ban-ssh (1 references) target prot ...
1
vote
2answers
92 views

Best way to migrate entire server?

I have a kimsufi box running Ubuntu 12.04, on this machine I have a number of websites supported by various installed packages such as apache and mysql. I have since purchased an improved server and ...
0
votes
1answer
290 views

Best way to update Tomcat 7 of Ubuntu Server 12.04

Ubuntu Server 12.04 repository has Tomcat 7 in version 7.0.26. I prefer using this installation because it creates the user, init script and log rotation configuration. What would you suggest to keep ...
0
votes
1answer
44 views

Recover lost POST data on LAMP site

I've had a screwup on my LAMP based site where a certain string value that's posted to the site from a form, was not being stored in the db. The db column for it was an enum but it needed to be a ...
0
votes
1answer
380 views

Domain name required for sender address

I'm trying to setup postfix on a new vps I just got and this is the first time doing any kind of email setup. I am getting an error when trying to perform a test email. I posted my config and error ...
3
votes
1answer
1k 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. ...
0
votes
1answer
400 views

How to apply security update to apache

I have been running some penetration tests against our webserver and it's come up with a few issues. One of them is that apache needs a security update (http://www.ubuntu.com/usn/usn-1765-1/). I am ...
0
votes
1answer
129 views

Start Squid Cache Proxy

I'm having trouble starting squid. I type in console squid -k shutdown and get: squid: ERROR: Could not send signal 15 to process 2065: (3) No such process I have checked and process "2065" ...
-2
votes
3answers
79 views

Stop server crash [duplicate]

I run my python scripts and Scrapy framework for web scraping project on my Ubuntu 12.04 precise server. These scripts run whole day. This project is under developing/testing stage. So i dont know ...
0
votes
1answer
383 views

LVM drive is not mounted after boot

I have created an LVM with three physical disks named "orcafiler1". Problem is, every time after boot, the LVM drive is not mounted and I have to manually run vgchange -ay orcafiler1 The fstab ...
0
votes
1answer
136 views

Setting up multiple Hadoop clusters [closed]

Hopefully this question isn't off topic. I asked this on AskUbuntu but haven't gotten a responses: I've followed Michael Noll's excellent guide to get Hadoop set up on a single cluster: ...
1
vote
2answers
1k 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. ...
0
votes
0answers
108 views

How to configure logs using ISPConfig in an LXC Container?

ISPConfig stores the webserver's logfiles in /var/log/ispconfig/httpd/domain.com and uses "mount --bind" to also have the files in /var/www/domain.com/log . Since I'm running Ispconfig in an LXC ...
1
vote
1answer
1k views

Aws Rds - Mysql Block host due to many connections

Recently I have migrated the wordpress database to AWS RDS Large Instance (MySQL 5.6.12). After that occasionally Mysql locked my ec2 instance Ip with below error message. "blocked because of many ...
0
votes
1answer
59 views

How to enable a website on apache2 Virtualserver running Ubuntu 12.04?

I managed to run one website on my apache2 virtualserver using port 80. now I want to have another site running on the same server, but I can't manage it. either I corrupt my old page or my folder of ...
0
votes
0answers
135 views

Hyper-V: Ubuntu guests running out of memory

We appear to have a problem with Ubuntu guests running out of memory. We have several on 12.04 (LTS) and one on 13.04 and seem to have the same problem. It takes around 30 days from restart to ...
0
votes
1answer
27 views

how to remove login process from a website hosted on apache2?

I am running ubuntu 12.04 server and i try to host a website which i copied from another server. When I now try to connect locally with ip xxx.xxx.xxx.xx/mywebsite a window opens and i have to ...
0
votes
0answers
31 views

URL rewriting not working in apache2/ubuntu

I need to redirect my request from one url (/var/www/imgservice/test.php) to another URL (/A/B/C) where A,B and C are folders. I am currently on Ubuntu 12.04.2 LTS and my DocumentRoot is /var/www/ I ...
0
votes
0answers
66 views

not sure how to handle postgresql connections

I've done a fresh install of ubuntu and am setting up PostgreSQL I'm perplexed by something: In order for my commandline user to access PostgreSQL, I need to export an environment variable export ...
-1
votes
3answers
452 views

How to Copy files from one Ubuntu server to another? (MYSQL Database for website migration) [closed]

I'm very new to Ubuntu and my first task is to copy one website with a MySQL database to another server. Both servers are virtual machines and in the same environment. I have both the IP addresses and ...
-1
votes
1answer
251 views

Step by Step guide to setup Ubuntu VPS server with at least lamp, email and ftp [closed]

Sorry If it is duplicate, but I can't find nice way for this. Can anyone please suggest me on how to setup an UBUNTU 12.04 - 64bit VPS to host website. The server should have lamp, email and FTP at ...
1
vote
0answers
180 views

Volume unreadable in KVM guest after host volume resize

I have a KVM guest requiring more space on one of it's partitions. This partition is actually an LVM volume on the host. So I first unmounted the partition in the guest, switched to the host and ...
1
vote
1answer
248 views

Amazon EC2 Servers with syslog-ng communication

I have 3 Amazon EC instances with ubuntu 12.04 Production Server (LAMP Server w/o MYSQL, syslog-ng client) Development Server (LAMP w/ MYSQL, syslog-ng client) Logging Server (syslog-ng Server) I ...
0
votes
0answers
23 views

Get Value of SMEM using PHP

I'm using smem command to know how much RAM each user is using. It also display the Count column. As far as my knowledge is concerned, Count column is a value PHP-FPM pm.start_servers and PHP-FPM ...
0
votes
0answers
97 views

Is there a way to diagnose an apt-get installation?

The mysql daemon has been failing to start and after an apt-get purge and trying to reinstall the installation fails. Is there some way to diagnose the failure of the installation? The ...
0
votes
0answers
153 views

CURL SSL fails due to timeout in Ubuntu 12.04

I am developing an application, which uses CURL to establish connection to Facebook. 4 of 5 executions are fine, while 1 of 5 hangs. That what CURL trace says: == Info: About to connect() to ...