Latest Server related questions

Score: 2
Using same port in both IIS and nginx on different IP addresses
gb flag

The server is running Windows Server 2019 Standard with IIS 10, and it has two network interfaces with public IPs (198.51.100.1 and 203.0.113.1)

My desired setup:

  • IIS: 198.51.100.1 on port 80
  • IIS: 198.51.100.1 on port 443
  • IIS: 203.0.113.1 on port 80
  • nginx: 203.0.113.1 on port 443

But after IIS started, the http.sys (PID=4) starts listening 80 and 443 ports on all IPs:

  TCP    0.0.0.0:80             0. ...
Score: 0
719016 avatar
Computer with 12+1 Thunderbolt 3 connected GPUs crashed when using eGPUs
de flag

We've set up an AMD Ryzen computer with Ubuntu 21.10, and plugged 6 Akitio Duo machines each with 2x NVIDIA 4GB cards via 2x Thunderbolt hubs, as well as a 13th card directly on the PCIe slot which is a 16GB NVIDIA card (RTX A4000, can run 4 jobs in parallel).

We have this rig running 12+4 threads of Alphafold2 (https://github.com/deepmind/alphafold#running-alphafold) and for the most of it, it can run w ...

Score: -1
ihorc avatar
dd the entire SD card to one partition on HDD
cn flag

This particular question is related to Raspberry Pi, but in fact, this is a general question.

So, I have an SD card with RPI system running on it consisting of two partitions:

Disk /dev/mmcblk0: 59.5 GiB, 63864569856 bytes, 124735488 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
 ...
Score: 0
Natalia Petrushenkova avatar
GKE collector metrics missed some metrics
az flag

[enter image description here][1]On the cluster in GKE, we have a CronJob deployed, which sends prometheus metrics to the handler. A collector is launched to it using PodMonitor. I understand that it may not be fully compatible with CronJob. But maybe someone can help. Not at all systematically, but periodically, the collector completely misses all the metrics from the CronJob. That is, our cron runs on ...

Score: 0
Not enough space in SAMBA subdirectory
mx flag

our company has a legacy server running SUSE 11 release 3.0.76-0.11.

2 disks are mounted on this server. Disk 1 (500GB remaining) mounted as /DIV1/DE and Disk 2 (2TB remaining) as a sub-directory of it /DIV1/DE/Ongoing.

SAMBA is configured as standalone and shares /DIV1/DE and /DIV1/DE/Ongoing. SMB Protocol is SMB2. No read/write permission issue so far. (DK why SAMBA is configured like this, we  ...

Score: 0
MySQL shutting down unexpectedly every 24 hours on Ubuntu
au flag

For the past few days, my three servers have been experiencing the same problem almost at the same time, about every 24 hours.

I haven't changed anything in the code using MySQL or ubuntu configuration for months.

What I can see in the error logs (/var/log/mysql/error.log) is that apparently MySQL stops by itself for no reason:

2022-02-10T06:48:17.246813Z 0 [Note] Giving 10 client threads a chance to die ...
Score: 1
How to restrict a user to rbash when logging in via SSH
us flag

I would like to restrict some users on my server to only being able to execute certain commands. To do this, the most common approach that I could find is to use rbash.

While I can find many websites talking about rbash, I am having trouble to find any information how to use it right. The most common approach that I could find was to create a symlink from /bin/rbash to /bin/bash, set the restricte ...

Score: 0
apache2 broken with permission
ru flag

Version

Linux 4.15.0-76-generic Ubuntu 18.04.4 LTS

the beginning of the problem

I checked the update error of apache during the apt-get upgrade process in the virtual server (cloudit).

First Message ... apache2 : Depends: apache2-bin (= 2.4.29-1ubuntu4.21) but 2.4.29-1ubuntu4.20 is installed ...

Try 'apt --fix-broken install': /unable to make backup link of '.usr/sbin/apache2' before installing new v ...

Score: 0
Anonymous Corp avatar
Getting TSV file output excluding 2 resource types from the az resource list in Azure CLI
cn flag

Kindly concern that I need to get the azure resource list from the azure CLI excluding 2 kinds of resource types and output the file to a TSV file. I was able do this particular operation via PowerShell from the following command.

PowerShell Command - get-azresource | where ResourceType -notmatch microsoft.network/privatednszones/virtualnetworklinks | where ResourceType -notmatch microsoft.insights/ac ...
Score: 0
Mohamed Gamal Eldin avatar
Sync a directory between two shared hosting servers using rsync
gy flag

I have two shared hosting servers and I need to sync a directory with subfiles/directories using rsync via SSH automatically.

Mean: If server1 had changed server2 updates the changes. If server2 had changed server1 updates the changes.

I can use cron but I don't know the best way to do that.

Score: 0
user258738 avatar
Hosting .NET Core Razor Application on Ubuntu 20.04 with NGINX
cn flag

I have started trying to self host some projects to get a better understanding of the Networking/Hosting principles and I have been having an issue with hosting a .NET CORE app in Visual Studio following the Razor MVVM pattern.

Main question is, is this even possible or does it need to be on Windows Server?

I initially wanted to create two websites off the same domain ie game.domain.com and api.domain. ...

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.