Latest Server related questions

Score: 0
King David avatar
hdfs + why not remove the corrupted blocks by automatic approach as cron job
gb flag

we have Hadoop cluster with 376 data-node machines ( based on HDP version - 2.6.4 )

from time to time we can see XX number of corrupted blocks

and to fix it we are performing the following:

su hdfs
hdfs fsck / -delete

since this happened from time to time

we are thinking to perform the hdfs fsck / -delete by Cron job , for example cron job can run every 00:00 , and delete the corrupted blocks

but ...

Score: 0
stunnel client accepts any peer certificate
cn flag

I have a Linux machine that is connecting to a remote MySQL server using stunnel 5.56. I downloaded the remote server's certificate and put it in /etc/ssl/cert/mysql-server.pem. Here is my Linux machine's stunnel configuration:

# /etc/stunnel/mysql.conf
debug = 6

[mysql-server]
client = yes
accept  = 127.0.0.1:3326
connect = mysql-remote.example.com:3307
verifyPeer = yes
CAfile = /etc/ssl/cert/mysql-serv ...
Score: 0
Supermicro backplane diagnostics
cn flag

I have three supermicro servers, 2x 3U chassis with X8DTE motherboard and SAS-836TQ backplanes and 1x 1U chassis with X9DRW-iF with SAS-815TQ backplane.

1 of the 3U backplanes only recognizes 12 out of 16 drives (I've talked about this issue here), while the 1U backplane only recognizes 2 out of 4 drives.

I've been looking into ways to run diagnostics on the two backplanes, but not really getting anywhere ...

Score: 0
mk0222 avatar
unable to upgrade php in ubuntu 18.04
za flag

I am trying to update php from 7.2 to 7.4, but getting error. I am trying with the following command as root:

add-apt-repository ppa:ondrej/php

the error:

Error reading https://launchpad.net/api/1.0/~ondrej/ppas: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852) Failed to add key.

Could you please advise how to update php?

Thanks in advance

Score: 0
Louwrentius avatar
DSTAT output scrambled on Ubuntu 20.04 LTS using macOS Monterey terminal
cn flag

The problem

When I logon to a machine running Ubuntu 20.04 LTS and run 'dstat' I get this kind of output:

garbled dstat output

So regular dstat output is ok, but as soon as you enter 'dstat ' things go wrong. Instead of updating the line in-place, the screen gets shuffled.

What I have tried

  • Using a different mac running Monterey resulted in the same problem
  • Using a different terminal app iTerm solv ...
Score: 0
systemctl startup with dependencies
ws flag

I am implementing a highly available memcached service. Since memcached does not persist data, when an instance starts up, I want to seed its data from a running instance. Hence the startup (in pseudo code) is....

block incoming connections to port 11211
start memcached
replicate data
unblock incoming connections

This looks straightforward, however the ExecStart script in the supplied unit file for me ...

Score: 0
Rohit Prajapati avatar
Add Interceptor in NGINX api gateway
de flag

I am working on NGINX API gateway, I am using reverse proxy with proxy pass, But i want to add 1 validator api means if i call any api then first it hit to validator api and then check response message if response message in no error then it hit to actual api.

Score: 0
OpenMask avatar
Cannot ssh after resizing CPU and memory of my VM
id flag

I followed the recommandation to reduce the size of my VM (number of CPU from 4 to 2 and memory from 16GO to 8 Go). After updating the configuration and restarting the VM i was not able to access the VM via ssh. The VM has an external IP. The troublshoot diagnostic using gcloud does not show any error or issue in the log. Everything is fine regarding the firewall configuration.

I tried to create  ...

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.