Latest Server related questions

Score: 0
aag avatar
win2022 server VPN: connection established from intranet but not from internet
br flag
aag

I have set up a VPN server on a Win2022 server. My Win10 clients (configured as "automatic VPN choice") can log onto the VPN without problem from within the intranet, by addressing either the public URL or the IP address of the server. Obviously, this not useful - but it proves that the VPN plumbing is properly configured and works.

However, when trying to reach the VPN from outside the LAN perim ...

Score: 1
Curl Command Send Asynchronous Request
sx flag

I using this curl request for sending data to API :

curl --location --request POST 'MY_IP' \
--header 'Content-Type: text/plain' \
--data-raw ' [{
    "event_id": "123",
}]    
'

I want to check the API performance by sending request asynchronously and measure the time take I tried to use xargs -P 10 which say send 10 request parallel but not able to do so ? Any help and how I can measure time ?

Score: 1
Paweł avatar
Accept both MD5 and SHA512 hashes is /etc/shadow
id flag

I recently upgraded debian server with many users to a recent version. The old server used MD5 password hashes (the shadow passwords begin with $1$) and new one is configured to use SHA-512. I want to migrate users from one server to another.

Is there any way to allow both MD5 and SH512 hashes in /etc/shadow? Of course I need MD5 hashes just to allow old users to login until they change password  ...

Score: 1
Confused about how to manipulate GCS bucket/object permissions
us flag

On my laptop I have a directory which contains a subdirectory, which in turn contains a bunch of HTML files. It looks like this:

% ls -lR 2000-09
2000-09:
total 12
drwxrwxr-x 2 skip skip 12288 Nov 18 07:42 html

2000-09/html:
total 648
-rw-r--r-- 1 skip skip 18489 Dec  4  2019 index.html
-rw-r--r-- 1 skip skip 18489 Dec  4  2019 maillist.html
-rw-r--r-- 1 skip skip  3468 Dec  4  2019 msg00000.html
 ...
Score: 0
Sql Server Standard 2019 Core Licensing
ru flag

*Sorry, found other licensing questions on the site so naturally assumed these were ok here... The suggested post did not answer the question I specifically asked

Please remove the post if I've violated some rule and I will seek an answer elsewhere.*

I know the "rules" say I have to buy a core license for Sql Server 2019 for each core in the machine, in our case 10 cores/20 threads. I would need 5  ...

Score: 0
royarisse avatar
Bad performance on multiple loop devices used as file containers
cn flag

Currently, I'm managing a back-up service for multiple remote servers. Backups are written trough rsync, every back-up has it's own filecontainer mounted as a loop device. The main back-up partition is an 8T xfs formatted and the loop devices are between 100G and 600G, either ext2 or ext4 formatted. So, this is the Matryoshka-like solution simplified:

df -Th
> /dev/vdb1    xfs   8,0T   /mnt/back ...
Score: 0
FlexMcMurphy avatar
rsync : write failed - No space left on device (28) despite using --inplace
kr flag

I am using a script to make a backup of a running Debian Stretch based Linux Distro (NextCloudPi)

The method in the script that does the backup uses rsync.

backup()
{
  mntimg
  sync
  rsync -aDH --partial --numeric-ids --delete --force --exclude "${MNTPATH}" --exclude '/dev' --exclude '/lost+found' --exclude '/media' --exclude '/mnt' \
--exclude '/proc' --exclude '/run' --exclude '/sys' --exclude '/t ...
Score: 0
Josh M. avatar
yum not updating dependency during install
pe flag

I have a situation where my-software requires my-common via:

Requires: my-common >= 1.2.0

During yum update my-software, my-common is not upgraded, and is left at version 0.0.1.

Why is yum not updating my-common -- and the install of my-software completes without error, even though the dependency for my-common is not resolved?


See:

# yum deplist my-software
package: my-software.noarch 1.1.0-163725536 ...
Score: 0
Start/Search on Windows Server 2016 doesn't return some results
ng flag

For example, BizTalk is installed on this server, but when I search for BizTalk, none of the admin tools appear. To get to BizTalk, I have to click the "Start" button, scroll down to "M" and then find Microsoft BizTalk Server folder, and expand it, then click on the icon.

Example of search failing:

enter image description here

Example of scrolling down to find BizTalk:

enter image description here

When I search for Visual Studio, "ISE" (for Windows PowerS ...

Score: 0
sanjayparmar avatar
AKS Multiple Nginx Ingress with internal LB
jp flag

Azure Kubernetes - AKS - K8s version - 1.20.9.

Trying to setup multiple nginx ingress with Internal LB.

ingress controller with ingress-class -

helm install test1  ingress-nginx/ingress-nginx \
    --set controller.replicaCount=1  \
     --set controller.nodeSelector."beta\.kubernetes\.io/os"=linux \
     --set defaultBackend.nodeSelector."beta\.kubernetes\.io/os"=linux \
     --set controller.ingressCla ...
Score: 1
What is UDP Masquerading behavior when forwarding and listening on the same port to the same remote address?
cn flag

Assuming the following:

||netns2|<-kernel routing-> netnsRoot| <-network routing-> |remote server| 

netns2

  • is a network namespace
  • has a client that connects to the UDP server on UDP/5060

netnsRoot

  • is the root network namespace (IE: typical linux routing)
  • has a client that connects to the UDP server on UDP/5060
  • Has ip_forward enabled and has a Masquerade rule for netns2

Server

  • Onl ...
Score: 0
Find Salt statck Job Status by jid using rest_cherrypy API
cn flag

I have enabled the rest_cherrypy in the salt master

Currently trying to call the jobs API (https://docs.saltproject.io/en/latest/ref/netapi/all/salt.netapi.rest_cherrypy.html#salt.netapi.rest_cherrypy.app.Jobs) to find the job status.

Although i am able to authenticate and submit that job using these APIs, but i am not able to get the job details. Please help me with this.

PAM config :

external_auth: ...

Score: 0
How to bind CPUAffinity dynamically for systemd sub-services
cn flag

I have a systemd bob.target as follows:

Requires=bob@0.service bob@1.service, bob@2.service

I want to set a two-cpu CPUAffinity for each of the bob@ services as follows:

CPUAffinity=0,4 # bob@0
CPUAffinity=1,5 # bob@1
CPUAffinity=2,6 # bob@2

My ideal goal would be to set two CPUS as follows:

CPUAffinity=%i %i+1

When I try the following to dynamically set one of the CPUS I get a parse error:

CPUAffinity ...
Score: 0
Gilberto Martins avatar
In OVH, how to connect 2 VMs, each one in a ProxMoxServer, using vrack?
cn flag

Each of both PVE has 1 VM for firewall and several other VMs, organized in subnetworks, addressed with RFC1918, according to the this diagram

For better understanding, this is the networking addressing:

PVE01 - Net 01 - 172.1.10.0/27
PVE01 - Net 02 - 172.1.20.0/27
PVE01 - Net 03 - 172.1.30.0/27

PVE02 - Net 01 - 172.2.10.0/27
PVE02 - Net 02 - 172.2.20.0/27
PVE02 - Net 03 - 172.2.30.0/27

Actually, any s ...

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.