Latest Server related questions

Score: 0
Steve avatar
SQL Availability Group Failover Automation through PowerShell - Slow response
cn flag

I am trying to automate the process of failing over AGs on SQL Server 2017 and I run the below command remotely through PowerShell over remoting (port 5985)

Invoke-Sqlcmd -ServerInstance .\INSTANCE01 -Query "ALTER AVAILABILITY GROUP AG1 FAILOVER;" The AG is the backend to a time sensitive financial application. What we are noticing is that when the AG is failed over manually through SQL Server Ma ...

Score: 0
JDias avatar
Connection problems between servers - Application (IIS) - SQL Server
in flag

I created a web application (ASP.NET Core MVC) which retrieves large amounts of data from the SQL server. The application is installed in a server (A) with IIS 6.2 and Windows Server 2012R2, while the SQL server is installed in another server (B) with MS SQL Server 2014 and also Windows Server 2012R2.

When this application is installed in the server A, the retrieval of large amounts of data retur ...

Score: 1
ljrk avatar
How to send pending shutdown message to systemd services
za flag

I'm using Fedora CoreOS with the automatic updater enabled, which is great for my use case. Already, when logged in interactively, the system warns about an imminent shutdown/restart via the console, with the same mechanisms described in the answers like Sending shutdown messages to all clients from server

However, the "actual" users of this server aren't Linux users with SSH access but access s ...

Score: 1
amigobrewbrew avatar
How to close SFTP session with Azure logic app after task is finished?
es flag

We have an Azure logic app that checks every five minutes for files on an external SFTP server. Sometimes the requests fail. The external party indicated that this might be because the SFTP sessions are closed only after two hours, while additional sessions are created every five minutes. The logic app only needs a few seconds to finish its tasks. How can we close the SFTP session to the external server ...

Score: 0
Zeep avatar
Log or find TLS version of connected clients in an Azure App Service
gu flag

Where can I find or log the TLS version used in the handshake between a client and our API hosted as an Azure App Service?

On a VM you can add CRYPT_PROTOCOL as a custom field to your applicationHost.config file, but how do I do this in an Azure App Service? I cannot seem to find any information on that.

I'd like to set the minimum TLS version to 1.2, but I first need to find out if there are still  ...

Score: -2
Rohanbatrame avatar
Geolocation-based Domain Name Resolution
in flag

Can I have Geolocation-based Domain Name Resolution in PowerDNS cluster?

I have to make a PowerDNS cluster for my project and there is a requirement of Geolocation-based Domain Name Resolution.

Is it possible? If yes, how?

Score: 0
Lisek avatar
PostgreSQL - PSQL Client Hangs on almost any operation
bn flag

I've got PSQL Server (Tried 13 and 14)

A very basic setting. One small DB.

One user with password.

in pg_hba I have configured access from network (md5) to those databases.

When I connect from Server host everything is ok, I can do everything I want. When I connect from remote machines (any) I successfully connected. I can see databases, connection settings. Everything looks fine. But when I just do "\dt" ...

Score: 0
Antonio Santoro avatar
Angular application CORS issues using Nginx
ht flag

My Angular application is unable to make requests to my backend. This is the Nginx configuration

server {
  listen 0.0.0.0:443 ssl;
  listen [::]:443 ssl;

  server_name my.site.io;

  ssl_certificate /etc/nginx/certificates/my.site.io.crt;
  ssl_certificate_key /etc/nginx/certificates/my.site.io.key;

  root /var/www/my.site.io;

  location / {
    try_files $uri $uri/ /index.html;
    add_header  ...
Score: 0
seb avatar
NAT64 : make an IPv6-only internet host reachable from any IPv4-only internet host
kr flag
seb

I have Host A, who knows only IPv4 Host B, who knows only IPv6 Host C, on Ubuntu, who knows both IPv4 and IPv6

I need host C to act as a gateway between IPv4 and IPv6. All 3 hosts are on the internet with publicly reachable addresses (IPv4 for A, IPv6 for B).

IPv6-only host will not need to connect to the IPv4-only host. What I mean is I need a translation from IPv4 to IPv6, not the contrary. A will ...

Score: 1
basin avatar
RewriteRule is applied to all files during directory listing
vn flag

With Options Indexes and LogLevel rewrite:trace6 I see that my rewrite rule is applied to all files in the directory being listed. It even goes inside sub-directories and looks for index.html. This is bad for performance. Is this really necessary? How to disable it? In the actual configuration I have a "prg" RewriteMap and this program receives all listed files on its STDIN.

The problem is reproducible w ...

Score: 0
Is it possible to create IPsec VPN tunnel between 2 Azure subscriptions
pk flag

I have 2 different azure subscriptions for which I want to create a VPN tunnel. The obvious choice would be to create a VNet-to-VNet tunnel but as I understand this would cost extra resources.

So I opted for an IPsec tunnel, I created the connection on both sides pointing to each other public IP of the gateway but no connection has been established.

My question: is it this technically possible or ha ...

Score: 0
In Linux/bash how can I prevent asynchronous commands?
vn flag

I have a makefile that calls external build scripts.

Some of these scripts (which I can't change) make use of commands that are forked / backgrounded (or asynchronous as the bash manual names them)

That means that the next line in the makefile can start before some of the previous command finishes - creating a race condition.

I somehow need to either wait on the forked process and all it's children, or ...

Score: 0
nipy avatar
Add curl command to function for bash profile
br flag

How do I add this command as an alias or function to my bash_profile?

curl -X GET -H "x-api-key:xxxxxxxxxxxxxx" -H "Content-Type: application/json"  https://xxxxxxx.amazonaws.com/api/ | jq

I tried this:

my-func () { curl -X GET -H "x-api-key:xxxxxxxxxxxxxx" -H "Content-Type: application/json"  https://xxxxxxx.amazonaws.com/api/ | jq; }

I get the following error when trying to add as an alias or use  ...

Score: 0
AlexGordon avatar
Debugging Reconcile triggers in Kubernetes Operator
cz flag

I am using a custom resource in my kubernetes cluster and have built an operator (using Operator-SDK).

In my operator reconcile function, I create a secret owned by the CR and apply it on the same namespace as the CR.

Lately, I see that reconcile function is triggered for every CR instance in the cluster. This happens periodically and in strange intervals.

Could you please suggest a method of debugging ...

Score: 0
SDHCI Driver Fails on First Load and Succeeds on Subsequent Reload
bd flag

I have a RHEL 6 system with kernel 2.6.32 that is currently exhibiting problems with the sdhci driver.

When I first load the sdhci_pci kernel module (after loading the sdhci module) when an SD card is inserted, I observe a large number of I/O errors and the device is not enumerated.

Oct 13 02:52:57 localhost kernel: sdhci: Secure Digital Host Controller Interface driver
Oct 13 02:52:57 localhost kerne ...

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.