Questions tagged [debian]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
16 views

Monit with Ansible - invalid mail format '#015'

I've been trying to install monit with an ansible playbook. I'm changing the monitrc file and when the playbook restarts monit, I get : Jun 8 08:00:30 myserver monit[1857462]: Starting daemon monitor:...
Ror's user avatar
  • 321
0 votes
1 answer
18 views

Access Debian repo in Docker build: `The following signatures couldn't be verified because the public key is not available`

When I try to build the following Dockerfile FROM debian:bullseye RUN set -eux; \ apt update; \ apt install -y --no-install-recommends ca-certificates; RUN set -eux; \ echo "deb ...
clay's user avatar
  • 215
0 votes
1 answer
39 views

Why don't I have permission to create this directory / file? Permissions on Debian 11 Linux

I thought I understood Linux permissions, but alas... why don't I have permissions here? I'm part of the www-data group: docker@docker01:/home/docker$ id uid=1002(docker) gid=998(docker) groups=998(...
Keith Palmer Jr.'s user avatar
1 vote
0 answers
25 views

exim4 doesn't apply aliases to outgoing mail

I'm not recieving error messages from my server, because they get bounced by my email provider for having an invalid "To:" address. I have a working mail setup - I can use mail to send email ...
sandyscott's user avatar
1 vote
1 answer
35 views

Differences between sfdisk and fdisk on LVM disk extend

In order to semi-automate LVM partitions extend on Debian 11 VMs clones from a template, I feel a bit stuck when I try to script it through sfdisk compared to interactive fdisk. Here's the original ...
motorbass's user avatar
  • 153
0 votes
0 answers
25 views

Why isn't my zpool listed for export when plugged into new host?

I have a zpool called 'temp' with some data I'm trying to move between systems. I used zpool export temp to export the zpool, then I unplugged the disks, and installed them in my new computer. But now ...
John Elliot V's user avatar
0 votes
0 answers
45 views

Simple Strongswan installation caused server to be unreachable through (Open)SSH

While working on a remote machine (Debian 11.7 / Kernel 5.10.0-23-amd64) I have installed Strongswan to configure it as a VPN client. apt install strongswan after this, the service strongswan-starter....
Ole K's user avatar
  • 101
0 votes
0 answers
16 views

Mounting an encrypted fs WITH prompt at boot time (LUKS, cryptsetup)

Per company policy my laptop has to be very secure in case of theft, so I have created an encrypted partition (LUKS) that I want to mount via /etc/fstab. However, I do NOT want to add passphrase to ...
LetMeSOThat4U's user avatar
0 votes
1 answer
46 views

dockerd does not start debian

Linux OS: debian11 Everything worked, but I think today after sudo apt upgrade I installed new version of docker. Then docker daemon does not start: $ sudo systemctl start docker Job for docker....
K.I.'s user avatar
  • 123
0 votes
1 answer
36 views

Can we use fdisk to partition a disk bigger than 2 TB without recompiling the kernel?

Here is my problem. Our operating system is Debian 11. The main hard disk is doing fine. I have a 6TB external volume. If I choose to use parted to format this disk it will entail recompiling the ...
user2338823's user avatar
0 votes
0 answers
26 views

Understanding ulimits / process limits, or maybe something else. New processes stop opening (fork errors)

I'm a little bit lost and need some help understand what exactly is happening with my server. So this is a Proxmox (Debian) server with several LXC containers running in it, and from time to time ...
ItsJustMe's user avatar
  • 1,001
0 votes
2 answers
71 views

Correct hostname/PTR/A for a mail server serving multiple domains?

I am amalgamating a few of my company's Debian VPSs into 1. I will be serving multiple domains, as well as their sub-domains, all of which will send emails, but not receive them (except for bounces): ...
zorkwarrior's user avatar
0 votes
1 answer
30 views

Debian 11 + ProFTPd and LDAPS

I'm trying to authenticate my FTP users from Active Directory using LDAPS over SSL (port 636). I managed to get it working using simple LDAP on port 389 and now I would like to increase security! OS ...
Cool34's user avatar
  • 33
0 votes
0 answers
33 views

How to setup pam on debian 11

I have installed debian 11 and pam-ldapd. Now, I want to setup authenticating for openvpn with pam. When I wanted to test it with 'getent passwd' command, I got only local users response. Can you help ...
Dave's user avatar
  • 13
0 votes
0 answers
115 views

What could be the reason that `apt update` says certificate is NOT trusted whereas curl says `SSL certificate verify ok`

I am trying to add docker to my Debian 11 bullseye installation. until now, I have ran - apt clean apt update update-ca-certificates apt-get install -y ca-certificates apt reinstall ca-certificates ...
Nir O.'s user avatar
  • 111
0 votes
0 answers
26 views

SSH won't ask for 2FA code

I'm trying to confiugre SSH 2FA on a Debian 11 server with Google Authenticator. I have password login disabled,only publickey-login is allowed. I already followed this and this guide, but without ...
u53r's user avatar
  • 1
1 vote
0 answers
52 views

Why does my pfsense gateway break SSL for some internal hosts?

I have a proxmox cluster with pfsense acting as a firewall and gateway for the cluster nodes and VMs. VMs have no problem, but the cluster nodes can't browse any websites using SSL, which of course ...
barrymac's user avatar
  • 163
0 votes
0 answers
34 views

Why is it not possible to establish a connection between these servers?

I have the problem that my two servers (master, worker) can not connect to each other. However, connections outside e.g. "google.com" are possible. I have already tried to allow all ICMP ...
Jerome Wolff's user avatar
1 vote
0 answers
42 views

OOM killer beeing invoked by snapd systemd timer, CPU usage locks at 100% (snapd, mount, certbot)

Im having trouble debugging why my nodeJS webapp gets killed by the OOM killer in Debian 11. Im working on a small VPS (VMware ESX 7.0.3 build-21313628) by IONOS with single core 1GHz cpu, 512MB RAM, ...
nr1chiefrocka's user avatar
0 votes
0 answers
17 views

VMWare virtualized e1000e: 2nd card failing with "Tx Unit Hang"

Ever since upgrading the only Linux VM with more than one network adapter to debian 11 it's been failing to get its second adapter to do anything. The config is fairly straightforward: Two VMWare ...
aphid's user avatar
  • 119
1 vote
1 answer
301 views

debian update fails on buildine "new" kernel

my current version $ cat /etc/*elease* PRETTY_NAME="Debian GNU/Linux 12 (bookworm)" NAME="Debian GNU/Linux" VERSION_ID="12" VERSION="12 (bookworm)" ...
francois P's user avatar
0 votes
0 answers
53 views

Filebeat docker multiline

I'm using filebeat to retrieve log files to Elastic cloud. I'd like to put errors and java exception in one document instead of multiple for each line. I managed to make it work on text log files but ...
Ror's user avatar
  • 321
0 votes
0 answers
51 views

automatic mounting of encrypted zfs dataset

As a newbie to zfs, I am having trouble getting an encrypted dataset mounted during boot. The dataset is protected with a raw key and not a passphrase. This is how I created the zpool and the dataset: ...
th0masrad's user avatar
2 votes
2 answers
267 views

Apache on debian don't redirect http to https correctly

Debian 11 config file: /etc/apache2/sites-enabled/000-default.conf <VirtualHost *:80> RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} ...
Ishayahu's user avatar
  • 187
-1 votes
1 answer
60 views

How do I resize the filesystem on a RAID0 array?

My server consists of 2x512GB and 1x3.5TB disks. root@bb2 ~ # lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT nvme0n1 259:0 0 476.9G 0 disk ├─nvme0n1p1 259:3 0 10.7G 0 part │ └─...
Mike S's user avatar
  • 99
0 votes
0 answers
17 views

php.ini file setting being ignored - tring to change upload_max_filesize

Running php8.2 with fpm - I have rebooted server, I have restarted both php8.2-fpm and apache2. I am 100% certain I've changed the correct php.ini file - infact I have changed all 3, apache2, cli and ...
Michael T's user avatar
  • 121
0 votes
1 answer
34 views

Limited shell for debian

I'm looking into a limited shell option for Debian. The idea is to have a shell with limited access and commands for specific users. The user would log in to this shell and have limited access(...
zerocool's user avatar
0 votes
1 answer
68 views

Cloud-init in kvm guests (Debian and Centos) not setting interface settings

Im trying to use cloud-init to setup kvm guests (currently Debian 11 and CentOS Stream 8), and I am looking for help in correcting the meta-data and user-data files. Everything else seems to work, but ...
Unpossible's user avatar
0 votes
2 answers
2k views

How we Fix the APT repository errors Debian os

How to fix Fix the APT repository errors I'm using Debian GNU/Linux 9.13 (stretch), how can i fix this update error ?and import the Docker GPG key? root@test:~# apt-get update Ign:1 http://security....
santosh baruah's user avatar
1 vote
1 answer
44 views

/etc/cron.d not running job [duplicate]

I need to run a script as a user to backup my database every night. I added the following cron job in /etc/cron.d/backup-mysql via ansible. 0 3 * * * backup_mysql /path/backup-mysql.sh I can see the ...
Ror's user avatar
  • 321
0 votes
0 answers
31 views

Kubernetes master fails to connect every few seconds - strange error (Debian 11 OS)

inst@k8s-master:~$ kubectl get pods -n kube-system NAME READY STATUS RESTARTS AGE calico-kube-controllers-674fff74c8-g9dkn 1/1 Running ...
Stove's user avatar
  • 1
0 votes
0 answers
36 views

Old Sphinx 0.99 on Debian 11?

I plan to move several websites that use Sphinx 0.99 including its old PHP API to a new Server running Debian 10 or 11 and wonder if it would even work to get this old Sphinx version running. To ...
Jonny 5's user avatar
  • 101
0 votes
1 answer
115 views

Debian 11 firewalld+nftables rules not taking effect

Update: after commenting out the line in /etc/hosts that is kinda like #127.0.1.1 my-host.domain.edu my-host and rebooting, the firewall does open the expected ports. I thought to do this because, ...
elliotta's user avatar
0 votes
1 answer
63 views

Fix Zabbix Java Gateway with a custom Java version (error "compiled by a more recent version of the Java Runtime")

In a production environment we have a simple Zabbix monitoring system that works very well to collect metrics from various Tomcat instances and other Java applications. In short, this is our current ...
Valerio Bozzolan's user avatar
1 vote
0 answers
112 views

debian installer - automated keyboard layout selection for hostname configuration page

I'm trying to automatically install debian using a preseed file. However, there is one piece of information, that should be entered manually, which is the hostname. To ensure that the hostname can be ...
Zulakis's user avatar
  • 4,133
0 votes
1 answer
66 views

How to send Monit alerts with MSMTP?

I've got a Debian 11 system running as a local file server. I want to keep it as simple as possible but have some basic monitoring from Monit. I've installed and configured msmtp and msmtp-mta and I'...
Vilas's user avatar
  • 71
0 votes
0 answers
39 views

OS doesn't recognize harddisk at inital startup but after reboot

I have a Debian 11 server with 4 HDD. Two of them are in a Raid 1 array. When I shutdown the server completely and then turn it on again, the boot routine stops because it cannot find the Raid 1 ...
matzr's user avatar
  • 1
0 votes
1 answer
129 views

Setting up GeoIP to work with Nginx on Debian 11

I am trying to set up Nginx v. 1.24.0 and GeoIPupdate to work so that users not from a specific country do not get access to the web server. However, as I'm following every guide I see that it is ...
Tomulis's user avatar
0 votes
0 answers
43 views

Debian Server loses network connection

Problem My debian server seems to lose network connection after a random amount of time (sometime after an hour, sometimes after a week, sometimes something in between). The server is hosted at a ...
Marco Frost's user avatar
0 votes
1 answer
47 views

gitlab runner error with environment

I have installed a new gitlab runner and am getting an error. ERROR: Job failed: prepare environment: Process exited with status 1. Check https://docs.gitlab.com/runner/shells/index.html#shell-profile-...
sflyer's user avatar
  • 1
0 votes
1 answer
57 views

ufw firewall not working as expected (block specific incoming IPs)

So, I see these Apache access.log entries coming in every minute: mydomain.com:80 95.211.199.153 - - [19/Apr/2023:23:34:28 +0000] "GET /index.html HTTP/1.1" 200 1425 "-" "Leaf/...
ThomasAtFault's user avatar
0 votes
0 answers
180 views

Proxmox Container - Temporary failure in name resolution

For my company i need to manage a proxmox machine hosted on OVH. The proxmox contains some container and i've added a new one, it's a debian 10 container. I then set the network parameters, assigning ...
64Bit1990's user avatar
  • 101
0 votes
0 answers
32 views

Process Appears and Disappears Randomly in `top`

Very similar in theme to this question, but that refers specifically to high-load processes; in my case, it's a quite unobtrusive task. It's not a matter of falling off the bottom of the terminal ...
Brian A. Henning's user avatar
0 votes
0 answers
40 views

php7.4-fpm consumes 100% CPU and loops mremap() system call

Recently I have upgraded to the mainline Debian 10 backport kernel. This morning I've noticed that the web server is very slow, and inspection showed 100% CPU usage by php7.4-fpm: PID USER PR ...
mt42's user avatar
  • 131
0 votes
1 answer
90 views

Mariadb creates a subprocess after crash

We recently had a crash on our Mariadb server (10.6.5) on a Debian 9 VM. The process was restarted without error but now there's a second mariadb process like so : mysql 26718 5.1 42.4 15062644 ...
Ror's user avatar
  • 321
0 votes
1 answer
233 views

How to send mail using exim4 via gmail smtp: how to enable SPF or DKIM without a domain?

I would like to send mail from my debian box to my personal gmail account. When I try to send emails, I receive an error from Google. This is what I can read in /var/log/exim4/mainlog: 2023-04-13 21:...
zar's user avatar
  • 103
0 votes
0 answers
31 views

How to delete Software RAID1 partition?

I have Debian 11 server with software RAID 1 without lvm: root@debian-base ~ # lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT nvme1n1 259:0 0 3.5T 0 disk ├─nvme1n1p1 259:1 0 4G ...
MAMProgr's user avatar
  • 103
0 votes
0 answers
330 views

/dev/md0 - wrong fs type, bad option, bad superblock on /dev/md0, missing codepage or helper program, or other error

I recently had issues with a raid filesystem I created and had some bad luck. I started creating a raid0 one one disk with the intent to expend it afterwards. I had data on two drives and had only one ...
noje89's user avatar
  • 1
0 votes
0 answers
175 views

Proxmox on Hetzner, 2 IPs - 1 NIC - no subnet, routed configuration

i need help with my PROXMOX / VM network problems :S that problem is similiarto but only similiar: Proxmox Routed Network Configuration on Hetzner Server i got no inet connection with my VM debian/11, ...
chris_yooo's user avatar
0 votes
0 answers
28 views

Sendmail Partial Delivery On Some Emails

I have three mail users. Each successfully send and receive mail. There is a single repeated problem email, a Web Form Notification sent from an Amazon server which is sent to all three mail users. ...
Dorothy's user avatar
  • 179

1
2 3 4 5
151