Latest Server related questions

Score: 1
Roberto Iglesias avatar
Couchdb 3.1.1 increases disk latency gradually over weeks
in flag

I've been dealing with this issue for weeks now.

I have the followin scenario:

couchdb2.3.1-A <===> couchdb2.3.1-B <===> couchdb3.1.1-A <===> couchdb3.1.1-B

where <===> represents two pull replications, one configured on each side. i.e: couchdb1 pulls from couchdb2 and viceversa.

Couchdb is running in docker containers

If a write is made at couchdb2.3.1-A, it has to make it throug ...

Score: 0
PeterT avatar
What kind of slide rails do I need?
jp flag

I need to install two servers from Supermicro in a 19" rack with round holes on the vertical rails. The Repon slides that came with the servers typically install in a 19" rack with square holes. Most of the other rails we use in the company are from General Devices (C-300 series), but those will not fit on the side of the Supermicros because of the tab-type mounting system used by the Repon slides.

 ...
Score: 0
Dan Chase avatar
Windows, Collect information that requires admin rights
cn flag

I'm making an enterprise dashboard for system status/etc but finding that most of the commands I'll need to run on individual servers, will require administrative privileges to collect the data. For example, "appcmd list sites" will require admin.

So I thought about making a directory, setup a scheduled task on each server to run as an admin account, to run whatever command, then picking up the f ...

Score: 0
Find all firewalled connections from a binary from the client
cn flag

I have a binary file that is failing with no helpful information. It works in the prod domain, but it is failing in the dev domain. I believe it is failing due to firewall rules. I'd like to figure out what cross-domain firewall exceptions to request.

Is there a way to capture what failed connections it is attempting when I run the binary? That is, from the client rather than the looking at t ...

Score: 0
brandon p avatar
URL Redirect does not work when pattern matches part of the redirect url
us flag

I want the wildcard pattern “mysuburl*” to redirect to “http://localhost/mysuburl.html” although I get a too many redirects error. The redirect is successful though if I use a pattern that differs in spelling slightly from the redirect url like “mysubsite*”. Why does the url not redirect from “http://localhost/mysuburl” to “http://localhost/mysuburl.html” when using the first pattern ...

Score: 0
How to install Erlang 24.1 on Amazon Linux 2
ug flag

I need to install Erlang 24.1 on Aamazon Linux 2. I am using package cloud script and repos for this but it fails with following message.

(venv) [CORP\shiv.d@a-1njrk968l4brs yum.repos.d]$ sudo yum install erlang
Loaded plugins: amzn_workspaces_filter_updates, halt_os_update_check, priorities, update-motd
rabbitmq_erlang/x86_64/signature                                                                ...
Score: 0
puma avatar
SSH Timeouts with ClientAliveInterval and ClientAliveCountMax
bw flag

What I want to accomplish is to simply terminate inactive SSH sessions. Just because the user is logged in does not mean that the user is doing something. I need the SSH daemon to logout users after X seconds of inactivity.

Debian Bullseye as well as CentOS does not auto logout inactive SSH sessions. At least not within a reasonable time period. By reasonable, I mean less than 10 minutes.

Before pos ...

Score: 2
sts avatar
How do I Generate a Bearer Token for cURL to Get Thru IAP (GCP)?
us flag
sts

I need to cURL a web app hosted behind IAP on GCP.

Normally, users log in through IAP and use the web app, but I need to run some cURL commands (interactive and non-interactive) that hit the web app URLs (for example: https://myapp.com/get_pics/1)

I cannot figure out how to get a Bearer token from GCP that I can use in the authorization header for cURL.

I can set up a service account with "IAP S ...

Score: 0
How can I find the minimal set of ACL changes required to grant a user access to a file?
az flag

I work on a CentOS 7 server where I frequently have to manually grant specific users access to specific files or directories. We do this using file ACLs, but I often run into an issue where I have set the ACLs on the file, but the user still cannot access it because they don't have permission to cd into the directory containing the file and/or any number of its parent directories. What follows is a tedi ...

Score: 0
A X avatar
Remove external Docker container registry dependencies / only store container images on Amazon ECR
my flag
A X

So I am using Amazon Elastic Container Registry (ECR) to store our containers. I have a container that is built using a Microsoft base image:

mcr.microsoft.com/dotnet/framework/aspnet:4.8-windowsservercore-ltsc2016

What I am finding is that when I then push my container image to Amazon ECR, and then later I pull this image - it is STILL downloading the base layer from mcr.microsoft.com!

I am using Docke ...

Score: 4
enable ephemeral containers AWS EKS
cn flag

I'm trying to debug a distroless POD by trying kubectl debug which uses ephemeral containers that are disabled by default in aws eks. I'm using aws eks 1.21

✗  kubectl debug -it opentelemetry-collector-agent-6hqvf --image=busybox --target=some-app

error: ephemeral containers are disabled for this cluster (error from server: "the server could not find the requested resource")

So how to enable the ...

Score: 0
isc-dhcp 4.2.5 does not support dhcp-client-id and vendor-class-id?
ro flag

I have isc-dhcp-4.2.5 server and client installed on two CentOS-7.4 boxes. I know this is quite old distro, but I can't change it for various reasons.

Dhcp server configuration:

option domain-name "mydomain.org";
option domain-name-servers ns1.mydomain.org, ns2.mydomain.org;

default-lease-time 600;
max-lease-time 7200;

log-facility local7;

option space myspace;
option myspace.node-ip code 1 = ip ...
Score: 0
Can i NAT 2 ports to same internal port?
br flag

I have a streaming camera, can i reach port 80 of the camera from two different ports?

-A PREROUTING -i eth0 -p tcp -m tcp --dport 10079 -j DNAT --to-destination 192.168.8.41:80
-A PREROUTING -i eth0 -p tcp -m tcp --dport 10080 -j DNAT --to-destination 192.168.8.41:80
Score: 1
mdadm RAID: Stuck at 0% Grow (Shrink) reshape due to bad geometry
ke flag

I have a linux software Raid5 array (md1), containing 4 x 16TB + 2 x 8TB hard drives. 2 x 8TB hard drives were merged together (Raid0 array; md0), working as a (fifth) 16TB device. This is just for data storage. Since the 2 x 8TB needed to me removed, I decided to shrink the number of devices to 4. Therefore I performed following steps:

mdadm --grow /dev/md1 --array-size 46883175936  
mdadm --grow ...
Score: 0
Can EFS claims live longer than the Kubernetes cluster?
pl flag

We have been writing scripts for setting up an application on AWS via Pulumi, trying to automate everything from scratch to a running application (but via different intermediate stages). The idea was to be able to shut down everything to save costs when the (interactive) application is not needed. The application data should be persisted over EFS however.

Now, it seems that our goal of shutting ...

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.