Latest Server related questions

Score: 0
user3321266 avatar
Regex to remove certain patterns from urls
cn flag

So i've tried this multiple times but to no avail.

Basically, what I am trying to do is check if the URL has a certain language locale and remove it and do a 301 redirect to the parent url without the locale. For example, I have...

www.domain.com/mx/en-us/product/asset/23456768
www.domain.com/de/en-gb/product/asset/34565768
www.domain.com/ar/en-us/product/asset/34567788
www.domain.com/ar/en-us/affilia ...
Score: 0
user211245 avatar
AKS firewall rules
ng flag

I’ve been deploying a Private AKS cluster. On the subnet where it is supposed to be deployed I’ve assigned an UDR to force all traffic 0.0.0.0 to the internal IP of the Azure Firewall that resides in a peered VNEt aka the hub (in a hub and spoke architecture). The AKS deployment was not finished and actually looking at the node pools to be deployed it looks like the deployment failed because the ser ...

Score: 0
Tom avatar
Memcached throws errors when using it as session handler
bf flag
Tom

We are trying to use Memcached (1.5.22) as a session handler on a server with Apache + PHP 7.4, however, we have observed random errors with the message below:

session_start(): Failed to read session data: user (path: XX.XX.X.XX:11211)

The application is making AJAX requests, approximately 25 requests in one second, of these 25 requests, few present the error.

Because of that we decided to look at ...

Score: 0
AWS Postgres database IP in security group, how to enter info to survive IP address changes?
cn flag
mj_

I have an existing prod Postgres database and I would like to replicate a table to a new Postgres database. In order to get the two to be able to talk to each other, I had to edit an AWS security group and add the public IP address of the new database since both databases are on a common VPC. While reading, I saw that the public IP of an RDS database can change. This would mean that the IP entered into  ...

Score: 0
Windows Server 2012 RDS - How to add new Domainuser
cn flag

So far I never had much to do with server administration, so this question might be very basic to some people.

I have to manage a Windows Server 2012 R2. There are around 8 users who use it. They all have a local computer and connect to it via RDP and work on the server. If i type in cmd

net users

there are only the standard users (Administrator, Guest and 1 more costum), but none of the 8 "real" users.  ...

Score: 0
ffigari avatar
`nohup: failed to run command 'node': No such file or directory` when running script through ssh
fr flag

I have a remote server in which I serve a webserver using node (express) and nginx. I have a ./devops/deploy.sh script which starts the webserver and restarts nginx. Said script works correctly if I manually connect to the instance (ssh <user>@<ip>) and then run

cd my-repo
git pull
./devops/deploy.sh

I can not however set up a script which automates this. I tried with this script

#!/b ...
Score: 0
Mr Fett avatar
Server 2019 - Very large number of logon events per second even when not network connected?
cn flag

I have a domain controller installed in my home office, 1 domain controller, 1 PC, 1 user. I'm running Microsoft Server 2019. When I look in the Security Event log, I see thousands of Logon (Event ID 4624), Logoff (Event ID 4634 and Special Logon (Event ID 4672) events - hundreds per hour being generated.

A sample logon event (Event ID 4624):

Subject: Security ID: NULL SID Account Name:  ...

Score: 0
NGINX - reverse proxy but one subfolder to static local directory
mt flag

I'm having trouble figuring out the basic syntax for proxying most traffic to a local Solr install but leaving one path/dir requests being sent to a static html directory. Do all secondary, tertiary, etc... locations need to be set by regex? Haven't been able to find a simple guide on this.

current errors: /adv/index.html - 404 - Not found /adv/ - 403 Forbidden /solr/ - works fine

Here is my config: ...

Score: 0
manifestor avatar
Can I use a KVM image of Debian as a bootable image for a laptop?
mp flag

I'm given the task to create a unified Debian image for all my teammates laptops. My plan is to create a KVM with all the necessary software and settings and copy this image later with dd to the hard disks of my colleages' laptops.

  • Can I use a KVM image as the source for a bootable image for a hardware device such as a laptop?
  • I think the answer to the previous question is yes, but since this is th ...
Score: 0
marafado88 avatar
Error - Failed To Access Active Directory Failed to access Active Directory while creating resourse Azure Information Protection
in flag

I'am trying to give the hability to my users to be able to sync their Microsoft Edge features (such like bookmarks, passwords,...), over their Azure AD accounts, but I am unable to setup Azure Information Protection, who is a resource that don't come by default.

If I try to create a resource and choose "Azure Information Protection", I go the following error:

Error - Failed To Access Active Directory Fa ...

Score: 0
UtpMahesh avatar
Public Cloud Virtual Machine - Restrict Uninstalling Packages
at flag

During the evaluation on public cloud(VMs) security product, Below question came into my mind. I would like to request your kind consultancy to fix this challenge

Requirement: Install a security agent on public cloud virtual machines.

Challenge: Unfortunately Root user or ec2-user(AWS), auzreuser(Azure) can uninstall these agents

Question Is there a way that we can configure, in a way that any user in ...

Score: 0
Jérome R. avatar
SSH session is different from local
cn flag

I m connecting to my WSL Ubuntu through SSH everyting works fine except mounts environnement

When I am in Ubuntu locally, all windows drives are mounted in /mnt (local or network drives)

but if I connect to Ubuntu with SSH (same user) only local drives are mounted. I can't explain this difference. thank you for your help!

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.