Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [debian]

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

-2
votes
0answers
15 views

Tor service not working every time I restart, saying active (exited) [on hold]

I am trying to run the tor service on a Debian Stretch machine, and it works intermittently. However, after every successful start, upon the time I try to start it again, it doesn't work. When I run "...
0
votes
0answers
8 views

Postfix header conditional rewrite

in my mail server I have a mailbox me@mrtsolutions.it and an alias ciao@mrtsolutions.it which send all to me@gmail.com. Now when I send from user@gmail.com an email to ciao@mrtsolutions.it, I receive ...
0
votes
0answers
19 views

No signing table match for <user@gmail.com> in OpenDKIM configuratio

I have a problem with my opendkim configuration. I have the alias ciao@mrtsolutions.it that forward all to mymail@gmail.com. When I send email to alias ciao@mrtsolutions.it from me@mrtsolutions.it, I ...
0
votes
0answers
15 views

DHCP Config Issues

I'm trying to make Raspberry Pi into router, providing devices with internet connection as well as creating a small network based on it. Used packages are hostapd(for wlan ap) and isc-dhcp-server. ...
0
votes
0answers
12 views

GIT login via MySQL on Debian

I have a SVN server set up where login can be done via virtual users (mysql). Those users can login to another services like proftpd and postfix. No real users exists in the server. The SVN login ...
0
votes
0answers
25 views

Reinstalling broken kernel 4.9.0.9 on Debian Stretch

Following recent Intel chip bugs I upgraded my Debian Stretch server. Microcode updated OK, but update-initramfs was hanging. So I killed it and tried to remove the kernel before trying to reinstall ...
0
votes
1answer
33 views

Sendmail trying to find hostnames in headers for no good reason

I have a client who uses an external mail server to log and filter their inbound email before passing it on to their main mail system (which is Office365). The external server is running Sendmail, ...
2
votes
1answer
22 views

NTP Servers Not Syncing At Boot

Backstory: I have a couple of internal startum 1 NTP clocks with GPS receivers, and 2 public NTP servers that are virtualized on top of VMware ESXi which take time from the S1 clocks and distribute it....
-1
votes
0answers
18 views

debian stretch + bind 9

trying to setup a secondary authoritative name server, no recursions. I get the following when running named-checkconf. /etc/default# named-checkconf /etc/bind/named.conf /etc/bind/named.conf....
-1
votes
0answers
14 views

How to setup local network passwordless mail gateway to one single gmail account [closed]

I have several linux and windows boxes on my home network. I also have Rpi (first one with 1core cpu; model B without +) acting as my core server for dhcp and local dns only. Rpi newest raspbian ...
-2
votes
1answer
24 views

How to install ab (ApacheBench) on Debian/Ubuntu and CentOS? [closed]

How to install ApacheBench on Debian/Ubuntu and CentOS from packages repo?
2
votes
1answer
23 views

libvirt-lxc container on Debian buster with user namespacing not always startable

I have a bunch of libvirt-lxc containers whose configuration I migrated from Debian jessie to a fresh Debian buster host. I re-created the rootfs’ for the containers using lxc-create -t debian -- --...
0
votes
0answers
15 views

Tar is not Finishing When Running as Cronjob [duplicate]

My goal is to regularly pack the most important files on a server into a tar.gz file. In order to automate this I am using a cronjob to execute a script: $ crontab -l # blablabla * * * * * /home/...
2
votes
1answer
48 views

How to troubleshoot internal DNS resolution (Windows DNS server) pointing to a local server with a static internal IP address

To better explain the set up I have a Debian server in a private network with a static IP. There is a windows AD server that resolves DNS for clients internally. A domain name is already registered ...
0
votes
0answers
26 views

Debian 9 server stops responding, fans at 100%

The last week my SuperMicro server has stopped responding three times. It's been running for ages before this without issues. Server stops responding to anything (ping, ssh, everything) Attached ...
0
votes
0answers
19 views

TLS 1.1 on an HP T410

I have a bunch of HP T410 in my organization environment, and I'm not able to use them with Imprivata appliance version 3. The T410 are in ThinPro 4.4.0 version, that is the last one available for ...
0
votes
1answer
22 views

How to set the apache2.conf for same domain different directory?

Environment: apache 2.4 + debian 9. I have build a wordpress in directory /var/www/html/wp1,setting on /etc/apache2/apache2.conf. <VirtualHost *:80> DocumentRoot /var/www/html <Directory /...
0
votes
0answers
25 views

Debian wheezy security says The following packages cannot be authenticated

Post-migration of security Debian to archive for wheezy, all packages are showing un-authenticated. We don't want to allow installing un-authenticated packages but need to fix it. Referred wheezy-...
10
votes
1answer
225 views

Debian 9 server no sshd in auth.log

On one of my servers, Debian 9, there is no output from sshd in /var/log/auth.log. In fact, if I do ag sshd in /var/log, it just doesn't appear. The only thing in auth.log is systemd-logind. In fact, ...
1
vote
0answers
21 views

Why open files limits set correctly on dedicated server but not on KVM machines?

I have set open files for all users on a dedicated server A in /etc/security/limits.conf like below: * hard nofile 1048576 * soft nofile 983040 And in /etc/pam.d/common-session I have ...
-1
votes
1answer
39 views

Is it possible to receive mail on the internet without an MTA? [closed]

I just need to be able to receive email on my Debian server, not send it. How can I do this with the lowest memory/CPU footprint? Do I still need a full MTA?
-2
votes
1answer
64 views

LVM resize / full system encrypt (reinstall no possible)

Seen few questions on this, but the general answer was just reinstall. Although that is the best and easiest solution, this unfortunately is not possible in my situation. I was thinking of the ...
1
vote
0answers
20 views

x11 forwarding: Server has no GPU - and no swrast_dri.so

I am trying to set up my server so that I can use Chromium remotely, which I need to put away some of the silly IP restrictions... Therefore, I need to utilize X11 forwarding and - apparently? - need ...
-1
votes
1answer
30 views

After installing sysstat on an AWS EC2 instance: kernel: ena: Feature 27 isn't supported

After installing and enabling sysstat on an AWS EC2 instance I get the following log entries everytime sysstat is run (from the cronjob in /etc/cron.d/sysstat) in my /var/log/syslog file on Debian: ...
1
vote
0answers
28 views

Postfix isn't delivering Mails only to one specific user

Our Mailsystem includes a Postfix, openLDAP and Cyrus. All run smoothly till last week. When I created a new Mailbox for a user who before had only an Alias with an forwarding external Mailadress. To ...
0
votes
1answer
20 views

PHP creates files as root user instead of nginx

I've set up a new server on Debian Stretch. The web server user is nginx: ps aux | grep -E '[a]pache|[h]ttpd|[_]www|[w]ww-data|[n]ginx' | grep -v root | head -1 | cut -d\ -f1 nginx I have already ...
0
votes
0answers
16 views

Best practice for <Include> file placement?

I'm migrating an apache configuration from a Red Hat machine to a Debian machine, and the source configuration uses directives in its site configurations. Debian clearly has opinions about how ...
0
votes
0answers
8 views

MariaDB fail to start (NO_NEW_PRIVILEGES) [duplicate]

I have a similar problem that here : Why won't MariaDB start after upgrade (NO_NEW_PRIVILEGES) But I can't upgrade the kernel (this is a vps). Does someone have an idea ?
-1
votes
1answer
33 views

a2enmod not working on debian (buster)

Running a2enmod gives: bash: a2enmod: command not found I've hunted high and low and can't find any answers. Is there something I need to do/install?
0
votes
1answer
25 views

Adding a bridge on top of a bonded interface that have multiple ip?

I have a server that has three static IP addresses. I'd like to add a bridge to these settings. I tried to add the bridge this way but it doesn't seem to be working. auto bond0 iface bond0 inet ...
0
votes
2answers
74 views

Tomcat : Basic authentication spam causing server overload

We have a Debian based server running Tomcat behind a load-balanced webserver. As it's for development, we have added basic authentication in tomcat with username and password. But we are getting so ...
0
votes
0answers
7 views

Cant hide mouse cursor on embedded Debian [migrated]

I am working on a Debian-based Dragon Board (410C) system. The system will produce a touch screen that triggers some functions of a car. I am trying to hide the mouse cursor in my application. ...
0
votes
0answers
38 views

Linux : FTP connection from server to server not working

I am working on logging into ftp from our Debian server to another server. It's working from localhost, but not from our server. I have opened ports 21,22 with the following command, but no luck. The -...
0
votes
1answer
35 views

freeradius mac authentication error (mac address not found?)

So I set up a freeradius 3.0 server on Debian 9 following the official documentation here and here. I have an authorized_mac file with the addresses of my devices and in the file /etc/freeradius/3.0/...
0
votes
0answers
5 views

How do I generate Contents-<arch> file for local Debian repository

I found instructions how to generate Packages and Sources files for local repository, however cannot find any for Contents- file. Could someone point me to the right direction?
0
votes
1answer
16 views

Use OpenVPN connection the execution of one program

On Debian, is it possible to run an OpenVPN connection such that it is only used for the execution for one program? In other words: Other programs use network as normal Only the one program that is ...
1
vote
0answers
9 views

change amanda backup user account on Debian

Is it possible to change the account that runs the amanda client on a Debian host? My site is predominately CentOS 7 and all the amanda clients use amandabackup as the client login. I need a few ...
0
votes
1answer
50 views

How to connect Linux Firewall IP whitelisting with database?

The problem is my dedicated box is getting ddosed. I would like to setup Linux firewall that would whitelist the ip addresses that would be listed in the database. Basically the process should be - ...
0
votes
1answer
40 views

google-authenticator codes not working while emergency scratch codes do it right

Installing google-authenticator on a Debian behind another Debian firewall in a very restricted configuration on connectivity (NetinVM, a virtual machine constellation inside a VM) Installation goes ...
0
votes
0answers
9 views

Why can't I execute .bashrc directly and what is “sourcing”? [migrated]

My .bashrc has the following permissions: -rwxr-xr-x So it's labeled "executable". My newbie brain tells me I should therefore be able to just run it. But when I try $ ./.bashrc I get: ./.bashrc:...
0
votes
0answers
13 views

Minimal Postfix relay configuration accepting only TLS connections of authenticated users

I have a mail (and web) server running Debian 7 with Postfix 2.9. Currently Postfix is essentially used as a mail forwarder; there is only one mailbox (root) which is accessed locally with the "...
9
votes
2answers
1k views

How does debian/ubuntu knows a package has a updated version

If my understanding is good, with apt update, Debian download a release file and with this file, it can tell if a package needs to be upgraded and with which dependencies. How does it do this? Th ...
0
votes
1answer
22 views

Exim4 error when adding router for autoreply “cannot be resolved at this time: error in redirect file: missing or malformed local part”

I've installed and configured Exim4 on Debian9. Everything works fine until when I add a router/transport for autoreply. I added those fields: [Router section] uservacation: driver = redirect ...
0
votes
1answer
59 views

Debian 9 - Unable to update apt

I recently installed Debian 9 and since some days ago I can't update apt. I tried to ping other PC in LAN network and it can't reach they but it can ping the router. From other PC of the LAN network I ...
0
votes
0answers
36 views

backup and restore Debian system

I'am trying to save my Debian system on USB storage (mount in /mnt/backup/), for this I used this command : sudo rsync -aAXv / –exclude={"/dev/*", "/proc/*", "/sys/*", "/tmp/*", "/run/*", "/mnt/*", "/...
0
votes
1answer
66 views

Create own ovpn file from using certificate and key

Recently, i set up a raspberry such as a little server for doing some practise with networking and on it i installed OpenVPN. For sample certificates i used the command pivpn -a, as suggested by ...
0
votes
0answers
55 views

Fail2ban not finding IP on which to act

I have two jails running. apache-test is a test one I made because postfix-auth wasn't working. apache-test works with no issue. Fail2Ban v0.9.6 Raspbian GNU/Linux 9 (stretch) Edit: I uninstalled ...
0
votes
1answer
60 views

Prevent intruders to send emails from myself (Postfix)

recently we have been victim of a simple phishing. Yet simple but it can be scary for some users, I don't know how to block this. The intruder connects via telnet to our mail server and sends ...
0
votes
0answers
54 views

Stop spoofing emails of my own domain in my own postfix server

I am receiving spam mail from a spoofed email account in my debian postfix server. SPF checks are activated, but the messages still arrives. The SPF checker reports PASS as seen in the headers below, ...
0
votes
1answer
42 views

Ping inexistent IP

I created an internal connection from my Debian VM to Metasploitable, i tried to ping Metasploitable's network address and it works, but when i tried to ping a random inexistent IP i was expecting the ...