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
1answer
1k views

Fail to do apt-get update on Ubuntu 12.04 Precise

I recieve this error all the time when I try to do apt-get update so that can not install or remove software with apt Get:102 http://archive.ubuntu.com precise-updates/universe Translation-en ...
1
vote
1answer
74 views

Apache2 logs missing in ubuntu 12.04

My Ec2 instance configured with apache2 was running fine and all of a sudden web-server stopped serving pages. I checked all the logs but it didn't help or may i am missing something here. Below are ...
1
vote
1answer
65 views

Slow sudo and ssmtp (hosts file wrong?)

I'm running an Ubuntu Server 12.04.5 LTS and when I type sudo su it takes 30+ seconds to open the shell. Searching on internet, this problem seems related to the file /etc/hosts and /etc/hostname. ...
0
votes
0answers
74 views

Configuring quagga to report Openvpn VPN subnet

I'm trying to use quagga with RIP2 to route traffic through an openvpn server. At the moment I'm having trouble because it's reporting the VPN subnet (172.19.2.x) as just a single IP (172.19.2.1). ...
0
votes
0answers
97 views

Installation of Razor failed on Ubuntu

I have a Ubuntu Server 12.04.5 LTS, with SpamAssassin 3.3.2. I try to install Razor2 for SpamAssassin by following this tutorial. Razor version 1:2.85-4build1 is installed with the following command: ...
1
vote
1answer
91 views

How do iptables policies work?

I've added some basic rules: iptables -A INPUT -p tcp --dport 22 -j ACCEPT iptables -A INPUT -p tcp --dport 80 -j ACCEPT Then, command to close all other ports with: iptables -A INPUT -j DROP ...
-2
votes
2answers
557 views

“sudo apt-get remove hadoop” is not removing package

I am trying to uninstall Cloudera Hadoop from my Ubuntu System. For this I tried sudo apt-get remove hadoop command but this command is failing with following message: ...
0
votes
0answers
172 views

Using an Ubuntu VPS as a firewall/router

I have a dedicated server running ubuntu 12.04 hosting several websites and other applications which require client IP's to be visible, however the main dedicated server does not have DDoS protection, ...
1
vote
2answers
695 views

Chef Installation Error - Error executing action `run` on resource

I am trying install chef (chef-server_11.0.4-1.ubuntu.12.04) on ubuntu 12.04.5 64 bit. After the installation, when I run "chef-server-ctl reconfigure" getting following error. let me know how to ...
0
votes
0answers
67 views

Creating a Remote Desktop Session from within an EC2 server, not to it

Ok, I'm having problems answering this because I can't figure out how to word it. Most questions about "remote desktop" and "ec2" focus on remoting into an ec2 instance, which isn't necessarily what I ...
0
votes
1answer
111 views

File Location of mysql startup script on Ubuntu

When we run a command as "service mysql start" [OR] "/etc/init.d/mysql start", The mysql daemon it starts. Who is providing the job mysql to start to those commands? What is the startup script file ...
0
votes
1answer
82 views

Qcow2 images growing far beyond what they should

I am using ubuntu 12.04 and have seen this: https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/1025244 Our qcow2 images are growing far beyond what they should... with some of them growing to as ...
0
votes
1answer
22 views

Is there any option to allocate fixed number of php process to an application?

I have an Ubuntu server with Nginx and PHP5-FPM in which the settings are as follows: /etc/php5/fpm/pool.d/www.conf pm = dynamic pm.max_children = 6 pm.start_servers = 4 pm.min_spare_servers = 2 ...
1
vote
0answers
48 views

ModSecurity on Apache 2.2 in EC2 - HTTP Status 413 messages dropped

Hi I am running Mod_Security on Ubuntu instances in EC2 behind an Elastic Loadbalancer. The app is a Ruby App. I have set SecRequestBodyLimit 293601280 When I upload files below that size, they ...
1
vote
0answers
236 views

uwsgi + nginx + flask: upstream prematurely closed after file is downloaded

I created an endpoint on my flask which generates a spreadsheet from a database query (remote db) and then sends it as a download in the browser. Flask doesn't throw any errors. Uwsgi doesn't ...
-1
votes
1answer
22 views

Where are smbd system links in UBUNTU 12.04?

After installing Samba on UBUNTU 12.04, I checked the system link run level directories and were not able to find smbd links. This is interesting because smbd is started automatically on reboot. Here ...
-1
votes
2answers
210 views

Restricting internet access of some client systems of LAN to a few websites using gateway

How to limit internet access of most systems in my LAN to a few websites and block all the other websites? Also want to bypass that restrictions for some systems. All systems have static IP address ...
1
vote
1answer
236 views

mod_pagespeed refuses to flush cache

I have mod_pagespeed running on my Dreamhost Ubuntu 12.04 VPS. Every time I turn on mod_pagespeed again the old header display (top black bar with data I removed - is shown on all pages. This despite ...
0
votes
1answer
28 views

Ubuntu 12.04 server copy authorized_keys to different server

I have setup key auth on a ubuntu 12.04 server. Is it possible to just copy the content of authorized_keys to another ubuntu 12.04 box that this gets all auth keys as well? This would safe time to not ...
0
votes
0answers
19 views

`hosts-restricted` without `restricted-usernames`

I have a user that is getting blocked by denyhosts on a daily basis after some initial problems and confusion with keys, passwords, account names and such, even though I keep unblocking him. When I ...
0
votes
2answers
1k views

upgrading php 5.3.6 to 5.5 in ubuntu 12.04 LTS requires removing mysql?

I'm trying to upgrade php to latest version (5.5) my current php version is 5.3.6 bundled with ubuntu 12.04 LTS. The problem is I do not want to upgrade anything else just php but although I ...
1
vote
2answers
598 views

Add a VLAN tag to specific UDP port traffic

I'm running an application in Ubuntu12.04 that I've written that does some remote switch management. I have only a single NIC connected to the network of managed switches, eth0 which is set with IPv4 ...
0
votes
0answers
125 views

Authentication Error when launching Bucardo

So I've just installed Bucardo on my system, but whenever I try to synchronize (or even run it in general) I would get the error message: DBI connect('dbname=bucardo;host=localhost;port5432', ...
1
vote
3answers
167 views

Find out what NFSD processes are actually doing?

When I view top on one of our servers there are a lot of nfsd processes consuming CPU: PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 2769 root 20 0 0 0 0 R ...
1
vote
1answer
124 views

cyrus sasl 2.1.26 on ubuntu 12.04

I have to build openldap from source as the one provided in repo is a bit old. I downloaded openldap version 2.4.40. I want it to use cyrus sasl To install cyrus sasl, I did "sudo apt-get install ...
0
votes
0answers
291 views

How do I fix my locale settings on Ubuntu 12.04 LTS on my linode?

My Dropbox installation on my linode is failing with the error: ValueError: unknown locale: UTF-8 When I run : locale I get the output: locale: Cannot set LC_CTYPE to default locale: No such ...
1
vote
1answer
204 views

Can't create/write to file '/mnt/temp/something' (Errcode: 13)

I changed the tmp directory of the mysql configuration to a mounted disk and on service mysql restart I get following error: Can't create/write to file '/mnt/temp/something' (Errcode: 13) To my ...
1
vote
0answers
382 views

data folder owncloud ubuntu server

I had a owncloud working on my ubuntu server and the data folder was /var/owncloud/data After a major update of Ubuntu it did not work any more, so I re-installed owncloud The ...
-2
votes
1answer
57 views

How to let logrotate skip non-existent and empty files

We have the following pronblem. Once in a while, our application server spits out an empty logfile or (when it's in the weekend), there is no logfile at all. We use logrotate for managing these ...
1
vote
1answer
3k views

Ubuntu 12.04 LTS - apt-get update can't find sources

Update: Running sudo rm /var/lib/apt/lists/partial/* temporarily allows sudo apt-get update to work. Original: I've seen answers to similar questions like this one, but the answers have been 'your ...
0
votes
0answers
47 views

simulate slow hdd in kvm

Can i simulate a slow hdd in a KVM guest? I need to test what happens with an app when it runs o a slow server (actually a server with the filesystem mounted over nfs). Related to this, I've found ...
2
votes
1answer
80 views

Malformed Line 61 (dist parse)

I run sudo apt-get update but it returns: E: Malformed line 61 in source list /etc/apt/sources.list (dist parse) E: The list of sources could not be read. I opened the sources.list via vim ...
0
votes
1answer
34 views

Lockout a user trying to login through the console

Is there a way I can lockout a user logging in through console (Physical Port) after 3 unsuccessful password attempts?
1
vote
1answer
1k views

user smmsp found in repeatedly in auth.log

Running an Ubuntu server that hosts about 10 Wordpress websites Is it normal to find this in my auth log? Oct 26 08:40:01 andre CRON[4737]: pam_unix(cron:session): session opened for user smmsp by ...
0
votes
1answer
371 views

Installed ProFTP on Ubuntu and it is running but cannot login

I just spun up a new server on Digital Ocean that I plan to use for Backup files....my client has a website on a Share Hosting server running wordpress and I cannot get them to let me migrate to a ...
1
vote
1answer
144 views

fail2ban flushing my existing IPTABLES rules

I just implemented fail2ban on a server for testing purposes. I have a BLACKLIST chain which blocks a huge set of CIDR masks that I don't want to reach my server. When fail2ban is triggered by a ...
0
votes
1answer
123 views

Fail2ban not working on Ubuntu 12.04

I'm trying to implement fail2ban on a Ubuntu 12.04 x64 server. I've done the following: apt-get install fail2ban Made a copy of jail.conf in /etc/fail2ban/jail.conf.local here's an excerpt: ...
0
votes
0answers
169 views

locale-gen and locales issue

I am running Ubuntu 12.04. I was trying to install vsftpd and some error appears. Trying to install other packages using apt-get also gives the same error. Here are the details: sudo apt-get install ...
-2
votes
1answer
166 views

How can I check if my server is using ssl 3? [duplicate]

How can I check if my server is using ssl 3? When I run openssl version command I get this. OpenSSL 1.0.1 14 Mar 2012 Thanks.
0
votes
1answer
106 views

Memory cache is full not sure what is using it and if it is normal [duplicate]

The situation is that amazon bots are download ~600k images off my server. My web app deployed on apache server is extremely slow probably because ram usage is 100% some statistics: ...
0
votes
0answers
147 views

Reduce Elasticsearch log level

I have been trying to reduce the number of messages being logged by elastic search, however no matter what levels i put on each value (WARN, ERROR) i always see alot of DEBUG/WARN messages... I want ...
1
vote
1answer
399 views

Node.js websocket error “Error: listen EADDRNOTAVAIL Error: listen EADDRNOTAVAIL”

Application work fine on localhost .but when its connect to server it getting error. I connect server through port 22 But my app connecting server port 80. This is the error Error: listen ...
0
votes
0answers
91 views

mdadm: can't remove broken drive from raid1

I have a ubuntu server Ubuntu 12.04.5 LTS (GNU/Linux 3.2.0-34-generic x86_64) that uses a software raid with 2 physical drives. Apparently, one drive is unresponsive, and I try to remove it from ...
-3
votes
3answers
2k views

Configuring RAID in HP Proliant ML350e Gen8 [duplicate]

We have purchased two stock HP ML350e Gen8 servers. Ubuntu 12.04 is to be installed in those. The stock, base unit have provision for 6 hard disks for creating RAID in which, one is filled with 500GB ...
0
votes
1answer
671 views

ufw seems to block all incoming connections when defaulting to block outgoing

I am currently trying to configure ufw on Ubuntu 12.04 but to my understanding it behaves oddly. i tried allowing just some services on a remote machine, denying everything else. I thought - anyway, i ...
0
votes
1answer
70 views

LDAP Schema implemetation in existing LDAP server

I have a user defined schema ,which is to be added into the existing LDAP server. Its ldif format is: dn: cn=userControl,cn=schema,cn=config objectClass: olcSchemaConfig cn: userControl ...
-5
votes
1answer
120 views

MySql wont start [closed]

'Hi I have a pretty recent install of MySql on DigitalOcean. And for some reason I cannot get MySql to start. 141003 07:25:17 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended 141003 ...
1
vote
2answers
107 views

Recover sudo password of server over ssh

I am working on an ubuntu 12.04 server and i was not provided a sudo password. Now i need to recover it. I found out that we need to reboot into recovery mode to do so but we don't know how to get ...
0
votes
1answer
240 views

file created by ansible seems to have mangled permissions

Issue with files created by Ansible I’m looking at using to setup some new servers at a new ISP and I’ve been doing some basic steps to test first. I am new but have done some testing on diff servers ...
0
votes
1answer
285 views

Clients cannot connect to L2TP server on Ubuntu 12.04 & 14.04 LTS

I am trying to set up a L2TP/IPSec server on AWS with instance running Ubuntu 14.04LTS. I followed the instructions that I found here : https://raymii.org/s/tags/vpn.html. I tried to use 12.04LTS ...