Latest Server related questions

Score: 0
Zev avatar
Intermittent 500 Error caused by psycopg2.OperationalError: could not translate host name
de flag
Zev

20% of requests to our backend Django application (deployed on AWS using ECS and Postgres RDS) are throwing 500 errors. Looking at the ECS logs, various related errors are shown:

psycopg2.OperationalError: could not translate host name "abc.efg.us-east-1.rds.amazonaws.com" to address
OSError: [Errno 16] Device or resource busy
<built-in function getaddrinfo>) failed with OSError

We use gunicorn  ...

Score: 0
Socrates avatar
Proxy a website from Docker through Nginx without acting as localhost
co flag

How can I proxy a website from Docker through Nginx without it acting as localhost?

My current setup consists of an Ubuntu host with a couple of Docker containers with exposed ports. The Docker containers are only exposed locally. The exposure on the Internet consists of an Nginx server that proxies the Docker containers to certain subdomains.

In one Docker container I run Wordpress. I pulled it fro ...

Score: 0
R2Bleep2 avatar
Accessing a Docker volume created with docker run -v from the host when running Docker in rootless context / no root mode
us flag

I've created a container and used the volume switch to share a directory between the host and my container, e.g. -v /home/docker/mydirectory:/etc/myapp/directory I can see the directory as root or a sudo user, but my docker daemon is running under the docker user (no sudo privileges) for security reasons, however, that user has no rights to the files in that directory on the host. The owner of the d ...

Score: 0
Login loop for FreeIPA users
as flag

I am running into an issue with one of my newly configured freeipa clients where all of the ipa users that try to log into the computer go through a login loop. New users, and users with their passwords reset, can change their passwords but are sent right back to the login screen after authenticating. I have four freeipa clients, all of which are running Ubuntu 20.04.3. The three that work just fine are ...

Score: 0
scjohnson avatar
Issues getting sssd, PAM, and faillock to play along on RHEL7
de flag

I am having an issue that I'm almost certainly is tied to how I have faillock configured in my PAM system-auth and password-auth on some RHEL7 servers. We are required to use STIGs, so I have to use faillock with specific options associated with it. For general user access via SSH, everything is fine. The issue only presents itself when running a Nessus/vulnerability scan via username and password fo ...

Score: 0
Omar Chakroun avatar
transfer modifications in my server to my branch git?
br flag

i want when i did modification in my files with FileZilla then push it to my branch.

we work right now with Git, everyone has a branch and each one has server FTP the changes are done just local and push it to Git but when we make modifications in FTP (FileZilla) we don't know how to save the work in GIT

is it possible to transfer modifications add in my server to my branch git ?

Score: 2
Mike Godin avatar
Is there a minimal aws cli installation?
nl flag

Sometimes I'd like to spin up an instance and run an aws cli command on it quickly, but there seems to be a great delay in installing the aws cli. Is there any way to get a "minimal" installation that omits the many files unnecessary in an automated deploy/test, for example all the example files? Or maybe even versions of the cli that only contain a single command, such as s3 or ec2?

Note that the  ...

Score: 0
Standard avatar
Apaches virtual host config suddenly not working anymore; how to debug?
de flag

out of the blue my virtual host config doesn't work anymore. So my setup sould be quite easy: On Port 80, I want to deliver two WSGI apps, and that's the .conf file I'm using:

<VirtualHost *:80>
        ServerName mogli.secret.de

        #########
        # RESTAPI
        #########

        WSGIScriptAlias /mogli/api /opt/mogli/restapi/app.wsgi
        <Directory /opt/mogli/restapi/>
 ...
Score: 1
Simao Gomes Viana avatar
How to map ports in Azure Container Instances via Terraform?
ua flag

I have two containers in my container group on Azure using Azure Container Instances (ACI), one (container A) exposing ports 80 and 443 to the internet (reverse proxy), the other one (container B) also running on port 80. How do I map container B's port 80 to a different port, say 8080, so that the two containers don't collide with ports on localhost (on Azure, containers inside a container group can reac ...

Score: 0
Fairfielder avatar
Disaster Recovery: PXE boot Windows Server 2019 from ISO
ph flag

I have a dedicated physical Windows Server 2019 on the Ionos cloud platform. I need to implement a disaster recovery plan. I also have added a shared storage block on another Ionos server and mapped the shared storage segment as a network drive on the dedicated server. I created a bootable media ISO file and a bare metal backup file, and saved both of these to a folder on the shared storage segment. The ...

Score: 0
Martin1997 avatar
Postfix Status Contradictory output
us flag

I have a Suse Enterprise Linux Server with postfix installed. If I run the command postfix status, I receive the following contradictory output:

postfix: Postfix is running with backwards-compatible default settings
postfix: See http://www.postfix.org/COMPATIBILITY_README.html for details
postfix: To disable backwards compatibility use "postconf compatibility_level=2" and "postfix reload"
postfix/postfix- ...
Score: 0
How do i modify route tables in EC2 instance to send traffic via eth1?
mx flag

I have an ec2 AmazonLinux2 instance. It has a primary nic on eth0. I went ahead and attached another eni (with an associated public ip) eth1. I would like to make sure that I can send traffic via the eth1 as well but unable to.

curl --interface eth0 ifconfig.me --> Works, returns the public ip of the instance
curl --interface eth1 ifconfig.me --> Does not work, the call just hangs

Here are my in ...

Score: 1
Jacob Bruinsma avatar
How do I get my server HSM working while connected via RDP? (Win 2019)
de flag

The error I get from pkcs11-tool.exe is "No slots."

My server has a hardware security module (Nitrokey HSM 2) that becomes inaccessible once I connect to my server via Windows Remote Desktop.

Note: this is NOT for logging in with smart cards. I use my HSM to decrypt data with its private key.

I use this HSM with the pkcs11-tool.exe recommended by Nitrokey.

It does not matter whether or not I uncheck the b ...

Score: 0
Forbidden (403), when accessing server-status on Apache
ru flag

I am trying to access Apache server-status?auto but it is giving me Forbidden 403 Message

I checked apache2.conf and there is this options under html directory:

<Directory /var/www/html>
        Options Indexes FollowSymLinks
        AllowOverride All
        Require all granted

Has anybody came across this problem and was able to fix it? Thanks in advance. Let me know if you need more information. ...

Score: 0
returnVoid avatar
kube-proxy seems to be unable to resolve service IP on windows
in flag

Running a hybrid cluster on 3 VMs, master node a linux, one worker is linux the other one is windows. the linux node is working correctly (at least, it can run Jenkins job and a grafana). The Windows node is unable to reach the dns from the service IP even though the dns service is up and the two pods yields no error. The kube proxy pod is also running correctly on the windows node yielding only infos i ...

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.