Latest Server related questions

Score: 0
Marki avatar
Apache httpd: Alias is inherited by virtual host?
tm flag

When the default server contains

Alias /bla /srv/www/blub

then all VirtualHosts can also acecss /bla.

I must say I didn't anticipate that. IMO a virtual server should have its own separate config.

Is that a bug or a feature? Can I switch this behavior off?

Score: 0
U. Windl avatar
What happened to Data::UUID in SLES?
it flag

I have a Perl program with tradition (i.e. I use it over 10 years), but today I realized that it cannot find Data::UUID any more. I also tried to install a corresponding package from the SLES software repository, but I could not find one.

AFAIR it still worked in January this year.

I'm using perl-5.18.2-12.23.1.x86_64 from SLES 12 SP5. Could it be a packaging error? It also seems that several "pe ...

Score: 0
Sergey Khlopov avatar
How to configure redirects to url without trailing slash in nginx?
ca flag

i need to make a of such a redirect:

domain.com/test/ (301) => domain.com/test

for this I used the following record:

rewrite ^/(.*)/$ /$1 permanent;

But there is a nuance, in pagination i have such links a redirect is performed for them too:

domain.com/category/?page=1&view=grid (301) => domain.com/category?page=1&view=grid
domain.com/category/?page=2&view=grid (301) => dom ...
Score: 0
Paul Michaels avatar
Debugging user configuration on Azure Dev Ops
cm flag

I've recently had issues where I'm trying to give a person a certain set of permissions on Azure DevOps. Is there a way that I can either:

  • Ascertain exactly what that user has access to in a single view (across subscriptions), or
  • In some way emulate that user's view of Azure, so that I can debug why they might not be able to see something they should (or why they are able to see something they should ...
Score: 0
user3250064 avatar
Tomcat 8.5.29 throws EOFException with 500 Internal Server Error
ng flag

I'm trying to access spring endpoint in AWS-EKS environment, I'm not recreate this issue locally but in production logs we see lot 500 Internal Server Error with below EOF Exception logged at same time:

logtype: tomcat-server message: Servlet.service() for servlet [com.abc.platform.xservices.rest.abcApplication] in context with path [/something] threw exception [org.glassfish.jersey.server.Conta ...

Score: 0
Is there a way to define an Apache 2 virtual host with a partial ServerName
cn flag

I have a tool that generates Apache 2 config blocks. I would like what it generates to be independent of whatever the actual ServerName is, but without needing to actually run on/parse the target machine's Apache config.

In other words, what I need is something like this:

<VirtualHost *>
   ServerName foobar    // <-- no top level domain
   ...
</VirtualHost>

It seems from reading the docs ...

Score: 1
Fail2ban filter for mongodb
sv flag

Fail2Ban version: 0.10.2

I have tried a lot of filter config files for MongoDB remote authentication fail, none of them have been working, I have figured that the problem is with failregex and I am not able to come up with a proper regex.

{"$date":"2021-08-10T17:27:13.498+05:30"},"s":"I",  "c":"ACCESS",   "id":20249,   "ctx":"conn187","msg":"Authentication failed","attr":{"mechanism":"SCRAM-SHA-256"," ...
Score: 0
Sara June avatar
How to apply multiple labels to jenkins nodes?
cn flag

When I apply a label to Node, it is working as expected and the job able to pick this node.

But, if I apply multiple labels, it is not working. As I observe, it is taking both of them as single label.

Example: label: devbuild

It is working with the job.

But,

label: devbuild,installernode

It is not working for any of the jobs with label "devbuild" or "installernode" Even I tried with ; but same issue.

Score: 0
Can I flatten MariaDB general logs from their multiline format?
cn flag

We're trying to get our MariaDB transaction logs imported into SumoLogic, however the logs are in a multiline format so the logs that are being uploaded are essentially unusable in this format. Sumo allows us to use regex to determine the log boundaries, however the logging is such that this is untenable. Is it possible to natively squash the multiline output into a single log entry?

Score: 0
iphaaw avatar
Link-local IPv4 network scope on Windows
cn flag

We have an embedded PC that initially starts off life with a link-local IPv4 address, typically 169.254.0.1. It broadcasts its existence using Zeroconf using the python-zeroconf library. These Zeroconf messages are happily received on the Mac, but the ZeroConf broadcast is never received on Windows 10 unless the PC is also on a link-local address too.

Is this a limitation of Windows, or is there  ...

Score: 1
James G. Cook avatar
RH 7.9 facing dependency error while yum update (libpcre and libquadmath)
cn flag

I am currently updating my RH 7.9 and facing 2 dependency errors. Could anyone assist ? Thanks in advance!

Error: Package: grep-2.20-6.el6.x86_64 
           Requires: libpcre.so.0()(64bit)
           Available: pcre-7.8-7.el6.x86_64 
               libpcre.so.0()(64bit)
           Installed: pcre-8.32-17.el7.x86_64
              ~libpcre.so.1()(64bit)
              ~libpcre16.so.0()(64bit)
        ...
Score: 0
Sebastian Ciocarlan avatar
Missing Built-in security principals in Object Types Windows
si flag

I need to add the NT AUTHORITY/NETWORK SERVICE to Event log readers on some source computers for a Event Subscription, to use Security events, but I dont have listed the Built-In security principals as Object Types when I try to add it to the group. Any idea?

Edit : Here is an image of the types that I get

Score: 1
How is ping so low, lower than theoretical limit?
br flag

According to this article, we would expect a ping of at least 60 milliseconds for 10,000km of distance:

enter image description here

Ireland is roughly 10,000km away from California, so this is the ping we would expect.

I am pinging api.kraken.com from Ireland, which is located somewhere in California.

How is my ping so low - 4 milliseconds?

I am using the ping command in Command Prompt to test this:

enter image description here

And it's definitely not jus ...

Score: 0
ubuntu-core-20-amd64.img on ProxMox 7
mh flag

I followed this guide; https://blog.viktorpetersson.com/2019/10/03/ubuntu-core-on-proxmox.html

Transposing 18 for 20 but when I start the VM it just goes into a boot loop saying No OS found. I get the same when I try to use the .img file and when I convert it to an .iso file and create the VM that way

I cannot seem to get Ubuntu Core to work on ProxMox 7

Score: 1
Manish Adhikari avatar
Tomcat Server running springboot application apruptly closes connection to smtp server
ru flag

I have a tomcat server running a spring boot application on a host using CentOS 8 that connects to a mail client using SMTP. Problem is it abruptly closes connection before TLS handshake occurs with a STARTTLS option. It works OK with other nodes running CentOS 7 and Oracle linux server. The problem cannot be with the application otherwise it would not work on any nodes. I checked using Wireshark to see ...

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.