Latest Server related questions

Score: 0
King David avatar
hdfs + Missing replicas from fsck
gb flag

we have Hadoop cluster , and we noticed that hdfs fsck gives the following results

..............Status: HEALTHY
 Total size:    58934628832 B
 Total dirs:    127002
 Total files:   354214
 Total symlinks:                0 (Files currently being written: 8)
 Total blocks (validated):      349827 (avg. block size 168467 B) (Total open file blocks (not validated): 1)
 Minimally replicated blocks:   3 ...
Score: 0
jensDL avatar
Nginx Reverse proxy with basic auth and ssl, to many request errr
in flag

I have a config with a reverse proxy, basic authentication and SSL certificate from Certbot. When I try to connect to the domain, I get the error to many requests and see in the network tab that the login is repeating a lot. I tried the same for a different web app, were it worked perfectly (Dynmap). The thing I am trying to host is player analytics plugin for spigot, I can connect to the web app withou ...

Score: 0
Cannot get Apache to write a coredump
ve flag

I have a CGI program running on Debian under Apache mod_cgi that occasionally crashes with an error like

double free or corruption (fasttop): 0x0000000002557db0 ***

Since it is a rare crash I'd like it to dump core so I can backtrace where the problem is happening. However, I cannot get apache to actually dump core.

If I run "ulimit -c" it returns "unlimited".

I have the Apache directive set "CoreD ...

Score: 0
Ansible-playbook loop issue
us flag

I have a playbook that works great when I limit to a single host. ansible-playbook -k playbook.yml group1

I need to be able to run it against multiple hosts at the same time. The syntax would be: ansible-playbook -k playbook.yml 'group1 group2'

group 1 is a group that has several servers with different applications installed server1 (this is the proxy server) server2 server3 server4

group 2 is a group  ...

Score: 0
c.mtd17 avatar
www page always returns 302
us flag

We are changing our company website, old wordpress website is on old server centos/apache with ip 10.10.10.20 and the new one has different ip 10.10.10.200. The deal was to just edit dns entries, as the new website should have the same domain. The old ip was removed from dns and the url was https://www.example.com.

The new website on https://example.com works perfectly, but the https://www.example.com

Score: 0
Frederick Ollinger avatar
Terraform: How to Detect and Branch on Operating System?
us flag

Given this block of pseudo code from Terraform:

resource "null_resource" {
    provisioner "local-exec" {
        command = "echo hello"
        interpreter = local.os == "Windows" ? ["PowerShell", "-Command"] : ["bash"]
}

How would I get this to run in Powershell on Windows and bash on Linux?

Score: 0
0diseuz avatar
Issue with AWS Codecommit branches
cn flag

We have many repositories in codecommit, but recently one of our main repositories (the one with work the most) has been presenting problems with it's branches.

Many of the branches does not work, when tried to visualize the branch content it gets the following error: "An unspecified error occurred. Check the network connectivity, and then check if there are any issues with the service in the Servi ...

Score: 0
Andrew Newby avatar
SpamAssassin flagging FREEMAIL_FORGED_REPLYTO even when the addresses are the same
in flag

It seems that the FREEMAIL_FORGED_REPLYTO is being applied to emails from GMail, even though they are the same:

Reply-To: [email protected]
From: Andy Newby <[email protected]>

Obviously, the "From" has the person's name - but surely it would recognise that? Is there a tweak I can do to the rule? I had a look online but couldn't find anything around this issue. I'm sure I can't be the only one!

The idea ...

Score: 0
Bahis Kritik avatar
How i will do ngx_http_referer_module with dynamic referer list?
jp flag

I want to do referer request 403 if not included in domain list from php or file. Is it possible?

Example Nginx.conf:

 server_name google.com facebook.com twitter.com

 valid_referers server_names;

 if ($invalid_referer) {
          return 403;
 }

i want to do this server_name dynamic from php or file.

Score: 0
Internet access through SSH SOCKS5 proxy and CNTLM on the target
in flag

I have a Windows machine with remote access to a Debian machine for development. Both are behind a corporate proxy. On the Debian side cntlm is configured with authentication and used automatically via the http_proxy env vars. Further, the Debian machine is configured to resolve the .test TLD to localhost, such that e.g. curl myservice.test can be used to reach a service in development. In order to do th ...

Score: 0
Ahron avatar
CDN video caching duration
fr flag

Are there any standards about for how long (days, weeks) do CDNs cache video content?

This other answer suggested that it is only for a short period of time (e.g. 1 day) but that information is almost a decade old by now. For regular (non-video) content, there are cache settings.

How is it for video content? Where can I find more information about this (I could not find it on the websites of some CD ...

Score: 0
How do I order authentication options correctly in Apache, by location?
cn flag

The order required is:

  1. Basic Auth - IF Authorization is in the header
  2. SAML Auth
  3. For 2 specific locations, no auth

This is what I have, but it does not seem to work correctly

<Location "/">
   AuthType Basic
   AuthBasicProvider ldap
   ...

   <If "-z req('Authorization')">
      AuthType Mellon
      MellonEnable auth
      MellonEndpointPath /mellon/
      ...
   </If>
</Locatio ...

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.