Latest Server related questions

Score: 0
How to fix AH00534: apache2: Configuration error: No MPM loaded?
us flag

When doing sudo apachectl graceful on my Debian 9 server I got the "AH00534: apache2: Configuration error: No MPM loaded." error message. The webserver still started and the error log was empty.

However I would like to get rid of the error message.

What did I do to get this error? I disabled the "mpm event" module with sudo a2dismod mpm_event.

See my answer below on how to mitigate this issue.

Score: 1
After removing .htaccess can no longer access phpmyadmin
my flag

Raspbian running on raspberrypi 3+ apache 2.4

I was trying to secure my server a little better and I enabled .htaccess by changing apache2.conf line AllowOverride None to AllowOverride All and added a .htaccess file to phpmyadmin path located at /var/www/BaseSite/phpmyadmin:

order deny,allow
deny all
allow 192.168

before realizing that apache 2.4 deprecated this syntax in favor of using Require directiv ...

Score: 0
user768503 avatar
Random SSH terminal disconnection Error: kex_exchange_identification: Connection closed by remote host
bw flag

We get the error kex_exchange_identification: Connection closed by remote host randomly. Sometimes we are able to connect with our remote hosts.

As a workaround, we powered off and on our remote host, and this error kex_exchange_identification: Connection closed by remote host disappears.

Verbose logs:

$ ssh -vvvv -p 25899 [email protected]
OpenSSH_for_Windows_8.1p1, LibreSSL 3.0.2
debug3: Failed to open  ...
Score: 0
shortmort37 avatar
Cannot get Postfix Address Rewrite to work; Diagnostic tool fails
co flag

I am setting up a VPS with Ubuntu 20.04 to host a phpBB board, say "myvps.myserviceprovider.com", to which "mydomain.net" is assigned. I also have defined the MX record for my domain to permit Google Workspace to host the email account [email protected]. Notifications and other emails will come from the board using [email protected]. I've installed postfix on my VPS to facilitate this.

Here's an  ...

Score: 1
jlas avatar
Where is mapping of __default__ user to unconfined_u defined in SELinux policy?
ph flag

semanage login -l shows following mappings

~]# semanage login -l

Login Name                SELinux User              MLS/MCS Range

__default__               unconfined_u              s0-s0:c0.c1023
root                      unconfined_u              s0-s0:c0.c1023
system_u                  system_u                  s0-s0:c0.c1023

So, these are the default mappings. I want to learn where the mappi ...

Score: 0
how to create report from rsnapshot logs
de flag

Has anybody successfully create and email report with rsnapshot utility /etc/rsnapstats.py?

I have configured the /etc/rsnapshot.conf to create logs of backup , but it fails to create a report and sent it with email. We run rsnapshot 1.4.2 on a centos 7.9 server. Any suggestions?

Score: 1
Quinn Favo avatar
Domain Controllers Experiencing Heavy Network Load From Almost All Machines In the Domain
cn flag

We are experiencing frequent and high-bandwidth connections from almost every machine in our environment with no recognizable pattern.

We transferred ~110GB to/from our main domain controllers(10.223.3.35 and 10.223.3.14) over the past 24hours over port 445

We recently made the following changes in our environment: (however these changes were made about 7 days after the network issues first occurred ...

Score: 2
Set connection timeout using psql command line interface
mx flag

Is there a way to set the connection timeout using psql cli? How can I set a connection timeout to something low like 3 seconds using the following:

PGPASSWORD=passwordhere psql -h 10.0.0.144 -U myuser -c "select 1" -d mydatabase

As far as I can tell, psql does not support a connection timeout parameter. In the example above 10.0.0.144 is invalid and this command hangs for a long time. I need the comma ...

Score: 0
Sentry with PHP and nginx: errors do not occur in sentry dashboard anymore
gb flag

I am stuck with my nginx (nginx/1.14.2) configuration for a php (php-7.4) App that would normally send error notifications to sentry.

I moved a php application from an apache to nginx server and now my sentry errors are not reported anymore ... what did I do wrong?

here is my nginx config:

server {

    root /var/www/services/some-sesrvice;

    index index.php;

    server_name *****.com;

     access_l ...
Score: 0
Independent-Duty8682 avatar
What would the recommended setup for a high-availability cluster in our startup?
ke flag

We're planning our setup using Proxmox and were hoping to get some feedback as to how good of an idea is it:

So our current setup is 4 servers with wildly different specs:

  • All of them have 2x Intel(R) Xeon(R)

  • All of them have either 128GB or 512GB RAM

  • All of them have at least one hardware RAID storage of varying specs and size

  • All of them have at 2 other drives of varying specs

  • One of them r ...

Score: 0
rsnapshot to backup windows client
de flag

we have setup and run rsnapshot ver 1.4.2 on a linux server (backup server), running centos 7.9. Several other centos boxes, are configured and backup to linux server, using rsnapshot utility We are running also several windows boxes mostly windows 2018/19 servers, and would like to backup them through rsnapshot on the backup server . Has anyone configured and run this setup successfully? I have done se ...

Score: 1
solveit avatar
Domain whitelisting in Kubernetes DNS Service
ar flag

Can I use Kubernetes dns service to whitelist the domains for my pods? I want to restrict the outgoing (egress) calls using Kubernetes dns service. if I can achieve this, can someone let me know the steps required to implement this.
Note: I see in my default pods that coredns pod is already present with image: rancher/coredns-coredns:1.8.3. I understand that it comes default with k3s.

PS: I have  ...

Score: 1
I grok it avatar
How to automatically move files from one server to another servers - not syncing but moving
us flag

I need to securely and automatically move files from several "inboxes" on one Windows 2019 server to several "outboxes" on other Windows 2019 servers. The servers are located behind secure firewalls, thus I would like to refrain from using smb (robocopy, etc.).

I was looking at several sync tools (i.e. syncthing), but those are more about syncing than moving files.

Requirements:

  • Unattended move o ...
Score: 0
Ansible role, is it possible to define variables conditionally?
ng flag

I've got an Ansible role that use a lot of variables, and as those variables are conditioned after the server config (like what OS version it is using) my directory "MyRole/vars" is full of different files for different cases.

In "MyRole/vars" i have:

  • RedHat6_install.yml
  • Redhat7_install.yml
  • RedHat8_install.yml
  • RedHat6_uninstall.yml
  • RedHat7_uninstall.yml
  • RedHat8_uninstall.yml

And so on...

I was wonder ...

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.