Latest Server related questions

Score: 0
Nimral avatar
How do I find the openssl libraries on Linux (Debian buster)
es flag

I need to find the path to the OpenSSL libraries (libeay32.dll and ssleay32.dll) on my Linux system, and suspected they could be located where the OpenSSL.exe resides.

If I enter

openssl version

I get a response like "OpenSSL 1.1.1d 10 Sep 2019". Great, so OpenSSL is installed.

If I enter

whereis openssl

I get "openssl: /usr/bin/openssl /usr/share/man/man1/openssl.1ssl.gz" and would suspect tha ...

Score: 0
Laurent Gabiot avatar
Hyper-V, BitLocker usage both on the virtualized system and the drive of the host system
ru flag

Using Hyper-V on a Windows 10 Pro computer, all Hyper-V VM related data is stored on a non-system secondary SSD: D:\.

I know that you can use BitLocker in the VMs themselves, by enabling TPM support in the VM, and then enabling BitLocker encryption on the desired drives in the virtualized OS.

Is there any problem to use BitLocker from the host OS to encrypt the drive that stores the VMs data? (in ...

Score: 0
What could be causing twitterbot to take 6s to download small image assets?
cn flag

Many (most) times twitter makes http requests for certain images, the response time (as recorded by nginx in the logs) takes 6s. Yet other sites (e.g. facebook) and sometimes twitter, typically get the response in 0.2s or less.

It's not that the response time is "just slow", it's that the response time is pretty much always close to 6s. Like that would be the modal response time.

Twitter say that it coul ...

Score: 0
manifestor avatar
Mariabackup error restoring incremental (`This incremental backup seems not to be proper for the target`)
mp flag

I use mariabackup for creating incremental backups on a previously created full backup directory. The full backup is created using the following command:

mariabackup --backup --target-dir=/var/mariadb/backup/

And the subsequent incremental backups are created as follows:

mariabackup --backup --target-dir=/var/mariadb/inc1/ --incremental-basedir=/var/mariadb/backup/

Now everytime I try to restore  ...

Score: 0
Artur Cichosz avatar
UFW port not accessible from public web despite rule explicitely allowing it
tr flag

I have two dedicated servers: "web" (YYY.YYY.YYY.YYY) and "monitor" (XXX.XXX.XXX.XXX). Both are in the same network of a mass hoster (hetzner).

Now on "web" I have 3 prometheus metric endpoints running : docker-engine (9323) on the bare metal host and neo4j (2004), telegraf (9273) as docker containers. Both docker containers map their output ports to the host correctly, so the following calls exe ...

Score: 0
Separating DNS records into multiple zones for the same domain
aw flag

I thought it would be a good idea to setup MX records in one zone, while using another zone managed by Terraform (using GCP) to deal with A records and CNAMES for the web server I'm setting up. Both zones have the sane DNS name (e.g. "example.com.")

I ended up with two different sets of NS records to configure as nameservers for the domain, so I added 2 servers from the first and two from the sec ...

Score: 0
jkoop avatar
zpool import missing cache drive; ubuntu
cn flag

I apologise if my information here is badly laid out.

I added a cache drive to my zpool by udev id (e.g. sda). Later, I restarted the computer and it was assigned a different udev id (of course). To get it back, I tried zpool replace, zpool import, and zpool online, but none of them worked (maybe I did it wrong?).

Is it possible to re-add a drive to a zpool without wiping it first, or will I have to  ...

Score: 0
cr001 avatar
Openssl s_client shows CONNECT_CR_SRVR_HELLO only when -servername option provided
tr flag

I have an HTTPS-enabled centOS7 server setup with GitLab/nginx, with an A record registered on a payed DNS and certificate verified by Let's Encrypt. (I will use gitlab.example.com here). The domain name has been tested to be accessible at least via ssh and plain HTTP.

With HTTPS, I can connect to the server using direct IP like https://x.x.x.x . Although the unsafe certificate error will pop up (due to  ...

Score: 1
zorbon.cz avatar
NFS disk - weird behavior about disk operation response time for open/delete (Java access)
tz flag

I figure out weird behavior with NFS (v4). We are experiencing problem with Jira Data Center and we found as the most possible reason slow response time on NFS disk (used for shared cache between nodes - so we need fast response time). OS is Debian 11.

We are using Atlassian support tools utility mentioned in this KB article.

Based on "Grading the Results" part we identified problem with 2 of 4 v ...

Score: 0
Isaac N avatar
How to restore GPT table from backup table?
co flag

I'm not sure if my disk is actually broken or just has some corrupt GPT data

fdisk /dev/sda

Welcome to fdisk (util-linux 2.36.1).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.

fdisk: cannot open /dev/sda: Input/output error

This message saying "The primary GPT table is corrupt, but the backup appears OK, so that will be used." is confu ...

Score: 1
simo avatar
How to proxy the full url at nginx config?
ve flag

I need to proxy locations /v1/api/ to another url as:

location /api/v1/ {
        proxy_pass http://frontend-api.preprod.my-app.com/api/v1/;
    }

however, at the mainstream, only the slug is received:

"GET /api/v1/ HTTP/1.1" 404 209 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36"

because the upstream is configured to ...

Score: 1
Configuring Cert Based and LDAP Authorization in Apache Virtual Host
in flag

We have a scenario where we have an application that only accept client certs for authentication and that setup works well (configured in Apache VHost). However as part new requirement we would like to also check whether that user is part of a certain group in LDAP and if not then the request should get rejected.

Note in the below excerpt we were trying with a separate user being sent in the requ ...

Score: 0
Use value of from fail2ban regex
es flag

I am trying to send e-mail to me and user that someone tried to login to their ssh and failed - the IP got banned. But I don't understand how can I use the variable in the e-mail I am trying to send.

Sendmail is set up correctly as the e-mails are being sent without problem.

Here is my jail.local config

[sshd]
port    = ssh
logpath = %(sshd_log)s
backend = %(sshd_backend)s
action  = %(banaction)s[name=% ...
Score: 2
How to join values of 2 lists in ansible
cn flag

I have below mentioned 2 lists

foo: '1', '2', '3',

bar: 'a', 'b', 'c',

I want to combine the values of 2 list and get the below output in ansible. i tried using map attribute but getting error while using 2 map attributes together.

result: '1_a' '2_b' '3_c'

Score: 1
2 Remote Sites, 2 Different Subnets, with interconnectivity. How to create a single subnet for servers at both locations?
us flag

Current Environment:

We currently have 2 remote sites, both with their own LAN subnet and servers hosted at each site. Currently each site is using 1 subnet for the clients and servers. Both sites are directly connected to each other over an ISP provided LAN extension. There is connectivity between both sites and servers/clients can all communicate with each other.

Question:

When we migrate our vir ...

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.