Ubuntu 14.04, named "Trusty Tahr" is a Long Term Support release of Ubuntu Linux (released in April 2014). Note that http://askubuntu.com is specifically dedicated to Ubuntu questions.

learn more… | top users | synonyms

41
votes
3answers
43k views

How do I auto-start docker containers at system boot?

What is a good way to automatically start docker containers when the system boots up? Is there a preferred way to do this on Ubuntu 14.04? I've used supervisord in the past to auto start web apps. ...
13
votes
5answers
5k views

error when running apt-get update on ubuntu 14

I am running ubuntu 14 on one of my servers. When I run sudo apt-get update, I get the error below. W: GPG error: http://cran.rstudio.com trusty/ Release: The following signatures were ...
13
votes
4answers
20k views

How can I upgrade Python to 2.7.9 on Ubuntu 14.4?

Ubuntu 14.4 comes with Python 2.7.6 built-in, but I'd like to upgrade it to 2.7.9 (it has security features that I want). Is that even possible? If so, how can this be achieved?
12
votes
2answers
10k views

OCSP validation - unable to get local issuer certificate

I'm new to setup SSL from the scratch and did my first steps. I bought a SSL cert from RapidSSL for my domain and followed there steps to install the cert. In general the cert is valid and working on ...
10
votes
2answers
511 views

crontab sends month-old emails

ubuntu 14.04 Mailserver: Postfix root receives dozen of emails from crontab. These mails contain PHP warnings. I've fixed the cause for these warnings. I've fixed every cronjobs to not send emails ...
10
votes
2answers
4k views

Strange Bittorrent Log On My Server

I don't know if the following log has something to do with my site being down sometime. I have lot of websites on my server and they don't have any logs like the following: 117.169.1.85 - - [03/Jan/...
9
votes
2answers
318 views

Is there a way to know why a service is restarted and who did it?

Ubuntu 14.04 clamav 0.98.7 The problem is clamav-daemon is restarted nearly daily: Sep 1 06:30:00 x-master clamd[6778]: Pid file removed. clamd[6778]: --- Stopped at Tue Sep 1 06:30:00 2015 clamd[...
9
votes
2answers
391 views

nginx proxy_pass eventually returns GATEWAY_TIMEOUT even though server is still active

I have set up a nginx proxy passthrough which works fine when nginx initially loads up, but eventually (maybe after a day or so?, not too sure at this point) the location that is a proxy passthrough ...
8
votes
2answers
18k views

How To Tune Apache on Ubuntu 14.04 Server

Currently on my Apache 2 (Apache 2.4.7 to be exact) on Ubuntu 14.04, I have this setting: /etc/apache2/mods-enabled/mpm_prefork.conf <IfModule mpm_prefork_module> StartServers ...
7
votes
2answers
534 views

DST Morocco, a way to trick NTP server

From several years Morocco have been using GMT without DST, in the past years, our government reactivated the use of DST. In the first years, the DST was a mess, different periods, starts, ends, so ...
7
votes
3answers
3k views

UnicodeDecodeError in Ubuntu while installing PHP5.6 from PPA

I have a clean VPS, with Ubuntu 14.04 LTS x64. And Tried the following: # Upgrade The Base Packages apt-get update apt-get upgrade -y # Add A Few PPAs To Stay Current apt-get install -y software-...
7
votes
6answers
3k views

How to auto-start unprivileged lxc containers?

On Ubuntu 14.04, I have created an unprivileged container that I can manually start and stop. But I would like this to start and stop along with the system. I have added the following to the ...
6
votes
3answers
20k 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. ...
6
votes
1answer
471 views

opendkim configuration not loading properly

When moving from Ubuntu 12.04 to 14.04, opendkim no longer starts with the same config I had prior. Any item I have in /etc/default/opendkim shows up as "not found" when booting. /etc/init.d/opendkim:...
5
votes
5answers
9k views

GlusterFS failing to mount at boot with Ubuntu 14.04

Previously I asked about mounting GlusterFS at boot in an Ubuntu 12.04 server and the answer was that this was buggy in 12.04 and worked in 14.04. Curious I gave it a try on a virtual machine running ...
5
votes
1answer
5k views

Trying to setup SSL with Apache on Ubuntu 14.04

I have purchased a SSL certificate from namecheap.com. I am trying to install it on a server running Ubuntu 14.04 and Apache. I used the following tutorial to setup Apache https://www.digitalocean.com/...
5
votes
6answers
34k views

How to setup client for squid transparent proxy?

Server Details Squid Transparent Proxy Version: 3.3.8 OS: Ubuntu Server 14.04 Server IP: 192.168.1.3 Squid config file (excluding comments using grep) root@ubuntu:~# grep -v '^$\|^\s*\#' /etc/...
5
votes
1answer
13k views

How to use realmd in Ubuntu 14.04 LTS to join an Active Directory domain?

I want to use realmd to join an Active Directory domain from Ubuntu 14.04 LTS. To do that I just installed realmd and some dependencies with this command: aptitude install realmd sssd sssd-tools ...
5
votes
3answers
3k views

Munin not creating HTML files in Ubuntu Server 14.04

I have used munin in several servers and this is the first time is taking me so much time to set it up. When I telnet munin directly, I can list the services, there is no error at the logs and munin ...
5
votes
1answer
113 views

Limit number of concurrent users switching to root account?

This is for Ubuntu 14.04 and Centos 7. I need to limit the number of users actively running as root. i.e. Logged in as root on the CLI. Basically, I want only one user at a time to be able to run ...
5
votes
1answer
352 views

cannot remove faulty device from LVM2 raid1 mirror

One of the three disks went off in my LVM raid1 logical volume. (It was a bad experiment actually). The volume is a pure LVM raid1 one (no, not an LVM mirror), without any mdadm / fakeraid. The ...
5
votes
1answer
200 views

Reset eth0 to move ubuntu server 14.04

New Ubuntu Server 14.04 instance for installation on a dedicated server. Everything required is setup as a vbox guest then I add the drive to the allocated server. When I was using 12.04, my last step ...
5
votes
2answers
177 views

How to include ModSecurity request final action in the Apache access.log

I'm currently using ModSecurity 2.7 and Apache 2.4.7 on Ubuntu Trusty. I would like to use Apache's LogFormat and CustomLog directives so that I can include a field indicating whether ModSecurity ...
4
votes
2answers
666 views

Is there a way to check that the hardware of one server is the same as that of another?

We have three Ubuntu (trusty) servers taking requests. One of them is having a variety of weird problems that we are trying to find the cause of. Firstly, we want to rule out hardware differences. So ...
4
votes
4answers
286 views

Monitor and collect statistics on TCP connection to src or dst host

I would like to collect stats on TCP/UDP packets sent between two hosts (A and B). I am looking for a tool to install on A and B to get the following information: kb/seconds packets/seconds (...
4
votes
2answers
357 views

Extended raid 5 is not expanding

I have a D2700 with 25 1Tb disks with a P421 raid card in a dl360p gen8 HP server. It was raided as two raid 5 with 2 spare each. I decided to make one raid 5 out of them, deleted one raid and added ...
4
votes
6answers
6k views

SSH public key login fails without pattern

(previously posted at stackoverflow by error) I'm running a bunch of servers with Ubuntu 14.04.1 (sun,hyperion,...) all of which use public keys (OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014 on all ...
4
votes
2answers
3k views

Nothing is written in php5-fpm.log

I have two servers which is Ubuntu 12.04 and Ubuntu 14.04. When I use Ubuntu 14.04 in my new server and enabled the php-fpm log file found under /etc/php5/fpm/php-fpm.conf that reads as follows: ...
4
votes
5answers
469 views

Should I enable automatic security updates on a Ubuntu server? [closed]

I can't seem to find an agreed answer on this anywhere, so I figured I'd ask it myself. I have five Ubuntu servers running either 12.04 or 14.04, should I enable automatic security updates on these ...
4
votes
1answer
4k views

Ubuntu upgrade from 14.04 LTS to 16.04 failed - mysql-server-5.7 dependecies fail

I am trying to upgrade existing Ubuntu 14.04 LTS to Ubuntu 16.04 LTS and it seems I am stuck somewhere in the middle. When I turn on my workstation, I get Ubuntu 16.04 LTS welcome & login screen, ...
4
votes
2answers
467 views

Ansible with SSH keys

Moving from Puppet to Ansible. Like the fact that it is agent less and SSH driven. I just setup two test VMs. One as the Ansible server (yes overkill), and the other as an example client (random Linux ...
4
votes
1answer
1k views

GitLab Active Directory authentication: no results and no authentication

I'm trying to set up LDAP authentication with GitLab (version 7.12.2 installed on Ubuntu 14.04 amd64 on a VM, Omnibus set up). I've edited my gitlab.rb file to look like the following: gitlab_rails['...
4
votes
4answers
4k views

Nodejs : Depends: rlwrap but it is not installable

Just bought a new fresh virtual server in the cloud, Ubuntu 14.04. I updated my packages with apt-get update. Got problems when trying to install node js. I followed this guide: https://github.com/...
4
votes
1answer
66 views

SSH connection refused/error message

I have a systems which has multiple users but only few selected users are allowed to login to the system at a given time through SSH (or otherwise). I am using "passwd -l/-u" command to lock and ...
4
votes
1answer
61 views

What is required in installing/maintaining a software package on a production server? [closed]

A coworker of mine and I are discussing the use (or not) of a full text search solution, namely Elasticsearch in our web application. I am the developer of the web application, and he manages the ...
4
votes
1answer
499 views

Low SSD write IOPS (~100)

I am experiencing very low IOPS with a SSD in my server. I noticed this when running a mysql database server, which performed very bad when there were many (~100 per second) updates to an InnoDB ...
4
votes
1answer
245 views

Inconsistencies in RDP connections to similar servers

We have a bunch of Windows 2008R2 servers used as RDP servers that are (or at least should be) essentially identical in configuration (and are arranged in a RDP farm). When administrating from home, I ...
4
votes
2answers
102 views

Website is being targeted by mail bots

I have a small website. When I perform a netstat is shows a lot of traffic from .p.mail. I think this is some kind of mail bot, trying to harvest email addresses from my website. How can I prevent ...
3
votes
3answers
378 views

How do I read certificate information automatically using OpenSSL

To generate an SSL certificate file for Apache, I am using the below command: openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/apache2/ssl/apache.key -out /etc/apache2/ssl/apache....
3
votes
3answers
4k views

How can I install MySQL 5.7.9 to Ubuntu 14.04?

I tried to install with these inscturctions, but installation installed version 5.5. $ sudo apt-get install software-properties-common $ sudo add-apt-repository -y ppa:ondrej/mysql-5.7 $ sudo apt-get ...
3
votes
2answers
4k views

PHP-FPM service status `stop/waiting` but workers are running?

Starting php5-fpm appears to work, but checking the status immediately shows that it is not running: [root@server ~]# service php5-fpm start php5-fpm start/running, process 4516 [root@server ~]# ...
3
votes
3answers
6k views

Postfix : error: unsupported dictionary type: mysql

I've a problem w/ postfix problem: # tail -f /var/log/mail.err Aug 20 17:57:50 myserver postfix/smtpd[8243]: error: unsupported dictionary type: mysql Aug 20 17:57:50 myserver postfix/smtpd[8243]: ...
3
votes
1answer
121 views

Bash shell script executing out of order when passed over stdin to LXC container

I am passing the following simple shell script to bash on an LXC container: apt-get update apt-get install postgresql -y sudo -u postgres psql -c 'create database dvdrental;' The actual command I'...
3
votes
2answers
837 views

PCI Compliance: install Apache 2.4.17 on Ubuntu 14.04.3?

I have a VPS running Ubuntu 14.04.3. The latest Ubuntu-supported version of Apache for this release is Apache 2.4.7. But the company for which I configured the server is seeking PCI compliance, and ...
3
votes
1answer
133 views

Ubuntu server extend root disk

I want to extend my root volume but I think I'm missing a crucial step. In the /etc/fstab file I found following entries: After lvdisplay I get following results: So it looks like the LV size ...
3
votes
3answers
340 views

Bypass VPN for HTTP/HTTPS traffic on Ubuntu?

I have an Ubuntu 14.04 machine that all it's outgoing traffic is through a VPN, and I'm required to make sure that HTTP and HTTPS traffic don't go through the VPN.I've looked into static routing but ...
3
votes
1answer
732 views

Why does Ubuntu 14.04.2 have the bind9-host packages upon installation? [closed]

Why does Ubuntu 14.04.2 have the bind9-host packages upon installation? Is this a bundled upon installing the Ubuntu OS? Is there a way to avoid having this packages upon installation?
3
votes
2answers
2k views

Strongswan VPN tunnel between two AWS instances won't connect

I am trying to set up a VPN tunnel using StrongSwan 5.1.2 between two Amazon AWS EC2 instances running Ubuntu 14.04.2 LTS. Prior to using StrongSwan, I used open(libre)swan on an Amazon RedHat AMI, ...
3
votes
2answers
2k views

How to avoid GRUB errors after runing apt-get upgrade - ubunut

I'm running ubuntu 14.04 on an EC2 After running apt-get upgrade I'm prompted with a screen that asks me to reinstall GRUB boot loader The GRUB boot loader was previously installed to a disk ...
3
votes
2answers
2k views

So how do I force upgrade from Ubuntu LTS 14.04 to LTS 16.04 this month?

According some sources, "A device running Ubuntu 14.04 LTS will only tell you there is a new Ubuntu update after the first point release goes live. In Xenial’s case that’s July." How do I ...