Latest Server related questions

Score: 0
iaquobe avatar
Why does npm install fail with Assertion failed: (fd > STDERR_FILENO) using buildah?
fr flag

Hey I have a Dockerfile for a project that I want to build inside of a Gitlab ci/cd pipeline running on Kubernetes. The Image is built inside a buildah container from quay.io, but while the project compiles locally, it does not for the pipeline:

STEP 4/7: RUN npm install yarn
node: ../deps/uv/src/unix/core.c:633: uv__close: Assertion `fd > STDERR_FILENO' failed.
Aborted (core dumped)
subprocess  ...
Score: 2
PrashanD avatar
Am I likely to experience less Azure Spot VM instance evictions by creating it in a region that has a large time difference from where it's used?
ie flag

I am creating a spot VM to be used in offices located in New York. If I choose India as the region, will the time difference between the two regions help reduce the spot evictions because I can expect peak hours in India to be off peak hours in New York and vice versa?

Score: 0
Dimitrios Desyllas avatar
Why /var/lib/mysql takes too much space whereas actual db is small enough
fr flag

In my server Db takes too much space:

Filesystem       Size  Used Avail Use% Mounted on
/dev/root         58G   58G  461M 100% /
tmpfs            966M     0  966M   0% /dev/shm
tmpfs            387M  856K  386M   1% /run
tmpfs            5.0M     0  5.0M   0% /run/lock
/dev/nvme0n1p15  105M  6.1M   99M   6% /boot/efi
tmpfs            194M  4.0K  194M   1% /run/user/1000

Ans whilst I was investigating ...

Score: 1
Shuzheng avatar
How do I see the remaining session duration in the AWS console?
cn flag

I want to check the remaining session duration for my current AWS console session.

I have tried consulting AWS Systems Manager, but without any success.

How can I check the remaining session duration?

Score: 0
MofJinB avatar
Powershell: creating functions (or aliases) for system commands
mv flag

I am trying to make it easier to run certain things with certain users from powershell.

So first I calculate username and domain needed to run a specific command, which is no problem.

But then I want to be able to run a specific command with the calculated credentials, and this fails. I have already tried the following variants:

# this does not work yet (the command works, but the alias/function doesn't
 ...
Score: 0
Shuzheng avatar
How to unfold a group that is a direct member of another group into its included users in Azure AD?
cn flag

How to unfold a group that is a direct member of another group into its included users in Azure AD?

I'm trying to use a group to configure SSO for a set of users. However, it only works when users are directly included (referred to as direct members).

How can I unfold the "lddprobff" group into its included users for SSO to work?

enter image description here

Score: 0
drifter213 avatar
Group Policy can't be overruled
us flag

I have 2 different GPOs in this example, one is directly under the Domain - Global GPO - and one is burried down in an User OU - Custom GPO.

In my Global GPO I have set the Setting "Local Area Network (LAN) settings" to yes. This Setting is located unter User Configuration - Preferences - Control Panel Settings - Internet Settings - Internet Explorer 10: Internet Explorer 10 - Connections.

This Sett ...

Score: 0
Steve Moretz avatar
Use custom SNI for Cloudflare
in flag

I have an app back-end on a server it has many users in China and it uses websocket, I'm doing some tests to bypass GFW's blockage of SNI, we can connect to Cloudflare Websocket websites in China, but then the whole domain gets blocked after a few days!

So what I am doing right now is this setup:

Address: another domain using cloudflare doesn't matter which one
Host: Your own subdomain, like sub.examp ...
Score: 0
tux avatar
Apache 2.4 LDAP "password mismatch" but password is correct
in flag
tux

I run apache2.4 on debian and LDAP-Auth tells me "password mismatch" but I am very sure I use correct passwords (tested multiple users).

I also asked chat-gpt and it told me maybe my password get hashed differently on server/client but I don't know how to check that.

this is part of my /etc/apache2/apache2.conf

<Directory /var/www/html/ldaptest/>
    AllowOverride All
    SSLRequireSSL
    AuthType ...
Score: 0
Bani avatar
Openstack - security group rule priority
sg flag

How can I set priority to security group rules in OpenStack via API? For example, I would like to banned one output port and I would not like the user can override it by another rule.

Score: 0
James Okpe George avatar
Kubernetes component status reports etcd as unhealthy
cn flag

I have a 3 node kube control network setup with etcd, kube-apiserver, kube-control-manager and kube-scheduler running. When I check the status of the components it says etcd is unhealthy, but etcd reports that is healthy

> kubectl get componentstatus --kubeconfig .kube/admin.kubeconfig

Warning: v1 ComponentStatus is deprecated in v1.19+
NAME                 STATUS      MESSAGE                 ...
Score: 0
Dave Butler avatar
How do I get the `/dev/sd*` path from `ata*` in dmesg?
lt flag

I have this output in dmesg:

[149939.146576] ata18.00: exception Emask 0x1 SAct 0x0 SErr 0x0 action 0x0
[149939.146592] ata18.00: irq_stat 0x40000001
[149939.146600] ata18.00: cmd a0/00:00:00:04:00/00:00:00:00:00/a0 tag 2 pio 16388 in
                         Log Sense 4d 00 40 ff 00 00 00 00 04 00res 40/00:00:01:00:00/00:00:00:00:00/00 Emask 0x1 (device error)
[149939.146615] ata18.00: status: { DRDY }
[ ...
Score: 0
Monerig avatar
How to realize a user-based bandwidth throttling in VPN or Proxy server
ni flag

I created my own VPN or proxy server on a rented Ubuntu server. For example it may be an OpenVPN server with Pritunl or a Wireguard server with wg-easy or wg-install or firezone installation script.

In another case, I created a https proxy server with login and password authorization using dumbproxy or a secure socks5 server using shadowsocks, with or without obfuscation.

Let's say I want to use such a ...

Score: 0
telnet to port 80 (nginx), with forward to apache2 at port 8080, fails with 'connection closed by foreign host' and no explanations seemingly anywhere
in flag

i'm running an Kubuntu 22.04 server, and want to shuttle LAN-only traffic from port 80, served as far as i can tell by nginx, to port 8080 served by apache2 (for PHP purposes).

but i'm getting this "connection closed by foreign host" (presumably from nginx), that's proving a complete show-stopper at port 80. i can still access the PHP and code filetree that i need to access by addressing port 808 ...

Score: 0
mbigras avatar
Can you parse JSON keys out of a Google Secrets Manager secret?
in flag

Consider the following gcloud command where you inject a Google Secrets Manager secret into your SERVICE Google Cloud Run service—ripped off the Use secrets Cloud Run docs page:

gcloud run services update SERVICE \
    --set-secrets="ENV_VAR_NAME=SECRET_NAME:VERSION"

Observation: Notice how you can set your ENV_VAR_NAME environment variable to the value of the SECRET_NAME:VERSION secret; but Question ...

Score: 0
Ben Zelnick avatar
Stop Nginx from listening on all loopback IPv4 addresses EXCEPT 127.0.0.1
za flag

On Ubuntu, Nginx apparently listens on all of the IPs in 127.0.0.0/8. How can I disable listening on 127.0.0.0 and 127.0.0.2127.255.255.255? That is, the only IPv4 loopback address that I want Nginx to listen on is 127.0.0.1. Answers to this question should not affect Nginx listening on any other IP addresses (e.g., the server's LAN and WAN addresses).

Stop nginx listening on all IPs? is a related  ...

Score: 1
zg c avatar
How to view I/O bridge in linux?
gi flag

My laptop lenovo legion r7000 2020 env (with amd r7 4800h cpu):

$ uname -a
Linux CzgArch 6.3.8-arch1-1 #1 SMP PREEMPT_DYNAMIC Wed, 14 Jun 2023 20:10:31 +0000 x86_64 GNU/Linux

Recently when I searched for NUMA, I found this Q&A, then I get the image by lstopo --of png > server.png: cpu_arch (I don't have enough reputation. So you should open the link to view the image. Sorry. This is my first ques ...

Score: 1
corvus-migratorius avatar
Practice of high frequency scheduled Ansible playbook runs
dz flag

I'm fairly new to administrating servers with configuration managers such as Ansible. I plan on running playbooks automatically on a schedule (via something like Ansible Semaphore, or even just Cron) with high frequency (like every 30 minutes or so).

I'm hoping to achieve two goals with this approach:

  1. Enforce configuration (so I can be confident that no deviation from the expected configuration exi ...
Score: 0
Matthew Steeples avatar
Deduplicate forwarded emails sent to mutiple distribution groups
cl flag

I have 2 distribution groups set up listening on 2 different email addresses: [email protected] and [email protected]. I have one (Shared, if it makes a difference) mailbox set up Emails. This mailbox is configured to forward emails to an external address through the Exchange Admin Centre: [email protected].

If someone sends an email to [email protected] and CCs [email protected] then I my Exchan ...

Score: 0
Marc Völker avatar
Windows Server 2022 RDP connection fails with error 0x3 + extended error 0x7
bf flag

In an existing environment, where RD Session Host was previously in operation, an additional RD Virtualization Host is now to be set up. This is installed on a Windows 2022 Datacenter Server and a collection is set up.

When I try to connect to this collection via the web portal I get an error message.

Errorcode: 0x3

Extended Errorcode: 0x7

I have already checked everything, and I am slowly at a loss as to ...

Score: 4
King David avatar
What are the options to monitoring page cache usage?
gb flag

In essence the Page Cache is a part of Virtual File System (VFS) which main purpose, as you can guess, is improving IO latency of read and write operations.

In computing, a page cache, sometimes also called disk cache, is a transparent cache for the pages originating from a secondary storage device such as a hard disk drive (HDD) or a solid-state drive (SSD).

The operating system keeps a page cache  ...

Score: 0
Hai Pham avatar
Ingress traffic shaping with OVS port
sd flag

I have a ovs topology like this:

       h1
        |
        |
    [SW 1]
    /     \
   /       \
[SW 2]  [SW 3]
   \       /
    \     /
    [SW 4]
        |
        |
       h2

Traffic is sent from h1 to h2. I want do this thing: in normal traffic will go in path: sw1 -> sw2 -> sw4. But, if traffic rate is more than 300kbit/s, rate exceeded traffic will go through path sw1 -> sw3 -> sw4 ...

Score: 1
AntonioK avatar
How to install Crypt::SSLeay from cpan?
kr flag

I'm trying to install perl module Crypt::SSLeay from cpan running in Debian-based environment (in order to rule out dependency issues, I'm running this in official perl Docker container), but I getting error while cpan installer doing tests:

$ docker run --rm -it perl:stable bash

Docker# cpanm Crypt::SSLeay
...
Building and testing Crypt-SSLeay-0.72 ... FAIL
! Installing Crypt::SSLeay failed. See /root/. ...
Score: 0
King David avatar
production kafka clusters + How to optimize Page Cache
gb flag

one of the importance things in Kafka production cluster is the page cache

here is a good explains what is page cache

PageCache is a typical read/write cache. The operating system uses the free physical memory to cache files. This cache is called PageCache. When an application program writes a file, the operating system writes data to the PageCache first. After the data is successfully written to th ...

Score: 0
DanRan avatar
Nginx emergency: cannot load certificate "/etc/letsencrypt/live/mail.example.com/fullchain.pem". How to fix this Nginx error?
mx flag

I am running a LEMP email/web server with Ubuntu 20.04. My Nginx user is www-data. I also have roundcube installed in /var/www/roundcube. In my Nginx logs, I am getting the following error:

2023/07/01 00:00:18 [emerg] 337875#337875: cannot load certificate "/etc/letsencrypt/live/mail.example.com/fullchain.pem": BIO_new_file() failed (SSL: error:0200100D:system library:fopen:Permission denied:fopen( ...
Score: 1
Todd Wilcox avatar
AWS CloudFront 404 error on web root only - node.js with express and pug
in flag

The Setup

I have a web site built on node.js, express.js, and pug.js running on an AMI Linux instance in AWS. I've given the instance an Elastic IP and if I browse directly to the generated DNS record for that elastic IP, everything works correctly.

I've also created a CloudFront distribution for the site. The origin is set to the generated DNS record for the elastic IP and there are only two beha ...

Score: 0
elbarna avatar
What's wrong with my nagios kdc configuration?
pe flag

I want to setup a service to check the kdc with nagios. With my kdc (samba4) I create the user using this script

#!/bin/bash

USER=nagioskerberos
DOMAIN=myhost.priv
SERVICE=nagioskerberos
FQDN=nagios1.myhost.priv

samba-tool user delete $USER
samba-tool user create $USER --random-password
samba-tool user setexpiry $USER --noexpiry
net ads enctypes set $USER 16
samba-tool spn add $SERVICE/$FQDN $USE ...
Score: 0
InfinitePain avatar
Inconsistent OpenVPN Authentication Issue: Works Locally but Fails via SSH
kz flag

I am experiencing an intriguing issue when running OpenVPN on a Raspberry Pi 4 (running Raspbian 32-bit Lite). The issue appears to be related to the authentication process when OpenVPN is run via SSH, as a systemd service, or inside a Docker container. Here are the specifics:

  1. When I run OpenVPN directly on the Raspberry Pi (with a monitor and keyboard attached), I can successfully establish a VPN ...

Score: 0
Emir avatar
Internet Forwarding
um flag

I am looking for Internet Routing. Right now we have 2 offices one in Germany and One in Dubai. Everyone is connected through VPN Tunnel of the German office. The German office wants to connect to our Dubai Office but we don't have a VPN Tunnel or Static IP since it's very hard to obtain a static IP.

What are the options? Since

10.0.0.2 is. German office and 10.0.0.3 is a Dubai office is it possible ...

Score: 0
Jason avatar
Split logging on rsyslogd
ru flag

My goal is to send all logs to one source remote and still log local but then send all the AuditD logs to its own source on port 20002. But for some reason, my auditd logs are still ending up with my syslogs going to port 20000

/etc/rsyslog.conf:

cat /etc/rsyslog.conf
module(load="imuxsock") # provides support for local system logging
module(load="imklog")   # provides kernel logging support

$ActionF ...

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.