Latest Server related questions

Score: 2
Apver2t5kM avatar
How can I remove 2 separate portions of a URL using mod_rewrite?
cz flag

I have this unfortunate URL:

dom.tld/library/Photography/index.php?cmd=image&sfpg=2021/*IMG_3468.jpg
dom.tld/library/Photography/index.php?sfpg=2021/*

This should look like this

dom.tld/library/Photography/2021/IMG_3468.jpg
dom.tld/library/Photography/2021/

Essentially, I want to remove index.php?cmd=image&sfpg= and the asterisk * before the filename.

The folder structure looks like this: ...

Score: 1
user1055568 avatar
TLS 1.2 client ignoring "Acceptable CA" list for Apache ClientCertificateRequest
sx flag

I have TLS 1.2 mutual authentication working on Apache 2.4.54 with a self-signed CA and test clients on iOS and MacOS. Everything works, except the clients do not recognize the "Acceptable client certificate CA" on the CertificateRequest, so user/app must know which one to choose. On my iOS app, the URLAuthenticationChallenge.protectionSpace.distinguishedNames field that is supposed to deliver this ...

Score: 0
iali avatar
CentOS Stream 8 OpenLDAP failing to start slapd service
ba flag

I tried to install openldap by following this guide: https://computingforgeeks.com/install-configure-openldap-server-centos/

but the service does not start showing the following error:

● slapd.service - OpenLDAP Server Daemon
   Loaded: loaded (/etc/systemd/system/slapd.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Fri 2022-11-18 23:19:23 CET; 1min 20s ago
     ...
Score: 1
Pathia Nanto avatar
no supported authentication methods available (server sent publickey) Putty
mr flag

Good evening everyone , I created an instance on my OvhCloud host, I followed the whole process from key generation to configuration of the instance detailed on this link: https://docs.ovh.com/fr/public-cloud/premiers-pas-instance-public-cloud/ Now I use Putty to connect to this instance created with the private key generated on PuttyGen. But I can't access my instance I get this error (no suppor ...

Score: 0
daehnomel avatar
Problems with MySQL 8.0.29 Data Corruption, Need Upgrade Path Advice
gl flag

I have a master and 3 slaves running the buggy 8.0.29 version of MySQL. Yesterday 2 of my slaves stopped synchronizing and I couldn't complete a full resync from a fresh dump because I kept getting "error 2013 lost connection to SQL server" when reloading the dump file to either one of the downed slaves. I tried to resolve the error by editing my cnf file with various directives, that didn't work.N ...

Score: 2
ifiht avatar
How to nest & share multiple ZFS pools over Samba to multiple users
na flag

I have the following ZFS structure:

% sudo zfs list                                                            16:03:46
NAME                          USED  AVAIL     REFER  MOUNTPOINT
zpool1                       1.18T  5.86T      544K  legacy
zpool1/home                  1.18T  5.86T       96K  legacy
zpool1/home/alice            12.6G  5.86T     12.6G  /zshare/zpool1/home/alice
zpool1/home/bob    ...
Score: 1
k8s kubernetes fails initail test
gb flag

I am new to kubernetes and am trying to learn.

I set up 2 VMs and they connect to eachother via a host-only network.

I followed these 2 guides:

How to Install Kubernetes Cluster on Debian 11 with Kubeadm

Deploy Kubernetes Cluster on Debian 11 with Containerd

Everything seems to go well until I get to "9) Test Kubernetes Cluster Installation"

(Master)$ kubectl create deployment nginx-app --image=n ...
Score: 0
Bad Programmer avatar
Redirect Base URL to Application Directory
ph flag

I have an AWS server. I set up a Laravel project, and it's working fine. The project is under /var/www/MyProject, and when I go to myproject.com/public, I see the application (after entering my apache username and password).

However, when I go to just the base URL, myproject.com, I see the Apache test page. I don't want to see this page. When I go to the base URL, I just want to redirect directly ...

Score: 1
Postfix/Dovecot setup throws "User doesn't exist" despite virtual user existing
ng flag

I have configured Postfix and Dovecot according to the documentation for virtual setups and LMTP transport:

https://www.postfix.org/VIRTUAL_README.html

/usr/local/etc/postfix/main.cf:
    virtual_transport = lmtp:unix:/path/name/to/socket 
    virtual_mailbox_domains = example.com example2.com
    virtual_mailbox_maps = hash:/usr/local/etc/postfix/vmailbox
    virtual_alias_maps = hash:/usr/local/etc/ ...
Score: 1
Martin Surasky avatar
Internet access problems on subnet
us flag

Hello Server Fault friends!

I have a question that I believe should be easy to answer for someone who really gets how a typical subnet should be configured with a router such as PFSense.

My Problem: I am not able to access the Internet from one of my subnets (the LAB)... my network looks like this

enter image description here

Here is some information I hope could help troubleshoot the problem.

Tracert with Network Name

On my  ...

Score: 1
S4rg0n avatar
Multiple interfaces and networks with Netplan: can't ping local network
ar flag

My netplan config, with multiple interfaces and networks, works perfectly apart from ping to (or from?) local network.

Here's my setup:

network:
  version: 2
  ethernets:
    ens160:
      dhcp4: no
      addresses:
      - 172.16.1.114/16
      match:
          macaddress: 00:50:56:aa:00:1d
      mtu: 1500
      nameservers:
        addresses:
        - 172.16.1.11
        - 172.16.1.20
        searc ...
Score: -2
Juan Jimenez avatar
How to configure a sites-available entry for mediawiki on RPi behind firewall?
in flag

I am trying to define a sites-available .conf entry for a mediawiki scratch installation on a Raspberry Pi 4 running Raspbian in my local network (behind the firewall). No DNS or domain name associated with it. No matter how I configure it for Apache 2 it comes back with a 500 error. Does anyone have a simple sample mediawiki.conf file that I can use to define the site? The local IP is 10.0.0.67.

 ...
Score: 3
Yoel Navas Escalante avatar
"very high" (probably?) MTU being set automatically on wireguard interface
ng flag

So, I have a VPS running on Amazon Lightsail and I installed wireguard on it; I setup an interface this way:

[Interface]
Address = 10.255.128.1/24
MTU = 1420
SaveConfig = true
PostUp = iptables -A FORWARD -i %i -j ACCEPT; iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
PostDown = iptables -D FORWARD -i %i -j ACCEPT; iptables -t nat -D POSTROUTING -o eth0 -j MASQUERADE
ListenPort = 51820
Privat ...
Score: 0
Gene Joy avatar
Setting up site to site VPN with IKEv2 on Windows Server 2012 R2
as flag

We are trying to set up a site to site VPN on Windows Server 2012 R2 with IKE v2. It was originally set up for IKE v1 but our partner no longer supports IKE v1. The parameters are as follows: Phase 1 Encryption AES-256 Hash SHA, SHA256, SHA384, SHA 512 Diffie-Hellman group 2, 5, 14,15,16,20,21,24 Lifetime 600 seconds Phase 2 esp-aes 256 esp-sha256-hmac I have tried looking for where to set this up ...

Score: 0
Daniel avatar
PHP session store in cephfs
in flag

We need to support a lot of php version from 5.3 to 8.1 in K8s. Every version served by two or more pods. The sessions are stored localy in the pod's volumes, due to this solution we are using sticky sessions. I fed up with this solution and started to prepare the migration to shared sessions with memcached cluster. I started the migration from the newest version, so 8.x and 7.x version are ok. But with ...

Score: 0
loxtic avatar
Is it possible for a PDNS authoritative server , to reply to any queries, irrespective of zone file
vu flag

I have a powerdns-recursor name server, which forwards, the queries to a powerdns authoritative name server, based on the requesting client IP.

The authoritative server, uses a remote REST API backend, Which in turn hashes the query, and checks a mysql db, for the answer.

Is it possible, to configure PDNS to query the backend, even if the SOA for a specific domain, is not available , Since we do no ...

Score: 0
Benjamin Bendel avatar
Unable to clear virtual mac address on Mellanox ConnectX3 HP 546FLR
br flag

I recently had some problems with setting up bond interfaces during deployment with canonical maas. Two server stuck with the same mac address as virtual mac address and I have no idea where I can set or clear this. Within Ubuntu the virtual mac is treated as the physical address.

I would appreciate any help.

Kind Regards

Here the info from the hp bios

Score: 0
vypr907 avatar
Can't access static site S3, Cloudfront, Route53
bh flag

I apologize if this needs to be split into two questions, but I'm trying to set up a static site using S3, a CloudFront distribution, and a Route53 domain. If I try to access laszloffy.com, I receive a DNS_PROBE_FINISHED_NXDOMAIN error. If I try www.laszloffy.com, I get an XML 'Access Denied' error.

Below is my current configuration

Route53 records:

  • laszloffy.com - NS
  • laszloffy.com - SOA
  • *.laszloffy. ...
Score: 0
pierre fro avatar
Amazon Linux 2 not showing page
iq flag

I have this Amazon Linux2 box and when I installed a certificate for SSL it will always show the apache TestPage.. instead of the contents of /var/www/html/site1 or site2 folders. With http it works. only https not. My httpd.conf file

# This is the main Apache HTTP server configuration file.  It contains the
# configuration directives that give the server its instructions.
# See <URL:http://http ...
Score: 1
Relay Host change
cn flag

I have example.com configured as using relay mailjet.com and also the emails associated with that like [email protected] would like this [email protected] to use another relay which is smtp-int.xyz.com which is basically routed internally in my company. Anything sent to @xyz.com is routing through smtp-int.xyz.com Is that possible? I tried to add the entry of [email protected] in /etc/pos ...

Score: 0
HKaras avatar
Force sending DHCP options
om flag

I have a lab spectrometer that boots using PXE from boot files stored on a computer. They exist inside a local network with the computer acting as both the DHCP and TFTP server.

The spectrometer contains three components, two boot fine and one is probelmatic. It requires that boot-size option is given. However, it does not request DHCP options and subsequently does not get them. Is there any way  ...

Score: 0
andrew avatar
How setup VM IP via Deploy OVF template?
in flag

I have OVA image RH8. How can I setup VM IP address via "Deploy OVF template" ? I don't see there any option in GUI. [![enter image description here][1]][1]

enter image description here

Score: 1
Aidvi avatar
Reached pm.max_children, High sockets allocated, No CPU usage
bh flag

The issue

I have a server that reaches pm.max_children (200) without spike in CPU usage. No network traffic (MB out / MB in) but extremely high number of socket allocated that do not get closed.

CPU: 16 Cores RAM: 64 GB

Pictures from my Prometheus monitor system.

Network Traffic, Look at the hole

enter image description here

No sockets get to TCP_tw point, They get stuck on TCP_alloc

enter image description here

Huge spike in socket use

enter image description here

To mitigate this pro ...

Score: 0
Rhino R. avatar
Postfix, Dovecot, LDAP: Grant multiple users access to one mail address
tk flag

I'm sure this is a common problem but I'm not able to find any good solution nor at least something that leads me to the right track. Additionally, I have no experience with LDAP so far, maybe this is why I cannot find anything related.

I've running a mail server with Postfix, Dovecot, MySQL, rspamd and Redis on AlmaLinux 9 so far and this system works great. Now I want to switch from SQL-based a ...

Score: 0
SILENT avatar
Hourly fatal windows alert
bl flag

On one of my windows server 2012 R2 (going to upgrade), my event logger has been filled with

  • Event ID 36887 A fatal alert was received from the remote endpoint. The TLS protocol defined fatal alert code is 40. with Source Schannel

It occurs approximately every hour (+/- tens of seconds) and first logged on 11/10/2022 at 1PM. Last windows update occurred on 11/9/2022.

Its popping under Windows Logs &g ...

Score: 0
Karan Shukla avatar
Unable to start Ceph RGW service
bj flag

Context: I'm trying to setup a new ceph-17.2.5 cluster Initial setup consists of 1 mgr, 1 mon and 1 osd all installed on same box using cephadm.

So far I am able to access http://192.168.3.50:8080/api/auth and get token in the response.

But http://192.168.3.50:8080/api/rgw/bucket returns:

{
    "status": "500 Internal Server Error",
    "detail": "The server encountered an unexpected condition whic ...
Score: 0
GKOS avatar
SQL Server Logical Reads increased 10x in past week
bd flag

I'm not an SQL DBA by any serious standard but I am trying to figure out why the logical reads have gone bonkers on a DB I have for a line of business app. the image below shows a 10 x increase in logical reads? what could be causing that? Feel free to ask for any other info, as far as I can tell server performance metrics are fine CPU/Ram etc The area highlighted in green is where I would like to get b ...

Score: 0
foax avatar
powerdns-recursor responds with SERVFAIL while others respond with NOERROR
ar flag

while debugging some weird Cisco telephony server issue we discovered the following behaviour:

pdns-recursor on current debian-stable:

dig smartreceiver.cisco.com AAAA
; <<>> DiG 9.16.33-Debian <<>> smartreceiver.cisco.com AAAA
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 40517
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, A ...
Score: 0
Feierstein Gilles avatar
GPO Create Scheduled task to run only on specific network
je flag

I created a scheduled task over GPO and this one is available on a test machine. On my computer i am able to specify a specific network connection to execute the task. On our server, I can only select Any connection. Is there another possibility to make this possible? GPO Setting

Score: 0
Ashok S avatar
Bash script buildscript error. Line 20: syntax error near unexpected token 'fi'
fm flag

In my bash script I'm getting an error:

./buildscriptbuild.sh: line 20: syntax error near unexpected token 'fi'

I have tested the below bash script in my local system. Can anyone help me in this regard. Thanks in advance.

#!/bin/sh

cd /home/ec2-user/inoutserver
if git pull origin development; then
    if npm install; then
        if grunt build --force; then
            echo "build success"
        el ...

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.