Questions tagged [debian]

Debian is a popular and influential GNU/Linux distribution. Questions here should generally be about Debian Server.

1,896 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
7 votes
5 answers
6k views

Creating a fallback error page for nginx when root directory does not exist

I have set up an any-domain config on my nginx server - to reduce the amount of work needed when I open a new site/domain. This config allows me to simply create a folder in /usr/share/nginx/sites/ ...
Steffan Donal's user avatar
6 votes
0 answers
1k views

How to make RabbitMQ start and stop faster

On Debian 10, service rabbitmq-server start takes 10 seconds; service rabbitmq-server stop takes 5 seconds. This is for a Docker development environment where load is extremely low and start/stop ...
Antonis Christofides's user avatar
6 votes
1 answer
1k views

Debian Buster: How to start ZFS after open-iscsi in systemd

I have Debian 10 (Buster) installed and have added ZFS from Backports. I have 4 iSCSI-LUNs that I use as disks for ZFS. Each LUN holds a separate zpool. So far the ZFS setup works. But the system is ...
Christian Rößner's user avatar
6 votes
0 answers
7k views

Debian 10 Buster can't renew DHCP as client, when IPv6 is disabled

After I upgraded Debian 9 to 10 Buster server lost network connection after 24 hours since reboot, I think problem is it can't renew IP address from DHCP server. In /var/lib/dhcp I see the file ...
Roman_G's user avatar
  • 63
6 votes
1 answer
504 views

Folder Showing up as a File when viewed via Samba on a NetApp

we want to change files on our NetApp file server, and on every change of these files - a Debian machine duplicates the files to two other shares. Because of the duplication method we're using lsync, ...
akalter's user avatar
  • 59
5 votes
0 answers
6k views

docker-compose `restart: always` randomly not working

I administer a few Debian servers with Docker CE installed and docker-compose orchestrating several services (roughly 20 containers per machine).. Every single service is configured with restart: ...
adamsfamily's user avatar
5 votes
2 answers
4k views

100% CPU usage reported, but no processes using the CPU

I am running Debian 10 (kernel 4.19.0-18-amd64) on bare metal and I have recently noticed strange CPU usage. Screenshot of htop, sorted by CPU% Screenshot of top, sorted by CPU% As you can see, 100% ...
tomf's user avatar
  • 51
5 votes
0 answers
404 views

How to share a ZFS pool between Debian and FreeBSD?

I am having a setup of a dual boot PC running FreeBSD 12 and Debian 10. There is a three disk zraid in the system created by FreeBSD which I would like to use as a common storage pool for both ...
GorillaPatch's user avatar
5 votes
1 answer
1k views

ModSecurity on Apache (Debian Wheezy), Authentication logging

I am new to ModSecurity, it works great on the server, but I would like to control the way it logs things. For example as I am troubleshooting my website in order to whitelist or correct php coding ...
durduvakis's user avatar
5 votes
0 answers
4k views

NAT64 configuration with tayga on Debian 6

I'm trying to implement NAT64 with tayga on my server and came to a point where I'm not sure how to proceed. My server is connected via one IPv4 address and one /64 IPv6 address block to the internet....
Georg Bretschneider's user avatar
5 votes
2 answers
3k views

How to log the whole SMTP session including DATA with postfix?

I am running a Debian 8.5 with postifx 2.11.3-1 and i try to log the whole smtp session including DATA to mail.log. it was possible to see a part of the data by increasing the verbosity by adding -...
c33s's user avatar
  • 1,535
4 votes
1 answer
865 views

How to route IPv6 to the external interface?

I have purchased a VPS from IONOS. While they provide an IPv6 range 2a00:xxxx:xxxx:67::/64, they don't route it to the VPS itself, which is quite odd. I wonder how I can achieve that. I have only 254 ...
Houman's user avatar
  • 1,675
4 votes
0 answers
1k views

unattended-upgrades conffile prompt

To enable unattended-upgrades for packages which can show dpkg config change menu, one has to configure apt and dpkg with these config options: Dpkg::Options { "--force-confdef"; "--...
shodanshok's user avatar
  • 50.7k
4 votes
0 answers
6k views

ERROR 1006 (HY000): Can't create database 'webdata' (errno: 2 "No such file or directory")

On Debian 10, I'm logging into MariaDB with sudo mysql -u root -p Then trying to create a DB create database webdata; ERROR 1006 (HY000): Can't create database 'webdata' (errno: 2 "No such file ...
Tom Dudman's user avatar
4 votes
0 answers
321 views

MDADM Raid10 event mismatch after restart

I made a raid10 with 8x8TB drives the file system on it is XFS. I never had any issue with it. The raid is configured as near2 and internal bitmap. The drives are connected to a LSI-9211-8i in HBA ...
Jacob Dorais's user avatar
4 votes
0 answers
3k views

Adminer not working - Configuration file is missing

I have a VM running Debian 9.7.0 64-bit off a Windows 10 host machine. This VM has the packages openssh-server, ufw, mysql-server, mysql-client, adminer, and their dependencies installed via apt. ...
SierraKomodo's user avatar
4 votes
0 answers
2k views

NFS ignores secondary groups

My NFS server seems to be ignoring secondary groups. I have fewer than 16 groups per user, but have --manage-gids on. The NFS share doesn't mount when this option is missing. Users and groups are ...
kai's user avatar
  • 141
4 votes
0 answers
209 views

Single partition mounted to multiple directories with different files

I have a systemd mount for a single partition which results in three different directories being mounted. The file /etc/systemd/system/var-lib-docker.mount [Unit] Description=Mount LSSD Volume at ...
Gardner Bickford's user avatar
4 votes
0 answers
1k views

Is it possible to apt-pin two packages.sury.org repositories, which have no unique Label, Component, Origin, etc?

This has taken me two separate multi-hour sessions to fully comprehend exactly how the preferences.d system works in apt. On my local dev machine, I have a lot of different apt sources .. : /etc/...
A.B. Carroll's user avatar
4 votes
0 answers
2k views

MemoryError when using gdb's Python extension on Jessie

In the past, I frequently used the possibility to attach gdb to a running Python process and use the py-* extensions for debugging. However, since Debian Jessie, this does not work anymore and throws ...
sbrandt's user avatar
  • 51
4 votes
1 answer
10k views

Unbound refuses requests from localhost even though `access-control: 127.0.0.1 allow_snoop`

This is my unbound.conf server: interface: 0.0.0.0 access-control: 10.0.0.0/8 allow_snoop access-control: 127.0.0.1 allow_snoop access-control: 192.168.0.0/16 allow_snoop ... Reading the ...
Cray's user avatar
  • 210
4 votes
0 answers
5k views

Postgresql 9.4 clusters not auto starting on Debian

I have Debian 8.2 x64 and Postgresql 9.4 (from repo). I've recreated default cluster in different location like this: # service postgresql stop # pg_dropcluster 9.4 main # pg_createcluster -d /srv/...
Dawid's user avatar
  • 186
4 votes
0 answers
2k views

IOTOP on LXC -> Netlink error

unfortunately I can not use iotop on proxmox-lxc-container and debian 8 template. This is the output: Traceback (most recent call last): File "/usr/sbin/iotop", line 17, in <module> main() ...
MyFault's user avatar
  • 913
4 votes
0 answers
3k views

OpenVPN ERROR: could not insert 'tun': Unknown symbol in module, or unknown parameter (see dmesg)

I'm trying to configure OpenVPN on my Debian 7 VPN but I'm getting the following error ERROR: could not insert 'tun': Unknown symbol in module, or unknown parameter (see dmesg) I tried the ...
Roemer's user avatar
  • 141
4 votes
1 answer
2k views

Supervisor cannot correctly stop uwsgi

Supervisor can start uwsgi but after stopping uwsgi, when i try to start it again I get this error: 2014-03-16 08:38:34,249 DEBG 'app' stderr output: ...
J.Zil's user avatar
  • 1,123
4 votes
0 answers
1k views

mdadm error: found two disks with the number 0

Im running a server deep in the forest , and after a hard disco failure i got this error. error: found two disks with the number 0. It a server with 2, 1 TB disc in raid 1 with mdadm 0.9 SDA failed ...
PsySkeletor's user avatar
4 votes
1 answer
184 views

Puppet removes packages while installing "lsscsi"

We wanted to install the "lsscsi" package on all our Linux Servers and build a manifest for it: # pack_lsscsi.pp class common::pack_lsscsi { case $operatingsystem { RedHat, ...
user190307's user avatar
4 votes
1 answer
2k views

Installing openssh-server on Debian 10 with libc6 issues

I'm trying to install openssh-server. However, I keep getting this error: The following packages have unmet dependencies: libc6 : Breaks: openssh-server (< 1:8.1p1-5) but 1:7.9p1-10+deb10u2 is to ...
br1on3n's user avatar
  • 41
4 votes
1 answer
2k views

Easily spoof lsb_release output for different versions

I’m often rebuilding software packages (mostly Debian) for older versions (of both Debian and Ubuntu, including oldoldstable). Some of these packages use the lsb_release command to figure out the ...
mirabilos's user avatar
  • 749
3 votes
0 answers
664 views

Apparmor and libvirt - warnings and errors

I have a fresh Debian 12 installed and updated. Along with Cockpit and Cockpit virtual machines. I am getting the following errors and warning when looking at the log section in Cockpit: Failed to ...
Clicker85's user avatar
3 votes
0 answers
687 views

Does Nginx aio work with linux?

We have a VOD service and we are using nginx as webserver. Our system doesn't use nginx-vod-module instead it just has all the small m4s files for a dash stream. I came across this article(Thread ...
Mojtaba's user avatar
  • 131
3 votes
0 answers
834 views

LinuxPTP slave not using master and sync timeout tx announce timeout

And: I'm using G8316 as swtich with ptp transparent enable and Mellanox 354 adapter. Ports using LACP bonding and trunk. First: Server A ptp4l -m -l 7 -i xxxx -i xxxx -S I can capture ServerA ...
Alceatraz's user avatar
  • 133
3 votes
0 answers
87 views

Limit resources of a group of users on Debian 10

I know how to set limits per user: systemctl set-property user-1000.slice CPUQuota=5% However, I don't know how to set the limit for a group of users. I want to limit the sum of the CPU usage of all ...
TO_GA's user avatar
  • 31
3 votes
3 answers
928 views

Unwanted DHCP setting on server

I'm configuring a new Debian 11 server running on a private network. It is determinedly taking a DHCP address in addition to the static IP I am manually configuring. I don't understand where it gets ...
pettus's user avatar
  • 31
3 votes
0 answers
211 views

SSH tunnel reconnecting after WAN change or server drop

I am fighting with autoSSH configuration. My setup VPS as a public contact point, clients will access the VPS IP to get to the server My home server running the service. This machine has dualwan ...
DJ_Ironic's user avatar
3 votes
0 answers
416 views

Why su command takes to long in nested Debian LXD containers?

I observed that the command su takes too long (30 seconds) when it is executed in a LXD Debian container that is nested into an Ubuntu LXD container. This overhead does not occur Debian containers ...
Daniel Hernández's user avatar
3 votes
0 answers
626 views

Samba only sees first group of a user

I have a samba server on Debian Buster that was upgraded from Debian Stretch. This upgraded Samba from 4.5.16 to 4.9.5. Somewhere in this process, it seems that handling of groups changed. Users that ...
Too Short's user avatar
  • 173
3 votes
0 answers
271 views

Track multiple directories with etckeeper

I'm trying to provide a solution to use etckeeper as a keeper of multiple locations (directories). I'm using Debian 8. With the default config etckeeper "watches" the /etc directory but I want to have ...
Adam's user avatar
  • 133
3 votes
0 answers
404 views

Proxmox Centralized Management

At my workplace, we use a lot of Proxmox servers, on various locations (some are on premise, some are hosted by hosting companies). As we are currently managing about 20 proxmox hypervisors, we would ...
Alex_NX's user avatar
  • 31
3 votes
0 answers
421 views

Reconnecting secondary node in shared-nothing active-passive DRBD cluster after secondary reboot

I'm using DRBD (config below) and tried to test reliability of the setup. I have rebooted secondary node (host1) and noticed it went into this state: host1: 0:r0/0 WFConnection Secondary/Unknown ...
LetMeSOThat4U's user avatar
3 votes
0 answers
2k views

Nginx - 400 Request Header Or Cookie Too Large (Angular + Symfony)

I have two projects on the same server: a Symfony 3 API (api.example.com) an Angular 5 webapp that uses the API mentionned above (www.example.com) Both are on the same server, served with one Nginx ...
Maxime's user avatar
  • 131
3 votes
0 answers
377 views

Matrix Synapse matrix-appservice-irc messages only travel from IRC to Matrix

My irc bridge has connected the rooms i wanted, except messages are only passed from irc to matrix! Also the matrix[m] users are not appearing in the irc chatroom. Here are my configs: $ cat config....
PC-Admin's user avatar
3 votes
1 answer
1k views

Why does the 'nomatch' option of ipset not work in this case?

I am using ipset 6.23-2 on Debian Jessie. I created a hash:net set for and an iptables rule to drop all traffic for addresses in the set. Chain INPUT (policy ACCEPT) target prot opt source ...
Kanra's user avatar
  • 31
3 votes
0 answers
246 views

Make puppet run without overwriting my gems in RVM installation

I have a puppet setup containing a puppet master and couple of nodes - this works as intended. However - on the latest node I am working on I need to install rvm/ruby+nginx/passenger. This is done ...
Mikkel Riber's user avatar
3 votes
1 answer
2k views

ip6tables blocking outgoing+incoming connections

i just changed to a server with ipv6 and therefore i changed my firewall script. Changing my iptables-script to ip6tables does not seem to work though. This is the ipv6 part which neither allows ...
bigCrash's user avatar
3 votes
1 answer
1k views

service --status-all freezes part way through displaying list

debian 8.0, logged in over ssh service --status-all freezes part way through displaying list of services it gets to ssh and then doesn't display anything else and doesn't finish, it doesn't matter ...
Peter Cullen's user avatar
3 votes
0 answers
378 views

crm_mon -E does not run the external-agent on Debian Jessie

Setup I'm currently having a working 2-nodes HA cluster using Pacemaker+Corosync. My nodes are running on Debian 8 (Jessie). Now I would be able to get notified when changes occur in the cluster (...
Habovh's user avatar
  • 271
3 votes
0 answers
1k views

Auto-Reboot on Kernel BUG (not tainted, “fixing recursive fault but reboot is needed”)

I'm running a sometimes highly loaded Debian 7 VM with the latest 3.2.x kernel on a XenServer 6.2 host. Sometimes this VM runs into the following state: Ping is okay, All Services unreachable (...
Julian Kessel's user avatar
3 votes
2 answers
438 views

Issues getting systemd service to start (Jessie)

I've got a systemd service which I need to have run prior to networking having started and I'm struggling with it a little. According to this: Running Services After the Network is up I need to use ...
alanbeard's user avatar
  • 141
3 votes
0 answers
249 views

Linux Malware Detection Monitoring: Clean files after hit

I'm using LMD ("Maldet") for scanning a web server with different projects. For this purpose I'm using the inotify-monitoring. Well, the inotify-log shows, that the modified files are noticed, but I ...
MyFault's user avatar
  • 913

1
2 3 4 5
38