Latest Server related questions

Score: 2
tigerblue77 avatar
New LVM VDO logical volume inactive at startup, even with "--activate y" parameter
mx flag

I'm trying to make LVM VDO work on my Debian 11.3 (test VM installed from scratch). I've shared my installation procedure here if someone wants to reproduce the problem. Now I'm stuck with a "basic" problem which is : the logical volume is inactive at startup. After VDO is compiled and installed, I run the following script:

# Create zeroed VDO volume and format to ext4
DESTINATION_LVM_VG="/dev/Pepper-Pott ...
Score: 0
mysqldump - username takes "-p" as well
in flag

I use the following script to read database credentials from a Wordpress installation:

DB_NAME=$(sed -n "s/define( *'DB_NAME', *'\([^']*\)'.*/\1/p" wp-config.php)
DB_USER=$(sed -n "s/define( *'DB_USER', *'\([^']*\)'.*/\1/p" wp-config.php)
DB_PASSWORD=$(sed -n "s/define( *'DB_PASSWORD', *'\([^']*\)'.*/\1/p" wp-config.php)
DB_HOST=$(sed -n "s/define( *'DB_HOST', *'\([^']*\)'.*/\1/p" wp-config.php)
 ...
Score: 0
sos5020 avatar
install mysql in debian 9
om flag

I need to install MySQL 7.5 on Debian 9 stretch, I tried to download it using PPA but when I try to update and complete download I get error apt-key expire.

Err:2 http://repo.mysql.com/apt/debian stretch InRelease
  The following signatures were invalid: EXPKEYSIG 8C718D3B5072E1F5 MySQL Release Engineering 
Hit:4 https://packages.sury.org/php stretch InRelease

I tried to del the key and re-add it but  ...

Score: 0
InterLinked avatar
Force non-empty MAIL FROM for outgoing email
br flag

I am using postfix on a Debian server, primarily to send outgoing email for websites and notifications, and have run into an issue where outgoing email to a certain mailing list provider is rejected but email to "normal" individual email addresses goes through just fine.

I've been informed this is due to an empty MAIL FROM, since that typically indicates a bounce or a spammer, which mailing lists ...

Score: 0
user3642342 avatar
IIS Send 200 Instead of 405 when POST to a Static File
se flag

I am trying to deploy a static network speed test application. IIS need to behave like This Nginx Config.

Everything working fine, but I need to send 200 instead of 405. When Running Upload Test. (POST request to a Static File)

Looking for ISS Equivalent like Nginx "error_page 405 =200"

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>

 
        <staticCon ...
Score: 0
Command logging for chroot ssh users
in flag

I have a ubuntu server that allows users access via ssh. When they log in they are contained to their chroot directory.

I'm looking for a way to log commands used by the users. I've tried using snoopy but it doesn't log commands for users in chroot.

It there any possible solution for this ? The only similar resources I've found have been for sftp. Would greatly appreciate any advice, thanks.

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.