Latest Server related questions

Score: 0
Sushma Patil avatar
Keycloak Throws NullPointerException with RoleMappings
ar flag

Keycloak sometimes throws NPE and observed following error. We are creating SuperUser of type composite , but SuperUser is created without composite on and for other user Roles are not assigned .

2022-04-20T18:01:25.986113142-05:00 stdout F ^[[0m^[[32m23:01:25,986 DEBUG [org.keycloak.services.resources.admin.RoleMapperResource] (default task-1) ** addRealmRoleMappings: null 2022-04-20T18:01:25.98 ...

Score: 0
HeadKnockr avatar
Apache2 behind NGINX: MOD_REWRITE only works without HTTPS
mx flag

For days I can't get my head around the following problem:

We have an application (Faveo) which has two requirements for going through the setup wizard:

HTTPS & MOD_REWRITE.

Faveo is running on Apache2 with a ReverseProxy in front of it in our DMZ.


If I run our ReverseProxy with a simple

location / {
          proxy_pass http://XXX.XXX.XXX.XXX;
}

mod_rewrite (which is enabled Apache-Side, w ...

Score: 0
sdlsep avatar
DNS suffix works only when no subdomains are added
vg flag

We have a DNS suffix for our domain ourdomain.local and it works whenever we have one additional DNS component e.g. test1.ourdomain.local or graphs.ourdomain.local, so that means we only have to type test1 or graphs and it will resolve correctly. However if we have remote.graphs.ourdomain.local then remote.graphs won't resolve and only remote.graphs.ourdomain.local will.

This is a Windows Server 2012R2 ...

Score: 0
project based on python3.6 on ubuntu 20.04
cn flag

I need to move django app from ubuntu 16 to 20.04, it's based on python 3.6 but default for ubuntu is 3.8. There's also cron jobs, uwsgi etc I'm not a python dev, what would be the best approach? Do I need to use venv and activate in every cron job?

Score: 1
smwk avatar
Add Windows 10 language pack via PowerShell
cn flag

I'm trying to add a language pack to existing Windows 10 builds (mostly 20H2) but the language is only available and not downloaded as per the screenshot:

enter image description here

Only the default en-us can be selected as the Windows Display Language until en-IE is downloaded. Any PowerShell commands I find only work after the pack is downloaded. From what I've found the pack will only download manually after the system (WinHTTP ...

Score: 0
Jackie Murphy avatar
Email still connected to former server leading to emails being rejected
cn flag

I’m head of a small NFP charity. We had our website transferred to GoDaddy by a friend a year or so later we engaged a local web company to build a new website including transferring it onto their onshore server. The problem is that our emails are being rejected by even Hotmail because the up address error messages claim are being sent from an IP address which up look up says belongs to GoDaddy. I und ...

Score: 0
Kubernetes pod terminated but container still occupying memory for a few minutes
sg flag
jze

I have several pods running an app and when redeploying (maxSurge=1,maxUnavailable=1) all pods are very quickly replaced but then I see a memory spike in the cluster showing double the memory used for 3-4 minutes (garbage collection delay???).

Is there a way to tell Kubernetes to clean up terminated pod's resources before creating another one?

Score: 0
Computer User avatar
Compare disk usage snapshots
in flag

I have a cloud server setup:

Ubuntu 20.04
CyberPanel
OpenLiteSpeed

When I installed the setup, the disk space (40 GB) usage was 50%, now after a month it is 80%. I have removed all files in /usr/local/lsws/logs/ and there are not much emails.

How to find which file / folder is increasing in space? One way is to take a snapshot of all files and folder with file size, and compare it with today and a few ...

Score: -2
Baku Bakar avatar
Is there a way to monitor remotly multiple windows server for hardware performance?
sm flag

We have 5 server installed as VM with "Windows Server 2016" on VMWware. These servers are configured as RDS, means multiple users are working on it. Users which are connected on these servers are running heavy workload. Sometimes it happens, that the server is crashing. Means it has a black screen, so no possibility to access over RDP. However access on filesystem over UNC is still possible.

I wo ...

Score: 0
Interface Metric is empty for VPN
ng flag

When connected to VPN, the interface metric for the VPN interface is empty. I referred to Microsoft docs and it says the interface metric range is 5-50 depending on the link speed.

Does empty refer to any default value. This is not causing any issues but I just want to understand why is that empty and how it was set, if the valid range is 5-50.

Score: 0
Michael Chourdakis avatar
Setup postfix as smtp relay
my flag

I have a running centos 7 server with postfix configured to allow incoming mails to my domain, say, to [email protected]

Now I want to send a mail FROM this [email protected]. My old ISP used to have a smtp-out server that would accept me as a known mail client with a username and password. But my current one doesn't provide a smtp server.

How can I configure postfix to do the same when the mail from  ...

Score: 0
thermike avatar
masking after redrection using .htaccess
us flag

I have read many examples that use the .htaccess file method to mask a url. None of them works for me. It might be something simple that I am missing. Please bare with me.

Here is what i want to do:

I have a subdomain under a dns name, lets say it is mysub.domain . I have an index.html file there that redirects lets say to mycomplex.dns.site. The redirection is done successfully via

<meta http-equiv="r ...
Score: 0
stackprotector avatar
ksetup - Failed /GetEncTypeAttr : 0xc0000034
th flag

On the DC of a single-AD forest, I am logged in as the default domain administrator Administrator (in this case also the enterprise administrator). In an elevated PowerShell, I try to get the Kerberos encryption types with the following command (as documented here):

ksetup /getenctypeattr my.example.com

But I get an error message instead:

Query of attributes on MY.EXAMPLE.COM failed with 0xc00000 ...
Score: 0
be MrZulf avatar
How do I add the file location in data of exim
ph flag
catchall:
    driver = redirect
    domains = lsearch;/etc/userdomains
    address_data = \
        "router=$router_name \
        redirect=${quote:${lookup \
                {\N*\N} \
                nwildlsearch{${extract{5}{::}}/etc/${perl{untaint}{$domain}}/aliases} \
                {$value} \
            }}"
    data = ${extract{redirect}{$address_data}}
    allow_fail

in case instead of addr ...

Score: 0
PHZ.fi-Pharazon avatar
MariaDB / MySQL start fails: [ERROR] Can't create IP socket: Temporary failure in name resolution
za flag

On my debian after upgrading from MySQL to MariaDB, I can't start the database anymore. The error I get is:

2022-04-21  9:53:13 0 [Note] mysqld (mysqld 10.3.34-MariaDB-0+deb10u1) starting as process 30342 ...
2022-04-21  9:53:13 0 [Note] InnoDB: Using Linux native AIO
2022-04-21  9:53:13 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2022-04-21  9:53:13 0 [Note] InnoDB: Uses event mu ...
Score: 0
How to assign a static IP with molecule-podman?
br flag

As the generated inventory look like a pair of instance name - ip (see above), I need to test recipe using the variable ansible_host with an IP value and not the instance name.

So the generated inventory look like:

[all]
idm ansible_host=10.0.1.1
client1 ansible_host=10.0.1.2
[client]
client1 ansible_host=10.0.1.2

Thus the molecule.yml contains:

platforms:
  - name: idm
    image: quay.io/freeipa/freei ...

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.