Questions tagged [debian-stretch]
Stretch is the code name of Debian 9.0 release expected in the mid of 2017
175
questions
23
votes
6
answers
23k
views
Client on Debian 9 erroneously reports expired certificate for letsencrypt-issued domain
If I try to access our HTTPS server that has certbot-issued certificate from debian 9, I get the following error:
# curl -v https://hu.dbpedia.org/
* Trying 195.111.2.82...
* TCP_NODELAY set
* ...
17
votes
5
answers
13k
views
predictable network interface names in systemd
Recent version of Ubuntu and Debian (stretch) bring a new network interface naming scheme.
Now, when updating from a system that's using old style names like "eth0", I'd like to know prior to booting ...
11
votes
3
answers
20k
views
Networking between KVM VM and docker container on same host
On a Debian-Stretch host (connected to physical LAN) I have a new docker installation (v18.09) with one database container (port mapped to the host) and I run KVM/libvirt with some Debian-Stretch VMs. ...
10
votes
3
answers
93k
views
apt-key add on Debian Stretch: no valid OpenPGP data found
I'm trying to follow the installation instructions for Debian provided on Docker website. Unfortunately adding a GPG key fails for me:
$ curl -fsSL https://download.docker.com/linux/debian/gpg | apt-...
9
votes
4
answers
15k
views
Unable to install MongoDB 3.4 on Debian stretch
I added mongodb repo to source list:
deb http://repo.mongodb.org/apt/debian jessie/mongodb-org/3.4 main
Then apt-get update.
When I try to install mongodb-org I'm getting this:
root@ns:~# aptitude ...
8
votes
3
answers
14k
views
Perfect SSL Labs score with nginx and TLS 1.3?
I have created an nginx config that got a perfect score on Qualsys SSL Labs using only TLS v1.2, and I'd like to try and get a perfect score using both TLS v1.2 and v1.3.
Consider this snippet of ...
6
votes
5
answers
32k
views
Debian: "apt install build-essential" fails because of unmet dependencies
Using Debian Stretch v9.11.
I try to install build-essential, but fails because of unmet dependencies:
sudo apt install build-essential
Reading package lists... Done
Building dependency tree
Reading ...
6
votes
3
answers
5k
views
mysql in debian stretch
Debian Stretch will likely be released in the middle of this year.
mysql-server-5.x will no longer be available and is replaced with mariadb-server-10.1. i don't feel i'm ready for the big step and ...
6
votes
1
answer
8k
views
HAProxy doesn't automatically reload DNS
I've installed HAProxy 1.7.5-2 on a Debian Stretch (9) for a blue/green deployment infrastructure.
HAProxy is setup in TCP mode and reloads DNS every 5 seconds but it doesn't.
global
log 127.0.0....
6
votes
1
answer
3k
views
dpkg-reconfigure: dialog frontend sets up postfix successfully; non-interactive frontend fails
(N.B. In this question, a leading # indicates a root prompt, not a comment. Also, I have replaced the actual hostname with <myhostname>.)
As the debconf (7) man-page states, dpkg-reconfigure ...
6
votes
2
answers
4k
views
random CONNECTION_RESET on apache2.4 debian 9
My server has some strange behaviour and I just cant find the cause. I've been looking everywhere.
I will pay 200$ worth of bitcoin to anyone who can figure this out.
The problem:
When requesting ...
5
votes
5
answers
10k
views
Why does my debian server freeze?
I installed Debian 9 ("Stretch") in a virtual machine hosted on ESXi 6.5
The OS is up-to-date and nothing else has been installed but VMware tools.
Sometimes when I execute a command, the server will ...
5
votes
1
answer
23k
views
Debian static ip, can not bring up interface: "RTNETLINK answers: File exists"
I have a fresh installation of SELKS(Debian 9) and I configured the network manually, but I can not bring the interface eno1 UP.
I get the error:
RTNETLINK answers: File exists
ifup: failed to bring ...
5
votes
0
answers
124
views
What could cause a LAMP server to perform poorer than my laptop?
I'm running a WEB application (PHP + MariaDB) for my company, developing on my laptop and running the production version on a dedicated server.
Recently, I've started to measure performance and ...
4
votes
2
answers
9k
views
NFSv4 mapping UID and GID on Debian Stretch
I use the following setup:
NFS Server (Ubuntu 16.04 LTS)
nfs-common 1:1.2.8-6ubuntu1.2
nfs-kernel-server 1:1.2.8-6ubuntu1.2
user: test (uid=1300)
NFS Client
nfs-common 1:1.3.4-2.1
user: testmf (...
4
votes
1
answer
1k
views
Configure DNS server on Debian 9
I need some help configuring a DNS server in Debian 9 (Stretch). I'm following this tutorial, but I think that there is something that I'm doing wrong...
In my case, we will suppose that I own a ...
4
votes
1
answer
4k
views
debian 9.1 boot failed to connect to lvmetad. amd64
I keep seeing this on a new debian 9.1 install. There is only a slight delay during boot, but the following scan works fine. Small but annoying thing. Anything I need to fix?
I tried searching ...
3
votes
1
answer
3k
views
Why does my PostgresQL 11 database cluster instantly shutdown after being started via systemctl?
I have installed PostgresQL 11 via apt-get on Debian 9. After installation I deleted the default database cluster and removed all services auto-starting that cluster. I've now ran initdb to initialize ...
3
votes
2
answers
2k
views
systemd : get status of target's sub jobs
TLDR
How do I get a view of the status of all services on a target ?
something like :
# obviously, 'systemctl status' does not have this output :
$ systemctl --user status service.target
service....
3
votes
2
answers
45k
views
sendmail not sending [stat=Deferred: Connection timed out with ...]
novice trying to use sendmail for the first time. only issue mails never arrive (not even in spam) I have the following logs:
mail.err is empty
mail.log shows accepted for delivery but I also get ...
3
votes
1
answer
2k
views
Unable to schedule unattended upgrades in Debian Stretch
I am running Debian 9 Stretch.
I have the following package installed.
unattended-upgrades/stable,now 0.93.1+nmu1 all [installed]
My 20auto-upgrades file looks like :
# cat /etc/apt/apt.conf.d/...
3
votes
3
answers
14k
views
How to get DRBD to automatically start after reboot, mount volume, start service, and configure primary/secondary
I have a great working version of DRBD across two Debian Stretch servers which I created by following this awesome guide:
https://www.howtoforge.com/setting-up-network-raid1-with-drbd-on-debian-...
3
votes
1
answer
5k
views
NFS - Very slow performance with small files (Also with CIFS)
I am having very bad performance with NFS between two debian stretch machines, and I can't find a solution.
I am using rsync at the server side in the exports file and tcp,hard,intr,rsize=32768,wsize=...
3
votes
1
answer
3k
views
Nftables cannot process any commands
After updating from Stretch to Buster and moving from iptables to nftables, the nft command doesn't process any given command except for list, which doesn't print anything.
The input nft flush ...
3
votes
1
answer
693
views
How to serve PHP from root dir and userdir?
I tried multiple combinations but I must be missing something. Closer I got is with the following config file, I get static content in /var/www/html and /home/user/www, but php only works in the ...
3
votes
0
answers
1k
views
Boot issue with Debian Stretch 9.4 (amd64) on Dell R710
I'm hoping someone has seen this and can assist. This is more of an annoyance than a true issue.
I have a Dell R710 stacked with Debian 9.4 (amd64). The physical unit has the following ...
2
votes
2
answers
18k
views
libc6 dependency mismatch in Debian 9.12 stretch
I have the following libc6 dependency problem in Debian 9.12 stretch.
sudo apt install libc6-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some ...
2
votes
2
answers
17k
views
How to install NPM on Debian?
Can somebody please help with installing NPM in Debian?
First I tried apt-get install npm but got this message:
Unable to locate package npm.
So I followed the installation steps for Debian from ...
2
votes
1
answer
4k
views
systemd: Unknown lvalue 'ExecCondition' in section 'Service
Why systemd complains?
Jul 5 09:55:33 st701a-9 systemd[1]: [/etc/systemd/system/load-xyz-modules.service:7] Unknown lvalue 'ExecCondition' in section 'Service'
The service configuration /etc/systemd/...
2
votes
2
answers
4k
views
cryproot-unlock with dropbear: Timeout while waiting for askpass
I installed Debian 9 on a VPS and configured the root partition to be encrypted. However, due to the installer giving me trouble when attempting to encrypt, I had to do this manually.
To be able to ...
2
votes
1
answer
3k
views
Active Directory sssd not Updating DNS
I have been migrating my Vm lab over to AD to centralize the auth management and im having issue with the linux VM's (Debian 8) not updating DNS records.
the clients are being joined with realmd and ...
2
votes
1
answer
420
views
Security with nginx
Intro
Okay, I have quite the complicated issue (at least for me) on my soon to be new production network. I am looking for advice from more experienced users with linux, especially advice on secure ...
2
votes
1
answer
2k
views
mod_rewrite on Debian Stretch breaks php7.0-fpm with AH01071: Got error 'Primary script unknown\n'
We've just built a new Debian 9.8 server to replace our 8.11 server in order to test and upgrade to php7. We've installed apache2, php7.0-fpm and brought over out existing virtual host config, which ...
2
votes
2
answers
246
views
How to Configure 2 IP Address on Same Network Interface to Allow Specific Ports to be Accessed by Specific IP?
I have 2 IP addresses on the same network interface: 192.168.1.100 & 192.168.1.101. I want to be able to access SSH via 192.168.1.100 and HTTP via 192.168.1.101. I'm using Debian 9.8 and firewalld ...
2
votes
1
answer
7k
views
unbound.conf server option "private-domain" - domain name ending in a dot nor not?
unbound.conf is used to configure Unbound, a caching DNS resolver. The documentation of version 1.6.8 says:
Server Options
private-domain: <domain name>
Allow this domain, and all ...
2
votes
1
answer
1k
views
Debian preseed prompts disk select dispite it being seeded
In our environment we are automating deployment of Debian VMs to run workloads.
Everything in our preseed file works except for the selection of the disk.
This still gets prompted.
Our preseed ...
2
votes
1
answer
3k
views
Postfix matches SASL username and not the FROM mail field with smtpd_sender_login_maps
I have already read hundreds of posts all over the internet and I couldn't find anything that solves my problem. So I decided to write this post and hope somebody can help me. First I want to ...
2
votes
0
answers
2k
views
Clean OpenVPN3 on Debian 9 fails
I've just created a fresh Debian 9 with OpenVPN3 installed.
I'm getting the following error:
openvpn3 session-start --config server.conf
Using configuration profile from file: server.conf
Session ...
2
votes
1
answer
437
views
Debian Stretch IPv6 prioritization
I have a Debian Stretch system with both IPv4 and IPv6 addresses and default gateway. IPv4 and IPv6 addresses in the internet are reachable. When I start a ping to a domain which has an A and AAAA DNS ...
2
votes
0
answers
125
views
How do I get notified of automatic "apt-get update" errors?
On a Debian Stretch server, APT ist configured via /etc/apt/apt.conf.d/10periodic to automatically update itself every day.
Hadn't I run "apt-get update" manually by chance, I wouldn't have noticed ...
2
votes
1
answer
625
views
Push works but no changes to the Remote Repository
I am hosting a git server on my Debian Stretch server in the /var/www/example.com/html directory.
I am able to push files to this server on my local computer if I first clone the git repo by doing ...
2
votes
1
answer
856
views
Getting info about a weird directory
Joplin desktop app (https://joplin.cozic.net/) creates a directory in /tmp that I cannot get any info about as root:
While logged in as a regular user I can enter a dir, I cannot even display its ...
2
votes
2
answers
2k
views
duplicity: UnsupportedBackendScheme: scheme not supported in url: dpbx:///
I'm trying to use duplicity to backup a directory to DropBox in Debian Stretch. However, duplicity gives me the error:
UnsupportedBackendScheme: scheme not supported in url: dpbx:///
I have verified ...
2
votes
0
answers
1k
views
TAR command exit status non 0, with the option ignore command error
I'm trying to make a tar of a logs directory, the applications are running so the logs keep changing, clearly when i run the tar command it give me the warning:
"file changed as we read it", and give ...
1
vote
1
answer
4k
views
Certificate hasn't got a known issuer
The TLS (SSL) certificate on one of my site expired yesterday. I obtained a new one - and installed it on the site (running on Debian 9 under nginx). Now when I access the site from a windows or mac, ...
1
vote
2
answers
2k
views
Tons of OpenDKIM Issues
I for the life of me cannot get OpenDKIM to work correctly. I can send and receive messages just fine with postfix and roundcube. I have tried tons of things to get this working. At this point, I am ...
1
vote
2
answers
2k
views
Lost connection to the server after adding new bridge to network configuration
In a Proxmox server (Debian), I changed my network config from this:
source /etc/network/interfaces.d/*
auto lo
iface lo inet loopback
auto enp0s31f6
iface enp0s31f6 inet static
address 88....
1
vote
3
answers
760
views
Apache can't find directories in symlinked '/var'
I have the following directories, where /data is the mount point for a data partition, and /var is a symlink:
lrwxrwxrwx 1 root root 9 Nov 20 13:25 /var -> /data/var
lrwxrwxrwx 1 root root 9 Nov ...
1
vote
1
answer
9k
views
Another app is currently holding the xtables lock
I've been using a bash shell script to set complex iptables rules for years. However, on Debian Stretch when I tried to use a script, it became sluggish and left iptables in a bad state.
When I ...
1
vote
2
answers
4k
views
Adding a bridge kills the internet connection from all interfaces
I'm working on Debian stretch with the newest xen from repositories.
Installing xen-system and xen-tools gave no errors, though when I try to start a guest (we'll call it dom1) it won't work unless ...