Latest Server related questions

Score: 0
Amir Soleimani Borujerdi avatar
Change Kubernetes CNI from Weavenet to Calico
th flag

I have a Kubernetes cluster with 3 masters and 3 workers, this cluster uses Weavenet as network CNI and I want to change network CNI and use Calico, can I change it inplace without removing resources? this is my cluster version:

$kubectl version
Client Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.3", GitCommit:"1e11e4a2108024935ecfcb2912226cedeafd99df", GitTreeState:"clean", Build ...
Score: 0
yodann avatar
MYSQL: Many slave servers with smaller resources or less with larger resources
cn flag

I want to create High availability with Master Slave replication (for Select query).

I am wondering which one is better:

  1. Having smaller resources slaves but more servers or
  2. Having larger resources slaves but less servers

I only use One Master for modify query: (update / insert / delete)

Score: 0
Typewar avatar
Is it possible to backup a LVM disk to an external server?
in flag

Over the past month I've been putting my mind into how LVM works. The initial thought was that it is very flexible, I was surprised the system could still run while moving the disk to another local disk.


I couldn't find much info in this online, but it seem like a thing that should be possible to do. Maybe it's not practical, or generally not a good solution (?). The articles I read, were all surround ...

Score: -1
Hermenegildo Gonzalez avatar
DDOS Attack to http server and iptables doesn't help (i have access_log)
in flag

Im under a DDOS attack that target http server, i try iptables and other measures but nothing seems to work. Here is part of access_log:

https://pastebin.com/6JFKmUi8

Lot of connections but iptables won't stop the attack, there is my iptables rules:

iptables -A INPUT -i lo -j ACCEPT
iptables -A INPUT -s 147.135.37.113 -j ACCEPT

iptables -A INPUT -f -j DROP
iptables -A INPUT -m state --state INVALI ...
Score: -2
elbarna avatar
active directory on Windows 2000: how to give rdp access and telnet acces to user?
pe flag

I'm running an AD server on Windows 2000(i know is a little old, but is in a private network not connected to internet so is "safe"). I have created a user, it can connect from a pc of the network, but not from telnet or Remote desktop. How to give access to user?

Score: 0
Jason Nanay avatar
How to enable read permission on Kubernetes mount path
vn flag

I have installed FluentD on Kind-Kubernetes cluster on CentOS VM running on my laptop. I'm having issues getting FluentD to read logs as it is throwing the following error.

2021-08-29 08:26:31 +0000 [warn]: #0 [tail_container_logs] /var/log/containers/myapp-77df6bfff9-jcnwc_default_myapp-4d82556157a94e991f011bac956d182e941a122b40b3d53fc67dfd6f39aef5d4.log unreadable. It is excluded and would be exa ...
Score: 0
speedjoe avatar
vBulletin Script Problems Litespeed
gb flag

I would like to change to Litespeed from Apache with mod_php

I installed it on a testserver Centos 7, PHP 7.1.33, MySQL 5.7.33.

The vBulletin forum 4.2.5 works fine.

But I'm using a script which rewrites the forum into .html sites.

The main page works but when i click a link i get a 404 error

In the error log I find entries like this [ERROR] [18257] [123.60.100.100:35232] URI '/archiv/forum/425-2.h ...

Score: 0
How to share a connection in Guacamole with multiple users each having their own username and ssh key
ch flag
ixM

In Apache Guacamole, is there a way for multiple users to share a single connection while each using their own credentials (username, SSH key and passphrase) in order to avoid re-defining all the existing connections for each user?

I'm thinking of some sort of user-specific parameters that would override the ones defined at the connection level.

Looking at the DB, I can see a guacamole_sharing_profi ...

Score: 0
Tyler Pashigian avatar
Google App Engine Start program Failed
ke flag

I have a very basic NodeJS application hosted on Google App Engine that executes an async function on 15 second intervals. The deployment is successful and the app starts and runs fine, but stops after about 30 minutes with the following error logs. This runs fine locally, though.

Quitting on terminated signal

Start program failed: user application failed with exit code -1 (refer to stdout/stderr ...

Score: 0
enko avatar
Connecting two VMs running in KVM
us flag

Short: Get two VM's to talk to each other running on same hypervisor.

I have two VMs running under KVM and I am trying to manage them via Cockpit.

The hypervisor, and the vm's are running Ubuntu 20.04.

VM's are configured using br0 (192.168.1.248/24) which points to enp2s0.

They get their own local lan IPs such as: 192.168.1.152 192.168.1.220

These can been seen and pinged on the local lan. They howev ...

Score: 2
Wireguard - How to only tunnel some of the traffic
nf flag

Is it possible to set up the Wireguard server so that only a list of ips [A, B, C,...] is tunneled via Wireguard - while the rest of the traffic is ignored and goes through the non-Wireguard interface?

Said differently, I'm trying to give access to a Wireguard VPN to some external people but I don't want them to be able to use the VPN to browse other ips/sites than the one I specified (while lett ...

Score: 0
RAID drive - Mechanical Positioning Error
in flag

We've just had a RAID drive go offline. There were no log entries indicating failure prior to 'Mechanical positioning error' - six 'Peripheral device write fault' entries were logged after, and before the controller took it offline and started to rebuild with the hot spare.

There seems very little information about this particular error, apart from a couple of conflicting articles from Sun (this  ...

Score: 0
alex_bits avatar
Nginx reverse proxy automatic redirects go to wrong port
us flag

I am trying to set up a reverse proxy to a docker container using nginx.

The docker container is available and working on port 8000.

I would like to be able to reach the container through the address mydomain.com:80/mycontainer.

The reverse proxy seems to succeed in talking to the container but when the container requests a redirect to its login page nginx tries to load the login page on port 80 instea ...

Score: 4
rm -rf avatar
How to add multiple IPs in one iptables command line? sudo iptables -A INPUT -p tcp --dport 22 ! -s 1.2.3.4 -j DROP
my flag

Update:

I have tried sudo iptables -A INPUT -p tcp --dport 22 ! -s 1.2.3.4,11.22.33.44 -j DROP, Not working and it gives me an error

iptables v1.8.2 (nf_tables): ! not allowed with multiple source or destination IP addresses


For example, My goal is Only allow allow only 1.2.3.4 and 11.22.33.44 to connect the ssh(port 22) of my server.

And I prefer this approach/command rather than others.

sudo iptable ...

Score: 2
NoRainDropsInTheSky avatar
Is there a way to disable Precision Time Protocol (PTP) on Intel I211 Gigabit w/igb driver?
au flag

I have an ASUS Pro WS X570-ACE motherboard, with AMD Ryzen 5700G, with on-board Intel I211 Ethernet, running driver igb ver. 5.11.0-27. This also has a Realtek onboard Ethernet, but that is disabled in BIOS. The OS is Linux Mint 20.2 running kernel 5.11.0-27-generic.

Whenever the OS boots up, the following is shown in 'dmesg' output:

 pps_core: LinuxPPS API ver. 1 registered
 pps_core: Software ver. 5 ...

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.