Latest Server related questions

Score: 0
Nidhoegger avatar
Rsync: Include only specific files from all subdirectories
pe flag

One folder named android with an undefined number of subdirectories that contain multiple files, some of them are APKs. One folder named windows with an undefined number of subdirectories and multiple files, some of them EXE files.

I would like to use rsync to copy the whole folder structure, but only copy APK and EXE files, nothing else.

I am using the --exclude-from option of rsync for that, bu ...

Score: 1
How to set up an XPRA proxy server for multiple users, reverse proxied with Apache
cn flag

On an Ubuntu 20.04 LTS system I would like to configure the "XPRA proxy server" in the following manner:

  1. XPRA should be accessed via its HTML5 client so that users don't need XPRA on their machines.
  2. Users shall be able to connect to XPRA via the URL https://xpra.example.net, instead of http://example.net:14500. I.e. the XPRA HTML service should be reverse-proxied by the (Apache) webserver so that  ...
Score: 0
Tom avatar
Icinga2 hosts are marked as Pending and unhandled
my flag
Tom

I am trying to configure a icinga2 cluster of multiple nodes (agents) and one master.

I am using this Ansible role to do this.

Hostnames are resolved using entries inside /etc/hosts.

The problem I am having is that the hosts inside icingaweb2 are marked as Pending and unhandled.

On the master I get the following error messages:

[2021-06-21 11:50:25 +0200] warning/JsonRpcConnection: API client discon ...
Score: 0
Luís Pereira Cruz avatar
Backend multiples apache 2.4 sync settings virtualhost
gl flag

I have a set of apache 2.4 backend (Ubuntu server) with the same virtualhost and same configurations (the content is accessible through an HTTPS balancer) how could I easily replicate this configuration between all apaches (Ubuntu Server)?

FrontEnd LB (HTTPS) -> backend (HTTP) multiples ubuntu servers LTS apache 2.4

Thanks! , a greeting

Score: 0
SvenTUM avatar
Multiple session ID headers sent by Apache HTTPD serving PHP
zw flag

Problem

I get a multiple equal HTTP headers in responses of a web application. Sometimes it's dozens of replications depending on the script called.

SetUp

It's a large and very old PHP based application. It's delivered using Apache HTTPD 2.4 (Debian) using the php7_module module.

The application has some library code that handles the session information. In this code it wraps handling with sessio ...

Score: 0
Apache 2.4 Subdomain Proxy Balancer and Reverse Proxy
cn flag

I have a Next.js application running on two ports 3000 and 3001, and I want to use apache 2.4 reverse proxy to achieve this:

https://app.com/*      ->  localhost:300x/*
https://user.app.com/* ->  localhost:300x/user/*

So far my setting is like below:

<VirtualHost app.com:80>
  ServerName app.com
  <Proxy "balancer://mycluster">
    BalancerMember "http://localhost:3000" route=1 retr ...
Score: -1
Marcia Turley avatar
Google Cloud Account Deletion
kr flag

I really need your help in closing my google cloud account. The reason for this is because my company name has changed: From: Macventure.ca to Macventure.agency.

I haven't figured out how to delete this account. Technically I'm not sure if I signed up my google cloud account under a different email: [email protected]. I am a newbie. Spent hours today trying to delete this account, figure ou ...

Score: 0
Artursa avatar
Vpn . Nps . Active directory . Strongswan ikev2
co flag

please help me I configured a strongswan IKEV2 On Centos7 vps and NPS and Active Directory for my authentication and accounting(radius) on windows server 2016 vps when i want to connect to my ikev2 vpn on windows 10 i get this error:

the remote connection was denied because the username and password combination you provided is not recognized or the selected authentication protocol is not permitted on the  ...

Score: 0
postgrey via systemctl doesn't create socket
cn flag

If I run it /usr/sbin/postgrey with parameteres it works as usual. If i use /etc/init.d/postgrey restart or systemctl restart postgrey - it doesn't.

It looks like it doesn't read /etc/default/postgrey at all, but how to debug this? And if so, how to force it?

/etc/default/postgrey:

POSTGREY_OPTS="--unix /var/spool/postfix/postgrey/socket"
Score: 0
cyqsimon avatar
How to disable Web Console and Red Hat Insights prompt on login to RHEL8 via SSH?
ck flag

Whenever I log into my RHEL8 server via SSH, I get these lines printed:

Web console: https://<myserver>:9090/ or https://<myip>:9090/

This system is not registered to Red Hat Insights. See https://cloud.redhat.com/
To register this system, run: insights-client --register

How do I disable those prompts?

Score: 0
basin avatar
Dnsmasq to resolve its own host name to one of its own ipaddr
vn flag

On a multihome system how to configure Dnsmasq so it resolves its own host name to its own ip address, preferably choosing the right address depending on the requestor address?

I see the option --localise-queries that does the second part of my need. The only problem is that I don't want to hardcode my own ip addresses in /etc/hosts.

Score: 0
Change diff format/output in Ansible? External diff command?
bg flag

when using --diff in Ansible (here v2.11), it shows me a diff of changes. I would like to change the output formatting of that. Is it possible, in ansible, to tell it to use an external command to generate the diff string/output?

Score: 0
Clear all active HTTP sessions in Wildfly
ve flag

Does anybody know how to clear (invalidate) all active HTTP sessions in the Wildfly Undertow subsystem. I could only find this operation invalidate-session but it accepts only one session-id parameter, but I have 1000 of these sessions. It's so annoying that there is no single way to remove all active sessions. Moreover, after redeploy or restart of the server, the sessions are still alive, although it' ...

Score: 1
alleen1 avatar
How to install Microsoft IPP Class Driver for printer?
us flag

I am deploying a network printer for our office users using CUPS 2.2.7 on an Ubuntu 18.04 server. Tests on my machine (Windows 10 20H2) run fine from my computer when I use the printer driver Microsoft IPP Class Driver.

The problem is: I can't find how to deploy this same driver on users machines (1903 to 20H2). It was already installed on my machine (I don't know how or when), but I can't get to in ...

Score: 0
Confused avatar
Ping and tracert misbehaving on my device only
us flag

I'm posting this here instead of the networking forum because the issue is isolated on my PC

Long story short:

  1. Pinging anything always results in a successful reply from my private IP
  2. Any traceroute attempt results in a 2 hop route with hope 1 being the destination and hop 2 my computer

Whatever's causing this is definitely on my PC as I've tested another machine on the same network, and even booted  ...

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.