Latest Server related questions

Score: 0
Ranjandas avatar
systemd-nspawn - run a host binary with network isolation
us flag

I am trying to run a binary sitting on the host machine using systemd-nspawn with networking support. I am trying to run multiple copies of the binary where each instance would have its IP address.

I tried various networking options like --network-veth, --network-zone etc. While these options are setting up the necessary veth pairs and bridge devices etc, the container doesn't seem to be getting a ...

Score: 0
Make Nginx return custom error page when backend is down
in flag

I have Nginx working as reverse proxy and Django application behind it. Django app is connected to Nginx through UWSGI. Django app is deployed using Docker and gets down for a second or so during deployment. I would like to instruct Nginx to return custom 503 error page during that period.

Below is my Nginx config:

upstream server_django {
    server 0.0.0.0:8000;
}

server {
    listen 443 ssl http2; ...
Score: 0
bogdaN avatar
Roundcube webmail on Debian 11 bullseye - Could not save password
us flag

first question here, take me slow.

I have installed dovecot, postfix and Roundcube webmail in a VM to test a new mail server for the company I work for. All good until I try changing a password as a logged in user from roundcube settings->password.

What I have done:

  • Enabled password plugin in roundcube
  • Set the driver to "chpasswd" as my users are system users created with "useradd -m user passw ...
Score: 4
How to route IPv6 to the external interface?
in flag

I have purchased a VPS from IONOS. While they provide an IPv6 range 2a00:xxxx:xxxx:67::/64, they don't route it to the VPS itself, which is quite odd.

I wonder how I can achieve that. I have only 254 clients, so I'm happy to do it manually. This is what I already see in the route table:

ip -6 route

::1 dev lo proto kernel metric 256 pref medium
2a00:xxxx:xxxx:67:ffff::1 dev wg0 metric 1024 pref med ...
Score: 0
Where should I start to troubleshoot high load average?
gt flag

I have a kubernetes cluster running with 4 worker nodes (Ubuntu 20.04 with 4 CPU) and I am seeing high load average on all of them. Here is the result of top on one of the nodes: top

I am unsure whether or not this is expected since this node is running 111 containers. Could there be something else causing the high load average or is it simply down to having too many containers and I just need more resou ...

Score: 0
VladF avatar
Why I see "No URLs in mirrorlist" when try to execute yum install?
kr flag

I try to install any packages in CentOS8, but I see

Error: Error downloading packages:
  No URLs in mirrorlist

This is related to any package, not some unique. What the reason of it?

Score: 0
Bacula tape library and SCSI device kernel NULL pointer
tk flag

I was trying to run a bacula restore, but it complained about remote-sd communication. Turned out bacula-seed was not running on host machine. Service was started, but the issue still persisted. That's why I tried to test the tape library by running mtx -f /dev/sch0 Mtx completely froze my session. Mtx process was visible from ps but I was unable to kill it with any kill sig. Server was restarted again. ...

Score: 0
Can I configure VSFTPD with PKCS11?
co flag

I want to perform TLS authentication for my FTPS server using a PKCS11 certificate store. Is this possible with VSFTPD?

Score: 0
PhilHarmonie avatar
connection refused when trying to execute a python script in nginx
cn flag

I have the following Dockerfile:

FROM nginx
RUN apt-get update 
RUN apt-get install python3 python3-pip fcgiwrap -y

the docker-compose.yml:

version: '3.3'
services:

    nginx:
        build: ./data-nginx/.
        container_name: nginx
        restart: always
        ports:
            - "80:80"
            - "443:443"
        networks:
            - webserver
        volumes:
            - ./da ...
Score: 0
O'Niel avatar
Adding location-block to cache files makes those files return 404
in flag

I want to cache some static files using Nginx. But I somehow can't get it to work.

This is my nginx.conf:

user www-data;
worker_processes auto;
pid /run/nginx.pid;
include /etc/nginx/modules-enabled/*.conf;

events {
    worker_connections 768;
    #multi_accept on;
}


http {

    #GZIP
    gzip on;
    gzip_vary on;
    gzip_proxied any;
    gzip_comp_level 6;
    gzip_buffers 16 8k;
    gzip_htt ...
Score: 1
Conrad avatar
How to update CentOS 8?
th flag

yum --v update on a Fresh install of CentOS 8 at AWS, I get:

Error: Failed to download metadata for repo 'AppStream': Cannot prepare internal mirrorlist: No URLs in mirrorlist

A bit of reading shows that CentOS 8 appears to becoming CentOS Stream 8, and all the mirrors are showing that the product is end-of-life: http://mirror.centos.org/centos-8/8/readme

If I open up /etc/yum.repos.d/CentOS-AppStream ...

Score: 0
CDoc avatar
Bind9 resolve based on server's (own) IP address requested
cn flag

I have a bind9 DNS server with two (2) IP addresses assigned on it. Let's call them IP#1 and IP#2. I need a way to know which IP address the clients are using and respond with different results in their nslookup. I will try to explain with two examples below.

User "X" does nslookup against domainname.com with NS Server IP#1. The server should return a specific address.

User "Y" does the same nslooku ...

Score: 0
Jack B avatar
Requirements for RDP from Azure AD Registered device
in flag

We are a small company (4 users, 7 devices) and have recently moved from a mess of local accounts on our PCs to using Azure AD for Office 365. The plan was to have accounts for each user and for anyone to log on to any machine with them, and to control access to files on some of the machines accordingly. We don't have (and hopefully don't need) licenses for anything more than what comes free with Micros ...

Score: 0
sb9 avatar
Unable to reach host machine from pod in kubernetes cluster
cn flag
sb9

I have 1 master and 1 worker kubernetes cluster setup using kubeadm on on Fedora linux KVM virtualization environment with pod cidr range - 10.244.0.0/16. Using flannel networking policy.

Master node: hostname - fedkubemaster ip address - 192.168.122.161 Worked node: hostname - fedkubenode ip address - 192.168.122.27 (NOTE - My Host FQDN's are not DNS resolvable)

$ kubectl get nodes -o wide
NAME       ...
Score: 0
Reut Schremer avatar
Apache tag for couple of options
in flag

I want to set couple of Location tags in my Apache config. For instance: /image, /file, /audio and to pass it to localhost:port/path. Right now I'm using this for /image:

 <Location /image>
        RewriteEngine  on
        Options +MultiViews +FollowSymLinks
        AllowOverride All
        ProxyPreserveHost On
        ProxyPass "http://localhost:PORT/image"
        ProxyPassReverse "http://l ...
Score: 0
pink0.pallino avatar
how does a striped RAID work with large number of disks?
jp flag

still trying to configure my large (24) array of disks (2.4TB) for an archive/nas of mixed huge and small files. But apart from this, I am now more focused to understand how striped RAIDs work under the hood but more I read and more I get confused because most of the literature's example are based on "low" number of disks (I asked the producer but he was reluctant to answer publicly some of those questi ...

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.