Questions tagged [ubuntu-16.04]

Ubuntu 16.04 - named "Xenial Xerus" - is a Long Term Support (LTS) release of Ubuntu Linux. Officially released on April 21, 2016, it was supported for 5 years. Extended Security Maintenance subscriptions are offered by Canonical until April 2024. Only use this tag if your question is version-specific.

Ubuntu 16.04 - named "Xenial Xerus" - is a Long Term Support (LTS) release of Ubuntu Linux. Officially released on April 21, 2016, it will be supported for 5 years for Ubuntu Desktop, Ubuntu Server, Ubuntu Core, and Ubuntu Kylin. Only use this tag if your question is version-specific. Note that the Ask Ubuntu site is specifically dedicated to Ubuntu questions.

949 questions
2
votes
1 answer

Why is Apache creating so many internal dummy connections? CPU usage issues affecting server performance

Trying to get on top of some CPU usage issues and investigate possible malicious activity. As part of this I am curious about lots of dummy connections in the Apache logs. What is the origin of these and why so many? We run a number of PHP/MySQL web…
BadHorsie
  • 127
  • 2
  • 8
2
votes
2 answers

Ubuntu: /dev/sdb1 is apparently in use by the system; will not make a filesystem here

I get this error when I try to format dev/sdb1: $ mkfs.ext4 -L data /dev/sdb1 mke2fs 1.42.13 (17-May-2015) /dev/sdb1 is apparently in use by the system; will not make a filesystem here! where /dev/sdb has a partition that I have created with…
loretoparisi
  • 133
  • 1
  • 7
2
votes
1 answer

how to set pwdMaxAge for a single user in OpenLdap

If I do this, it is applicable to all users. ldapadd -v -H "ldaps://hostName/" -x -W -D cn=admin,dc=mydomain,dc=com -f pwdMaxAge.ldif dn: cn=passwordDefault,ou=Policies,dc=mydomain,dc=com changetype: modify replace: pwdMaxAge pwdMaxAge:…
james
  • 33
  • 4
2
votes
1 answer

Apache says "Forbidden You don't have permission to access this resource." to a specific domain

I have a server on AWS which serves a number of websites. Webmin is also installed. In Apache, when I try to create a website, say ferrari.example.com, I get the error Forbidden. You don't have permission to access this resource. when I request it…
Magmatic
  • 169
  • 2
  • 2
  • 8
2
votes
2 answers

How can I fake my IP address for local applications?

I tried searching for how to do this but either my google-foo is not up to snuff, or it is simply not asked. I have a 3rd party application that I need to install on a computer in a private network. They do not offer an offline installation…
Trenin
  • 202
  • 1
  • 2
  • 13
2
votes
1 answer

increase container size OS (ubuntu 16.04)

i just download ubuntu with docker pull ubuntu:16.04 and then i want to install mysql and nginx inside them but has limited size docker run -d -t --name temporary ubuntu:16.04 winpty docker exec -it temporary bash df -h and i got…
kreamik
  • 131
  • 1
  • 4
2
votes
1 answer

Outgoing connections from server with multiple IPs

We have a server with both a /31 and a /24 in different /8s statically routed to it. We have a gateway in the same /24 as the /31. Incoming connections to IPs in the /24 work as expected, but we are unable to initiate outgoing connections. Our…
SEK
  • 123
  • 4
2
votes
1 answer

apt remove gcc-5 dependency errors

I'm face on some troubles here. I'm trying to remove gcc-5, however there are a lot of dependencies that will be affect by it. I'm looking for a magician that could help me uninstall it without make a huge difference in my system. My system…
2
votes
3 answers

Reset root admin password in mysql 8

I'm trying to work out how to reset the root mySQL users password. I've found: https://www.tecmint.com/reset-root-password-in-mysql-8/ I tried the first option, and at first it appears to work: root@admin:~# cat /tmp/init-file.txt ALTER USER…
Andrew Newby
  • 1,041
  • 1
  • 22
  • 48
2
votes
0 answers

OpenOSCAP scanner not working on Ubuntu 16.04

I'm trying to run OpenOSCAP on Ubuntu 16.04 and it is throwing the following error: Title The auditd service must be running in the Ubuntu operating system. Rule SV-95671r1_rule Ident CCI-000366 WARNING: Skipping rule that requires an…
Nester
  • 31
  • 2
2
votes
2 answers

Guacamole Apache LDAP Assignment

I have managed to setup ldap authentication with my active directory server running server 2016. I can authenticate to guacamole perfectly with AD accounts. Now comes assigning the AD users desktops. We are using RDP on all of the connections. What…
2
votes
2 answers

Debian/Ubuntu Linux: fixed IP when DHCP fails

I'm looking for a solution on this problem: I have this small industrial pc called UP Board, running some Linux Debian/Ubuntu adopted version: 4.10.0-9-upboard #11~16.04.1 SMP Wed Oct 25 17:10:46 IST 2017 x86_64 x86_64 x86_64 GNU/Linux (I believe…
okoester
  • 31
  • 4
2
votes
1 answer

shell scripting running service status command and exit

I'm on Ubuntu 16.04. Running service nginx status puts me in a interactive mode with this process. I want to exit, which normally on a terminal is done by pressing q, but right now I'm writing this as part of a shell script. Is there a way to exit…
TurtleTread
  • 123
  • 5
2
votes
1 answer

Where is "http://ubuntu/ubuntu" (in apt sources.list) defined?

In recent servers provided by my client's hosting provider, the /etc/apt/sources.list file contains references to: deb http://ubuntu/ubuntu/ xenial main restricted ... deb http://ubuntu-secu/ubuntu xenial-security multiverse while previous servers…
Thibaut Barrère
  • 651
  • 1
  • 9
  • 17
2
votes
2 answers

Disable weak Cipher ubuntu 16

I have started security scanning my network and have issues with Ubuntu 16 and weak cipher suites. I think I found the sshd config. but everything I read on the TLS for apache tells me to go to /etc/httpd which I do not have the directory. I see…
Brill
  • 45
  • 1
  • 4