Latest Server related questions

Score: 0
Alimba avatar
How to upgrade to php 8.1 on RHEL 8.7?
gd flag

How to upgrade to php8.1 in RHEL 8.7, I went through various guides and ended up installing php:remi-8.1 which is desirable however, php-gd is not willing to be installed cause of missing libraries.

Problem: package php-gd-7.2.24-1.module+el8.2.0+4601+7c76a223.x86_64 requires php-common(x86-64) = 7.2.24-1.module+el8.2.0+4601+7c76a223, but none of the providers can be installed
  - problem with inst ...
Score: 0
Jananath Banuka avatar
Azure - AKS integration with API Manager for JWT authentication
cn flag

I am trying to implement the following workflow to setup in the Azure:

  • Private AKS cluster to deploy my applications - Already provisioned

  • An ingress controller (AGIC preferably) for routing traffic to pods - Already provisioned

  • An APIM for generating JWT tokens - Not provisioned yet until I figure out it is possible What I need is, when a user tries to access a URL (eg: test.example.de), the  ...

Score: 0
antonio bernabei avatar
Iperf3 on local area network: tcp vs udp
in flag

I would like to check quality of a connection on a lan using a cable which is not easy to change neither I have hw tester. The two pcs have 'standard' windows operating systems and they are not configured a server. I have installed iperf3 on 2 pcs and begun to use the 'easy' instructions First iperf3 -c localip and the bandwidth is 95 Mbits7sec Second iperf3 -c localip -u -b 10m and the bandwidth is 9. ...

Score: 0
RedBluff avatar
ntp is not using servers from /etc/ntp.conf
us flag

on GCP VM I'm trygin to define custom ntp servers but seems like ntp service is not reading /etc/ntp.conf file. I added 4 servers from ntppool.org ntpq -pn constantly return the same result (metadata.google)

enter image description here

systemctl status ntp enter image description here

enter image description here

Do you have any idea?

Score: 0
Avatar avatar
With php-fpm.conf what is the default value for "pm"?
ru flag

According to https://www.php.net/manual/en/install.fpm.configuration.php for pm there are:

pm string

Choose how the process manager will control the number of child processes. Possible values: static, ondemand, dynamic. This option is mandatory.

static - the number of child processes is fixed (pm.max_children).

ondemand - the processes spawn on demand (when requested, as opposed to dynamic, where pm ...

Score: 0
Charriesun avatar
Cannot get a local address when establishing tunnels using openVPN
my flag

I am trying to establish a tunnel with a remote server using openVPN, at the beginning everything went just fine, while a few days later the establishing process often failed (now it has a 100 percent failed rate). The log of the establishment said that:

2023-03-13 11:02:12 OpenVPN 2.5.5 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Jul 14 2022
2023-0 ...
Score: 1
Pure.Krome avatar
Unable to restore an MSSql Database from an Azure Storage backup
us flag

We have a simple sql script to restore an MSSql DB from an Azure storage blob. We backup our PROD DB to Azure Storage.

Trying to run this script (which we swear used to work a while ago).. now errors:

Msg 3271, Level 16, State 1, Line 11 A nonrecoverable I/O error occurred on file "https://<{snip}.blob.core.windows.net/full/{snip}.bak:" The specified URL points to a Block Blob. Backup and Resto ...

Score: 0
uozzyy avatar
vmware tag and description
se flag

i have created some tags with description in vcenter like

TAGS            DESCRIPTION 
AppOwner        Brad pit 
APpOwnerEmail   [email protected]
Environment     NIIT-UAT

and attached to a some VMs. VM may have multi tags attached using powercli i am trying to get output like this

Server Name | Server IP | Application Owner | Application Owner Email Address | Environment

Score: 1
Platinum Goose avatar
Expand C drive during bare metal restore Server 2016
ci flag

The C drive on our server is getting full. It's at 90% capacity and I don't have any unallocated space next to it. I was thinking of swapping out the 500 Gb hard drive for a 1 Tb hard drive. I plan to do a full metal restore. The problem is I'm not able to find any info on how to allocate drive space when doing the restore. Will it allocate the drive space like the existing hard drive and then the extra ...

Score: 0
ServerMan avatar
fail2ban regex failing to work
ke flag

I am trying to create a regex for my fail2ban filter to block all IPs that get a incorrect login on a web application. The way I distinguish this is that each login generates a GET request in the access log with this thing "?&err=1".

This is an example log line from the Apache access log:

XX.XX.XX.XX - - [14/Mar/2023:00:51:56 +0200] "GET /index.html?&err=1 HTTP/1.1" 200 37613

I tried this as rege ...

Score: 0
sparsh610 avatar
Docker : Failed to download metadata for repo 'appstream'
cu flag

I am using Docker. I am newbie in this tech, so please let me know if require any other info

Want to install a remote host,

docker-compose.yml

version: '3.8'
services:
  jenkins:
    container_name: jenkins
    image: jenkins/jenkins
    ports:
      - "8080:8080"
    volumes:
      - "$PWD/jenkins_home:/var/jenkins_home"
    networks:
      - net
  remote_host:
    container_name: remote-host
    image: ...
Score: 0
Vitomir avatar
How to configure AWS Application Load Balancer to point to multiple ports on the same server
ne flag

I cannot get access to the second port that I want to have to. So, here are the listeners I have in my ALB:

  1. HTTP:80 - that does not have security policy or SSL cert but it is always redirecting to port 443
  2. HTTPS:443 - which has an SSL Certificate and it is forwarding to a target group that is pointing to port 8080 on my EC2 instance
  3. HTTP:8081 - again without any security policies and it is forwarding  ...
Score: 0
Juanma avatar
Tun interface name changes
it flag

I have a freenas truenas jail connected to the internet using openvpn. the ipfw rule only allows communication through the tun interface that openvpn creates

Now, this tun interface used to be always (several years) just tun0 but recently (some months ago) it changed to tun1. it took me sometime to understand that ipfw was blocking all traffic because the tunnel name changed. I thought there must  ...

Score: 0
Chris avatar
Puppet install: timeout when retrieving certificate
jp flag

Trying to install the latest puppet enterprise (2023.0.0) per their guide on an Unbuntu 20.04 VM in Azure. I started with the out-of-the-box pe.conf. Install proceeds for awhile until I get some messages like:

2023-03-13T18:03:15.664+00:00 - [Notice]: Compiled catalog for [redacted].reddog.microsoft.com in environment enterprise in 0.33 seconds  
2023-03-13T18:08:16.307+00:00 - [Error]: Command exc ...
Score: 1
John Skiles Skinner avatar
Proof that aws cloudwatch get-metric-statistics works
cr flag

I am learning to use the aws cloudwatch get-metric-statistics subcommand in the AWS command line tool. To prove to myself that I am using the tool correctly, I would like a simple example command that should always return some data. Or, at least, that should always return some datapoints provided one has a typical minimum of deployed AWS resources.

So far, every command I have run returns zero datapoint ...

Score: 0
uhsl_m avatar
WireGuard & Network Namespaces
in flag

I am trying to set up a VPN gateway with two wireguard interfaces.

One being a gateway accessible from the init namespace, which can forward incoming local packets from eth0.

The second interface is for accepting incoming connections for a web-server. And I need this one isolated so it doesn't interfere with the gateway interface.

Looking around I think that using the wireguard namespace trick may work ...

Score: 0
AaplMike avatar
Storcli64 not rebuilding replaced disk
ke flag

One of the drives in our LSI-based RAID failed (Avago 3108 MegaRaid). We pulled the drive and replaced it with a similar disk (cap/speed). Autorebuild is enabled, however the status of the disk (128:7) shows it's state is JBOD instead of Onln, so it looks like the autorebuild didn't work:

---------------------------------------------
EID:Slt DID State DG     Size Intf Med SED PI SeSz Model          ...
Score: 0
Bind service doesnt reply with local domain
us flag
TRW

My setup is the following

ServerA (vpn-server with 10.200.0.1) has a Bind9 service running on VPN ip range.

options {
  directory "/var/cache/bind";

  forwarders {
    8.8.8.8;
  };

  dnssec-validation auto;
  auth-nxdomain no;

  listen-on {
    10.200.0.1;
  };

  allow-query { any; };
};

controls {};

The local zones are defined as followes:

# named.conf.local 
zone "domain.tld" {
  type master ...
Score: 0
Tim Baverstock avatar
How can I move kubernetes ephemeral storage to a different disk?
jp flag

I'm trying to run dynamic 'cloud' Teamcity Agents containers on an in-house server under K3s, prior to moving to a 'real' k18s installation, but my agents need 21G of ephemeral storage and kubernetes gets upset if I configure them to need more than 20G. My root partition is 20G total (12G available), so I'd prefer ephemeral storage to be backed by /local/k3s which is a bit bigger.

The closest I'v ...

Score: -1
thank_you avatar
Assigning subdomain to ECS via Docker Compose
us flag

I'm currently using Docker Compose AWS ECS to deploy a backend server. Currently the backend server is listening to port 80. I have a domain I own that has a dedicated hosted zone on Route 53.

I'm wanting to create a subdomain (aka server.dev.example.com) that will point the backend server but am having extraordinary difficulty figuring out how to successfully associate the subdomain to the backe ...

Score: 0
gelonida avatar
can nginx block incoming headers as reverse proxy / uwsgi client
de flag

I am using nginx and would like to block certain incoming headers, such, that

  • uwsgi never receives these headers
  • a server / service that I proxy to will not receive them

How can I achieve this

Score: 0
Jimbo avatar
How do I calculate how many eDTU I need?
ng flag

I currently have four on-premise SQL Server instances (all replicated) each with between 3 and 5 production databases in them which I want to migrate to a single Azure SQL elastic pool.

How do I calculate how many eDTU I am currently using for my on-premise instances? The Azure DTU calculator which I have seen many references to https://dtucalculator.azurewebsites.net/ appears to be down.

Score: 0
matko031 avatar
No route to host from control plane node on bare metal kubernetes
mn flag

I am running a kubernetes cluster composed of three nodes. Control plane node is running inside an Azure VM, and two worker nodes on two separate bare-metal servers. I have set up the cluster with kubeadm and two worker nodes joined without issues. I installed weave as CNI and spawning pods and creating deployments works fine. I reached issues when I tried to set up nginx ingress for external access. ...

Score: 0
Huỳnh Nam avatar
Nova setup error (MissingAuthPlugin)
hu flag

so when i was following Openstack Yoga installation i got error adding nova-conductor and nova-scheduler.enter image description here when i read conductor's log, it said

CRITICAL nova [-] Unhandled error: keystoneauth1.exceptions.auth_plugins.MissingAuthPlugin: An auth plugin is required to determine endpoint URL

i don't know how to fix this, please help me thanks

edit: after reading conductor and s ...

Score: 0
breusshe avatar
Using an existing Postfix + Dovecot server, how do I relay mail not intended for my configured domain?
gt flag

I have a Postfix + Dovecot server that is receiving public mail and allowing folks to view their mailboxes using IMAP just fine for a particular domain (let's call the domain mail.acme.com). But, I have a second use for this server where I need to act as a relay only for traffic on my company's private subnets for a different domain (let's call that domain internal.acme.com). The relay traffic would nee ...

Score: 0
9me avatar
Unable to pull openshift release image
cn flag
9me

I am installing okd following this link. After installing coreos on bootstrap node I am getting error "Unable to pull Openshift release image". How can I fix this problem ? Thank you

Score: 0
Joy1979 avatar
Apache Maven Plugin Issues with Azure DevOps
cr flag

I have an interesting request regarding Apache Maven plugin issues with Azure DevOps. Here's a note from the client.

"It seems there has been a recent upgrade in the Agent which has changed the version of Apache Maven from 3.8.6/3.8.7 to 3.8.9. This seems to have impacted the Mulesoft build pipelines and all the new builds are resulting in failures since new Maven version i.e. 3.9 is not compatib ...

Score: 0
Fax Iv avatar
How to set up unusual Posfix mail forwarding: if in A mail for B, resend it to C
cr flag

I have several Ubuntu servers as Mail-servers. How to configure the following configuration with POSTFIX: if in mailbox user1@domain1 arrived mail for user2@domain2, resend it to user3@domain3. user1@domain1 and user3@domain3 exist. In mail I have next headers:

Delivered-To: user1@domain1

Received:for user2@domain2

Received: for user2@domain2

Received: for user2@domain2

To: "Some User" user2@domain2

Score: 0
robross0606 avatar
OpenVPN client configuration for passing MFA static challenge response
nl flag

I have site-to-site tunnel configuration set up on a Linux router which has worked for several years with typical OpenVPN authentication (certs, U/P auth, etc.). In this setup, my Linux router is the client side of the site-to-site tunnel. Recently the server end of this enabled mandatory multi-factor authentication (MFA) using a one-time password (OTP):

static-challenge "Enter Authenticator Code ...
Score: 1
How to disable inactive OpenLDAP accounts
cn flag

is there a means to disable such OpenLDAP accounts that show no interaction for a given grace period. In particular, of a user has not logged in to her account since x days (no matter the means of authentication), can the account be disabled directly?

So far, I have only read about configurations that are a bit "hackish", enforcing the user the change the password during said grace period and the ...

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.