Latest Server related questions

Score: 0
cov avatar
Save rendered Jinja to variable
cn flag
cov

I'd like to split up some Jinja templating into multiple lines to keep lines under 120 characters, and register a variable for easy reuse. Is there a way to do something like the following? Is there a built-in (or community) module for this? If possible, I'd like to do it without using temporary files.

- jinja: "https://{{ username }}:{{ token }}@hosting.com/organization"
  vars:
    username: "{{  ...
Score: 0
Lucio Crusca avatar
mount.ecryptfs_private in .xsession started by nodm/lightdm complains with "mount: no such file or directory"
mu flag

I'm trying to decrypt the Private directory inside a user $HOME automatically at system startup. The system is a Debian GNU/Linux 10 (actually a Raspbian, but I assume it's no different to this end) that uses NoDM to start Xorg.

EDIT 1: I've now tried installing a clean Debian 11 with Nodm in a virtual machine and I face exactly the same problem described here below.

Nodm automatically logs the unprivileg ...

Score: 0
PCh avatar
How to aggregate data according to 2 different criteria in Kibana
in flag
PCh

I am using Kibana 6.7.1

Assuming I have data having the following form (when presented in CSV format):

@timestamp,A,B,V
1,A1,B1,4
1,A2,B1,9
1,A1,B2,5
1,A2,B2,10
2,A1,B1,6
2,A2,B1,12
2,A1,B2,13
2,A2,B2,8

I would like to perform an average aggregation of V for records having identical A and B and then I would like to output sum aggregation of these averages for averages having identical A.

So with t ...

Score: 0
Basem avatar
PCS two nodes resource start at the same time
pk flag

I am configuring a two nodes cluster Active/passive where the resources of one node is up at a time, so I added two resources IP address and service, The problem is that after configuring the cluster I see the service is up on one node and down on the other which is desired and normal. However, after a random period I see that the service becomes up on the other node which is undesirable behavior and is ...

Score: 0
How do I resize the filesystem on a RAID array?
ng flag

I've recently added a 5th drive to my software raid array -- and mdadm has accepted it:

$ lsblk
NAME           MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT
nvme0n1        259:0    0 894.3G  0 disk
├─nvme0n1p1    259:4    0   512M  0 part
│ └─md0          9:0    0   511M  0 raid1 /boot
└─nvme0n1p2    259:5    0 893.8G  0 part
  └─md1          9:1    0   3.5T  0 raid5
    ├─vg0-swap 25 ...
Score: 0
does google cloud support ipsec encapsulated gre tunnels
ng flag

I can't seem to get a pim set up on google cloud where multicast traffic is sent over a ipsec encapsulated gre tunnel.

Does google cloud ec2 instances and network block this type of traffic?

Score: -1
Thorquall avatar
Best Thin Client Setup
mc flag

I'm new here and I'm looking for information for a personal question I have since the beginning of the year.

This year I had my first contact with a workspace that uses thin clients, but it's all in the cloud with no local resources. I was wondering if at some point they were without internet what would they do? Since then I have been imagining and I did some research that were not very well answ ...

Score: 0
mattb avatar
nginx load balancing with multiple server blocks
lk flag

I have the following setup because I'm putting nginx in front of two azure app services in different regions - without this (e.g. having the app services directly in my upstream block) it appears that nginx was connecting to azure by IP address rather than the hostname so the azure load balancer didn't know where to route the request - or not setting the Host header to the correct value.

But I no ...

Score: 0
davidburtton avatar
OpenShift Error "No container image registry has been configured with the server"
gw flag

I've got a brand new OpenShift Single Node 4.9 installation up and running but am running into issues when trying to get my first container up and running

The install completed without a hitch, but now that I'm trying to get my first container up, I run into an error about the registry not being available? This happens during the build process of the container. Unfortunately, the logs don't show  ...

Score: 0
chollida avatar
How to link two networks with different IP ranges
pf flag

I've got a network on ip range 192.168.0.X. It has a router with an internal IP on this range that lets it talk to the outside world.

If I create a new network on ip range 192.168.1.X. How can I get this network to see the first network on a different IP range and more specifically the router on the original range.

The computers are windows and linux based.

Score: 0
haher avatar
Varnish returning 503 and 500 errors without Apache or php-fpm showing any error that could explain it
cn flag

Increased varnish log and increased Apache logs and found:

[Thu Oct 28 10:54:02 2021] [notice] caught SIGTERM, shutting down
[Thu Oct 28 10:54:02 2021] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Oct 28 10:54:02 2021] [notice] Digest: generating secret for digest authentication ...
[Thu Oct 28 10:54:02 2021] [notice] Digest: done
[Thu Oct 28 10:54:02 2021] [debug] util_ldap.c ...
Score: 1
How to move a linux container to a remote server running proxmox 7.0?
cn flag

I am currently in the process of migrating a server running several linux containers to a server managed by proxmox. In the past when i moved a linux container to a different host i just used the LXD API, simplestreams protocol and executed a lxc copy command - quite simple. But how is it done if the remote is managed by proxmox so that the migrated container is known to proxmox afterwards?

Score: 0
Troubleshooting Handshake Failure Between Application and External API
kz flag

This might be a bit of a long shot, but I'm hoping someone here can help me. I have a java application running on a jboss backend in a debian linux server. Incoming communications are routed to the correct backend by haproxy on another server.

One of the application's jobs is to provide shipment information to the user. It does this by sending a POST request to a third party API provided by UPS ( ...

Score: 0
Add Windows VM to domain using Packer
sa flag

I'm trying to create Windows images for usage on Azure using Packer. As part of this process, I need to put some files, which are located on an existing VM in Azure, in the image. My idea was to add the VM to the domain, so that I can copy the files directly. However, so far I haven't been able to add the image to the domain.

I've tried running a powershell script, but this gives me the following ...

Score: 1
Biju avatar
failed (13: Permission denied) nginx server with Django
vn flag

I am getting permission denied error on nginx server, for CACHE folder created by django compressor, the error is

"/home/xxxx/myproject/static/CACHE/js/output.dabd456b15d4.js" failed (13: Permission denied), client: 112.196.162.182, server: example.com, request: "GET /static/CACHE/js/output.dabd456b15d4.js HTTP/1.1", host: "abc.example.com", referrer: "https://abc.example.com/member/dashboard/"

the pe ...

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.