Latest Server related questions

Score: 4
David Rogers avatar
Upgrading Windows Server + Domain Controller to Windows Server 2019 - Fails On "ADPrep.exe"
au flag

I'm am using the instructions here to upgrade my Windows Server 2012 AD Controller to Windows Server 2019. This server is a isolated AD controller that has no other server/clients connected to it in any way.

When I run the following on this server:

./adprep.exe /forestprep /forest Dev

I am presented with the following error:

Adprep could not contact the Schema FSMO STORMDEMO.DEV.EBM.COM. The Schema FSMO ...

Score: 0
R T avatar
How to route a specific IP through a specific NIC (PC have 2x Interfaces)
us flag
R T

I have a PC with two Interfaces.

One is always left as DHCP (and for Internet access via a LAN cable at work). The second is with a fixed IP and Subnet Mask, to communicate with another Linux machine via a Switch. The PC has an IP set to [10.10.10.20] The Linux machine has the IP [10.10.10.9]

in the photo you can see the result of ipconfig

> Ethernet adapter Linux:
> 
>    Connection-specific DNS Suffix  . :    
>    IPv4 Address. . .  ...
Score: 0
Restart PHP FPM as root - Authentication is required to restart 'php7.4-fpm.service'
mz flag

I have a www-data user, I allowed to restart PHP FPM by him in /etc/sudoers:

www-data ALL=(ALL) NOPASSWD:/usr/sbin/service php7.4-fpm restart

/etc/sudoers has right permissions

ls -la /etc/sudoers
-r--r----- 1 root root 915 Jan 19 23:26 /etc/sudoers

But I still can't restart FPM from www-data account

/usr/sbin/service php7.4-fpm restart
==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-un ...
Score: 1
Nstevens avatar
Why is google spamming my Wordpress site with dating keywords?
br flag

I have a Wordpress site getting hit with over 100k requests per day with the same request below. All these GETs are coming from about 200 different IPs within the same Google netrange (66.249.x.x). There is no /search/ route on the site, but something in Wordpress (Relevanssi?) must be processing this request because there are UTF-8 collation errors in the DB, probably due to the emojis or cyrillic c ...

Score: 0
HTTPS POST-Request fails in connection with Content-Length
iq flag

A PHP application posts XML data with curl; nothing fancy, the output looking like (c/p, but identifiers and passwords changed):

Host: foreign.host.example
Authorization: Basic dGVzdDpnZWhlaW0=
User-Agent: ourhost HTTP-connector/1.0
Accept: */*
Referer: https://our.host.example/
Content-Type: text/xml
Content-Length: 9218
Expect: 100-continue

[9218 bytes of XML data]

This is done on a couple of sourc ...

Score: 2
samikroon avatar
Wireguard Client IP Identification
mn flag

Let's say we have the a Wireguard setup like in the below diagram (see imgur link, couldn't post image without reputation) with the following PostUp & PostDown:

PostUp = iptables -A FORWARD -i wg0 -j ACCEPT; iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
PostDown = iptables -D FORWARD -i wg0 -j ACCEPT; iptables -t nat -D POSTROUTING -o eth0 -j MASQUERADE

https://i.stack.imgur.com/nXEmF.png ...

Score: 0
ficestat avatar
AWX: Unable to SSH as root into target host only when using a specific Ansible role
in flag

In our AWX environment we have an Ansible role "Nessus Applicaiton" for RHEL 7/RHEL 8. It deploys the Nessus agent application just fine for new RHEL 7 servers, but not for RHEL 8.5 servers as it seems it cannot connect via SSH port 22.

We have several other templates that allows AWX to connect as root to the RHEL 8 target hosts, and deploy other roles and templates without issues.

The root publi ...

Score: 1
Dai avatar
Hyper-V stopped working after January 2022's Patch Tuesday (2022-01-11): The operating systems boot loader failed with error 0xC00000BB
cn flag
Dai
  • I only just noticed this now, but apparently since 2022-01-11 ("Patch Tuesday" in January 2022) my home network's dev-server's Hyper-V hypervisor has been unable to start.

    • The box is a 6 year-old Xeon E3 machine (UEFI of course), running Windows Server 2012 R2 with the Domain Controller and Hyper-V host roles installed.
  • The Hyper-V Event Logs are littered with errors, but those are all second-orde ...

Score: 3
Domain Controller autoenrollment - changing issuing CA
us flag

We are cleaning up our Windows PKI/CA environment and replacing our root CA with a new server. The current root CA has been issuing the following certificate templates for years now (in addition to the Subordinate certificate template):

  • Kerberos Authentication
  • Domain Controller Authentication (we know this is superseded now by the Kerberos Authentication template)
  • Domain Controller (we know this is sup ...
Score: 0
J.Hudler avatar
Windows Server 2022 RDP connection fails with error 0x3 + extended error 0x11
cn flag

The Issue:

Today I started receiving an error while connecting to an Azure hosted Windows 2022 Server that until recently (2 or 3 days ago) were connecting fine.

The symptom: the connection error occurs after authentication (filled still in the client app) and passing all the security checks phases. When the RDP screen is to be rendered (it is created but still all black), it gives the error.

Your Remo ...
Score: 0
Halsi avatar
Is there an easy way to expand a Linux VMs disk?
cn flag

Im currently planning a cloud solution. The cloud is supposed to run on Linux VMs via vSphere. Right now, every time I want to increase the virtual disk space of an already set up Linux VM, it’s a hassle because I‘m using the gparted iso, which means I have to shut down each VM to expand the disk and then do some extra work once I’ve increased the disk to get the file system to recognize it.

Score: 0
Pentium10 avatar
steps to safely logrotate on Cloud Run containers
jp flag

As /var/log is a black box, as it's engineered by PaaS mount which we don't really are able to inspect.

The context is that log files supposedly are building up storage space counting towards the memory, and over the time of an instance they should be cleanup.

Do we have a way to know when a log entry has been picked up, and safe to be removed? Do you know if there is an automatic logrotate inclu ...

Score: 0
Konchog avatar
Apache2.4 SetEnv to value of request header
cn flag

I want to set the value of env with a request header.

    SetEnv X_THING %{req:thing}

but it's not working as planned; it looks like the value of SetEnv isn't being evaluated.

Score: 0
Loc12342 avatar
Prevent EC2 User from Seeing AWS Secrets and Credentials
cn flag

Preface:

I use a windows EC2 instance with a role attached that allows it access to specific AWS Secrets Manager secrets. We never use access keys directly. The app running on the instance needs to be able to pull these secrets.

The end-user of this instance is currently required to RDP into that instance in order to perform their task. The end user is never directly aware that they can access the secr ...

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.