Skip to main content

Questions tagged [ubuntu-14.04]

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.

Filter by
Sorted by
Tagged with
127 votes
4 answers
178k 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. ...
Stefan Arentz's user avatar
53 votes
4 answers
38k views

Should I edit /etc/crontab or run crontab -e as root?

I'm setting up regular system maintenance tasks which have to run as root. I plan to use the flavour of cron which comes with Ubuntu 14.04 LTS as the default. I see the previous admin (who since left ...
marcv81's user avatar
  • 642
34 votes
6 answers
63k 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?
moomima's user avatar
  • 497
26 votes
5 answers
53k views

Does CURL cache requests?

This is a pretty long question, so bear with me. I wanted to stress my Akamai Server logged in from an AWS instance. So, I started running ab benchmark. However, they seemed ridiculously fast to ...
Akshaya Shanbhogue's user avatar
23 votes
4 answers
39k 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]: ...
flavio.troja's user avatar
22 votes
6 answers
4k views

Why is response time exploding when request frequency drops?

Correction: response time (%D) is μs not ms! 1 This doesn't change anything about the weirdness of this pattern but it means that it is practically way less devastating. Why is response time ...
Raffael's user avatar
  • 689
18 votes
2 answers
68k 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 ...
ServerChecker's user avatar
17 votes
2 answers
38k 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 ...
kapale's user avatar
  • 405
17 votes
2 answers
23k views

How to avoid GRUB errors after running apt-get upgrade - Ubuntu

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 ...
Ofer Velich's user avatar
15 votes
10 answers
64k views

Get logstash version

How does one get the version of Logstash? root@elk:/usr/share/elasticsearch# bin/logstash --help bash: bin/logstash: No such file or directory I have Logstash running on my system. Also. root@elk:/#...
Karl Morrison's user avatar
14 votes
5 answers
10k 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 ...
ali haider's user avatar
  • 1,180
13 votes
2 answers
54k views

getent passwd dosen't show users of LDAP server

I have made the LDAP authentification configurations and I try to authenticate to the LDAP server on Ubuntu 14.04 TLS. This is the file nsswitch.conf : # /etc/nsswitch.conf # # Example configuration ...
Souad's user avatar
  • 256
12 votes
8 answers
10k 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 ...
HRJ's user avatar
  • 225
12 votes
6 answers
90k 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/...
user53864's user avatar
  • 1,753
12 votes
2 answers
18k 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, ...
lobi's user avatar
  • 1,093
11 votes
2 answers
2k 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 (...
pixeline's user avatar
  • 658
11 votes
4 answers
8k 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-...
fiibaar's user avatar
  • 111
11 votes
2 answers
5k 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/...
jaypabs's user avatar
  • 853
11 votes
1 answer
9k views

Why is a /128 IPv6 address assigned via DHCPv6 in Ubuntu?

I am testing the implementation of IPv6 in Ubuntu. My Ubuntu linux client correctly gets RA from server and configures an address in the advertised prefix. Next it gets another address via DHCP which ...
Raj's user avatar
  • 213
11 votes
1 answer
3k views

Docker container crashing ubuntu host

Very unexpected, but briefly if i run a docker container host becomes unresponsive, no in/out, can't ping it, only hard reboot works. DMESG, sys and kernel logs doesn't show anything obvious ...
bua's user avatar
  • 271
10 votes
5 answers
18k views

What does it mean when Linux has no I/O scheduler

I have some virtual machines running Ubuntu cloud-based image 14.04-1 LTS version. I wanted to see the IO performance of different IO schedulers on the VM so I went to /sys/block/<drive>/queue/...
Ha Son Hai's user avatar
10 votes
2 answers
20k views

SSSD Authentication to Windows Domain without @domain.com everywhere

We're trialling using a Ubuntu 14.04 desktop environment for a few of our developers and I've hooked the machines into the domain with SSSD. This has been working fine. However the system recognises ...
Snowflake Sam's user avatar
10 votes
2 answers
22k views

How to monitor remote “https” with Icinga version 2?

I have icinga 2.3.11 on ubuntu 14.04.3 inside VirtualBox. Im trying to monitor "https" port 443 for example "https://mail.google.com" here.Below is my snippet from default host.conf file object Host ...
sherpaurgen's user avatar
10 votes
2 answers
965 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[...
quanta's user avatar
  • 52k
9 votes
3 answers
3k views

Database accidentally deleted with a bash script [duplicate]

Edit: a follow-up question: Restore mongoDB by --repair and WiredTiger. My developer committed a huge mistake and we cannot find our Mongo database anywhere in the server. He logged into the server, ...
SoftTimur's user avatar
  • 357
9 votes
3 answers
19k 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 ...
newbie's user avatar
  • 355
9 votes
1 answer
4k views

Postfix - gmail encryption

My server is running on Ubuntu 14.04 and I have Postfix installed. When I send something to my gmail account, it goes to spam. I set up SPF, DKIM and DMARC, here is a confirmation: Authentication-...
BociucH's user avatar
  • 327
9 votes
2 answers
37k 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 ...
Vinícius Ferrão's user avatar
9 votes
1 answer
49k views

Can't enable mpm_prefork with Apache 2.4 on Ubuntu 14.04

I'm installing PHP 5.4 with Apache 2.4 on Ubuntu 14.04. Php 5.4 is not available on apt-get so I have to install it from source. I have installed apache2-prefork-dev apache2-mpm-prefork And i ...
MaPi's user avatar
  • 213
9 votes
1 answer
102 views

How to setup local website with a certain domain [closed]

In a old PC, I installed Ubuntu server 14.04 and I want to use this server to host some websites and web applications that will be available in my network. I installed Apache and when I click in the ...
yaylitzis's user avatar
  • 273
9 votes
2 answers
11k 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 ...
Atomiklan's user avatar
  • 559
9 votes
2 answers
7k views

dist-upgrade fails on libc6 because "kernel too old"

I have tried for the past few hours to upgrade ubuntu server 14.04 to 16.04 over SSH. The Server is hosted and I have no physical access to it. It goes well until it updates libc6 and pops up curl ...
xyious's user avatar
  • 343
9 votes
2 answers
3k 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 ...
syazdani's user avatar
9 votes
1 answer
3k views

cloud-init module order is wrong, how to fix?

I'm using cloud-init to setup AWS EC2 machines running Ubuntu 14.04. One of the more useful features of cloud-init is the write_files module that allows me to install additional files during the ...
Guss's user avatar
  • 2,840
8 votes
7 answers
21k 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 ...
Pablo Fernandez's user avatar
8 votes
3 answers
7k views

How to correctly configure MongoDB to use Letsencrypt SSL on Ubuntu

How do I correctly configure MongoDB to use Letsencrypt SSL on Ubuntu? I have created an SSL certificate using Letsencrypt and combined it via: cat /etc/letsencrypt/live/example.com/fullchain.pem /...
Petah's user avatar
  • 650
8 votes
1 answer
8k 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['...
siride's user avatar
  • 619
8 votes
5 answers
6k 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 ...
user avatar
8 votes
1 answer
8k views

How does apache use or allow browsing of /usr/share? (linux / Ubuntu)

The default apache.conf (ubuntu server), contains the following block: # Sets the default security model of the Apache2 HTTPD server. It does # not allow access to the root filesystem outside of /usr/...
Michael Coleman's user avatar
7 votes
3 answers
12k 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 ~]# ...
Nick's user avatar
  • 4,646
7 votes
1 answer
5k 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?
Sympatiko's user avatar
7 votes
2 answers
1k 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 ...
hiboujid's user avatar
  • 101
7 votes
3 answers
13k views

Is it possible to extend a 504 timeout in nginx on a per location basis

Is it possible to set timeout directives within a location block to prevent nginx returning a 504 from a long running PHP script (PHP-FPM)? server { listen 80; server_name ubuntu-vm.test-api; ...
codecowboy's user avatar
  • 1,367
7 votes
3 answers
44k views

Connection closed by <ip> [preauth]

I'm on a Ubuntu server. I'm trying to enable an ssh tunnel in order to add a git remote in a project of mine. On my local win7 machine I generated the key pair with PuTTYgen. I pasted the public key ...
alfredopacino's user avatar
7 votes
6 answers
10k views

Rsync hangs: expand file_list pointer array to N bytes, did move

Rsync is going into "interruptible sleep" mode after transferring some files from a local folder to a NFS folder. The folder I am trying to backup contains more than 180gb of data. This is what rsync ...
jithujose's user avatar
  • 241
6 votes
4 answers
44k views

How can I stop ZooKeeper on Ubuntu?

I have installed zookeeperd on Ubuntu 14.04 (Trusty Tahr) as suggested here: Unfortunately this process is somehow not stoppable. I tried even kill -9 user@node1:/opt/zookeeper-3.4.6$ ps -ef | ...
merlin's user avatar
  • 2,192
6 votes
2 answers
24k views

Getting Too many Open files error for Postgres

In Ubuntu 14.04 server on a JAVA application we are getting Too many Open files error for Postgres (Using Postgresql 9.5). We set the following in /etc/security/limits.conf * soft nofile 16384 * ...
Geo's user avatar
  • 575
6 votes
4 answers
23k views

umask for www-data user running PHP on Ubuntu

Setting up a new webserver in Ubuntu 14.04 and trying to wrangle file permissions for PHP generated files. By default, all the directories and files in /var/www are owned/grouped to www-admin. ...
HorusKol's user avatar
  • 781
6 votes
2 answers
8k 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: ...
jaypabs's user avatar
  • 853
6 votes
3 answers
22k 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. ...
Sander Schaeffer's user avatar

1
2 3 4 5
24