Questions tagged [debian]
Debian is a popular and influential GNU/Linux distribution. Questions here should generally be about Debian Server.
7,470
questions
0
votes
0
answers
26
views
How to properly set up private key for gitlab runner
I would like to make this scenario possible (some problem unrelated aspects were simplified for better understanding)
Imagine we have a simple gitlab repository with only two files.
index.html - ...
0
votes
1
answer
16
views
Authenticating via SSSD but Unix Auth logs a failure
I have WinAD authentication working on all 20+ of our Debian 11 servers. We also have a handful of CentOS/Rocky servers working correctly.
Login to one of the Debian machines causes the following logs:...
-1
votes
0
answers
34
views
How to secure Cloudways server from virus and malware [closed]
I have been using Cloudways server for some time since i did hosting mostly on Windows based server and did install Antivirus as measure as we allow user to upload files which could be infection and ...
0
votes
0
answers
19
views
Linux user access to file that is a soft link
I'm using Certbot to implement LetsEncrypt generated certificates on a Debian 11 server. Certbot was run/setup while logged in as root. This solution creates two files, fullchain.pem & privkey.pem,...
0
votes
1
answer
97
views
MySql: ERROR 1045 (28000): Access denied for user 'root'@'localhost' although password is okay
I run Debian 11 with mariadb and everything worked fine. Just yesterday I saw that different commands, such as "/etc/init.d/mariadb reload" or "mysql -u root" bring the error:
...
0
votes
0
answers
13
views
dynamic app instance on demand : docker ? rancher ? k3s?
I would like to launch dynamic Wordpress instance i.e. "on demand" when a user want to test Wordpress (Wordpress for example). I have a bare metal server.
Example scenario :
A user will ...
0
votes
1
answer
31
views
VPN started with Network Manager doesn't configure routing table correctly
I have a Debian 11 system that has been configured to connect to a remote network via VPN. This has been functioning fine for a long time (since Debian 9).
Recently, the remote network made some ...
0
votes
0
answers
17
views
Can't call apache2 web server from local network, but outside works fine [duplicate]
I have a Debian 10 server where I have installed Apache2. I have a domain, let's call it mydomain.com, pointing to my public IP address. The server runs fine, as I can access it with no problems using ...
0
votes
0
answers
7
views
puppetdb does not start on ubuntu 16.04
puppetdb on ubuntu 16.04 does not start, i am not able to find any specific reasons, any ideas anyone?
root@pupper-master1:/etc/puppet# dpkg -l | grep puppet
ii puppet 4.8.2-...
0
votes
1
answer
40
views
Exim wont start using systemctl but it will via exim debug
I have a problem where Exim4 will not start/restart/reload... nothing works via /etc/init.d/exim4 nor systemctl start exim4... Both produce no output on the console - the start procedure just hangs ...
0
votes
1
answer
30
views
HTTPD + MPM_EVENT + PHP_FPM
I have created a docker container with the following
OS: Debian 11
WebServer: httpd2.4 (Enabled mpm_event)
Backend: PHP-FPM
Docker is running in EC2 and I have given 10GB RAM and 5CPU for the docker ...
0
votes
0
answers
18
views
Debian 10 fresh install => apt error "tiemout"
I'm trying to install sudo to allow users (like Ansible) to access the machine with sudo privileges though SSH. So far, I'm blocked with errors like this :
"Impossible d'initialiser la connexion ...
0
votes
0
answers
23
views
Iptables does NOT forward my servers packets
I'm having troubles using iptables with my Debian 11 VMs. So, I got two Debian 11 servers and I want "Server1" to allow Internet connection through it so "Server2" can have ...
0
votes
0
answers
31
views
A networked filesystem spontaneously mounted on my VPS and I'm not sure what, why or how
This VPS was more or less idle during the days when this happened. The host (Scaleway) did not perform any maintenance or upgrades during this time, nor did I interact with the VPS directly or through ...
0
votes
0
answers
41
views
Wireguard - Can't connect to private url
We moved from OpenVPN to Wireguard recently. Our sales people need access to a private URL on our infra accessed via VPN. The domain is resolved by a private DNS.
Everyone in the company managed to ...
0
votes
1
answer
39
views
freeze on "Loading initial ramdisk" debian 9
I have a functional debian 9 (kernel 4.9.0-19-amd64) on an old pc, I made an image of this debian with clonezilla and I put it on a newer pc...
I know it's bad ^^
My concern is that when I boot ...
0
votes
0
answers
20
views
"rewrite or internal redirection cycle while internally redirecting to" Nginx
rewrite or internal redirection cycle while internally redirecting to
"/opt/soa/adminControl/v1/ro42/", client: 127.0.0.1, server: _,
request: "GET /opt/soa/adminControl/v1/ro42/ HTTP/1....
0
votes
0
answers
10
views
How can i make apache limit requests to a certain url within a certain time frame?
I'm trying to use mod_evasive and mod_rewrite to accomplish this. With the configurations below apache just blocks all access to those URI's regardless of how many times a visitor accesses them within ...
0
votes
0
answers
61
views
Debian Failed at step EXEC spawning - Systems Service - Permission Denied
I'm following this tutorial exactly line by line:
https://docs.meilisearch.com/learn/cookbooks/running_production.html#step-4-run-meilisearch-as-a-service
It has a step to setup the Meilisearch as a ...
0
votes
0
answers
46
views
Destination Host Unreachable: Failover IP Addresses
I have added two additional IP addresses following this guide: https://docs.ovh.com/ie/en/dedicated/network-ipaliasing/#debian-9-ubuntu-1704-and-arch-linux_1
cat /etc/systemd/network/50-default....
0
votes
0
answers
7
views
Trouble figuring out how to configure Nessus Scanner version 10.x to use two way TLS to scan Database
I have a MySQL 5.7 database that requires two-way SSL/TLS for any clients attempting to connect to it. I have the requisite keys and certs for the connection, however I do not know how to configure ...
0
votes
1
answer
13
views
Sending InfluxDB2 Logs to dedicated Logfile
On Debian, my Influxdb2 v2.6 instance runs with systemd and writes the logs to stdout. But I want to send the logs to a dedicated logfile like /path/to/influxdb.log.
How can I change this behavior? ...
0
votes
0
answers
24
views
Debian 11 VM sudden CPU overload due to Node.js
I'm currently running into an issue where one of our Proxmox VMs, running on Debian 11, suffers of very sudden CPU overloads. This has happened past week already and again today. When this happens, ...
0
votes
0
answers
16
views
Apache Virtual Host Server Name Bug Involving A Subdomain Name With Numbers
Hi I have a virtual host on my apache server that isn't working, i've narrowed it down to it being the server name, particularly the server1a (1) part because if I remove the 1 it works but have ...
0
votes
0
answers
19
views
Open VSwitch - Connect two virtual networks through two physical networks
I managed to setup the following network configuration :
HOST1 and HOST2 are two physical machines running Debian OS.
They have both two network cards (eth0 and eth1), each of them connected to two ...
0
votes
1
answer
49
views
Cloud-init installing packages on Debian with contrib sources
I need to install some zfs packages on Debian instances using cloud-init. One of the packages needs the contrib sources. I can get it to update the sources list, but the packages fail to install. If ...
0
votes
0
answers
55
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 ...
1
vote
1
answer
79
views
ssh server show message after login successful
I have one debian ssh server question , I want to display a message after successful login
I have used motd, but the localhost will display it. I don’t want the local machine to display it. I only ...
0
votes
2
answers
110
views
NFS Mouting Failing due to illegal port
I have a VM machine that has a public IP interface and a private IP interface. The private interface is assigned 192.168.50.78. Then I have a dedicated host that acts as my "router" using ...
0
votes
0
answers
51
views
Can't create a pseudo network interface on Debian 11
I have a KVM based Debian 11 (bullseye) VPS with internet access on eth0 network adapter. The public IP has been assigned by DHCP. The IPs and Routes are as what follows:
ifconfig and iptable BEFORE ...
1
vote
0
answers
65
views
Routing issue on Debian 11 VM
I updated my OPnsense "router/gateway" to 23.1 a few days ago, and now I am experiencing an issue with one of my machines. I have one machine with OPnsense installed that acts as a basic NAT ...
0
votes
1
answer
244
views
Can't correctly bring up a second network interface on Debian 11
I'm currently coding a network configuration role used by Ansible to customize our fresh new virtual machine that came from our Debian 11 template.
I got a weird issue while I try to set up and ...
0
votes
0
answers
14
views
3% of Sendmail Localhost Relays are Deferred
Using Debian 10.3 and Sendmail Version 8.15.2, mail being sent with relay=[127.0.0.1] results in stat=Deferred: Name server: [127.0.0.1]: host name lookup failure. This occurs only 3% of all localhost ...
0
votes
0
answers
41
views
Dovecot: Failed to get quota resource & Internal quota calculation error
Dovecot 2.3.13 gets the correct filesystem quotas but is not able to report it by IMAP:
/etc/dovecot/conf.d/90-quota.conf:
plugin {
quota = fs:User quota:user
}
Quota Plugin is enabled globally and ...
0
votes
2
answers
92
views
How to debug Linux server reboots?
I have a Debian 10 server that keeps rebooting. journalctl offers possibility to list last boots:
journalctl --list-boots
-6 1ee519dc5bc24e88af75cc609ee32093 Mon 2023-02-06 21:02:02 UTC—Sun 2023-02-12 ...
0
votes
1
answer
54
views
Automysqlbackup does not use the configured password
I have automysqlbackup installed on debian. I added USERNAME and PASSWORD to /etc/default/automysqlbackup, but when automysqlbackup runs, I get the output:
/etc/cron.daily/automysqlbackup:
ERROR 1045 (...
0
votes
0
answers
68
views
Multipath routing for backup gateway
I have a debian server with 1 NIC, on my network I have two ISP's.
It's possible to have two gateways on a single NIC, one Primaray Gateway and other for Backup/fallback in case of the internet on ...
1
vote
1
answer
88
views
Forcing static IP on libvirt
I've seen this question and others online, yet my problem persists.
I have a gentoo host with the following interface:
virbr0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet ...
0
votes
1
answer
49
views
i am root but ufw status says 'command not found'
as simple user, first I pass root with command :
su
I am now root on Debian 10 buster.
When I hit ufw status, I have 'command not found'. But it works with sudo ufw status
When I use su -, the command ...
0
votes
0
answers
68
views
Failed to execute /usr/local/bin/alertmanager: Permission denied
I'm trying to configure prometheus alertmanager on Debian 11
with the following unit file:
[Unit]
Description= Prometheus Alertmanager
Wants=network-online.target
After=network-online.target
[Service]...
1
vote
2
answers
60
views
Build a debian package which includes a template myservice@.service
I need to build a package for a program that should be deployed as a service.
I have added a debian/helloworld.service and my package is built, installed and works correctly, i have a /lib/systemd/...
1
vote
1
answer
488
views
Rootless docker fails with `systemd error: Interactive authentication required`
I followed the guide on https://docs.docker.com/engine/security/rootless/ for running Docker on a Debian (testing) machine. After stumbling across some paths that are apparently not configured ...
0
votes
1
answer
488
views
error ModuleNotFoundError: No module named 'lsb_release' when trying to run lsb_release -a
Seeing the following output when trying to run lsb_release on Debian:
(venv) vm-1671541226:/$ lsb_release -a
Traceback (most recent call last):
File "/usr/bin/lsb_release", line 25, in <...
1
vote
1
answer
36
views
Why can't I attach custom fields to the journal with systemd-run --user?
I want to run a program in a transient unit with systemd-run, using the user-level service manager (--user), with some custom fields attached to the journal.
According to the docs I can use ...
-2
votes
1
answer
51
views
Recover root password on debian
I lost root password for Debian server.
it's runing very important services like radius server and wifi controller
How I can recover password without lose data?
0
votes
1
answer
97
views
How to securely erase drives on PERC H710 mini in Dell
The controller doesn't let me convert drives to JBOD for some reason, so I can't reach them with hdparm to send --security-erase-enhanced ATA command. So I decided to use MegaCli for which I found two ...
0
votes
1
answer
41
views
Debian security release
I have noticed that there is a "security" release listed in the Debian security tracer.
Some of the vulnerabilities are only fixed in the "security" release, which might be still ...
3
votes
1
answer
333
views
Disable ipv4 with /etc/sysctl.conf | GNU/LINUX Debian 11
I can disable ipv6 as su in /etc/sysctl.conf on my GNU/LINUX Debian 11 with
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
and restart with
/sbin/sysctl -p
when i try to ...
0
votes
1
answer
17
views
Webserver firewall iptables settings seem to be blocking more than expected
I am trying to allow all incoming connections from my local network, and http/https connections from anywhere while blocking all other traffic.
Here are my current rules:
Chain INPUT (policy DROP)
...
0
votes
0
answers
42
views
DL360 G7 over IPMI using Java web start fail
I just been able to setup this old greyed hair machine to be accessible with the same external IP, iLO and server itself (shared port).
But i just tried to use the IPMI directyly accessible from iLo ...