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.

Ubuntu 14.04, named "Trusty Tahr" is a 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 2014).

1173 questions
5
votes
6 answers

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 machines) for rsync without problems. Almost all... One…
St. Hermes
  • 81
  • 1
  • 7
5
votes
4 answers

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. Directory permissions are rwxrwsr-x and file permissions…
HorusKol
  • 751
  • 5
  • 13
  • 31
5
votes
2 answers

HAProxy error: Some configuration options require full privileges, so global.uid cannot be changed

After adding the line to /etc/haproxy/haproxy.cfg as part of creating a transparent proxy, source 0.0.0.0 usesrc clientip restarting haproxy starts giving an error ~# service haproxy reload * Reloading haproxy haproxy …
Athena Wisdom
  • 213
  • 4
  • 9
5
votes
4 answers

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 its being updated every 5 minutes. However no…
lepe
  • 469
  • 2
  • 6
  • 25
4
votes
3 answers

Is Committed_AS in /proc/meminfo really the correct number for allocated virtual memory in Linux? It is less than used/RSS

I am collecting numbers for monitoring HPC servers and am debating the policy for handing out memory (overcommit or not). I wanted to show users a number on how much virtual memory their processes (the whole machine) requested vs. how much was…
drhpc
  • 41
  • 1
  • 5
4
votes
1 answer

ExpiresByType "access plus 1 month" results in 1 year expires header

I have implemented resourec expiry with the following set up ExpiresActive On ExpiresByType image/jpg "access plus 1 year" ExpiresByType image/jpeg "access plus 1 year" ExpiresByType image/gif "access plus 1…
jdog
  • 121
  • 7
  • 29
4
votes
3 answers

Modifying pam with Ansible

As part of a new server setup, I provision /etc/security/access.conf with user/group and src IP addresses of allowed ssh logins. This requires enabling pam_access in the /etc/pam.d/login and /etc/pam.d/sshd files (on Ubuntu anyway) It seems Ansible…
Server Fault
  • 3,714
  • 12
  • 54
  • 89
4
votes
3 answers

How can I safely set up a Public Server at Home

Before posting I looked at a couple questions that looked promising but didn't really answer my question: Setting up a Public Server - This is more for local development, I am talking more of a production server, I can deploy code to, and have my…
mrClean
  • 151
  • 1
  • 5
4
votes
0 answers

Postgresql fails to start with no such file or directory error?

I was juggling Postgresql versions and I think I shot myself in the foot during the renaming of something. I have 9.3 and 9.4 installed on an Ubuntu 14.04 station, and I wanted to go back to 9.3 so I did some "file surgery" to make this happen. …
Robert Oschler
  • 161
  • 2
  • 7
4
votes
4 answers

How to PHP to set up a crontab job that runs as www-data?

My server is running on Ubuntu 14.04 and nginx. My problem concerns Cron, I'd like to start it (crontab) using a file - cron.txt, its contents: * * * * * /usr/bin/php /var/www/html/test.php >> /var/log/cron.log If I run it using the command:…
BociucH
  • 317
  • 2
  • 4
  • 9
4
votes
1 answer

Different ssh authentication policies for different accounts

I know that I can disable SSH authentication with clear text password for root user (using PermitRootLogin) and enable it for all other users. But I need to disable text passwords for some list of users (and keep only public keys authentication for…
VeLKerr
  • 145
  • 6
4
votes
1 answer

Systemd service: Failed to issue method call: Unit service failed

I am trying to make a custom service in my VPS. However, it doesn't let me to run it. It says the following. I am not sure what is going on but when I run it on my Ubuntu laptop, it works properly. What could be the problem? sudo systemctl start…
kobbycoder
  • 151
  • 1
  • 9
4
votes
2 answers

logrotate not writing logs to correct file

I have a production system on which there are multiple nginx apps hosted. those are nginx applications servers. Now for each of these nginx app servers a logrotate config file is configured in /etc/logrotate.d/ folder. one of the example of…
Shailesh Sutar
  • 1,517
  • 5
  • 23
  • 41
4
votes
1 answer

postfix force to send sequential

How can I force postfix to send out mails sequentially and not simultaneously? It should open only one SMTP connection at a time. It should only affect outgoing SMTP connections. Incoming connections can still be handled simultaneously. Why? My VPS…
Stefan Profanter
  • 365
  • 1
  • 5
  • 17
4
votes
1 answer

Does Canonical Periodically Update a Given AMI?

I've looked and looked, but I cannot find the answer to this question. Given a specific AMI ID (for example, an Ubuntu 14.04 LTS AMI, published by Canonical itself), will Canonical periodically update that specific AMI ID, with new security updates?…
vcardillo
  • 143
  • 3