Latest Server related questions

Score: 1
Quarkly avatar
What is the best way to configure an ALB to deal with a regional outage?
be flag

We have a basic ALB with four availability zones, all in us-east-1[abcd]. Last week, we were effected by this outage at Amazon:

[03:42 PM PDT] Between 11:49 AM PDT and 3:37 PM PDT, we experienced increased error rates and latencies for multiple AWS Services in the US-EAST-1 Region. Our engineering teams were immediately engaged and began investigating. We quickly narrowed down the root cause to be an is ...

Score: 0
lenny avatar
How do I analyze the workload of a mariaDB instance?
ru flag

I'm not a server admin, so sorry if my questions are a bit basic, but I couldn't find anything by googling.

We have a locally hosted MariaDB (not SkySQL) on a windows server and I'd like to see how it's handling the current workload. It usually has around 950-1100 open connections.

Ideally I'd like to see a percentage similar to the CPU percentage in the windows task manager. The CPU in the task mana ...

Score: 1
sctx avatar
Fedora CoreOS os-tree apply-live not working
fi flag

I'm trying to install k3s-selinux on Fedora CoreOS 38 with a systemd unit file:

[Unit]
Description=K3s SELinux policy

Wants=network-online.target
After=network-online.target
Before=zincati.service

ConditionPathExists=!/var/lib/%N.stamp

[Service]
Type=oneshot
RemainAfterExit=yes

ExecStart=/bin/touch /var/lib/%N.stamp
ExecStart=/usr/bin/rpm-ostree install -y --allow-inactive --apply-live k3s-selinux

[I ...
Score: 0
Mishael Khan avatar
Forwarding log of a specific cPanel user from rsyslog.conf to an IP address using TCP
kn flag

Server is on CloudLinux, cPanel, LiteSpeed, imunify and CSF as firewall. i have multiple domains hosted on my server. I only want to forward one user (all) logs to an specific IP address.

Using this code

*.*@@<ip-address>:514

it forward all logs to IP

then i created a file niftlog.conf and included it in rsyslog.conf

$IncludeConfig /etc/rsyslog.d/niftlog.conf

In niftlog.conf file i tried f ...

Score: 0
MelanieOL avatar
Local Kubernetes Dns failure on one of three worker nodes
nc flag

I have a problem with my Kubernetes on-premise cluster created with kubespray. I don't know why, but the dns resolutions is not working on one of my three nodes.

I try to mount a debug container to launch a simple nslookup inside, and only from the problematic node, I got timeout :

root@dns-test:/# nslookup kubernetes.default.svc.cluster.local 10.233.0.3
;; connection timed out; no servers could be re ...
Score: 0
Domain Controller Blocking SAMR Request
cn flag

I have a software that is used for monitoring user logins. In the software it uses a SAMR request to get user groups for allowing users in an out of the machine. When the software reaches out with a SAMR request for the groups it looks like it is getting blocked by the Domain Controller. I think maybe from the firewall because if I install it on the Domain Controller, it succeeds.

How can I test  ...

Score: 0
rob_qwerty avatar
UFW SSH deny rule not working
si flag

TLDR: I'm trying to block SSH connections to a server; the server itself is connected to a ubuntu router with UFW on it, but external SSH connections to the server aren't getting denied, UFW doesn't work.

Some context: I've been trying to set up a Linux network with QEMU/KVM in virt-manager. There is a router with UFW on it, which connects via interfaces to a guest network (192.168.150.0/24), an isolat ...

Score: 0
JakeFury avatar
UDP Broadcast Forwarding Between Subnets
ms flag

We have an application that broadcasts UDP to allow for the detection of IP Based Systems on a network by an in house application.

We widely use Open Source and especially PFSense. It seems you cannot merely route UDP Broadcasts and indeed why would you - you need an active Daemon similar to Cisco's IP Helper to catch packets and drop in out into the other subnet.

The problem is - our applications  ...

Score: 0
vivan sai avatar
Delombok Lombok cannot find symbol location: package javax.annotation after spring boot 3 and jdk17 migration
tv flag

I've migrated my project to spring boot 3. Once I've done it project stopped working. cannot find symbol

[ERROR]   symbol:   class Generated
[ERROR]   location: package javax.annotation
[ERROR] -> [Help 1]

I've looked into target and see that generated class has javax annotation @javax.annotation.Generated("lombok"). Once moved to spring boot 3 javax annotation must be moved to jakarta. How to f ...

Score: 0
Jose avatar
k8s priotityClass ignored
vn flag

I have a cluster running k8s 1.23 and several workloads. Workloads are spread in 3 priorityClasses

high                                     10000000
medium                                   100000
low                                      1000

All the pods have their priorityClass set correctly, but I had a big failure and some nodes got unavailable and several pods with high priority class remained in ...

Score: 1
nonlinear avatar
"Managed by your organization" in Google Chrome browser
kg flag

My Chrome browser (Windows 10) shows "Managed by your organization" at the end of the menu. I went into the chrome://policy/ and saw some policies that seem to be set exclusively by active directory group policy like ChromeCleanupEnabled=false. At the left says:

Status-Google Update-Enrollment domain:myLocalDomain

I went to the group policies on the active directory server but didn't see anything ab ...

Score: 0
Vita avatar
How can I do DDNS-like tracking of a remote server without DNS?
cn flag

I have two servers, one has static IP addresses (the gateway), the other doesn't (the frontend).

Tunneled directly           │ Over the public network                                        
[FRONTEND]────[GATEWAY]╝    →                   [GATEWAY]╕                 
    │                       →    [INTRANET]────[FRONTEND]┘ 
[INTRANET]                  →   

In order f ...

Score: -2
Nico Nico Pizza avatar
Upgrade SMTP Server on Ubuntu Linux 18.04 to support TLS 1.2
ve flag

Client has an intranet hosted with Apache on Ubuntu 18.04.

When I update an employees information through it, an email is sent, but it fails showing the following error: SMTP Error: 421 4.7.66 TLS 1.0 are not supported. Please upgrade/update your client to support TLS 1.2. Visit https://aka.ms/smtp_auth_tls.

(SMTP Error: 421 4.7.66 TLS 1.0 are not supported. Please upgrade/update your client to support TLS 1.2. Visit https://aka.ms/smtp_auth_tls.)

It also shows some CakePHP errors, not sure if they could be related.

This makes me think it do ...

Score: 0
Nikko avatar
SFTP to /mnt/ folder in Google Compute Engine, Allow user to write
ng flag

I have a Google Compute Engine and mounted an extra storage. This mount has a directory /mnt/. I am sending over files in the folder via SFTP. I provided an account for the uploader.

The uploader does not see the /mnt/ folder via SFTP. I tried using WinSCP in the uploader to see the folders but the folder is not there.

How chan I allow write persmission to the user to see and write in that folder?

 ...
Score: 0
fath yhia avatar
HP Server LTO-6 Ultrium 6250 high sound fan some times
ck flag

Dear Sir, We have server HP Server LTO-6 Ultrium 6250 its give some times high speed and sound fan, some times sound disappear where temperature at server room 17 degree its cool we have windows server 2008 appreciate your support

Score: 0
Brian Tran avatar
Website Hosting Error after Google Cloud Trial Ended
im flag

Issue: My website has a hosting error. It was working while I was using a free trial with google cloud and when the trial ended settings changed and the website hasn't been working since. I'm using a VM instance. Maybe there's something simple I'm missing but i'm not sure what.

What I've Tried: I updated my billing and tried resetting it with no luck.

I shared a screenshot of the setup I used. It wa ...

Score: 0
Lars Nielsen avatar
Environment Variable set in systemd service file not set
pl flag

I have the problem than when I start my service a environment variable I have set in the service file is not set. The Service file is as follows

[Unit]
Description=<DESCRPITON>
After=podman.socket
Requires=podman.socket


[Service]
Environment=DOCKER_HOST=unix:///run/user/$UID/podman/podman.sock
TimeoutStartSec=0
ExecStart=/usr/bin/<BINARY_NAME>
Restart=always
Type=notify
NotifyAccess=a ...
Score: 0
Younes avatar
How to investigate not received TCP packets sent from VPN on the same LAN?
it flag

I'm setting up a VLAN on the cloud where many servers will connect to a remote host via VPN. The setup is as follows:


           Their Host d.d.d.72
                     |
                     |
                     |
       Their VPN Public IP b.b.b.116
                     |
                     |
                  Internet
                     |
                     |
        Our VPN Public IP  ...
Score: 1
user984993 avatar
Ansible send hostnames in a list to python script
gw flag

I wanted to send the hostnames from ansible role to python script. In my host file there are 2 hosts 1ld900 and 1ld901.

my role as below

 ---
    - name:execute python
      script: writetoexcel.py {{ ansible_play_hosts_all | join(" ") }}
      args:
        executable: python3
      delegate_to: localhost

But while passing it passing some extra "[" to python script. like below and also there is only one ...

Score: 0
TheArchitecta avatar
Proper Setup for a simple AWS S3 website using CloudFront & Route, with base domain and www subdomain
in flag

Which is the better design, and why? (see 2 tables)

1. Here is the configuration of my working website (example.com is the prevent domain) as setup via a Youtube Tutorial...

Route53 Cloudfront Dist S3
A record example.com --> d1wxyz d1wxyz.cloudfront.net --> 1. 1. example.com Hosting type Redirect request at www.
A record www.example.com --> d21xyz d21xyz.cloudfront.net -->  ...
Score: 0
lasagna avatar
Migrating form Hostinger VPS to DigitalOcean Droplet Ubuntu 22.04
ar flag

I am planning to migrate a Linux server to a new machine using rsync for a complete clone. What are the best practices to ensure a successful migration, including preserving configurations, libraries, and applications? I'm doing this because the previous developer create an app with Node but did not create docs. Additionally, what considerations should I keep in mind when assigning permissions to the cl ...

Score: 0
xtg avatar
Handshake for peer 13 (x.x.x.x:51820) did not complete after 20 attempts, giving up
ao flag
xtg

Server Config:

[Interface]
Address = 10.8.0.1/24
SaveConfig = true
PostUp = ufw route allow in on wg0 out on ens3
PostUp = iptables -t nat -I POSTROUTING -o ens3 -j MASQUERADE
PreDown = ufw route delete allow in on wg0 out on ens3
PreDown = iptables -t nat -D POSTROUTING -o ens3 -j MASQUERADE
ListenPort = 51820
PrivateKey = 8CMdwwULGd4dGqbYmbt+6EV2BqyVqk8FLSWuJl1Tukk=

[Peer]
PublicKey = smVxzAVHG4 ...
Score: 0
John Barton avatar
Nginx configuration in OpenShift
ro flag

I have been struggling with a solution to have nginx running, in OpenShift there is no use of root user during creation of the containers. Then, I was getting the following error:

2023/06/21 10:37:45 [emerg] 1#1: mkdir() "/var/cache/nginx/client_temp" failed (13: Permission denied)
nginx: [emerg] mkdir() "/var/cache/nginx/client_temp" failed (13: Permission denied)

This is happening because the user i ...

Score: -2
Harrison Miller avatar
How do I automate a daily download from an SFTP server? Currently trying Power Automate
dz flag

I am trying to use power automate to automate a daily process of connecting to a sftp, downloading files onto my local drive. My biggest issue is I am unable to whitelist all of the IP addresses associated with Microsoft and can only connect using the IP address from my office. I attempted going around this by using power automate's CMD functionality but I am unable to insert the password doing this. So ...

Score: 0
saniboy avatar
Python can't find files that are shown in os.walk()
es flag

My problem in short is when I run os.walk() I get an accurate list of files, but when I try getting information about those files like their last modified date, file size or even just try open() with them, I get an error that the file cannot be found for only some files. Roughly 0.2% for reasons that are unclear.

Background

At work we have a server running Windows Server 2012 R2 (I know, I know..). We ...

Score: 0
Devin Ceartas avatar
DynamoDB user segmentation
ng flag

Is there an industry standard way to segment data by company / user / client in DynamoDB? If I was using a relational database, I think i'd have a different database for the level I'm thinking of here. Rather than having keys to mark rows as belonging to a given entity, I'd like to have a chunk of data which I can programmatically contain my App to per-user, without the sort of error that having the wro ...

Score: 1
phydeauxman avatar
How does the variable "pxe_default_server" get set in Red Hat 7.9?
uz flag

We have a RHEL 7.9 server that is acting as a DHCP/TFTP (PXE) server servicing multiple subnets. Below is a copy of our dhcpd.conf file (the DHCP/PXE server is X.Y.145.98):

allow bootp;
allow booting;
max-lease-time 1200;
default-lease-time 900;

subnet X.Y.145.96 netmask 255.255.255.224 {
  option routers X.Y.145.126;
  range X.Y.145.100 X.Y.145.105;
  next-server X.Y.145.98;
  filename "pxelinux. ...
Score: 0
Overlord avatar
oscap-ssh scanning ubuntu22.04 Result notapplicable
as flag

please tell me if there are any options to check the workstation on ubuntu22.04 using openscap. I downloaded ssg for Ubuntu22.04, but when I try to check, I get a Result notapplicable on all points.....I scan remotely, using oscap-ssh. do you have any ideas?

Score: 0
Anderson Silvestre avatar
How to make a Samba server share files across two subnets
tn flag

I'm with some problems setting up a Samba server between two subnets;

I Have one subnet that has the Samba server and every computer in this lan can access the files. But now I have another server in another place with a subnet and I want that the computers that are in this Server2 subnet access the files in the Samba that are in Server1. The servers are connected with an OpenVPN connection and t ...

Score: 0
sdek avatar
Changing SPF record from ~all to -all where employee inboxes are with Google and Amazon SES is used for website transactional emails
pt flag

I'm interested in moving from ~all to -all in my SPF record in order to lock down my domain emails a bit more, but I want to know what the impacts might be (I do understand at ~ is SOFTFAIL and - is FAIL).

My domain's SPF record currently looks like this: v=spf1 include:_spf.google.com ~all since we use Google Workspace for email. But we also use Amazon SES for our website's transactional emails ( ...

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.