Latest Server related questions

Score: 15
ATLief avatar
What's the difference between a "degraded" RAID 6 array and a "clean" RAID 5 array?
in flag

Suppose you have two RAID arrays, one with N disks and one with N+1 disks. The array with N disks was formatted as a RAID 5 and left alone, while the other array was formatted as a RAID 6 before one of its disks was removed. Now both arrays have N disks, N-1 disks worth of usable storage, and can survive the loss of one (more) disk.

Besides whatever metadata the RAID controller uses, are there an ...

Score: 0
Debugging and logging php cronjobs
dk flag
timeout -s9 1h php -d memory_limit=4096M run-action.php --host=www.goodbuys.ca --action=import_hook --lock=import;

Every time I run this, I get:

Exception detail: /var/log/goodbuys/goodbuys-goodbuys-exp_30272b7e17.json
Class: gb\php\PHPErrorException
Line: 12

Documentation Link: No Documentation
Message: PHP Error #2: Invalid argument supplied for foreach()

====================================
Stack t ...
Score: 0
charlottesville avatar
How to get Redhat/Centos to run nogpgcheck automatically on any call to yum install?
in flag

I'm taking over a big project. 5 engineers worked on it for some years, but they are gone now. There are multiple install scripts, and they are very complicated. Somewhere inside of those scripts, they have commands such as:

yum install postgresql10

Which gives me the error:

Error: Failed to download metadata for repo 'pgdg-common': repomd.xml GPG signature verification error: Bad GPG signature

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.