Questions tagged [debian]
Debian is a popular and influential GNU/Linux distribution. Questions here should generally be about Debian Server.
0
votes
0answers
5 views
Why does Debian's PHP sessionclean script touch all open files first?
I'm studying /usr/lib/php/sessionclean at the moment. There is one thing I don't fully understand. What is the purpose of touching all opened session files before cleaning up? I understand that this ...
0
votes
0answers
6 views
maldet not sending emails on scans but send on manual request on report
So i am having maldet running on daily scans and i am not getting emails sent of scan reports, also when i run manual scans maldet finish scan but not sending email reports. But when i want to send ...
0
votes
0answers
17 views
How to mount Apple RAID on Debian server?
I have two Samsung ssd's in a RAID 0 configuration. It was made with Disk Utility on macos Mojave.
I would like to mount them on a Debian server but I can not figure out how or if it is possible at ...
0
votes
0answers
18 views
can't ping my own IP address (interface with multiple IP Addresses)
I have a server where one of its interfaces (eth2), has multiple IP addresses:
$ ip addr show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default
link/loopback 00:...
-1
votes
0answers
13 views
Migrating postgres data from PC to DB
I've dumped my data to a file using: pg_dump database > file
When I try to import it on my debian server, using: psql database < file it works for the most part but then crashes saying:
...
...
0
votes
1answer
15 views
swaks failing on ipv6 despite forcing it to use ipv4 with -4 switch
swaks -4 -S -t user1@example1.com -f user2@example2.com -ao -au user2 -ap ***** -tls -s example3 --header Subject: Q4mSShEEoYnAviWg
*** Error connecting to example3:25:
*** IO::Socket::INET6: ...
0
votes
0answers
4 views
apt-cache policy output and version mismatch
Issue: Cannot update nginx packages (Debian version 8.11)
The following packages have been kept back:
nginx-common nginx-light
The following packages have unmet dependencies:
nginx-light:
...
0
votes
1answer
36 views
Error upgrading irqbalance: insserv rejected the script header
I was upgrading my debian 8 system when one package produces an error:
apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
...
0
votes
1answer
17 views
How can I check the realease of a package in debian?
I am planning to do an upgrade on my system and I have a mix of three releases, there are some packages from wheezy, some from jessie and some of stretch.
I would like to get the list of the packages ...
0
votes
1answer
35 views
Apache stops responding to requests
There is a lightly loaded web server. Debian jessie, apache2, python app.
There is a simple curl script, on the same machine, that sends an alert if apache does not respond. Sometimes apache stops ...
0
votes
1answer
41 views
Install Nvidia Drivers 9.0 for TensorFlow pip (Debian 9.7)
I installed Nvidia drivers 9.1 on my Debian 9.7 (Dataproc)
when I try to run TensorFlow 1.9 via this test script it fails:
Used this guide to install GPU Drivers: https://cloud.google.com/dataproc/...
0
votes
0answers
32 views
Why top is showing wrong steal time?
I have a high processor load on the server. When I staring top, it's showing steal time 99, but after a second it becomes 0.
But in iostat steal time equals 99
Debian GNU/Linux 8 (jessie)
0
votes
0answers
6 views
Debian Linux NAS server sometimes freezes my LAN (Debian v8.11 Jessie, OpenMediaVault 3.0.99 Erasmus NAS)
I have a NAS server, using Debian Linux sometimes freezes my LAN (Debian v8.11 Jessie, OpenMediaVault 3.0.99 Erasmus).
Router: ASUS RT-N18U
Sometimes when the whole NAS server freezes and at the ...
0
votes
1answer
28 views
apt-cacher-ng: 406 Not Acceptable response with HTTPS
I try to set up apt-cacher-ng to cache all apt packages for the local network. But with the graylog repository I have some trouble.
System: Debian 9 with apt 1.4.0 and apt-cacher-ng 2-2
On a server ...
0
votes
0answers
41 views
Slow SSH Remote port forwarding
first of all, I apologize for my bad english, I'm not a native speaker.
I'm currently having troubles using SSH remote port forwarding. I've got customer's systems (running Debian 8) that keep active ...
0
votes
1answer
38 views
Valid DKIM but “body hash did not verify” error on Outlook / Hotmail / Live?
Why do I get dkim=fail (body hash did not verify) on Outlook / Hotmail / Live when I have a valid DKIM setup in place?
I've made sure that my SPF, DKIM, DMARC records are set up correctly and the ...
0
votes
0answers
20 views
difference between local and inet socket?
I noticed that, while setting up opendkim, the options for the Socket are:
#SOCKET="local:/var/run/opendkim/opendkim.sock" # default
#SOCKET="inet:54321" # listen on all interfaces on port 54321
#...
0
votes
0answers
28 views
mdadm shows bad blocks presents
I'm checking a 4disk X 1TB raid5 array + cryptluks + lvm with 2partitions, / and /home. First I got a "not enough operational devices 2/4 failed" "Failed to RUN_ARRAY /dev/md/1: Input/output error. ...
0
votes
0answers
17 views
debian 8 host with samba server filesharing doesn't work on KVM/qemu VM's over bridge mode
i have the problem, that my debian 8 server where a kvm/qemu and a samba server is running has the problem, that i cant connect from any VM to the fileshare folder. i can see the host over the network ...
0
votes
1answer
66 views
POSTFIX Won't Start says: bind 0.0.0.0 port 25: Address already in use
Sorry, I've read tons of related topics but didn't get solutions for my issue.
Suddenly this morning, POSTFIX did not respond. I didn't do anything special in my server.
POSTFIX status says :
...
0
votes
0answers
10 views
fail2ban action error: fail2ban.action: ERROR iptables -w -D INPUT -p tcp -m multiport --dports ssh
I'm getting following error in logs:
fail2ban.action[7487]: ERROR iptables -w -D INPUT -p tcp -m multiport --dports ssh -j f2b-sshd#012iptables -w -F f2b-sshd#012iptables -w -X f2b-sshd -- stdout: b''...
0
votes
0answers
30 views
SSH cannot connect from the internet/no ping from router
I'm trying to open ssh of my server to the Internet so that I can do remote management, but it's not working.
Drilling down the problem, I found out that I cannot also ping my server from the ...
0
votes
0answers
11 views
Debian does not auto-start bridge
/etc/network/interfaces looks like this:
# The loopback network interface
auto lo
iface lo inet loopback
allow-hotplug auto
iface eth0 inet manual
pre-up ip link set up dev $IFACE
pre-down ip ...
0
votes
1answer
10 views
Deleting root pfifo_fast (tc) on Linux
I'm trying to delete all qdiscs to do "fresh" configuration:
% tc qdisc del dev enp0s25 root
RTNETLINK answers: No such file or directory
But it's there:
% tc qdisc show
qdisc noqueue 0: dev lo ...
1
vote
0answers
14 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 ...
0
votes
0answers
15 views
auditd exclude logging SSH user
Linux 4.9.0-7-amd64 #1 SMP Debian 4.9.110-3+deb9u2 (2018-08-13) x86_64 GNU/Linux auditd-2.6.7-2 amd64
There's user (user1 - auid=1002) - ssh account (SSH tunnel for remote MySQL connections). I need ...
1
vote
2answers
75 views
Installation of pecl_http on PHP 7.3 / Debian 9 Stretch fails
I am trying to install pecl_http in PHP 7.3, however, there is an error:
root@dev:/etc/php/7.3/mods-available# pecl install pecl_http
downloading pecl_http-3.2.0.tgz ...
Starting to download ...
0
votes
0answers
26 views
LARADOCK (laravel) container and MAILCOW docker container conflicting
I´m using Debian 9.
PROBLEM: I can only reach my subdomain by appending a specific port
Summary: I´m running two docker containers (laradock and mailcow). Both of them have their own instance of a web ...
0
votes
1answer
40 views
Crontab timings confusion
Can somebody please eplain why a weekly cron job I'd assumed would run at 06:47 on Sunday morning in fact ran at 00:10 on Tuesday morning?
This is a fairly virgin Debian Stretch box (been up a while ...
1
vote
1answer
16 views
Finding SMART status of SATA disks in HP SmartArray
I'm trying to find SMART params of the disks in my array, it seems that simple way does not work:
% smartctl -d sat --all /dev/sg0 -H
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.9.0-8-amd64] (local ...
0
votes
0answers
19 views
Using runit instead of rc.d on Debian with Rex
I have systems that ensures that their services are running by runit instead of rc.d or systemd on Debian, and I am trying to use Rex to start building a coherent setup across my systems.
I would ...
-1
votes
3answers
35 views
Debian 9 - rc.local deprecated, how to launch python at startup
I am slightly lost, I have a Debian 9 server and a Python Flask script that I am trying to launch at startup.
In the past I have used rc.local to launch things at startup but from reading it seems ...
3
votes
0answers
77 views
Where does Virtualbox keep home directory path configuration data? [migrated]
I have reinstalled my system, and simply copied over my old home directory. However, I have also changed my user name.
When I attempt to create a new virtual machine, I'm presented with the error:
"...
0
votes
0answers
21 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.
...
1
vote
1answer
56 views
Extremely slow writing to external USB disk
I have measured the transfer on the following disk to be 2.75MB/s:
iManufacturer 2 Seagate
iProduct 3 BUP Slim SL
The interface is USB2 so it should be fastered than that:
...
0
votes
0answers
6 views
HostnameCanonicalizationWorker error of host with mongod
Context
debian stretch
mongod version v3.2.11
Issue
I got exactly the same error as this post
but the answer do not work in my case.
This is the error output from mongodb.log :
... start logs
...
...
8
votes
2answers
613 views
nic: Something Wicked happened! ffff
I'm configuring a GNU/Linux Router with Debian Stretch (9.7) and before rebooting the server, all traffic from one interface to another was going ok, but after that, I received a message like this (...
1
vote
0answers
20 views
Openvpn tun0 loses IP and route
My OpenVPN client setup just stopped working, maybe/likely linked to a recent update of Debian (testing).
The end result is that the openvpn daemon looks happy and gives me the right syslog messages, ...
2
votes
1answer
66 views
quotacheck: Cannot stat() given mountpoint –cugv: No such file or directory
I am trying to enable quotas on an ext4 partition of a Debian 9 VM.
The partition is mounted on /public with the usrquota,grpquota options. The machine has been rebooted.
Here is what happens:
root@...
0
votes
1answer
11 views
Debian wheezy, update repository
I'm working with a Debian GNU/Linux 7.5 (wheezy)
When I check the file /etc/apt/sources.list The file has this line:
# Line commented out by installer because it failed to verify:
#deb http://...
0
votes
0answers
25 views
Dovecot are not delivering spam emails to Junk folder - Debian 9, postfix, spamassassin
I followed this answer
but the spam emails aren't being delivered to Junk folder
My files:
/etc/postfix/master.cf
#
# Postfix master process configuration file. For details on the format
# of the ...
0
votes
0answers
21 views
(Debian) Running two mail- and web- servers at the same time in different docker containers
I´ve setup a Debian Webserver with two docker containers:
- a laradock container (laradock.io - Documentation availible at laradock.io).
- a mailcow container (mailcow.email - Documentation ...
1
vote
1answer
22 views
How to check if APT package *needs* interaction on upgrade before running the upgrade itself?
Some APT packages upgrade without asking any questions, e.g. if no configuration files are changed. Others don't.
I would like to check if a package needs or "wants" interaction on upgrade.
I do not ...
3
votes
1answer
59 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
1answer
127 views
How to install multiple PHP versions in Virtualmin 6, Debian 9 [closed]
By default Debian 9 comes with PHP 7, but I was interested in PHP 5 for older websites as well.
I tried following/adapting this guide (not virtualmin specific)
https://pehapkari.cz/blog/2017/03/27/...
0
votes
0answers
17 views
How to configure Postfix in Debian 9 to send emails using verified email address in AWS Simple Email Service?
Let us say I have verified an email address webserver@example.com is AWS SES for use. When the backup scripts that are run with cron fail to execute successfully I want the Postfix mail server on ...
1
vote
1answer
14 views
How can I remotly monitor a Node process making sure it's running using outbound HTTP heartbeats vs inbound?
I would like the process itself to send heartbeats vs receiving them from services like Amazon Route 53 health checks.
I would like to avoid running a web server on that process.
2
votes
1answer
58 views
[27759]: ERROR Failed to execute ban jail 'sshd' action in fail2ban log
On my Debian 8 server, I see lots of this error in fail2ban log.
[27759]: ERROR Failed to execute ban jail 'sshd' action 'iptables-multiport' info 'ActionInfo({'ip': '1.1.2.2', 'fam
ily': 'inet4',...
0
votes
1answer
18 views
systemd attempts to mount davfs2 too early - before DHCP address received
I'm trying to get davfs2 to mount a WebDAV folder automatically on debian stretch at boot.
It seems that systemd attempts to mount the folder with mount.davfs before the DHCP client has an IP address ...
0
votes
2answers
41 views
Debian with iptables and fail2ban not ban IP
I have server with Debian 9.
I have installed fail2ban and configured it. It work with sshd (ban IP on failed logins) but i can't make it work with apache-auth (IP is ban but iptables don't block it).
...