Latest Server related questions

Score: 0
Jatinder Singh avatar
kubeadm tool fail to initialize cluster when --advertise ip address is DNS Entry instead of actual IP address
sd flag

I'm initializing the cluster using kube-adm tool and its failing.The reason is when kube-api server comes up , it looks for configuration and in configuration we have set "--advertise-address" flag as DNS entry instead of actual IP.

Cluster gets initilized when we change this to IP address but use case is that we need to have DNS entry there. Any way out?

ubuntu@ac1poc-20210407164708-dbvault-master1:~ ...
Score: 0
ppenguin avatar
how to use ssh agent forwarding when loggin in to windows with bitvise WinSSHD?
tr flag

I need to login from a linux machine to a windows machine (running bitvise sshd) and forward my agent socket (i.e. ssh -A [email protected]).

"Normal" login works fine (either to PowerShell or bash (gitbash)), but apparently SSH_AUTH_SOCK is not being set.

What I want to achieve is use ssh (e.g. clone with ssh://git@...) on the winbox without copying my private key to the winbox.

Score: -1
Joep avatar
How to run Docker on an Azure Virtual Windows 10 machine
cn flag

I am provided a Azure Virtual Machine with GPU support (Standard NV6_Promo (6 vcpus, 56 GiB memory)). I want to run AutoML on this machine, which only runs on Linux. Their installation documentation suggests installing this on a Linux VM or via Docker. I tried using Docker on Windows but I'm running into problems using both the WSL2 backend and the Hyper-V backend.

This raised the question if it  ...

Score: 3
How to forward all incoming traffic to server A to server B and B returns it to A?
sd flag

Suppose I have two servers: A and B. On both I have installed WireGuard.

On server A, wg0 is routed with IP 10.8.0.0/24 and on server B, wg0 is routed with IP 10.7.0.0/24.

Let's say server A's WireGuard is listening on port 4000 and server B's WireGuard is listening on port 5000.

I only want to forward all incoming traffic to server A on port 5000. There are other applications listening on another po ...

Score: 1
Dedup.sys 0x7E after inplace upgrade Server 2016 => 19
in flag

I've recently performed an in-place upgrade from Server 2016 => 2019 (non-domain).

2 of the drives connected has been configured with data deduplication (mostly VHDs for Hyper-V). Ever since the upgrade, attempting to access, reverse dedupe (start-dedupejob -type unoptimize) the system will crash with 0x07E dedup.sys

(0x0000007E (0xFFFFFFFFC0000094, 0xFFFFF80BE9E82F29, 0xFFFFA00F5D4BA3E8, 0xFFFFA ...

Score: 1
Identifying specific devices when using sensors in ubuntu
cn flag

I am running the sensors command in Ubuntu 20.04 to try and get a temperature reading for my NVME SSD drives. However, although I can see the drives I am not sure which one is which:

nvme-pci-2300
Adapter: PCI adapter
Composite:    +45.9°C  (low  =  -5.2°C, high = +79.8°C)
                       (crit = +84.8°C)

nvme-pci-6100
Adapter: PCI adapter
Composite:    +52.9°C  (low  = -273.1°C, high = +79. ...
Score: 1
Apache remains on PHP 7 while server versions is php 8
ug flag

I've just installed php 8 (following https://rpms.remirepo.net/wizard/) on my VPS running CentOS 7. While in the CLI it shows that PHP 8 is available, when I serve a webpage with phpinfo() it still shows php 7.

PHP 8.0.7 (cli) (built: Jun  1 2021 18:43:05) ( NTS gcc x86_64 )
Copyright (c) The PHP Group
Zend Engine v4.0.7, Copyright (c) Zend Technologies

Also when I check with composer it shows php 8 ...

Score: 0
ahmed meraj avatar
iptable rules for ACL rules between routers
cn flag

Assuming by default everything is allowed between routers. I would like to add iptable rules in "Router1" to implement ACL rules as shown in the diagram.

  • In the below image, client1 and client2 CAN establish a connection to client3 and client4.

  • client3 and client4 CANNOT establish a connection to client1 and client3.

enter image description here

In a similar way, I want to add rules in Router1, where:

  • client1 and client2 CAN ...
Score: 2
site2site wireguard with docker : routing problems
fr flag

Disclaimer: repost from stackoverflow: https://stackoverflow.com/questions/67917278/site2site-wireguard-with-docker-routing-problems

I am trying to have two containers, running on two RPI, act as a site-to-site VPN between Network 1 and Network 2.

With the setup below, I am able to ping from within the container each other network:

  • from docker container 1 I can ping an address 192.168.1.1
  • from docker con ...
Score: 0
Mike Keskinov avatar
OpenVidu/Kurento: Unable to create media pipeline for session
mz flag

Our OV 2.17.0 on premises (Ubuntu 18 server) works well for a while (a day or two), then stop working. I can create a new session, etc using REST, but any attempt to join newly created session failed with the server event “unable to create media pipeline for session XXX”. Restart the server helps. Then it works for another 2 days and everything repeats.

I also see that all old sessions stay i ...

Score: 0
roller avatar
finding which tier 1 or isp to connect to to reduce latency
mx flag

I am looking to connect to 4 location p,q,r,s. I a ntrying to find the set of locations where I should connect to (isp or pop) to minimize latency . Is it lower latency to connect to a tier 1 network which would connect to 4 ip p,p,r,s ? Is there a lower latency path to connect p,q,r,s through a tier 2 network ? how do I find this?

Score: 1
Darkbluelion avatar
How do I configure routing for non-knative service in a Knative & Istio installed k8 cluster?
cn flag

I have a Knative installed with Istio as networking layer (without injection) The kubernetes cluster is using Istio ingress gateway as default ingress. Most Knative service's routing are managed automatically by Knative & Istio.

However I am trying to run a nifi native kubernetes services on the same cluster, how do I setup the ingress configuration on Istio ingress gateway for the services.  ...

Score: 0
Alex Kong avatar
Double check if an SSH account is SFTP-only and chrooted
in flag

Note that this question is not about how to do chroot or make an account SFTP only. The question is about whether there are specific ways for a sysadmin to check if a chrooted and SFTP-only account is correctly set.

Usually I do chroot or SFTP-only settings following some online resources such as this one: https://wiki.archlinux.org/title/SFTP_chroot. But the issue is, unlike simply changing an opt ...

Score: 0
nginx: Use of proxy_set_header results in failed upstream connections
in flag

I have a very basic nginx reverse proxy setup for openstreetmaps:

worker_processes  1;

error_log  logs/error.log  notice;
pid        logs/nginx.pid;

events {
    worker_connections  1024;
}

http {

  postpone_output 0;
  
  log_format logresponsetime '$remote_addr - $remote_user [$time_local] "$request" $status $bytes_sent "$http_referer" "$http_user_agent" $request_time $upstream_response_time' ...
Score: 1
deprecated 'sshKeys' metadata item | centos | latest guest environment already installed
cn flag

When login into GCP VM from browser i get a popup saying

The VM guest environment is outdated and only supports the deprecated 'sshKeys' metadata item. Please follow the steps here to update.

A: I followed the instruction and updated the guest environment as mentioned here and run following cmds

sudo yum makecache
sudo yum install google-compute-engine google-compute-engine-oslogin \
google-guest-agen ...
Score: 1
TELA avatar
Nginx location matching with regex year/month/day/*
fm flag

I have some old url pattern to redirect to new location in nginx.

A typical clean url looks like example.com/2021/06/13/78676.html?..

Im roughly trying to match number of digit in each block like:

location ~ "^[0-9]{4}/[0-9]{2}/[0-9]{2}/([0-9]+).html" {
   rewrite ^ /archive.php?q=$1;
}

Where exactly Im going wrong please..

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.