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

4
votes
1answer
131 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?
4
votes
3answers
14k views

Would it be advised to use Ubuntu 14.04 LTS over 12.04 LTS?

I'm unsure how to ask this question, but I'm switching hosting companies and got to migrate everything. I'll probably set up everything up manually, no copy paste work, except the regular files. ...
0
votes
1answer
192 views

Ubuntu 12.04 cloud-init doesn't support “write_files”, what to do?

I'm using cloud-init to setup Ubuntu VMs on EC2. I've recently had need to support deployment using Ubuntu 12.04 (old LTS) images, but the old cloud-init 0.6.3 that is in Ubuntu 12.04 doesn't support ...
0
votes
1answer
1k views

Using Ubuntu 12.04 + Apache 2.4 + Php 5.5 : WebDav Possible

I had ubuntu 12.04 LTS + Apache 2.4 + PHP 5.4 installed via ondrej packages. I upgraded to PHP 5.5, and it seems now impossible to launch webdav extension for apache. The apache mod webdav can't be ...
1
vote
0answers
88 views

pam_exec not working? cannot allocate 2 bytes?

I am trying to run a script during the login process using PAM and libpam_exec; I have added this line to the desired file under /etc/pam.d/: auth required pam_exec.so debug log=/var/log/debug ...
0
votes
0answers
32 views

Is it necessary to open all used ports when using one Node.JS application to route from port 80 to apps on different ones?

I'm working with an Ubuntu 12.04 LTS, 64 Bit server there I have used the following commands to send all http request on port 80 to port 8080 Commands: cat /proc/sys/net/ipv4/ip_forward #returns 1 ...
1
vote
0answers
482 views

Client SSL fails with GlusterFS 3.5

I'm running GlusterFS 3.5 from the official Ubuntu packages on Ubuntu 12.04 and when I enable client.ssl, mounting starts to fail. The error I'm getting is: [2014-06-13 10:33:52.690770] E ...
7
votes
2answers
3k 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 ...
0
votes
0answers
69 views

Aggregate two pptp connection ubuntu

I used pptp client to create two pptp VPN connection ppp0 and ppp1. I would like to aggregate these two connections (in round-robin style). I tried bonding , but it seems that it only work for two ...
0
votes
1answer
461 views

MaxStartups and MaxSessions configurations parameter for ssh connections?

I am copying the files from machineB and machineC into machineA as I am running my below shell script on machineA. If the files is not there in machineB then it should be there in machineC for sure ...
0
votes
1answer
222 views

Can't figure out how to get started with powerdns-recursor lua scripting

I have a server (Ubuntu 12.04) where I run powerdns-recursor. I'm trying to add some logic to certain requests and have got my target set on lua scripting for powerdns. I don't seem to be able to ...
2
votes
2answers
984 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 ...
0
votes
0answers
202 views

IPV6 not acquired from ipv6 address pool in ubuntu 12.04 for ISC server

Ubuntu 14.04 running in ISC-dhcp-client is not acquiring IPV6 from the pool given in server. Below is vim /etc/dhcp/dhcpd6.conf file default-lease-time 600; max-lease-time 7200; subnet6 ...
0
votes
1answer
37 views

mysql client won't run on my Ubuntu instance

Running a LAMP server on Ubuntu 12.04. Trying to run mysql from the command line like so: root@server:~# mysql -u 'wp-user' -p and I'm getting mysql: ambiguous option '--v' (vertical, version) ...
2
votes
2answers
172 views

Apache2 and MySQL fail to restart after Server restart or apt-get update

Does anyone know of any reason why Apache2 and MySQL do not run after either a server reboot or apt-get update? I am currently running Ubuntu 12.04 LTS server There are the corresponding files in ...
-1
votes
1answer
672 views

Install PHP 5.3.X, PHP 5.4.x and PHP 5.5.x in the same environment using Puppet

Anyone already tried to install these three version using Puppet in Ubuntu? I have a VM that is managed by Vagrant and I want to have these three version so I can specify which PHP version I should ...
0
votes
0answers
64 views

package manager cannot create users? installation script fails?

It seems that when trying to install any package which requires the creation of a system User and Group, the installer fails with the error: install: invalid user 'username' When it happened the ...
0
votes
1answer
1k views

net err connection timed out

I have Apache/2.2.22 on Ubuntu 12.04. Apache is set as reverse proxy server. So when accessed from a remote system, the page and contents are displayed. But after some time the server seems to ...
2
votes
0answers
2k views

Ubuntu 12.04/14.04 - apt-get 404 Not Found [IP: local-dns-server-ip 80] through proxy

I am trying to setup an ubuntu server (12.04 or 14.04) and have installed the server image onto the system I am using. Everything works fine until I try to run sudo apt-get update. When this runs, I ...
0
votes
2answers
462 views

Monit issues with mysql Ubuntu server 12.04

I've installed Monit on Ubuntu server 12.04 but Im having issues getting mysql monitoring to work at all. Here is what I have done so far. #/etc/default/monit startup=1 #/etc/mysql/my.cnf pid-file ...
0
votes
0answers
90 views

tc policing not working

We have a system that uses TC to throttle IPs as follows: tc qdisc del dev $egressif root tc qdisc add dev $egressif root handle 1:0 htb default 1 tc class add dev $egressif parent 1:0 classid 1:1 ...
0
votes
1answer
573 views

Apache2 403 permission denied on Ubuntu 12.04

I have a sub-directory in my /var/www folder called prod, which is password protected. It was all working fine until I asked my server admin to help me set up allow all access to one particular file. ...
0
votes
1answer
50 views

Is 'which' command always showing the right file / which binary is really being run?

I am using Ubuntu 12.04 LTS and I have apparently messed up my system with various versions of duplicity installations: first I had 0.6.18 installed from the default repo, then I tried using 0.6.23 ...
0
votes
1answer
1k views

Dell PowerEdge R720 - Corrupted RAID

Apologies in advance for the lengthy question. We have a Dell PowerEdge R720 server with: 2 x 136GB SAS drives in RAID 1 for the OS (Ubuntu Server 12.04) 6 x 3TB SATA drives in RAID 5 for data A ...
0
votes
1answer
896 views

Failed upgrade of PHP on Ubunutu 12.04, error: Sub-process /usr/bin/dpkg returned an error code (1)

I just tried to upgrade my version of PHP on Ubuntu 12.04 and now I have messed it up. First I did this: sudo add-apt-repository ppa:ondrej/php5-oldstable Then I did this: sudo apt-get update ...
0
votes
1answer
193 views

Send mail from local web server to ouside mail server

I've tried the search and read and tried quite a few articles by now and still no luck, so I'm hoping someone can help me here. My situation is: I'm running a web server in our local network that is ...
1
vote
0answers
18 views

Connection problema to specific IP

Sometimes, like twice a year a have problems of connectivity from my server to an api server. And only to that api server. Other third party services we use were working fine. I am not so good on the ...
1
vote
1answer
76 views

Relax ssh rate-limit rules for certain ip addresses

We've written some tools to automate common development tasks. One tool, for example, ensures all our git repositories are up-to-date. For this to work, our tool needs to connect to our git server and ...
1
vote
1answer
308 views

How to Change Ramdisk Size without Restarting

I have the following line on my fstab file: ramdisk /tmp tmpfs mode=1777,size=2048m Now I want to increase the size to 4096m. What I did is change it to: ramdisk /tmp tmpfs mode=1777,size=4096m ...
0
votes
0answers
284 views

Compile nginx from source with PCRE-JIT support on Ubuntu 12.04

The latest version of PCRE library available to Ubuntu 12.04 does not support JIT features (support available in >= 8.20), so any self-compiled nginx on Ubuntu 12.04 will not have pcre-jit. So what ...
2
votes
1answer
424 views

GlusterFS fails to mount on boot but mounts later in Ubuntu 12.04

Having two machines, profitmargin and revisionist, I created a volume in profitmargin: root@profitmargin:~# gluster volume info Volume Name: uploads Type: Distribute Status: Started Number of ...
1
vote
1answer
1k views

User login URL for newkly installed Zimbra mail server

I have managed to install Zimbra 8.0.7 on my Ubuntu 12.0.4 LTS server (I had to rebuild my machine and reinstall the OS, so that no other servers other than Zimbra are running - how to reinstall ...
-1
votes
2answers
94 views

Best Way to Capture/Log Transactions between MySQL and PHP on Ubuntu Server?

Am running Ubuntu Server 12.04 on a VPS and supporting multiple websites running LAMP. One of the sites is configured for SSL and is running an application built using the Cake PHP framework. The ...
0
votes
0answers
120 views

In Ubuntu, how to enter grub rescue mode when gettint error 17

I'm booting up a machine and I'm getting error 17 from Grub. Is there any way to enter grub rescue mode without a live cd? (this is a remote server that I have no access)
0
votes
1answer
116 views

how to benchmark an ubuntu webserver using Jmeter and create a test report.?

I have an ubuntu webserver(LAMP) running a clients website.I have already created a test plan with jmeter, what i would like to know is how would we benchmark the server with Jmter and create a test ...
0
votes
1answer
67 views

dpkg not able to delete a symbolic link

I have the following postint script in the dpkg package: rm -f /SOMEDIRECTORY/current ln -s /SOMEDIRECTORY/releases/RELEASESHA /SOMEDIRECTORY/current ln -s /SOMEDIRECTORY/shared/config/config.json ...
0
votes
1answer
173 views

Heartbleed not fixed by Openssl and server upgrade

I have inherited a server in one of our Dev environments and found out straight away that it was not patched when the heartbleed was discovered. Now, I've upgraded it - including all SSL libraries ...
0
votes
1answer
413 views

Running virtualmin/apache/ubuntu websites slow to a crawl, seemingly at certain times

Ok so I am running Ubuntu LTS 12, using virtualmin gpl to host several small sites . Mostly everything is set to their defaults during setup , It's runing on a vps with 8gb of ram assigned to it, ...
1
vote
1answer
147 views

Programmatically adding two lines to crontab

I'm trying to add two lines to the root crontab when building an AWS instance. I have a set of commands that are part of the "user data". These commands are run as root when creating the instance. I ...
0
votes
1answer
455 views

Joomla Extension Uninstall Causes 502 Bad Gateway

We have a VPS with some PHP websites hosted on our Ubuntu 12.04 LTS servers using NGINX. In a Joomla 3 site, when uninstalling an extension that errors out, the page shows an NGINX error page with a ...
0
votes
0answers
156 views

The `iostat` Command Describes a Non-Existent Block Device

The System An instance running on Amazon EC2 It is an m1.large EC2 instance The instance is running Ubuntu Server 12.04 LTS Here's What Happens... I wanted to measure disk IOPS on my system, and ...
2
votes
1answer
684 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 ...
-1
votes
2answers
205 views

can't find the executable for the command linux 'source' [closed]

i am using ubuntu server 12.04 lts. I am looking for the executable of the linux command source i can not find in the /bin nor /usr/bin nor /usr/sbin nor /usr/local/bin . I used whereis source it ...
0
votes
3answers
217 views

Linux (Ubuntu 12.04) sending ARP requests over single interface

I have a system with custom hardware hooked up to 2 different ethernet ports on the same system. The interfaces are configured on the same subnet because the hardware (FPGA-based) has a hardcoded IP ...
0
votes
2answers
137 views

SSH config (~/.ssh/config) - advanced configuration

UPDATE: Just to confirm more about my setup in case it wasn't clear: No private keys are ever shared anywhere. (1) Human programmers using Mac each have one SSH key (in ~/.ssh/id_rsa) that they use ...
-4
votes
1answer
69 views

Preventing Domain from using VPS IP Address and Display its content [closed]

how can i prevent user from displaying contents of my vps. Currenty, I have an Ubuntu-powered vps and I install wordpress blog on it which is intended for my domain1.com. I know its possible to use ...
0
votes
0answers
335 views

How to install gearman on Ubuntu12.04 and php54?

I am trying to install gearman on my Ubuntu12.04 machine. I have upgraded php to version 5.4 via the ppa php5-oldstable. I downloaded the source of gearmand-1.1.12 and compiled it and installed it ...
1
vote
2answers
137 views

How to create a new instance with ubuntu12.04 LTS server in GCE

How to create a new instance with "ubuntu 12.04 - LTS server" in Google Compute Engine? I have seen there are options for "Centos and Debian", but I couldnt find any option for Ubuntu 12.04. Is there ...
0
votes
1answer
271 views

Where to find the default status codes file for Apache in Ubuntu 12.04

I am trying to customize all the status codes (error codes) in Apache - Ubuntu 12.04 LTS. The error message content I get on the browser for the error code 414 is: Request-URI Too Large The ...
1
vote
2answers
125 views

Apache2 has errors while starting after reinstalling SSL Certificate?

I recently purchased and set up a VPS, and one of the first steps I took was to purchase and install an SSL Certificate. I had issues getting everything set up, but after quite a bit of research and ...