Latest Server related questions

Score: 0
Noisia avatar
Kubernetes auditing policy doesn't work, kubelet won't start up with the policy
ae flag

im just trying to add audit logging in one of my k8s clusters, my yamls manifest are bellow: kube-api-server file from /manifests/kube-apiserver.yaml

apiVersion: v1
kind: Pod
metadata:
  annotations:
    kubeadm.kubernetes.io/kube-apiserver.advertise-address.endpoint: 10.x.x.x:6443
  creationTimestamp: null
  labels:
    component: kube-apiserver
    tier: control-plane
  name: kube-apiserver
  nam ...
Score: 0
MaanDoabeDa avatar
OpenVPN setup inexplicably stopped working
vu flag

After some struggle a couple months ago, I set up an openVPN server and client to remotely connect to my first PC build. Everything is running Ubuntu 20. It worked fine until now, allowing me to connect from every remote location I have tried. I used this tutorial from Digital Ocean to set things up initially. I now have TLS issues and have no idea how to proceed so I'm posting here.

I didn't explic ...

Score: 0
Kaiden Prince avatar
Should I worry about "Unknown NUMA node; performance will be reduced"?
fr flag

I have a NUMA system with two Xeon E5-2680 v3's. System is running Debian 11.5 (Proxmox VE 7.3-3). When making sure that NUMA was enabled I noticed this in my dmesg:

root@(host):~# dmesg | grep -i numa
[    0.012447] NUMA: Initialized distance table, cnt=2
[    0.837552] mempolicy: Enabling automatic NUMA balancing. Configure with numa_balancing= or the kernel.numa_balancing sysctl
[    1.285994] pci_bus  ...
Score: 0
Marco Alka avatar
How to start a Proxmox VM on Windows w/ Qemu
sa flag

I'm trying to start a Proxmox VM using the qcow2 image on Windows using Qemu, however I can't figure out the correct parameters to start the machine.

Based on my settings in the Proxmox Web UI:

Serrver settings screenshot taken from Proxmox Web UI

I tried to run this CLI snippet:

PS > .\qemu-system-x86_64.exe -bios ./share/OVMF.fd -hda ./image/vm-103-disk-0.qcow2 -hdb ./image/vm-103-disk-1.qcow2 -machine type=q35

However, I'm stuck on a black screen: ...

Score: 0
Clovis Nyu avatar
Nginx proxy_pass with redirects on non-root path
US flag

I am trying to run code server in a docker container behind nginx. I would like the entire code server to run at the /code path. I tried following the configuration listed on here in the answer provided by demsys since it seems to be my exact situation, but I keep getting 502 Bad Gateway. My nginx config is

location /code/ {
                proxy_pass https://127.0.0.1:8443/;
                proxy_set_hea ...
Score: 0
Christian avatar
Strange ovpn issue. No packets going through
fr flag

Sorry for the long post but I put all information in.

First, my setup:

local network, protected by a pfSense box which hosts a Open-VPN server for my remote servers. Two server with public IPs are connected to my local network through the Ovpn connection. So two external servers connected each through Ovpn having access to my local network. Worked fine and smooth so far.

Second, IP setup:

local networ ...

Score: -3
LuckyCoder3607 avatar
Network is gone when I start arp spoofing
lt flag

So for context I have two virtual machines one is running on kali linux which is the "Hacker's" machine and the other one is running on windows 10 pro which is supposed to be the victim's machine

So today I tried doing arp spoofing/poisoning via Bettercap and when start the spoofing it works and it actually changes the mac address of the router on my windows machine however whenever I start the p ...

Score: 1
MAHDI NOUIRA avatar
Error installing Debian on Virtual_machine(Disk parallel)
jo flag

Debian 12 keeps giving me a new error each time, the last one I got after finishing the installation is:

ERROR TRYING TO BOOT FROM SATA DRIVE 1

I tried the open Disk parallel and followed a suggestion - by Expanding Advanced settings drop-down menu and pasting the following system flag:- vm.bios.efi=1
but now I got a TOTAL BLACK SCREEN and I'm stuck.

Score: 1
user1955162 avatar
Linux confusing MAC addresses for its IP addresses to Cisco switch?
de flag

I have multiple CentOS boxes (both Centos 7) with two different servers. These servers have 4 10GB interfaces each. They are connected to two Cisco Nexus switches. Each NIC has a different IP address, all in the same domain. In my example, my server has the following IP addresses on the following NICs:

2: ens5f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
    link/ ...
Score: 2
AES avatar
401 Error When Making Basic Authenticated API Calls to X2CRM
gf flag
AES
  • We are encountering a 401 error when making basic authenticated API calls to the X2CRM endpoints (index.php/api2/Contacts).
  • Unauthenticated API calls to other X2CRM VoIP endpoints are successful without issue,
  • And basic authentication works on a test page in the same directory using the same PHP-FPM pool.

We have confirmed that the credentials are stored in the database and accessible.

What coul ...

Score: 4
Why is disk label type dos but the partition system is GPT?
cn flag

And how can it be larger than 2TB if it's dos?

Disk /dev/sdi: 6000.6 GB, 6000606183424 bytes, 11719933952 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 262144 bytes / 262144 bytes
Disk label type: dos
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdi1   *            ...
Score: 1
engineer-x avatar
How to grant access for a Google Cloud Service Account to have all the same permissions as a another Service Account?
ni flag

So I have a Google Cloud Service Account one [email protected] that has access to roles A and B.

There is Service Account two [email protected] which I need to have access to roles A, B, and C.

How do I get sa-2 to have the same access as sa-1 and some other access too?

I tried to add sa-2 as a principal to sa-1 with the Service Account Admin role.

  1. IAM & ...
Score: 1
user648336 avatar
Is Web Farm Framework Supported by Microsoft in 2023?
cn flag

We have a few dozen Windows Server 2019 machines running IIS. I just found out about Web Farm Framework, which is a thing developed over 10 years ago that makes managing multiple IIS instances easier.

My question is: Is Web Farm Framework still supported by Microsoft? The official documentation about it doesn't reference Windows Server 2019, hence my concern that Microsoft has abandoned it and won't suppo ...

Score: -1
Alex Totolici avatar
Bind Dns server stopped working after Ip change
ni flag

So, I have changed my server location from US to Lithuania and my server stopped working

I can connect to my db and virtualmin but only with my IP

zone

/etc/bind/named.conf:

include "/etc/bind/named.conf.options";
include "/etc/bind/named.conf.local";
include "/etc/bind/named.conf.default-zones";
key rndc-key {
    algorithm hmac-sha256;
    secret "....";
    };
controls {
    inet 127.0.0.1 port 953 a ...
Score: 0
Anvay avatar
Accessing local host Dashboards (GCP VM) from my Laptop
US flag

I have 2 VM instances on Google Cloud Platform. 1st VM is used as a Kubernetes Master Node and 2nd as Worker Node.

I have Prometheus and Grafana Deployed on the cluster. I want to access the Prometheus and Grafana dashboard from my laptop.

I tried port forwarding the local host to the external IP that is assigned by GCP but binding is not possible as there is no interface.

The error I get is as follows ...

Score: -2
jimmymcheung avatar
libphp.so is missing in the oracle linux 9, is there any alternative to let httpd handle php page?
ir flag

I do find a lot similar problems on CentOS in this forum, and I tried to follow any suggestions mentioned in their answer, however, none solves my problem. Therefore I’m opening this question for platform specific solution.

I have downloaded httpd, php, php-common, php-cli. From some answer it seems having php installed would be already sufficient, but the PHP file is not handled by php. I tried to ...

Score: 0
Peter Thomas avatar
nginx-ingress returns 502 After upgrading to kubernetes v1.24.6
in flag

When trying to upgrade from kubernetes v1.23.X to v1.24.X. I has been seen that the health probe needs to be changed to be /healthz (azure)

I have a configuration that works in 1.23 but not 1.24 I have a configuration that works in 1.24 but not 1.23

The problem I've got is whilst upgrading to v1.24 nginx-ingress will break introducing down-time.

I've seen some people suggest setting the ports to TCP

Score: 0
flapslap avatar
Forwarding (local) RTSP/HLS traffic via VPN to expose on WAN IP of VPS
li flag

I feel like I am overcomplicating this extremely by wanting to do it securely, so a fresh look at this would help a lot.

I have a webcam that I want to publish / embed on a website. My current setup is like this:

[Local Cam] <===> [Rpi with OpenVPN + RTSP server] <==== VPN CONNECTION ====> [VPS]

What I want to achieve is that I can access the cam published/processed by the Rpi on http://[vpsi ...

Score: 0
doraemon avatar
Updating Ubuntu broke permanent etc/hosts configuration
us flag

I use /etc/cloud/templates/hosts.debian.tmpl file to have permanent /etc/hosts/ rules for my Ubuntu server (ver 22).

Today I updated the server but I had troubles with Nginx Proxy setup on my server, after a couple of hours to find the problem with Nginx( I was thinking the problem was with Nginx as I added simple auth to one of the sites on the server), later I figured out my settings at /etc/ho ...

Score: 0
Justin Killen avatar
Centos 7 dhcp server not responding to UEFI PXE DISCOVER
ml flag

I'm trying to set up a Centos 7 server as a dhcp server for PXE (UEFI). I'be tried several changes to the dhcpd.conf file, but nothing seems to make a difference.

dhcpd.conf:

allow booting;
allow bootp;

max-lease-time 120;
default-lease-time 120;

option domain-name "domain.tld";
option domain-name-servers 192.168.1.9, 192.168.1.10;

option space pxe;
option pxe.magic code 208 = string;
option pxe.c ...
Score: 0
Brian avatar
bind dns zone notify with multiple view
pt flag

I experienced some difficulties with zones from what should have been an internal view (with RFC1918 addresses plus public IPv6) leaked to the external view (public IPv4 plus public IPv6). I think I pinned it down to where I had notify explicit on the master, but not on the slave. I think that resulted in the slave somehow notifying itself (as I could see a notify coming from it's own IPv6 address re ...

Score: 0
Nginx reverse proxy does not respond to internet request
vn flag

I'm currently in the process of switching our reverse proxy from (a hacky) IIS + ARR to Nginx reverse proxy via Nginx Proxy Manager container on Ubuntu Server 22.04.

I've am able to access the services while inside the LAN both my hostname and IP address, but am unable to do so when coming from the internet. Both ports 80 and 433 have been forwarded and are verified working because I simply chang ...

Score: 1
Shunyata Kharg avatar
Load balancing and failover using nmcli
ru flag

I would like to use nmcli (NetworkManager, on CentOS) to balance the load from the subnet 172.22.0.0/24 across the two gateways (.3 and .1) on the 192.168.1.0/24 subnet. These two gateways are connected to two different ISP commercial fiber-optic routers. The network looks like this:

network diagram

And the three NICs on balancerouter look like this:

================================================================= ...
Score: 0
user1249791 avatar
'combination of host and port requires TLS' when running Tomcat application
ie flag

0

I had an Apache configured to run on HTTPS. Also a Tomcat application running without the 8080 port and in HTTPS. Everything perfect since I had to install Drupal 10 (using composer) that needed a different PHP version

Problem: my Apache is still in HTTPS. I can use Drupal 10 now. BUT the Tomcat app now only runs if :8080 is added (and there is a warning that says that the site is insecure, so I a ...

Score: 0
Vic avatar
Rule to get 365 to reject email at the SMTP stage
us flag
Vic

I have setup a shared mailbox to use for sending alerts from a powershell script and it works fine.

I now want to lock down the shared mailbox so that it cannot be used to send outside the org, and so I followed the instructions at,

https://www.codetwo.com/admins-blog/how-to-prevent-office-365-users-from-sending-emails-outside-organization/

and it works except that 365 accepts the message and it  ...

Score: 0
Omar Ebrahim avatar
MySQL service stuck in starting state after restoring database failed
US flag

I was restoring a MySQL database using the import wizard, importing from dump files. This took a while but in doing so the disk ran out of space so never finished importing.

Now, the MySQL57 service is stuck in a "Starting" state even after a restart.

There are error log files but I cannot open them in a text editor due to it being binary encoding.

Is there a way for me to remove the failed schema f ...

Score: 0
Jason Floyd avatar
How do you disable hardware-accelerated GPU scheduling via the command line in Windows 10/11?
cn flag

I need to disable, programmatically, hardware-accelerated GPU scheduling in Windows if it's enabled.

UI settings for HW-accelerated GPU scheduling

Searching, I was pointed at the HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers - HwSchMode regkey. This is 2 when HW GPU scheduling is enabled and 1 after disabling via the settings UI.

I've tried just setting this regkey to 1 and rebooting, but while this key remains changed after reboot, H ...

Score: 0
UsopleskCz avatar
Nginx: Accessing website by domain name will throw ERR_TIMED_OUT
kh flag

Steps I did:

I've Debian VPS and I've bought domain "marek-prusa.dev" on Google Domains.

Steps how I configured my webserver with domain name "marek-prusa.dev".

I've created marek-prusa.dev file in /etc/nginx/sites-available/.

Then I've put this configuration in marek-prusa.dev file:

server {
    listen 80;
    server_name marek-prusa.dev;
    root /var/www/marek-prusa.dev;
    index index.html;
}
Score: 0
Alex Povolotsky avatar
Controlling virsh filters right way
ke flag

I'm running centos 7, lxc for containers, virsh for setting up a bridge.

Upon creation, virsh set up some firewall rules for virbr

# iptables-save | grep virbr
-A POSTROUTING -o virbr0 -p udp -m udp --dport 68 -j CHECKSUM --checksum-fill
-A INPUT -i virbr0 -p udp -m udp --dport 53 -j ACCEPT
-A INPUT -i virbr0 -p tcp -m tcp --dport 53 -j ACCEPT
-A INPUT -i virbr0 -p udp -m udp --dport 67 -j ACCEPT
-A I ...
Score: 0
zbro avatar
How to start netcat listening server in Ansible?
us flag

I'm working on larger Ansible playbook. One of the tasks I'd like to use is to do "TCP ping" using netcat. On one of the hosts, I'd like to start a netcat 'server', and then start the 'client' to send any string to the server.

I'm testing this without Ansible -- everything works OK, but in Ansible netcat returns 1. I know for a fact that it means that network connection was not established. Here's my

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.