Latest Server related questions

Score: 0
Patrick avatar
Nginx wordpress proxy pass
tr flag

after hours of trying and google i thought my last chance to get it solved is here.

i have the following problem:

  • A Wordpress page is running under myperfectshop.com
  • The shop just have one product at the moment, which is located under myperfectshop.com/product/first
  • Till there are further products i want that everyone will get redirected from the URL "/" to "/product/first"
  • This should happen wit ...
Score: 1
Chan Tai Man avatar
How to avoid doing a fsck when upgrading the kernel on a Debian server?
il flag

I have a headless Debian server for three years. Debian 11 Bullseye amd64 at first and currently Debian 12 Bookworm. I am doing infrequent kernel upgrades with sudo apt-get dist-upgrade. It happened on three occasions that there were disk errors on the root filesystem upon booting up. It required me to do a fsck at the console on /dev/mapper/foobar--vg-root. it's a bit of a hassle to stick a keyboard and ...

Score: 0
Authenticating to Hashicorp Consul from a VM
ve flag

I am trying to understand how can I authenticate to Consul from a VM. I have Azure AD as IDP, but it's not clear from the documentation whether it can be used to retrieve JWT token to use it later to access Consul.

Can someone please advice?

Score: -1
Totem avatar
Cannot unmount/remove 'Linux' drive from Windows 10
mp flag

System: Windows 10, up to date

I have a mysterious drive/folder which appears mounted on Windows 10, called simply 'Linux', which I cannot unmount or otherwise get rid of. It's empty, and there do not seem to be any options for its removal. For some context, while I am not 100% sure when it first appeared, I suspect that it happened when I tried to connect an old Kindle to my PC a while back. I c ...

Score: 0
N3buchadnezzar avatar
avoid leaking info whether the user is denied access or typed the incorrect password
qa flag

I am currently tinkering with the sshd_config and /etc/security/access.d for a large system with 10k+ users. There are so many different ways of restricting user access and it makes my head spin a bit trying to find "the best way". In short

  • We can restrict access using our ACLs
  • Restrict access on the loadbalancer using a local firewall
  • Restrict access using the sshd_config
  • Restrict access using ou ...
Score: 0
Marek avatar
SELinux on RHEL8 with Gunicorn and nginx has problems with saving file into diretory
ve flag

I have Django application running on RHEL8 via Gunicorn and nginx. All works fine in case of testing with SELinux disabled. When I enable SELinux, there is a problem with saving the picture from Website form i got Server Error (500).

Looking into SEL logs:

audit2why:

type=AVC msg=audit(1692276970.763:137): avc:  denied  { add_name } for  pid=1022 comm="gunicorn" name="29fda977-925d-490a-bf01-1d57bca5b02d ...
Score: 0
Why can't wireshark see local interfaces?
ws flag

I'm experiencing some strange network errors on my local machine (MS-Windows 10 Enterprise 22H2). These also manifest in a WSL container running on the machine (but not on any other device on the same network). The only known active components between the affected host and any targets is Defender Firewall and Cisco Umbrella (problems persist after turning off Cisco unbrella). The host is not joined to a ...

Score: 1
cpp_learner avatar
Alma Linux - Gateway fall back is not working, when gateway IP with lower metrics is down
no flag

Currently I am using Alma-Linux, where I need to create 2 default gateways for the same NIC. Main intent of 2 default gateway configuration is.. when any one of the gateways is down then it will fall back to other working gateway

Gateway Configuration Below IPs are used for routing

  1. 11.12.13.2 (default gateway - with lower metric value 30)
  2. 11.12.13.1 (default gateway configured via static route - w ...
Score: 2
santosh baruah avatar
Issue with Volume Mounting after Server Restart
us flag

Originally on bkp-01 instance. The server and disk have manually been set to a different availability zone. The disk are running zfs for backups/snapshots. It's an old server with a manual Raid system.

Now if we check :

root@bkp-01:~# cat /etc/fstab

# /etc/fstab: static file system information.

#

# Use 'blkid' to print the universally unique identifier for a

# device; this may be used with UUID= as  ...
Score: 0
holden321 avatar
NGINX- different web paths to different folders
in flag

I need to redirect different web paths to different folders on server.

http://test.local/site1/ => /srv/site_1/src/public
http://test.local/site2/ => /srv/site_2

tried such config, but it does not work

server {
    server_name test.local;
    root /srv;

    index index.html;

    location /site1/ {
        alias /srv/site_1/src/public;

        try_files $uri $uri/ /index.php?$args;

      ...
Score: 0
Steve avatar
How does Windows 11 bootrec /scanos find Windows installations?
ga flag

How does Windows 11, "bootrec /scanos" identify the Windows 11 OS? and
How can the: "Total Identified Windows installations: 0" be fixed?

Problem: When running bootrec /scanos from Windows Recovery Environment no Windows installations are found, even when clearly one is there.

Scenario: A Windows 11 Pro Hyper-V VM, UEFI-GPT boot.

Already tried: I have tried various proposed solutions including:

  • Disk  ...
Score: -1
Matthew Flynn avatar
Proving Email Origin through Mail Header
sg flag

A supplier appears to be have been a victim of an server breach (though they are denying this and bring the point of my question).

This has then caused the directors of our company to make a payment to the scammers.

From looking at an original email, this containing a doctored payment mandate PDF (notably this appears to be an original supplier document but the bank details have been altered, but ot ...

Score: -1
Santyuste avatar
Directory email replication certificate
fr flag

I am going to remove a CA Enterprise server to install a new one. On this CA server I have several templates in use such as the directory email replication certificate. In order for the DC servers to use this new CA certificate, what do I have to do?

Score: 5
Rony_Ecology avatar
PowerEdge FX2s ram types
mw flag

I have a PowerEdge FX2s modular server with two PowerEdge FC630 Blades.

Does the RAM type in both blades need to be identical in terms of:

2133P / 2400T ?

Ranks ?

Module sizes symmetry ?

I am new in Blade servers.

Nees Assistance.

Thanks.

Score: 0
ceid1987 avatar
How to install samba client on ubi9 docker image?
ax flag

I'm building a docker image for a quarkus app using the Red Hat ubi9 openjdk17 image.

I am trying to install samba and samba-client using microdnf install samba-client but I'm getting this error:

error: No package matches 'samba-client'

I know it's probably a problem with the image's repo with it being a very small image, is there a way around this without changing the image?

Dockerfile:

FROM re ...
Score: 0
Şükrü Özdemir avatar
Windows DNS Server Not Resolving abs.twimg.com (Twitter)
kr flag

I'm having trouble resolving abs.twimg.com. For this reason, twitter.com cannot be accessed. Sometimes images just don't come.

enter image description here

I am using Windows DNS Server with Root Hints and DNS server does not go and resolve for me. If I query 8.8.8.8 directly from the client, it is resolved.

Instead of returning an A record, the CNAME record returns and ends there.

I'm also attaching a screenshot of the request  ...

Score: 0
Alexander Bell avatar
What is the correct way to check monit status/summary success/failure
bw flag

I have monit utility on production for monitoring several daemons (our micro-services). I'm trying to figure the best way to unmonitor/monitor my daemons while updating them. So, basically I need something like this, pseudo-code:

has_monit = false
if `monit watches daemon-xxx` then
  has_monit = true
  monit unmonitor daemon-xxx
endif
apt-get install xxx.deb
if has_monit then
  monit monitor deamon ...
Score: 0
Sijian avatar
How to Avoide Passing Regrex Part into proxy_pass in Nginx
yt flag

I want to foward all request to https://myfrontend/(anything)/front/ to my backend server http://mybackend:8081 and now I setup my nginx like below:

location ~ ^/(.*)/front/ {
  proxy_pass http://backend:8081;
}

However, this will pass the (.*) part to the end of the backend server like:

If I try to access: https://myfrontend/123/front/, it will be forward to http://backend:8081/123/front while what I wa ...

Score: 0
hylowaker avatar
Istio: How do I exclude unhealthy destination from a VirtualService?
gb flag

I'm trying to configure load balancing and failover for external services. Each HTTP endpoint for the service needs its own specific headers.

I created a virtual service with two destinations:

apiVersion: networking.istio.io/v1beta1
kind: VirtualService
metadata:
  name: test-external
spec:
  hosts:
  - test-external.com
  http:
  - headers:
      request:
        set:
          test: "true"
    route:
 ...
Score: -1
xuan ying avatar
Command 'ntpdc' not found
st flag

When I issue the command ntpdc it throw me errors, I already sudo apt-get install ntp, and still no result.

ntpdc -nc
Command 'ntpdc' not found, did you mean:
  command 'ntpd' from deb ntpsec
  command 'ntpd' from deb openntpd
Try: sudo apt install <deb name>
                                

anyone know how to fix this?

Score: 1
ToggleLite avatar
Hp proliant Dl380p gen 8 power issue
ps flag

Hi my hp proliant dl380p gen 8 sometimes lunches into the hp loading screen then shuts off other times it doesn't get to loading screen and just try's to start up you can hear it and see it send power thru the system but shuts off the health light is blinking red

https://quickshare.samsungcloud.com/qiotBJjBQ5Ka

Score: -1
Alex avatar
Slow Network Speed (11-12 MB/s) on Linux Home Server using Gigabit-capable Hardware
cr flag

I am currently trying to solve an issue with my tiny linux home server that's been causing slow network speeds when accessing SAMBA shares and transferring files to/from other computers on the network. Despite having a gigabit-capable network setup, the server is only achieving speeds of around 11-12 MB/s, which seems to me like something is limiting the network speed to 100 megabits. This is also the m ...

Score: 0
MKF avatar
at jobs don't clear the queue even when completed?
mt flag
MKF

I have some very simple python code that sets up a job queue, piping to the linux batch command:

import subprocess

for j in range(1,17):
  process = subprocess.Popen('/bin/sh', '-c', f'python test.py {j} | batch')
  process.communicate()
  print(process.returncode)

When I run this, the print(process.returncode) line prints 0 which means success.

The script being called in the subprocess, test.py

Score: 0
frictionless avatar
Setting up Ubuntu vm and forgot to add a search domain
cf flag

I was setting up an Ubuntu DNS server VM and accidentally forgot to add a search domain. How can I add this to my system? I set a static IP and had DHCP turned off on the machine. I am also using NetworkManager, would I add this configuration to my Netplan Yaml file? Ipv4 configuration

Score: 0
Linux Auditd: Error receiving audit netlink packet (No buffer space available)
br flag

I have some Linux servers that are getting errors like the below in the logs...

auditd[1074]: Error receiving audit netlink packet (No buffer space available)

I know HOW to resolve the issue (tweak the audit buffer setting in audit.rules), but I'm wondering WHAT is the impact of this?

Am I actually losing auditd events in the blog? Is it failing to write the events when it runs out of buffer space?

 ...
Score: 0
David North avatar
How to obtain a thread dump from Tomcat running as a Windows service
in flag

Installing Tomcat as a Windows service comes with a handy system tray tool to control it which provides this menu:

Thread dump option

However, everything I've been able to find suggests the "Thread Dump" option should not be on this menu because it will never work - Windows services have no console, so the dump written to stderr/stdout is lost. It does not appear in the tomcat8-stdout.2023-08-16 or equivalent stderr log ...

Score: 0
Tiago Mota avatar
How to edit Engine Compute API quota?
ne flag

We're trying to edit a Compute Engine API quota, but it's returning an error. We contacted the sales team and they advised us to open a case in this forum. In this case, we have a limit of 8 and we want to raise the new limit to 12.

Score: 0
Mike W avatar
how to install Bazel into Alpine container using apk
ph flag

I want to install Bazel (version 5.1.1) into an Alpine container using apk.

I tried this command and got this error:

% apk add bazel=5.1.1
ERROR: unable to select packages:
  bazel (no such package):
    required by: world[bazel=5.1.1]

Removing the version doesn't help...

% apk add bazel
ERROR: unable to select packages:
  bazel (no such package):
    required by: world[bazel]

Adding "--no-cache" to th ...

Score: 0
Win ACME DNS validation for Google DNS is not working
ve flag
Tim

I am trying to request a LetsEncrypt certificate using DNS validation. My DNS provider is Google DNS. No matter what I do, I keep receiving the following error:

 [EROR] File C:\LetsEncrypt\{GCP-ServiceAccountKey} does not exist

Where {GCP-ServiceAccountKey} is the Key I generated from the GCP Cloud console.

Below is the command I am running to try and generate the Cert request:

.\wacs.exe --targe ...
Score: 0
Jim W avatar
changed crontab, jobs run at old AND new time now
bm flag

I did a non-best practice on /etc/crontab and manually changed it to run a daily cron job at a specific time, initially for testing so I could make sure it fired off correctly.

/etc/crontab looked like this:

42 18 * * * root /etc/cron.daily/cronjob1
-*/15 * * * * root {built-in out-of-the-box crontab entry}

Once I was satisfied the job ran as expected, I removed that entry from /etc/crontab, res ...

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.