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.

382 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
7 votes
0 answers
870 views

How to limit bandwidth per VPN connection?

I have a StrongSwan (IKEv2) server setup and would like to limit each VPN connection to 512kb/s. After researching I came across tc in Ubuntu. I don't quite understand it and am fighting through the ...
Houman's user avatar
  • 1,505
7 votes
1 answer
989 views

Ubuntu server hang with ascii NUL characters in syslog and other files ( ^@^@^@… )

We are experiencing occasional hangs with ubuntu 16.04 LTS (kernel 4.4.0-34-generic) and we wonder if somebody has some clues how to get to bottom of this. The log looks like this: Aug 24 10:02:04 ...
user2196351's user avatar
5 votes
0 answers
1k views

How to get /64 as prefix length when using DHCPv6 and radvd?

For our networking course we were asked to set up a DHCPv6 server in a virtual machine. I choose to work on a virtual machine(on VMware) running Ubuntu Desktop 16.04 and Lubuntu 14.04 as test client ...
Jugurtha's user avatar
5 votes
0 answers
3k views

`ls` command hangs indefinitely in some directory in an azure File Storage share

I have an azure File Storage share mounted in a Ubuntu 16.04 VM following this how-to. Everything seems to work fine. So I run some process that produces a lot of data, e.g. 10k files for each run, ...
petrux's user avatar
  • 151
4 votes
0 answers
752 views

Can I delete events.out.tfevents.XXXXXXXXXX.computer_name files from TENSORFLOW training folder

I am training faster_rcnn_inception module for object detection on custom dataset. In training directory,we found folder called eval_0 and tensorflow generated events.out.tfevents.xxxxxx files. ...
Vardhman Patil's user avatar
4 votes
0 answers
326 views

Hyper-V 2016 DDA issue: a VM boot fails when a drive is connected to an opposite NUMA node

Brief description: the host is Windows Server 2016 Datacenter Build 14393 (UEFI) running Hyper-V role. SR-IOV and Intel VT are enabled. 4x Intel® Optane ™ SSD 900P 280GB PCIe NVMe 3.0 drives are ...
Mr. Raspberry's user avatar
4 votes
0 answers
3k views

How to correctly prevent auto-assembly of RAID arrays on Ubuntu 16.04?

I'm trying to stop mdadm from automatically assembling RAID arrays when I attach disks. I had a solution that worked on Ubuntu 14.04, but it doesn't work on 16.04. I've found a thing that works for ...
Giles Thomas's user avatar
4 votes
0 answers
528 views

DHCP Server Listing Host as "BAD_ADDRESS" and not Registering DNS

Question Why is DHCP showing "BAD_ADDR", why does it think there is a Conflict, and why can't the host register its DNS name? Devices: DHCP Server = Server 2012 on bare metal. Also running DNS. ...
Copy Run Start's user avatar
4 votes
0 answers
740 views

Any possibility to use ZFS for Samba4 AD DC share on Ubuntu 16.04?

For a few (~ 5) PCs running Windows 8.1 I have to setup a domain controller using Samba4 on Ubuntu 16.04 Server. Additionally the DC should provide a few shared folders with user-specific access and ...
Apollo13's user avatar
3 votes
0 answers
3k views

Permission issue preventing increase in Open Files Limit in Ubuntu

My Digital Ocean droplet's ulimit -n yields 1024. Now it's a dedicated machine with Ubuntu 16.04, 32GB Ram, 16 Cores. I want to crank it up to 65535. The problem: I followed a bunch of steps to ...
Hassan Baig's user avatar
  • 2,273
3 votes
1 answer
17k views

How to reduce latency with Nginx RTMP streaming server

My Virtual Server is configured with 3GB memory, and 1 core. I'm playing the following mp4 file Sample MP4 Video File through my NGINX RTMP server, as small.mp4. I'm experiencing a latency issue. ...
Ian Arman's user avatar
  • 123
3 votes
0 answers
1k views

Can't use Intel Quicksync(headless) for transcoding

/dev/dri and /usr/lib/dri doesn't exist. vainfo returns: error: can't connect to X server! error: failed to initialize display Aborted lspci | grep VGA returns: 00:02.0 VGA compatible controller: ...
Yahvav's user avatar
  • 31
3 votes
3 answers
2k views

Let's encrypt certificate and NGINX - Cannot find a cert or key directive

My server runs on a LEMP Stack Ubuntu 16.04 and last version of nginx I already have a SSL certificate installed on my server for the following domains and subdomains : example.com, domain1.example....
Leo's user avatar
  • 131
3 votes
0 answers
96 views

Libvirt LXC leaked processes

I'm trying to run several lxc containers on an ubuntu 16.04 server. (libvirt version is 1.3.1). The nature of my team's use of these containers means that they are constantly booting and then being ...
SwampDragons's user avatar
3 votes
2 answers
2k views

RTC time is going totally wrong after a few minutes (Ubuntu 16.04 + Hyper-V)

My RTC time on my Ubuntu 16.04 is going crazy. After a few minutes the RTC time is going totaly wrong. The strange thing is, if I disable NTP Service (timedatectl set-ntp false and service ntp stop) ...
Jerico's user avatar
  • 31
3 votes
1 answer
2k views

Ubuntu 16.04 server is listening but not accepting incoming requests

I recently upgraded my server from Ubuntu 14.04 to 16.04. The upgrade seemed successful (so I'm not sure if it's related) but about a week in I restarted the host and it now will not accept remote ...
Godwin's user avatar
  • 401
3 votes
2 answers
6k views

Navicat failed to connect to server over ssh tunnel on ubuntu 16.04

I'm trying to connect my database in my ec2 instance running on Ubuntu 16.04 with Navicat. But it keeps coming with SSH: expected key exchange group packet from server. I have another instance running ...
H. Jabi's user avatar
  • 33
3 votes
0 answers
2k views

Ubuntu 16.04 Systemd not possible to use systemctl

I have a Ubuntu 16.04 server, since the last restart, systemctl doesn't work anymore. For example if I want to start the nginx, I get the following error: root@SERVER:/# systemctl start nginx ...
ghovat's user avatar
  • 131
3 votes
0 answers
129 views

Ubuntu 16.4 public Samba share suddenly not public anymore

New, completely "vanilla" Ubuntu 16.4 server installation. I modified the original smb.conf file to include a public share. It worked, until I rebooted the Windows 10 client. Now, I get asked for the ...
Frank H.'s user avatar
  • 231
2 votes
0 answers
212 views

ipsec duplicate policies: allow and block

I'm trying to set up u IPsec connection between two virtual machines using Strongswan. The configuration on my first machine is the following (ipsec.conf): conn %default ikelifetime=60m ...
nightcrawler's user avatar
2 votes
1 answer
4k views

PostgreSQL Service status Active(Exited) but I am able to connect

I have installed PostgreSQL (9.5) on a new Ubuntu (16.04) VM on GCD. THe status of service is active(exited). The output of sudo systemctl status postgresql is: ● postgresql.service - PostgreSQL ...
DVD's user avatar
  • 21
2 votes
1 answer
1k views

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 ...
james's user avatar
  • 33
2 votes
1 answer
38k views

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 ...
Magmatic's user avatar
  • 179
2 votes
1 answer
365 views

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 -...
kreamik's user avatar
  • 131
2 votes
0 answers
903 views

nvidia-smi must be run by root before it can be used by regular users

On a newly built Ubuntu 16.04 machine, running nvidia-smi fails as a regular user $ nvidia-smi NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest ...
hanxue's user avatar
  • 1,377
2 votes
1 answer
544 views

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 ...
Levi Resende's user avatar
2 votes
0 answers
141 views

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-...
Nester's user avatar
  • 31
2 votes
0 answers
795 views

Certbot renew running but not renewing

I've installed certbot on an Ubuntu 16.04 host using the PPA. I can see that the certbot timer is configured to run and that it's running: jaraco@punisher:~$ sudo systemctl status certbot ● certbot....
Jason R. Coombs's user avatar
2 votes
0 answers
40 views

Restricting user access to a subset of binaries

I checked rbash and chroot jail, which doesn't have permission to read /var/log. Scenario: ssh user should only able to cd to a directory and do less for files. eg: ssh user@server.com cd /var/...
Rajesh Rajendran's user avatar
2 votes
1 answer
226 views

MAAS install CA to new machines

How could we add custom trusted Certificate Authority to the new deployed ubuntu 16.04 machines on MAAS v2.3 ? is there a direct way to do that, or we have to perform custom installation nodes ?
Michael Eino's user avatar
2 votes
0 answers
441 views

Unexpected Error while installing MySQL 8 on Ubuntu 16.04

I want to install MySQL-8 on Ubuntu-16.04 and I am following official documentation. I haven't installed MySQL on this server in past so this one is the first installation of MySQL. First, I've ...
Adarsh Sojitra's user avatar
2 votes
2 answers
1k views

Static route in initramfs

My hosting provider unfortunately requires the use of static routes for network configuration (gateway is on a different subnet than the host IP). For that purpose I added the following lines to the ...
Alec Hans's user avatar
2 votes
0 answers
2k views

How to change I/O scheduler for a disk in ubuntu 16.04?

I am trying to set noop I/O scheduler for my disk. However, I am getting this error, -bash: echo: write error: Invalid argument I checked and found that there is no I/O scheduler option in my disk. ...
Vikas Saini's user avatar
2 votes
0 answers
1k views

Apache-Ubuntu: can not access my site using IP address

I have a web site running on ubuntu 16.04 vps with Apache. recently i can not access main web page using its IP‌ address. please help me debug my server configuration. main-site.conf: <...
Amzoddin's user avatar
2 votes
2 answers
1k views

Convert htaccess to Nginx rewrite rules

I need to convert a .htaccess redirect to Nginx conf. Here is the .htaccess Redirect 301 /wp-content/plugins/zendesk-for-woocommerce/api/redirect-test1.html /wp-content/plugins/zendesk-for-...
hemlock's user avatar
  • 41
2 votes
0 answers
1k views

Ubuntu 16.04: extremely slow DNS resolution using wget/curl, and in python using requests (GET)

I'm on Ubuntu 16.04, fully updated. Noticing some really really slow DNS resolution on things like curl/dns, and within python. I've done some searching, but nothing has solved it. I"m trying ot ...
HodorTheCoder's user avatar
2 votes
0 answers
4k views

Can't get php7 to work on apache2

this question also exist of SFO but I was recommended to ask here since it is more a server configuration issue. I have a major problem. My apache2 does not process php7 code but instead shows the ...
IgorLopez's user avatar
2 votes
2 answers
11k views

snmpget error: “No Such Object available on this agent at this OID”

I want to create my own MIB. I'm struggling on this from couple of weeks. I followed this tutorial and using net-snmp 5.7.3. What I'm doing is: My setup: I have two VM's, both Ubuntu 16, one is ...
Ashish Srivastava's user avatar
2 votes
0 answers
3k views

SSHD Failed to retrieve unit: Connection time out

After upgrading from ubuntu 14 to ubuntu 16 sshd service is having problems. It keeps to long to connect, sometimes fails to connect etc. When i try to restart sshd service most of the times i get an ...
Denis Omeri's user avatar
2 votes
0 answers
3k views

Nginx reverse proxy multiple services to multiple ports

I learned about Nginx yesterday and to be more accurate I learned for the first time all the topics covered on the following urls: Initial Server setup with ubuntu 16.04 How to install and secure ...
elios264's user avatar
  • 121
2 votes
0 answers
816 views

Running Metabase jar file as a systems service on Ubuntu Server

I am trying to get the Metabase (v0.24.2) jar file running as a systemd service on Ubuntu Server 16.04 LTS with OpenJDK 1.8.0_131 installed Running java -jar metabase.jar works perfectly, but I can't ...
simonlehmann's user avatar
2 votes
0 answers
797 views

Installing Solr 6.5.0 on Ubuntu 16.04; can't access admin UI

I am trying to install Solr on an Ubuntu server. I followed this guide: https://www.howtoforge.com/tutorial/how-to-install-and-configure-solr-on-ubuntu-1604/ Everything appeared to work, except I ...
Kevin's user avatar
  • 169
2 votes
0 answers
105 views

Performance issue with fresh install MySQL 5.616-1~exp1 (Ubuntu) on Ubuntu 16.04 LTS

I've recently started on a new company and I'm currently setting my dev environment. We're using Ubuntu 16.04 and MySQL 5.6 Everything was right until I launched the tests (using mvn test). After ...
Alfergon's user avatar
  • 121
2 votes
0 answers
2k views

Install X Server on ubuntu-server 16.04 for comparepdf

I'm using comparepdf (installed from ubuntu apt) to run automated tests which works fine on my desktop, but not on the server, the error returned is: comparepdf: cannot connect to X server This ...
user2819573's user avatar
2 votes
1 answer
2k views

LDAP TLS Error with letsencrypt

I currently have a stack of iRedMail installed,and one of the services is an OpenLDAP 2.4 version,which I am unable to configure properly for a certificate other than iRedMail which is stored on /etc/...
devnull's user avatar
  • 21
2 votes
0 answers
1k views

OCFS2 filesystem not mounting

I have an OCFS2 cluster running on top of a dual-primary DRBD setup on Ubuntu 16.04. Yesterday, I pushed this cluster into production and it seemed to run well for a while. But today, the cluster ...
Oldskool's user avatar
  • 2,015
2 votes
1 answer
2k views

How can I restart a server and connect it to an existing cluster?

I have three Nginx servers + php7 + memcache + Cluster Galera + Mariadb + Monit. Everything works and all three are connected. But if I now want to edit the my.cnf file to play the utilized RAM or ...
Tarrio's user avatar
  • 41
2 votes
1 answer
3k views

VSFTPD not behaving in command line, but fine in GUI (Filezilla)

I'm trying to use VSFTP 3.0.3-3ubuntu2 on an Ubuntu 16:04.1 install. I have done this so that an application on another server can run an automated script to pull files from the FTP server triggered ...
Michael's user avatar
  • 121
2 votes
0 answers
758 views

With Ubuntu livepatch and unattended-upgrades is it possible to run a server fully patched without restarting the server or services or logging in?

A few weeks ago Canonical started offering livepatching for kernel updates without needing to reboot the server ( http://insights.ubuntu.com/2016/10/20/live-kernel-patching-from-canonical-now-...
H. Idden's user avatar
  • 121
2 votes
0 answers
177 views

Mongos with --upgrade: I have stopped the balancer but

I have a trouble after switching from Ubuntu 14.x to 16.x. MongoDB processes like configuration servers, arbiter and the main MongoDB server are running well. I can access to my databases with the ...
climb65's user avatar
  • 21

1
2 3 4 5
8