Latest Server related questions

Score: 1
AWS Application Load Balancer bringing ASP.NET application down
ng flag

I have an AWS Application Load Balancer configured with EC2 and an auto-scaling group. The EC2 instances run a Windows+IIS web server. The Web Server connects to a database.

It has happened in some situations (once every 2 months) that the Health Checks for the ALB start to detect the application as unhealthy and take the EC2 instances down. There are always at least 2 instances running, and this ...

Score: 0
Resize AWS LVM volume
cn flag
b4d

I have successfully increased the space on AWS EBS volume.

# lsblk
NAME         MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
nvme0n1      259:0    0   64G  0 disk 
├─nvme0n1p1  259:1    0 63.9G  0 part /
├─nvme0n1p14 259:2    0    3M  0 part 
└─nvme0n1p15 259:3    0  124M  0 part /boot/efi
nvme1n1      259:4    0    2T  0 disk 
└─main-var   254:0    0  996G  0 lvm  /var

How can I add the 1T on  ...

Score: 1
Removing a machine from domain using PowerShell
cn flag

I was tasked to develop a PS script to remove machines from the domain for automation purposes. I am not a full time scripter so i went ahead and did some digging and found this :

"Remove-Computer -UnjoinDomaincredential nsmg\svc_unjoindomain -PassThru -Verbose -Restart -force"

when i run it on my test computer that is currently joined to my company computer i get this error: "Remove-Computer : Fail ...

Score: -1
csmith avatar
Forcing inactive user log off
cn flag

Is it possible to force a user log off after a set period of inactivity without the use of a scheduled task? I have tried using the Interactive Logon: Machine Inactivity limit GPO and it does not work.

Score: 0
user371793 avatar
Firewalld Blocking SSH between Clients on WireGuard LAN
gb flag

What needs to be allowed in firewalld so that WireGuard clients can connect to each other via SSH?


The Setup

I have two clients and a server on a WireGuard VPN network. All of them are running Debian 11.

CLIENT A -------- SERVER -------- CLIENT B
10.0.1.2         10.0.1.1         10.0.1.3

What Can Be Done

  • I can SSH from either client to the server.
  • I can SSH from the server to either client.
Score: 0
SinaOwolabi avatar
cloud-init seems to be ignoring write-files script
ng flag

H!

I am trying to configure VMs with cloud-init, using the terraform Libvirt provider. For some reason I don't understand, setting hostname works, but writing and running a script for additional configuration is completely ignored. Would appreciate if anyone can explain what I'm doing incorrectly. My yaml:

    #cloud-config
    local-hostname: ${hostname}
    instance-hostname: ${hostname}
    write_f ...
Score: -1
Can I run Discourse on a headless server with no GUI?
cn flag

I have Ubuntu 20.04.3 on a Raspberry Pi 4B. I am unable to install any GUI desktop apps. The purpose of building this server was to run Discourse or similar service. So far all applications that require a GUI display fail to run due to "No Display".

Score: -1
Kevin F avatar
Glue record limitations for authoritative nameservers
in flag

I am trying to set up some nameservers for use by many domains, but there appears to be some issues with my set-up and I am not clear on what needs to be fixed to get it to work.

For my nameservers, it is set up as follows:

  1. I have several nameserver domains, ns-com.example, ns-net.example, ns-org.example.
  2. I have several nameservers. The nameservers correspond to their own subdomain.
ns1 => 192.0.2.12 ...
Score: 1
beingmerry avatar
Force generate a new session or lock a session ID to a client when using the same login for Windows Virtual Machines versus taking over empty session?
lk flag

Situation

Our engineering group generates new Windows VMs from a template that uses a generic admin user. Through the course of a project that user is used in multiple, parallel sessions by several engineers that are making modifications to code or configuration.

Most engineers utilize the old Microsoft RDP Terminal (mstsc) or the new Windows 10 Microsoft Remote Desktop Application (version 10.2.1810.0 ...

Score: 0
James Johnson avatar
Email headers: Source IP in x-source-ip but not in "Received" hops
de flag

I'm investigating an email and in its headers all the hops (Received entries) are private (10.X.X.X) addresses. Initially I thought that this simply meant that the email originated from the same mail-server (so it never needed to do a public hop). However, after contacting the provider (Intermedia), they informed me that the source is determined from a different section of the header (x-source-ip ...

Score: 0
Zappenduster avatar
apache2 is directing to wrong path when using https for sub domains
np flag

I have an ssl wildcard cert (letsencrypt) for example.de & *.example.com.

My 000-default.conf looks like:

<VirtualHost *:80>
    # The ServerName directive sets the request scheme, hostname and port that
    # the server uses to identify itself. This is used when creating
    # redirection URLs. In the context of virtual hosts, the ServerName
    # specifies what hostname must appear in the  ...
Score: 1
Duplicate Desktop Icons for single user over Remote Desktop Session
ru flag

We have an RDS environment for our customers where they RDP into their server and their AppData is stored in a remote profile disk (VHDX), their user home is a redirected folder also stored in a remote location. Some customers have more than 1 RDS session host they can connect to, this one in particular has 2.

With one user in particular, only one user, 3 of their desktop shortcuts are duplicated. If ...

Score: 0
ebr avatar
Why does 'kubectl' sometimes return a *node* name instead of the *pod* name if the specified pod no longer exists in the cluster?
cn flag
ebr

Sometimes kubectl get pod some-pod-1234abc returns an error like: Error from server (NotFound): pods "ip-192-168-55-196.us-east-1.compute.internal" not found. This is surprising because the error references a node, not a pod name. This happens very rarely, and seems to be (I've yet to verify this with certainty) happening only for pods that were recently deleted.

What conditions could cause this to h ...

Score: 0
Mounting Azure Files in Azure App Service
kh flag

Summary

I have an Azure App Service running a custom container. When I bind a path to an Azure Files share my container stops working. Looking at the Container Issues logs, I see the error: [BYOS] Custom storage volume(s) failed to initialize: [/var/LWASFiles/Sites/my-app/a3484543-39f9-45a3-816b-9524640dfd50].

Detail

  • My custom container has a volume defined /var/www/html/v3/uploads.

  • I'm attempting to  ...

Score: 1
tomred avatar
MS Azure AD connect & Exchange hybrid deployment
za flag

I have a MS Small Business Server 2010 server with Exchange. We have looking to migrate to O365. I deployed a new Windows 2019 server (the SBS machine's UI was painfully slow) and promoted that to the PDC. I then installed MS Azure Active Directory Connect and started syncing the AD. I did not enable Exchange deployment.
Now I am in a better place to begin moving to a hybrid environment with a view  ...

Score: 0
analnassorog avatar
EC2 - Serving multiple websites on 1 instance, each on its' own IP address
in flag

Currently I have an EC2 machine (t2.small which is limited to 3 network interfaces and 4 private IPv4 addresses per interface) with 1 elastic ip associated to it and it runs Ubuntu with a simple Apache server that serves about 2-3 websites, which they all connect eventually to the same RDS instance. What I want to achieve is to be able to serve each of these websites on its' own IP address but still usi ...

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.