Latest Server related questions

Score: 0
vrms avatar
df output does not change after deletion of a 41G file
de flag

Maybe my understanding of what df does is incorrect?

I am wondering what is the problem here

1. checking usage

$ sudo df -h /
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1       443G  436G  4,6G  99% /

2. identifying a large file

$ sudo find /var/lib/libvirt -name WS19.qcow2 -exec ls -lh {} \;
-rw------- 1 root kvm 41G  7. Okt 2020  /var/lib/libvirt/images/WS19.qcow2

3. removing that fil ...

Score: 0
How to migrate a mongodb replica set from one kubernetes cluster to another using replication
cn flag
Kay

My goal is migrating data via replication from one mongodb replica set to another mongodb replicaset.

I am attempting to migrate data from replicaset a (on kubernetes cluster a) to replicaset b (on kubernetes cluster b)

See my attempt below:

bitnami/mongodb helm chart https://github.com/bitnami/charts/tree/master/bitnami/mongodb

global:
  namespaceOverride: mongodb
architecture: replicaset
auth:
  rootPas ...
Score: 0
There is the warning when I run database backup bash script
cn flag

My database is 8GB

When I run the database backup bash script, there is the warning/failure. They have appeared since 1 month ago

Here are my warning/failure

mysqldump: Error 2013: Lost connection to MySQL server during query when dumping table `xxx` at row: 427348 

mysqldump: Couldn't execute 'SELECT engine, table_type FROM INFORMATION_SCHEMA.TABLES WHERE table_schema = DATABASE() AND table_name = 'xxx ...
Score: 0
TheDHM avatar
Kubernetes: Pod IP address is out of range specified in --pod-network-cidr
vn flag

After upgrading to v1.24.0 (after Dockershim removal), I had to install cri-dockerd, then I did the following:

sudo kubeadm init --pod-network-cidr=10.244.0.0/16 --cri-socket=unix:///var/run/cri-dockerd.sock --apiserver-advertise-address=192.168.0.196

I have chosen flannel as Network Plugin:

kubectl apply -f https://raw.githubusercontent.com/coreos/flannel/master/Documentation/kube-flannel.yml

Until  ...

Score: 0
Huawei Switch CE6810LI & Router Huawei NE40E - SNMP Monitoring with ELK Stack
ch flag

I would like to discuss my case with you to see if I can find a way to solve the problem that I am encountering when monitoring network traffic and other aspects of our Huawei core devices.

My case is as follows: through the SNMP protocol I monitor several of our Huawei core devices, including a Huawei CE6810LI Switch and a Huawei NE40E Router, I do all this through ElasticSearch, searching for t ...

Score: 0
F.Hazi avatar
Split /24 IPv4 subnet into multiple /28
ma flag

I would like to know if it is possible that a subnet /24 that I assigned to a dedicated server (via BGP session) can be divided into smaller subnets without the intervention of those who have access to physical equipment.

What I would like to do is create virtual machines (via Linux) that are from different subnets, not mapped to the /24 gateway.

Thank you!

Score: 0
jayaprakash R avatar
How to truncate the log file size without losing recent log files?
ng flag

I want to reduce the log file size to the particular minimum size

I tried the truncate command as below

$ truncate -s 20M log filename

But when I check the truncated file it truncates the recent logs and keeps the old logs

When analyzing further I found the tail and head commands. But the problem is when I use the head command is working and when I use tail command it saves the content in the human no ...

Score: 0
marek avatar
K8S limit number of starting pods at the same time
gp flag

I have problem with K8S, I have about 30 microservices (java running on spring boot). Microservices needs a lot of CPUs only for startup because there are a lot of libraries. When I deploy all microservices at the same time it will create really big CPU load on K8S nodes and they are marked as unavailable. I need to limit somehow number of simultaneously starting pods to avoid of high cpu load on nodes. ...

Score: 1
Photokonnexion avatar
Using an htaccess file for 410 (gone page) prevents use of images
it flag

I am shutting down a website. I have deleted the wordpress site and the only page left in the domain is a page announcing the permanent shutdown of the site. The URL of the shutdown page is...

http://mydomain.co.uk/index.htm

there is also a folder containing 4 images (3x *.jpg; 1x *.gif). These images are a part of the shutdown page. Thus...

http://mydomain.co.uk/images/

When I enter a URL: mydomain ...

Score: 0
An Nguyễn avatar
Intel S2600GZ Stuck in Boot
cn flag

We have an Intel S2600GZ server that has been running for a year. In today we perform shutdown, unmount form rack and upgrade more RAM for the server. However, after replacing the RAM, the server was stuck at boot.

Things that we have tried to do but have not been successful:

  • Clean RAM slots on server
  • Add old RAM
  • Take out CPU#2, Using only CPU#1 with one RAM Stick
  • Add CPU#2, take out CPU#1 using  ...
Score: -3
Briskinfosec Technology avatar
What is Data Encryption? Why it is important in network security?
cn flag

Data encryption is a technique in which the sender converts the message into a code. It allows only authorized user to gain access.

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.