Latest Server related questions

Score: 0
Postfix:mail-to-script messages contain extra id and from lines
de flag

I have Postfix (3.6.3) forward mail for a user to a script

maild: "| /usr/local/sbin/mailsave"

The messages have extra From and id lines which break Python's email.Parser

Can you prevent Postfix from adding these lines?

From weberjn@host.my.tld  Sun Nov 21 19:11:19 2021
Return-Path: <weberjn@host.my.tld>
X-Original-To: maild@my.virtual
Delivered-To: maild@host.my.tld
Received: by host.my.tld ( ...
Score: 0
steiny avatar
Listing btrfs subvolumes not allowed in container
id flag

I try to run a btrbk server within a systemd container. Unfortunately, I cannot get btrbk running since the command btrfs subvolume list /srv/backup fails to run from within the container with "Operation not permitted".

I already tried adding "user_subvol_rm_allowed" to the mount options, as suggested in a lxc issue, however without luck. While btrfs subvolume delete /srv/backup/foobar works now, I still  ...

Score: 0
David Cowden avatar
How to minimize filesystem overhead
br flag

I have an application that uses a lot of space as essentially cache data. The more cache available the better the application performs. We're talking hundreds to thousands of TB. The application can regenerate the data on-the-fly if blocks go bad, so my primary goal is to maximize the size available on my filesystem for cache data, and intensely minimize the filesystem overhead.

I'm willing to sa ...

Score: 0
Nginx keeps trying to serve a file?
cn flag

This is my nginx.conf

events {
}
http {
    server {
        listen 80;

        rewrite_log on;

        if ($http_x_forwarded_proto = "http") {
            return 302 https://$host$request_uri;
        }

        location /.health {
            return 200 'OK';
        }

        location /.status {
            stub_status;
            server_tokens on;
        }

        location ~ ^\/([^.][^\/] ...
Score: 0
SAMBA server restore
in flag
Ivo

Last week I ran into some hardware issues with my SAMBA DC server. I was able to recover the hard disk, but the other hardware seems to be nonfunctioning. I have a spare server and would like to restore the SAMBA configuration from the old hard disk. Is this possible, and what directories need to be copied if it is possible?

Many thanks.

Score: 32
tymur999 avatar
Does a server need a GPU?
ca flag

Do I need a GPU on a text and console only server? No GPU as in no iGPU and dGPU. Im going to be using SSH, so I dont need a display out.

Im using Linux, but the OS shouldn't affect the results

Score: 0
Howto build docker postgres image with pgcrypto sha3-512 support?
cn flag

I need to create a postgresql 11 docker image that has support for sha3-512 hash function. By default, the official postgres docker images do not support this. I already have some systems that use the official docker images. I need a new image that works exactly like the official, except that it has support for these hash functions. My idea was to create a copy of the official Dockerfile and modify it.

Score: 1
Vasil German avatar
Freeradius: Authenticate users on certain condition
mp flag

There is a network where users are using PPPoE to establish connections to the Access servers. We have lost the billing system and users' DB. The only condition that we know is that 'Valid credential should be credential where username and password are the same value. (i.e. username: johnsmith, password: johnsmith)'.

We'd like to recover access to the Internet asap.

Setup that we have now: Ubuntu 20 ...

Score: 3
MenInTheMiddle avatar
Vmware Esxi - Old 32bit software performance issue on multi core
cn flag

I've been going crazy for 2 days now and I'm asking for help.

I have a program developed in delphi (early 2000s about) that accesses a firebird v3 database, currently installed on the same machine (windows server 2016 x64 - db and program are x86).

The machine is a VM configured on vmware esxi, I come to the point: if I configure the VM with only 1 vCPU the program runs very well, if I also configur ...

Score: -1
alessio avatar
Interpret URL correctly which port is the webserver listening to?
ru flag

I have a webserver running which i didnt install. The URL to reach the webserver is https://adomain.de:7535

I took a look at the respective service unit and noticed its listening on port 7535 (--port=7535). So i am wondering how that works and how i should interpret the URL, because i have a valid SSL certificate, so i always thought the webserver is listening on 443 and not 7535. This is confusi ...

Score: 0
Soheil avatar
apache doesn't show files which have different owner
fr flag

I have created a domain in WHM for user alex. now if I put any file in public_html folder of this domain which has the owner defined as root, apache does not allow visiting of the file in browser, it says not found. but if I change the owner of file to alex, everything works fine!

now I want apache to allow visiting every file in public_html, even if the owner is root and not alex. how to do that?

 ...
Score: 0
Bind9 failed: permission denied for Debian 11.1
br flag

After installed bind9 for Debian 11.1 and preconfigured I have this information after restart bind:

example.local/IN: loading from master file /var/named/example.local.zone failed: permission denied

When I move file example.local.zone to /etc/bind9 and after change file location in named.conf.local then everything is OK.

Of course my permission for /var/named is OK and user/group: root:bind. Even if I gi ...

Score: 1
Merging two dictionaries by key in Ansible

I'm looking for help in merging two dictionaries in a specific way. I would be very grateful for any thoughts.

I have two dictionaries like this: 1st dict:

servers:
  server1:
    Property1: A
    Property2: B
    Property3: C
  server2:
    Property1: A
    Property2: B
    Property3: C

2nd dict:

management:
  server1: ip1_addr
  server2: ip2_addr

Desired result:

servers:
  server1:
    Property1 ...
Score: 0
JeremyCanfield avatar
HAProxy downloads PHP files instead of displaying in browser
ru flag

I have nginx and php-fpm running on Docker. When using the hostname of my Docker system (docker1.freekb.net), the phpinfo.php page displays in the browser, thus I know that I have nginx and php-fpm properly configured to serve PHP pages. Here is the server block in /etc/nginx/conf.d/default.conf. Requests from nginx on port 80 are forwarded onto PHP on port 9000.

server {
    listen              80 ...
Score: 1
Philip Szalla avatar
ZFS performance: Extreme low write speed
pk flag

I am running a small home server. The specs are:

  • CPU: AMD Ryzen 5 2600
  • RAM: 32 GB ECC
  • System drive: 128GB NVMe SSD
  • Data drives: 3x 4 TB Seagate Barracuda HDD

The server runs some applications like Nextcloud or Gitea and I want to run 1-2 VMs on it. So there are some web applications, databases and VMs.

The applications and qcow2 images are stored on a raidz1 pool:

$ sudo zpool status
  pool: tank
 ...
Score: 0
Can safely block these ICMPv6 message types on a web server?
ca flag

I have a Debian 11 VPS on a cloud provider, with both IPv4 and IPv6 enabled and the eth0 interface with both a global-scoped ipv6 address (public) and a link-scoped ipv6 address (fe80::/10).

The sole purpose of the server is to host a public website.

I’m implementing a firewall on the server using iptables/ip6tables. I read RFC4890 but still not sure how to handle some ICMPv6 message types and if  ...

The Stunning Power of Questions

Much of an executive’s workday is spent asking others for information—requesting status updates from a team leader, for example, or questioning a counterpart in a tense negotiation. Yet unlike professionals such as litigators, journalists, and doctors, who are taught how to ask questions as an essential part of their training, few executives think of questioning as a skill that can be honed—or consider how their own answers to questions could make conversations more productive.

That’s a missed opportunity. Questioning is a uniquely powerful tool for unlocking value in organizations: It spurs learning and the exchange of ideas, it fuels innovation and performance improvement, it builds rapport and trust among team members. And it can mitigate business risk by uncovering unforeseen pitfalls and hazards.

For some people, questioning comes easily. Their natural inquisitiveness, emotional intelligence, and ability to read people put the ideal question on the tip of their tongue. But most of us don’t ask enough questions, nor do we pose our inquiries in an optimal way.

The good news is that by asking questions, we naturally improve our emotional intelligence, which in turn makes us better questioners—a virtuous cycle. In this article, we draw on insights from behavioral science research to explore how the way we frame questions and choose to answer our counterparts can influence the outcome of conversations. We offer guidance for choosing the best type, tone, sequence, and framing of questions and for deciding what and how much information to share to reap the most benefit from our interactions, not just for ourselves but for our organizations.