Latest Server related questions

Score: 0
Answer file in an iso for windows server 2022
US flag

I have been struggling for about a month to create an iso for windows server 2022 for an automatic install. I have followed every tutorial I could find. If you have an ISO that automatically installs this version of windows server, please share it. I think I could rework any ISO so that it does what I need.

I know I shouldn't beg, but this is where I am at.

Please help.

Thanks

Score: 0
themdd avatar
Bridge between networks
de flag

I'm beginner and I'm trying to set bridge between two networks in Virtual Box. I've created two VMs (Debian1 and Debian2) and for network settings I set Debian1 to intnet1(Internal network) and Debian2 to intnet2(Internal network).

Next, content of the /etc/network/interface of Debian 1:

auto lo
iface lo inet loopback

auto enp0s3
iface enp0s3 inet static
address 192.168.10.2/24

auto br0
iface br ...
Score: 0
openssl functions randomly returns warning: command substitution: ignored null byte in input
im flag

I try to encrypt some loads, here is a minimum working example (is RSA private key)

 to_be_signed="2f93992bb1db9cab0b3b8fc2de0a2863"
 #to_be_signed="7d6d2a584a227574e1c113aab56ea490"
 # Sign poly_1305 with private key
 signature=$(openssl dgst \
   -sha256 \
   -sign ${privkey} \
   <(echo "${to_be_signed}")
 )
 if [ ${?} -eq 0 ]; then
    echo "[*] to_be_signed correctly signed"
 else
    echo  ...
Score: 0
BPDev avatar
Is the deployment label used by the service?
gl flag

I tried being more explicit when naming labels in a Kubernetes configuration file, thinking that deployments use the pod labels and services use the deployment labels.

apiVersion: apps/v1
kind: Deployment
metadata:
  name: auth-depl
  labels:
    app: auth-depl-label
spec:
  replicas: 1
  selector:
    matchLabels:
      app: auth-pod-label
  template:
    metadata:
      labels:
        app: auth- ...
Score: 0
kshah99 avatar
Protocol conversion: 10GBASE-KR to 10GBASE-R
it flag

I wanted to get some insight if anyone is aware of transceivers or translation devices that would be able to convert 10GBASE-KR to 10GBASE-R. The intent is to support a 10GBASE-KR interface from a VPX backplane out to an SFP+ cage, but the processor on other end of the fiber only allows for 10GBASE-R. Any thoughts?

Score: 0
How to build a docker image using kuberntes agent?
kr flag

Below is the configuration in kubernetes plugin I set.

img1

img2

img3 img4

My jenkins pipeline.

pipeline {
    agent {
        kubernetes {
            label 'my-docker-build'
            defaultContainer 'jnlp'
            yaml """
            apiVersion: v1
            kind: Pod
            metadata:
              labels:
                app: my-docker-build
            spec:
              containers:
             ...
Score: 0
How to build a docker image from jenkins agent running on kubernetes?
kr flag

I tried below pipeline code to check whether docker commands work first but failing.

pipeline {
  agent {
    kubernetes {
      yaml """
      apiVersion: v1
      kind: Pod
      metadata:
        labels:
          app: jenkins-agent
      spec:
        containers:
        - name: jnlp
          image: 'jenkins/jnlp-slave:latest'
          args: ['${JENKINS_SECRET}', '${JENKINS_AGENT_NAME}']
     ...
Score: -1
storestyggeulv avatar
Wireguard custom routes lost after suspend
ht flag

I am running wireguard client on Ubuntu 22.04 from a Lenovo laptop using a WiFi connection, to connect to my home network. The configuration leads all traffic through my home network and it all works well. I recently changed the configuration slightly to include some custom routes to go directly to select sites - e.g. facebook.com (157.240.0.0/16) - rather than through my home network. To this end I d ...

Score: 1
DirkG avatar
Swap disk devices in RHEL 8
va flag

I need to swap a couple of disk devices around on a RHEL 8 server because it's unfortunately going to be problematic to rebuild it and I need the devices in a specific order.

I think the following udev rules used to work in RHEL 6, but then that didn't use systemd:

KERNEL=="sdb", NAME="sdb_old"
KERNEL=="sdc", NAME="sdb"
KERNEL=="sdb_old", NAME="sdc"

They don't work in RHEL 8.

Looking at the system ...

Score: 0
Mansidak avatar
What's the Difference between xvda15 and root on AWS ubuntu?
sy flag

So I ran df -hT on my AWS EC2 Ubuntu instance to check the disk storage. I get the following response:

Filesystem     Type   Size  Used Avail Use% Mounted on
/dev/root      ext4   7.6G  7.0G  671M  92% /
tmpfs          tmpfs  7.9G  4.0K  7.9G   1% /dev/shm
tmpfs          tmpfs  3.2G  920K  3.2G   1% /run
tmpfs          tmpfs  5.0M     0  5.0M   0% /run/lock
/dev/xvda15    vfat   105M  6.1M   99M   6% /boo ...
Score: 0
Speed Dial Dave avatar
A networked filesystem spontaneously mounted on my VPS and I'm not sure what, why or how
cn flag

This VPS was more or less idle during the days when this happened. The host (Scaleway) did not perform any maintenance or upgrades during this time, nor did I interact with the VPS directly or through the control panel. Automatic updates are disabled. The OS is Debian 10.

To me it looks like a networked filesystem was mounted for my VPS to access and enabled through some auto-discovery or similar ...

Score: 0
Anubhav Rai avatar
Sending simulated key presses to a specific process using python script in linux
fo flag

On my Linux system I have opened a Telnet session. On the other tab I am running a Python script and giving commands to the Telnet session using mkfifo file redirection. But I am not able to simulate key presses to the Telnet session through my Python script.

so in one tab i have opened a telnet session using these commands

mkfifo my.fifo
cat >my.fifo &
cat my.fifo | telnet 182.23.45.12 10000 2 ...
Score: 0
fsidiosidi avatar
metada conflict when deploying Openstack on GCP
ar flag

We ran an openstack environnement on GCP with an arch of 1control_1compute_2ceph. When creating VM on openstack, the VM can't initialte the cloud-init, because wit reaches the metadata of GCP instead of private openstack. The openstack is the last version from tripleo. It uses OVN networking. Is there any way to reeach openstack 169.254.169.254 instead of the GCP.

Thanks

Score: 0
Harjit Saini avatar
Locked out of my Ubuntu Server while enabling UFW. I am booted in rescue mode and now I am not sure what to do. I am not used to command line
mt flag

I got locked out of my server when enabling UFW. I am running latest Ubuntu. I am not familiar with using Ubuntu, I have booted it in rescue mode.

fdisk -L gives me:

Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram1: 50 MiB, 52428800 bytes, 102400 sectors
Units: sectors of 1 * 512 = 512 b ...
Score: 0
Niska avatar
Nginx rewrite using $args to create a shorter url with parameters
cd flag

My scenario is this:

For 20+ years I've used the following URL for search result on a old website:

https://www.example.com/cgi-bin/website.cgi?type=search_result&query=examplequery
https://www.example.com/cgi-bin/website.cgi?type=search_result&query=examplequery&page=72

I would like to start using a new, shorter url for search results, like this:

https://www.example.com/?q=examplequery
h ...
Score: 0
David Sýkora avatar
Why does boot time and workload performance degrade after launching a large number of T2 instances on AWS?
va flag

I'm running a swarm of T2 instances on AWS, each with an average lifespan of 5 minutes. I start an instance, do some workload, and then terminate it. I'm using my own AMI on a GP2 volume.

After launching around 150 instances, I've noticed that both the boot time and workload performance have degraded significantly. Normally, an instance boots and the SSH server becomes available within 30-40 seco ...

Score: 0
Tomaz Leopold avatar
When running a python script as a service, I get module not found
na flag

I have a small script that uses flask to listen to API requests and forwards them to Home Assistant and InfluxDB. It currently has a dummy name, "script.py" and is placed in /usr/local/bin. When I run it standalone, by using python3 script.py, it works fine.

Since I want this script to be always running, I'd like it as a service. I created the following service in /usr/local/etc/rc.d/

#!/bin/sh

#  ...
Score: 0
Tim Nelson avatar
High I/O wait and Context Switches - how to debug
my flag

Update:

sar -W -B -d output added to bottom of post.

I have simulated this on boot. I have uwsgi starting 9 instances of a django app, along with gunicorn for websockets, and dramatiq for queue handing. It seems like it swaps like crazy for the first 17 minutes on reboot. What makes no sense to me, I've got (watching it right now) 55gb free in memory, but it keeps piling stuff into swap.


Multiple g ...

Score: 0
Ror avatar
Wireguard - Can't connect to private url
om flag
Ror

We moved from OpenVPN to Wireguard recently. Our sales people need access to a private URL on our infra accessed via VPN. The domain is resolved by a private DNS.

Everyone in the company managed to set up Wireguard without problem except one sales person and we can't really figure out why. When connected to Wireguard and trying to access the URL, the connection hangs and fail. The client is on Wi ...

Score: 0
manitoba_RDC avatar
Backtracking from a folder to AD groups
mc flag

Good morning! I'm looking for a powershell script that will let me obtain a list of Active Directory groups with access to a particular folder on my server, but these groups are twice-removed from the folder. I want to backtrack from the folder to the particular AD group granting permissions to that folder, and then from that particular AD group to each of the individual groups that are being granted  ...

Score: 0
Dominik Štumper avatar
Apache rewrite url in wsgi site
gu flag

This is my apache site with wsgi application. What I need is add string "Auth_Basic" between last slashes in the request. Request can be different anytime. Example:

http://127.0.0.1/asd/lala/app

-->

http://127.0.0.1/asd/lala/Auth_Basic/app
<VirtualHost *:11168>
    ServerName localhost

    LogLevel rewrite:trace8
    WSGIProcessGroup axess_app

    RewriteRule ^(.*\/[^\/]+\/)([^\/]+\/?)$ $1A ...
Score: 0
hfranco avatar
Why do some servers have /etc/sysconfig/kernel and others do not?
ar flag

I spent some time looking into this and couldn't figure out why there are servers with and without /etc/sysconfig/kernel.

What's particularly interesting is that we have some servers with the same underlying architecture (kernel and OS) that have the file and others don't.

It's my understanding that the /etc/sysconfig/kernel configuration file controls the kernel selection at boot, specifically with the ...

Score: 0
Jan Hrabovsky avatar
deny direct access to folder but allow rewrite redirection
sy flag

I have a question about htaccess. I have a rather complex website structure on the server and I use htaccess for redirection.

the site structure is as follows

web/project/test_project/
├─ admin/
├─ catalog/
├─ index.php

In web/ folder I have .htaccess and and my question is how can i make admin folder accessible from url example.com/dashboard. I know it can be done with rewrite rule. ...

Score: 2
Fadeway avatar
Efficient way to write a sparse partition to a disk image?
sy flag

I generate an ext4 partition image that contains a minimal Debian file system, then write that partition image into a full disk image. I am looking for the fastest way to do the write.

Consider a minimal test case:

truncate -s 30GB disk.img
parted -s disk.img mklabel gpt
parted -s disk.img mkpart small ext4 1MiB 301MiB
parted -s disk.img mkpart root ext4 301MiB 100%

truncate -s 20GB rootfs.img
trunca ...
Score: 0
Mariya Mihaylova avatar
Apache Authentication - Find out user password
aw flag

My field of expertise is far away from server management but I am currently covering for a former collegue of mine, so I apologize in advance if my question doesn't make sense.

I have to restart an Apache server running on Debian. However, I do not have the password for the root user, nor for the user that I am logged in as currently( let's call it user X). I was given the SSL certificates which  ...

Score: 0
ead79 avatar
Error occurred while creating a cluster using Kubespary
fm flag

I want to create a Kubernetes cluster using Kubespary. I have created three nodes. I am using the official documentation: https://kubernetes.io/docs/setup/production-environment/tools/kubespray/ I have three remote virtual machines running openSUSE, serving as nodes.

After running the following command

ansible-playbook -i inventory/local/hosts.yaml -u root --become --become-user=root cluster.yml
Score: 0
zerozg avatar
Keepalived split brain issue
bv flag

I have issue with keepalived on Oracle Linux 8. The VIP is assigned to both nodes and both nodes are in MASTER mode.

My keepalived configuration is:

Node 1 cat /etc/keepalived/keepalived.conf

global_defs {
  vrrp_priority -20
  checker_priority -19
  script_user root
}

vrrp_script chk_haproxy {
  script "/usr/bin/killall -0 haproxy" # check the haproxy process
  interval 2 # every 2 seconds
  wei ...
Score: 2
Eric W avatar
Error in libcrypto connecting RHEL 9 server to Centos 6 via SFTP/SSH
br flag

I am trying to connect from a new RHEL9 server to an older Centos 6 server to SFTP files from the older server to the new one for an upgrade, but when connecting from 9 to 6 I get the following error:

[ewessel@ftp ~]$ ssh -v [email protected]
OpenSSH_8.7p1, OpenSSL 3.0.1 14 Dec 2021
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Reading configuration data /etc/ssh/ssh_config.d/50- ...
Score: 0
Add national language shift table data to UDH data in kannel without overwriting the whole header
ru flag

Is it possible to tell kannel to add the national language shift table information when sending a sms to kannel without over-writing the whole header?

I have managed to manually set the header via the "udh" parameter, but that disables the functionality of kannel that automatically splits messages into multiple parts and would require me to do do the message splitting manually before sending the mes ...

Score: 0
Jan kratochvíl avatar
Windows 2019: Audit policy being overwritten by "something"
bm flag

I have similar problem as it was described in thread below: Audit policy being overwritten by "something"

unfortunately deletion of audit.csv did not help

let me summarize problem: we are using basic auditing in our env, that means settings below is disabled: Audit: Force audit policy subcategory settings (Windows Vita or later) to override audit policy category settings" - DISABLED (no advanced auditing ...

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.