Latest Server related questions

Score: 0
fajin yu avatar
How can I migrate soft RAID array made by mdadm to new server and new OS?
in flag

I have a RAID array which level is raid0 and made by mdadm, in my old server. The member of this array is 6 NVMe SSD, and I create this array with below command:

sudo mdadm -C /dev/md0 -l 0 -n 6 /dev/nvme0n1 /dev/nvme1n1 /dev/nvme2n1 /dev/nvme3n1 /dev/nvme4n1 /dev/nvme5n1

Last week my old server OS disk (not this array) was broken. Since old server's IPMI have some hardware problem, I install a new OS in ...

Score: 2
J.D. avatar
How to debug the cause of my suddenly extremely slow running database backups maintenance plan?
sa flag

(Originally posted on DBA.StackExchange.com but closed, hopefully more relevant here.)

Alexander and the Terrible, Horrible, No Good, Very Bad...backups.

The Setup:

I have an on-premise SQL Server 2016 Standard Edition instance running on a virtual machine from VMWare.

@@Version:

Microsoft SQL Server 2016 (SP2-CU17) (KB5001092) - 13.0.5888.11 (X64) Mar 19 2021 19:41:38 Copyright (c) Microsoft Corporat ...

Score: 1
azk avatar
Accessing dict subelement value
ph flag
azk

Here's my playbook

- name: Host's luns
  debug:
    msg: "{{ luns }}"
  vars:
    luns: "{{ ansible_facts.lvm.pvs }}"

And the output for this is

TASK [Luns del vg] ************************************************************
ok: [awxworker_rhel6] => {
    "msg": {
        "/dev/sda2": {
            "free_g": "20.72",
            "size_g": "79.72",
            "vg": "vg00"
        },
        "/ ...
Score: -2
CDoc avatar
How to host encrypted users' files in a way that I won't be able to read them?
cn flag

I am making plans for a new project and looking for a way to allow users upload their files and keep them encrypted and only accessible by them, but at the same time I need their contacts to access the files too.

To explain a little bit more:

  • User uploads the file(s) on my server via a web application.
  • Me (the server) should not have access to the files' contents.
  • Contacts of the user should be  ...
Score: -1
Duloren avatar
Obtaining the CPU L2 shared memory percentual of usage on Linux machine
cn flag

On Linux based systems, how can I estimate or maybe read the CPU L2 shared memory % of usage?

Score: 0
linux_corgi_man avatar
How should I set my nginx configuration to use subdomains with CNAME host record?
cn flag

running Debian 11.

How should I add my subdomain to my site using my CNAME DNS records? My website directory is located at /var/www/ and I'm wondering if I can make a subdirectory for the subdomain within that directory.

i.e. /var/www/domain-dir/subdomain-dir

Can I add subdomain server_name to right in my sites-available config file?

I don't want to create tons of A/AAAA records to point to my subdomain a ...

Score: 3
Llewyn S avatar
Kubernetes Nginx Ingress and cert-manager Waiting for HTTP-01 challenge propagation: wrong status code '401', expected '200'
cd flag

I'm having issues with my rapberry pi kubernetes implementation

Problem:

I have cert-manager letsencrypt ACME challenge waiting due to a 401 error code on bare metal kubernetes install.

Setup

Platform: Raspberry Pi 4

OS: Ubuntu Server 20.04.3 LTS 64 bit

Ingress: Nginx

Loadbalancer: Metallb

Networking: Calico

I installed metallb and nginx via helm using:

helm install metallb metallb/metallb --namespace ...
Score: 0
alancc avatar
Which permissions does a Linux executable file has when it is executed by root?
cn flag

I am using CentOS 6.8.

I have an executable called railgun, whose user and group are both set to root.

I then use the root user to start it as a service, as below:

service railgun start

However, it produces a permission denied error:

/tmp/memcached.sock: connect: permission denied

I check the user & group for /tmp/memcached.sock and find both are "memcached". So I just wonder why railgun can ...

Score: 0
Jugo Lugara avatar
Transform ansible command to work in Ansible Tower
cn flag

So I am trying to run a playbook from Ansible Tower that I have already successfully run from the command line of an ansible server. However, when trying to run this playbook as a template in Ansible Tower, I get an ssh error saying that the public/rivate key pair does not exist. In order to authenticate to the server, you need to provide the username and password. I was able to do this from this comman ...

Score: 2
How to debug PostgreSQL segmentation fault?
ng flag

I have a PostgreSQL 13 instance that keeps crashing:

LOG:  server process (PID 10722) was terminated by signal 11: Segmentation fault
DETAIL:  Failed process was running: COMMIT
LOG:  terminating any other active server processes
WARNING:  terminating connection because of crash of another server process
DETAIL:  The postmaster has commanded this server process to roll back the current transaction  ...
Score: -2
Dark Furby avatar
Can I learn to RHCSA on EC2
jp flag

I have MacBook with M1 processor and I want to learn to RHCSA exam. There are no ARM distributions yet and I can't create local environment, would it be ok to provision EC2 centOS instance? I'm just afraid that I won't be able to recreate some test cases.

Score: 0
iXô avatar
How to force creating an extended partition in before the last primary partition in kickstart?
mx flag

I am searching for a way to write a kickstart partition section where I can control precisely which partitions are primary, and which partitions are secondary partitions in a extended partition.

I don't want to use LVM, and I want to create this partition table :

enter image description here

On this screen, the sizes are not important, it was just a try to see if I really can do this kind of partition table.

I want the last part ...

Score: 0
Julian Rios avatar
Permit all commandos on Tacacs+ Configuration
cn flag

I have one question regarding TACACS+ Setup. Is there any way I cant permit all commands? Something like:

cmd = * {
permit .*
}

Thank you!

Score: 0
Configuring IPv6 to expose local device(s) to the internet
br flag

I am trying to expose a local client to the net to host a website. I am struggling to understand IPv6.

Current setup:

ISP --> bridged ISP router --> TP-Link router --> LAN

I've configured the TP-Link router to use IPv6. In the router's menu I see:

The "global address" under "IPv6/WAN" is

XXXX:YYY:ZZZ:aaa:RRRR:TTTT:UUUU:VVVV

The "LAN IPv6 address" under "IPv6/LAN" is

XXXX:YYE:ZZZ:aaa:<some ...
Score: 0
Yannis Sintos avatar
Add Hetzner Volume cloud disk to serve wordpress uploads folder in Ubuntu 20.04
my flag

I have a VPS in Hetzner with 40GB disk that serves a Wodpress news blog on Ubuntu 20.04 and Virtualmin control panel. Since the blog has new content every day, the 40GB disk is just not enough. I want to extend the storage of the VPS by adding extra cloud disk volume and i want this extra disk to be used for saving images/files from the wordpress "uploads" folder. Hetzner can automount the extra volume  ...

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.