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
1
vote
0 answers

Intermittend DB service error (Ec2+RDS)

I have a EC2 Ubuntu server with the database as RDS. It is connecting fine and the db connections are low but intermittently showing a DB service error. SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not…
adminz
  • 397
  • 2
  • 4
  • 19
1
vote
1 answer

How do I redirect all site traffic to HTTPS on Ubuntu running Apache2

So I have an Ubuntu server running Apache 2 and would like to redirect all traffic over to https. Below is the sites-available config file (with domain name substituted out. ServerName example.com ServerAlias…
Tasty213
  • 111
  • 3
1
vote
1 answer

Openvpn multiple clients same machine

I would like to achieve the following: Each user in my system (ubuntu 16.04) needs to be able to connect to different vpn servers and all the processes from this user route all the traffic from the corresponding vpn. Example: Let's say we have 2…
gosom
  • 111
  • 1
1
vote
1 answer

wss not working in https but ws works in http apache2 ubuntu

My websocket setup works in http. But if I enable ssl(lets encrypt) and change the ws:// to wss://, browser throws this error. WebSocket connection to 'wss://xx.yy.xx.yy:5001/' failed: Error in connection establishment:…
supercontra
  • 225
  • 1
  • 3
  • 10
1
vote
0 answers

apache2 - multiple subdomains, each one served via reverse proxy against different local ports

I have the following local services located in a server with IP 198.51.100.1: 127.0.0.1:5000 - special pda service 127.0.0.1:8888 - www service I have configured the following DNS entries: foo.com - A - 198.51.100.1 pda.foo.com - A -…
M.E.
  • 124
  • 10
1
vote
3 answers

Unable to authenticate OpenLDAP users on macOS clients "user not found: no secret in database"

I have an Ubuntu 16.04 server that is runnning an OpenLDAP server. I am able to see everything just fine: serveradmin@Magic:~$ ldapsearch -x -H ldap://localhost -D cn=admin,dc=example,dc=com -W Enter LDAP Password: # extended LDIF # # LDAPv3 # base…
CertifcateJunky
  • 143
  • 1
  • 5
1
vote
2 answers

Install Basic UDP Server on Ubuntu

I'm doing some code testing and one aspect is I need an active UDP Server. I've tried looking online how to install one and haven't had much luck. My only requirement is a UDP Server which I can connect to with my code and retrieve a simple…
somejkuser
  • 250
  • 3
  • 9
1
vote
1 answer

Adding nis.schema throwing error: invalid format (line 2) entry: ""

I'm trying to add the nis.schema into my LDAP base. My file looks like this: attributetype: ( 1.3.6.1.1.1.1.2 NAME 'gecos' DESC 'The GECOS field; the common name' EQUALITY caseIgnoreIA5Match SUBSTR…
CertifcateJunky
  • 143
  • 1
  • 5
1
vote
1 answer

Dovecot returns localhost.localdomain certificate

I'm having an issue with Postfix+Dovecot configuration in Ubuntu 16.04. I could configure my mailboxes and I can correctly send and receive emails and now I wanted to set up POP3+IMAP. The problem I'm having is that when connecting I always get the…
neoocm
  • 21
  • 3
1
vote
0 answers

apt-get update reports several gpg errors

On ubuntu 16.04, running sudo apt-get update reports several GPG errors. Such as, W: GPG error: http://security.ubuntu.com/ubuntu xenial-security InRelease: At least one invalid signature was encountered. W: The repository…
1
vote
2 answers

Whats is the best user to manage webserver?

In Apache webserver I have user www-data, and all files in /var/www are owned by www-data. Isn't that for security? Sometimes I need to upload files via FTP to /var/www/*, but with my own user I don't have write permission to it. Let's say I use…
mbuhasu
  • 21
  • 3
1
vote
1 answer

Why does my VM become slower during CPU-heavy tasks after some days of runtime?

I'm dealing with some strange problem for some time now: After some days of runtime, one of my VMs seems to become slower on CPU-heavy tasks. One example were this happens is reading virus signature databases in ClamD, either by simply restarting…
1
vote
1 answer

Enable logio Module in Ubuntu Apache 2.2

How can I enable the logio module in Apache 2.2, Ubuntu 16.04? In folder /etc/apache2/modules-available, I looked for something like logio.load and logio.conf but I did not find these. When I query apachectl -l, I get: Compiled in…
IberoMedia
  • 203
  • 2
  • 3
  • 8
1
vote
0 answers

Solr Spark indexing failure due to an error accessing the collection

I am using Solr with Spark in Java to index documents. (Ubuntu 16.0.4) I have set Zookeeper running on port 2181 and my collection test has two shards When I launch my code I have a java.lang.NullPointerException. Here is my code (the class for…
Dilak
  • 11
  • 2
1
vote
1 answer

apache2 how to run multiple hosts listening on port 80 on the same server

here the scenario: I have example.com Redirect Permanent "/" "https://example.com" the above works perfectly(it redirects to the configuration of ...), now I'm trying to add…
nafas
  • 113
  • 5