Latest Server related questions

Score: 0
Alphonso Alves avatar
What is the best way to patch a server Win2012R2 that has not being patched for 2 years?
in flag

1-Native Windows Patch 2-Patch Management Software (Security Controls from Ivanti)?

Any other general advice on a sequence, timeline to perform this long patch?

Score: 0
Reload partition table on FreeBSD
cn flag

I'm searching for a way to reload a partition table in FreeBSD 12 (FreeNAS). I don't have hdparm nor gfdisk nor partprobe.

What's the standard way of doing ?

PS: my pkg doesn't work behind a firewall so i probably can't install packages other than via SCP. [EDIT]Got my firewall rules relaxed, I can install packages if needed[/EDIT]

Already read Reread partition table without rebooting? but there ar ...

Score: 0
Ciaran avatar
Allowing both SFTP and SSH with chrooted directory
gb flag

I am attempting to set up a user with SFTP access and limited SSH access. Therefore, I've chrooted the user and then set it up basically exactly as specified in this tutorial. However, while I can ssh into the server successfully, when I attempt to connect via an SFTP connection, it simply says Connection Failed.

Research and attempted fixes

I have attempted searching for anything that can explain how ...

Score: 0
How can I reimage a machine with an activated copy of Windows and keep the activation?
ng flag

This is an area I don't know a ton about. I have some devices that currently have Windows 10 installed with volume licenses activated by the OEM before we received them. Now we have a situation where we need to reimage them.

Problem is, these devices are air-gapped and never meant to connect to an external network.

My understanding is that OEM licensing is tied to UEFI. Is there any way to ensure th ...

Score: 0
bind2lrz avatar
use Test-VHD cmdlet without hyper-v installed role
ht flag

I wrote a powershell script to have a vhdx image from physical server using Disk2vhd cli with schedule and retention. Disk2vhd doesn't have an exit code so I cannot understand when it works and when it fail. I thought about using the Test-VHD cmdlet that returns True or False when the vhdx is ok or not. I can't find clear documentation about this, it seems to be related to differential disks, so  ...

Score: 0
How to troubleshoot tftp issues with some (but not all) clients
sl flag

I have a working PXE server using Puppet Razor (now end of lifed, but we still need it to work a little longer). It has built hundreds of systems for us.

I can go to most systems here and manually tftp files from that server and get files whose MD5SUMs match perfectly.

We have some systems in a remote location, though, which aren't able to TFTP any files properly. They get their DHCP address, but fa ...

Score: 5
How to rename a systemd service without affecting the process (no stop/restart)
eg flag

There are multiple reasons to have to rename a systemd service in production. For example:

  • to better differentiate it from a new one
  • because your boss ordered it
  • because of legacy scripts
  • ...

Assuming a new generic service created in /etc/systemd/system/foo.service and enabled and started as follow: [1]

systemctl daemon-reload
systemctl enable --now foo

Then, you may want to rename it from foo.serv ...

Score: 1
Andrew Lamarra avatar
Access dict value in variable from the same list item in Ansible
tr flag

I'm using Ansible to deploy some virtual machines and I have a list variable defining the VMs. I'm wondering if I can have one of the dict items use another as a variable within the same list element. For instance, say I have the following variable defined:

nodes:
  - name: vm1
    aliases:
      - vm1
      - vm1.local
  - name: vm2
    aliases:
      - vm2
      - vm2.local

Could I, instead, do some ...

Score: 0
Rajarshi Das avatar
Ansible sudo su get error "atal: [test1]: FAILED! => {"msg": "Timeout (62s) waiting for privilege escalation prompt: "}"
in flag

I have the below ansible script whre it got failed

- name: Download Java to Latest Version
      become: yes
      become_method: sudo
      become_flags: su
      become_user: root
      shell: |
        cd  /home
        wget -c --header "Cookie: oraclelicense=accept-securebackup-cookie" {{javaurl}}
        tar -xzvf ./jdk-*.tar.gz
        rm ./jdk-*.tar.gz

Fatal: [test1]: FAILED! => {"msg":  ...
Score: 0
bhanu avatar
Fixing Permission Issue (Operation not permitted (1)) when using github action
ca flag

I have an aws ec2 instance and I am trying to setup github action. My action is not able to sync. The error I get is

Warning: Permanently added 'XXXXXXXXXX.compute.amazonaws.com,XX.X.XX.XX' (ECDSA) to the list of known hosts.
sending incremental file list
rsync: failed to set times on "/var/www/html/wp-content/themes/XXX-theme/.": Operation not permitted (1)
./
rsync: failed to set times on "/var/w ...
Score: 0
winpe iscsi results in access denied
us flag
Ino

i have tried anything came to my mind including checking with what permissions i copy the 4 files by "hand"

i tried win 10 win 11 win server 2022 to create te PE i tried physical hosts hyperv virtualbox vmware to boot

net start msiscsi always result in access denied error 5

set WindowsPE=C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_O ...
Score: 0
Bert avatar
Deployer task with $options?
ng flag

I'm using deployer (https://deployer.org/docs/6.x/tasks) to deploy my laravel application and it works like a charm. However, I want to make it more pretty. Why? Because I have background NodeJS processes running and at every deploy, they need to be restarted. Since there are 2 type of applications, the following is present in my deploy.php

task('post-deploy', [
    //'cron:install',
    'pm2:restart:qw ...
Score: 1
azk avatar
Custom fact does not receive value
ph flag
azk


This is a playbook part of a role that talks with vmware.
I'm is trying to set a custom fact (target_vm) that receive the virtual machine name.
But when I Print it's value with the debug module it apears to be empty.
I don't know what I'm is doing wrong in the set_fact module.

This is the Playbook

- delegate_to: localhost
  become: no
  delegate_facts: yes
  vars:
    vc_hostname: 'vcenter.bio.local'
     ...
Score: 0
class_OpenGL avatar
Error with docker in a Slurm environment that uses LDAP as user management
cn flag

I have the next environment: a cluster with a head node, which is used to access all the compute nodes and the storage nodes. Slurm is installed in the head node and all the compute nodes, where the control of Slurm is in the head node. All users across all the nodes are managed with a LDAP server outside the cluster.

I would like to be able to launch docker processes using Slurm. With 'normal' d ...

Score: 1
Why Firefox doesnt work with split DNS / Host Overrides?
it flag

I have configured Host overrides in pfSense and other browsers like Chrome and Edge work fine but Firefox simply does not resolve giving "Unable to connect" error.

This is the same on my laptop with fresh install of Firefox with default settings. DNS over HTTPS is disabled by default so that's not it.

Why is Firefox not working with Split DNS? I would like to continue using Firefox but if there is n ...

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.