Latest Server related questions

Score: 2
Sudheer Satyanarayana avatar
cloud-init ignores staitc networking configuration
in flag

I am performing these steps on Ubuntu 22.04 host:

Download the cloud image

qemu-img create -b ../jammy-server-cloudimg-amd64.img -f qcow2 -F qcow2 myubuntu2204test01-base.img 10G

Create the file meta-data in the directory myubuntu2204test01:

instance-id: myubuntu2204test01
local-hostname: myubuntu2204test01.example.com
network:
  version: 2
  ethernets:
    enp1s0: 
    dhcp4: no
    addresses: [192 ...
Score: 0
Fabio B. avatar
SecurityGroupPolicy not applied to DaemonSet
tr flag

In my EKS cluster, I have a deployment and a daemonset.

The following SGP binds my deployment's pods to a couple of SecurityGroups I need:

apiVersion: vpcresources.k8s.aws/v1beta1
kind: SecurityGroupPolicy
metadata:
  name: efs-csi-controller
  namespace: kube-system
spec:
  podSelector:
    matchLabels:
      app: efs-csi-controller
  securityGroups:
    groupIds:
      - sg-11111111111111111
      - ...
Score: 0
TheManInOz avatar
Exchange 2019 old migration issue
cn flag

So awhile ago I was doing some Exchange Online migration work. I setup a migration from ExO to Ex2019 for a mailbox, but it failed due to space issues. I since fixed the space issue by creating a new database on a new volume, did the migration again. Since then we migrated that mailbox back to ExO. The mailbox is fine.

I have been monitoring database usage on the old database, I may delete it, bu ...

Score: 0
onlygo avatar
Creating a TAP network device in GCP VM
dm flag

I am trying to create a QEMU VM within a GCP VM. I want the QEMU VM to use TAP network device to communicate with the host and external world.

My desired set up looks like below.

    +-------------------+        +-----------------+
    | Physical Ethernet |        | Virtual Machine |
    | Interface (ens4)  |        |     (qemu)      |
    +---------+---------+        +--------+--------+
              |  ...
Score: 1
Autumn avatar
Why is the Windows 11 terminal pushing escape sequences to Tmux?
in flag

Ssh's RemoteCommand facility can be used to automatically create/attach a tmux session, like this. In Windows, my sessions intermittently see the escape sequence ^0;10;1c or ^[[>1;1c, showing like this in my terminal:

enter image description here

This behaviour seems restricted to Windows 11, with both the Terminal and Console Host applications. It does not seem to occur on Windows 10 on any variant of cmd.exe. I'm presently w ...

Score: 0
user2891922 avatar
Windows Server 2016 Update Failure Rollback
rw flag

When I attempt to run an update using check for updates or the cumulative offline installer, the update fails and rolls back.

Here's the log from the rollback, not sure how much I should include, so this is just before the start of errors occurring:

2023-04-30 13:33:47, Info CSI 0000026b Loading CMI installer DLL from path: C:\Windows\WinSxS\amd64_microsoft-windows-s..ck-mof-o ...

Score: 0
megz avatar
Amazon Linux 2023 HTTPD failed to start
in flag

I have an AWS instance which I use on demand, I was trying to boot it up and start apache but got this error which I have looked up and couldn't get anywhere near resolving or diagnosing it

The job identifier is 26531 and the job result is failed.
Apr 30 19:34:45 ip-172-31-21-205.ec2.internal systemd[1]: Dependency failed for httpd-init.service - One-time temporary TLS key generation for httpd.serv ...
Score: 0
violetflare avatar
Is it possible to forward with UFW from a machine connected to ZeroTier VPN and situated on the LAN towards another machine on the LAN?
kh flag

I am attempting to make possible for any machine connected to my VPN to be able to access services within containers on my server.

For this I have set a server with PROXMOX and subscribed to a Free ZeroTier VPN account.

Currently, I have a set of LXC containers running on my PROXMOX machine and a VM which is connected to the VPN. The choice of a VM and not a container is motivated by the fact, that  ...

Score: 0
Tom avatar
Hide information sent by Exim4
bf flag
Tom

I am working with RabbitMQ + PHP to receive send email requests from my application. When RabbitMQ receives the request, PHP uses PHPMailer to connect to the Exim server and send the email.

However, I saw the original message and noticed that the IP of the PHP machine that made the request to Exim (so far OK), the name of the VM that the PHP VM (that's not OK), and the server's Exim version (Defi ...

Score: 0
Northern Scrub avatar
Apache ProxyPass to IIS results in 503 or complete timeout
be flag

I have an IIS machine on LAN behind an Apache machine which is exposed to the internet. I have a simple proxy set up, which is intended to pass traffic to the IIS machine directly from the Apache machine.

<VirtualHost *:80>
        ServerName <domain>.<tld>
        ProxyPass / http://192.168.1.7:8080/
        ProxyPassReverse / http://192.168.1.7:8080/
        ProxyPreserveHost On ...
Score: 0
Yannick25 avatar
Can't connect from Debian VM to Windows Server VM
ir flag

I've got a problem while trying to configure my Ansible server to connect to a Windows host using ssh keys.

When I try this command :

ansible win -m win_ping

I never got an answer, even after few minutes. But, when I try to debug using -vvv, I don't see any problem in the trace. So, I tried to copy the ssh command that has been executed and... it works.

fail but success when I manually use the com ...

Score: 0
authorize multiple domains to send via send-only Postfix server
cn flag

A rails application is sending an email to postfix for processing with From: do-not-reply@some_domain.top returning an error:

[ActionMailer::MailDeliveryJob] [fa3df6b5-72a4-4a57-a5f8-ef7a98e4d8a9] 
Error performing ActionMailer::MailDeliveryJob (Job ID: fa3df6b5-72a4-4a57-a5f8-ef7a98e4d8a9) 
from GoodJob(default) in 2613.2ms:  
Net::SMTPFatalError (551 5.7.1 Not authorised to send from this header addres ...
Score: 0
Ehsan Hosseini avatar
Yahoo L3dsr loadbalancer install issue.why I have private key issue?
um flag

I need to make a load balancer. But I have to use l3dsr metod because my loadbalancer server and real server are in different locations and subnets. I does configuration on my load balancer server and it is ok. But in my real server centos 7 when I want to make iptables libs from l3dsr github it gives me error of invalid privte key. So any body knows what is wrong?this is my console picture

And this are  ...

Score: 0
mxwmnn avatar
No Connection with Pivpn wireguard lxc Container on a proxmox host
je flag

Describe the issue

I can't connect to anything. Not the internet nor the local network

Expected behavior

I want if my device is connected to the wireguard vpn to surf the web and to access every device which is connected to the wireguard vpn.

Please describe the steps to replicate the issue

Running bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/ct/wireguard.sh)" on the Proxmox Host ...

Score: 0
GERATISAN avatar
How can I split a set of bytes into separate parts
ec flag
$ du -b 1GB.bin
1048576000      1GB.bin

$ split --verbose -b 120M 1GB.bin && du -b *xa*
125829120       xaa
125829120       xab
125829120       xac
125829120       xad
125829120       xae
125829120       xaf
125829120       xag
125829120       xah
41943040        xai

How can I split or divide the 1048576000 bytes above, or even bigger: 2GiB = 2147483648 bytes or 3GiB = 3221225472 bytes and  ...

Score: 0
fox91 avatar
Respond to inbound connections from multiple gateways on a single interface
cn flag

I have a network with multiple gateways (gw1: 10.0.0.1 and gw2: 11.0.0.1).

My server (Ubuntu 20.04) have one NIC with multiple addresses (eth0:gw1: 10.0.0.55 and eth0:gw2: 11.0.0.55).

Each gateway provide internet access and have a NAT rule configured to forward ports 80 and 443 to my server.

In my server I've configured nginx to respond to both address and from internal network it works like I've expe ...

Score: 0
zabitstack avatar
openstack installation repository in ubuntu focal
mm flag

I'm trying to install cloud-archive yoga for ubuntu 20.04 focal.

 add-apt-repository cloud-archive:yoga

 Ubuntu Cloud Archive for OpenStack Yoga
 More info: https://wiki.ubuntu.com/OpenStack/CloudArchive
Press [ENTER] to continue or Ctrl-c to cancel adding it.

Reading package lists...
Building dependency tree...
Reading state information...
ubuntu-cloud-keyring is already the newest version (2020 ...
Score: 0
RearAdmiralLieutenantGeneralRi avatar
Extract a whole dictionary from a list of dictionaries by value

I need to extract a whole dictionary from a list of dictionaries based on a value.

"msg": [
    {
        "duplicate_key": "in dict_name_one",
        "KEY_1_dict_name_one": "VALUE_1_dict_name_one",
        "KEY_2_could_be anything": "VALUE_2_dict_name_one",
        "dict_name": "dict_name_one"
    },
    {
        "duplicate_key": "in dict_name_two",
        "KEY_1_second_dict": "VALUE_1_second_di ...
Score: 0
shenhengbin avatar
Failed to create keys in the OLR, rc = 100 on windows server
bg flag

I am installing Oracle 19c RAC on windows server 2019. I have 4 servers,

domain controller: pc name = dc

storage: pc name = st

node1: pc name = node1

node2: pc name = node2

I have done all the pre-install checks, and when I install the Grid on node1, i encountered the error below.

2023-04-29 21:47:00: Executing cmd: C:\software\WINDOWS.X64_193000_grid_home\bin\clscfg -localadd -z -y nodecluster: ...

Score: 0
Vitalii Tsyhulov avatar
How to fix "ERROR [internal] load metadata for docker.io" error while using Docker?
cz flag

I am compiling sources of one cosmos-based blockchain projects on my MacOS. This project using Docker. I installed Docker and it seems running properly. But at the and of compiling I got this message related to Docker:

[+] Building 0.3s (2/3)                                                                                                                       
[+] Building 0.4s (3/3) FINISHED        ...
Score: 0
Luis Alonso Ramos avatar
Windows Defender suddenly using all CPU -- Windows Server 2019
us flag

I have a Windows Server 2019 virtual machine hosted on Azure. For the last two or three days, web applications hosted there have been very slow.

Yesterday I started digging into it, and found that Windows Defender (MsMpEng.exe, and MsSense.exe to a lower extent) have been using close to 100% of CPU:

Task Manager

I have been googling and found a lot of articles describing this behaviour for Windows 10, with multiple  ...

Score: 0
awado avatar
Any usefull setups, which have the same IP range on multiple interfaces?
us flag

I'm writing a small network scanner utility for use on a mobile computer. Therefore I have to consider almost every possible combination of networks. Although I would never advise this, but is it possible to have the same IP range on multiple interfaces? For example 192.168.0.1/24 on eth0 and eth1. Could there be any setup, where this makes sense?

Score: 0
JPoole avatar
Format date in the output of a PowerShell query
cn flag

PowerShell nubie question. How do I format the date in a PowerShell query result? Example command:

get-adcomputer -Filter {operatingsystem -like "Windows 10*"} -Properties operatingsystemversion, lastlogon | select-object name, operatingsystemversion, @{n='LastLogon';e={[DateTime]::FromFileTime($_.LastLogon)}} | select name, operatingsystemversion, lastlogon

The output looks like this:

PCName 1 ...

Score: 1
Luke Skywalker avatar
dnsmasq DHCP server not responding
in flag

I have connected a HikVision camera to a raspberry pi through two ethernet power line adapters TP-Link TL-PA4010.

I have configured the eth0 interface of the raspberry to have a static ip address. In /etc/dhcpcd.conf:

interface eth0
static ip_address=192.168.0.10/24

I have configured a DHCP server using dnsmasq, with the following configuration:

# Disable DNS
port=0

# Configuring the DHCP server ...
Score: -1
Joe Jankowiak avatar
How to cleanup this VM's checkpoint history
in flag

My home server runs HyperV and I have a VM with a file share. I've been using Veeam to back it up, but after temporarily removing my file share VHDX, it prompted me to create a manual checkpoint. Veeam had 4 recovery checkpoints it failed to clean up from Novemeber 2022, and when I took the manual checkpoint, it reverted my data back to the very first checkpoint causing me data loss. I extracted a backu ...

Score: 0
Nando avatar
Bridged mode does not present network address, but instead 10.0.2.15/24
pe flag

Host OS: Windows 11

Guest: GNU/Linux Debian 11

Versión VirtualBox: Versión 7.0.6 r155176 (Qt5.15.2)

enter image description here

enter image description here

Score: 0
LDAP users to share a single SFTP folder on Linux
fr flag

I need to setup a file transfer linux server. All users login via sftp using active directory credentials.

I want all users to when logged into see a single directory /ftp-storage

In the /ftp-storage folder will be a number of other project folders for each proejct

/ftp-storage
  /project1
  /project2

I want all users when logging in with sftp to land in the /ftp-storage folder. Access to the proj ...

Score: 1
Cris9400 avatar
Microsoft Active Directory Admin - Discriminate usable USB Disk devices
sz flag

good morning, I have been trying for a while through policy management or other microsoft media to restrict the use of USB removable disks. I know that through Active Direcory I can enable and disable indisciminately or discriminating users, usb ports. But I would also like to have a management of which storage device my users can use (i.e., I want them to use only those that my office provides them wit ...

Score: 4
chris1out avatar
Windows Server 2022 Time Service Jumping into the future
hm flag

A handful of times over the last few months one of our Windows Server 2022 boxes will show a warning in the Event Log similar to this

The time service has set the time with offset 19630688 seconds.,

which will then jump forward in time that many seconds. Then a few minutes later it seems to sync with the time server again and we get the following error

The time service has detected that the system time ...

Score: 1
QF0 avatar
Best practice for stopping Apache during backups
gu flag
QF0

During backups, I need to 'idle' Apache, so that I can stop MySQL, and then back up MySQL and SQLite databases. The only access to the databases is through Apache.

Currently, I'm thinking of doing this with a script that modifies the Apache config to redirect all accesses to a 'site down' page, and then:

apache2ctl graceful
systemctl stop mysqld

However, this doesn't seem like a particularly good idea.

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.