Latest Server related questions

Score: 0
Marco Benetti avatar
Enable TLSv1.1 on httpd 2.4.56 running on Docker
tv flag

I am trying to modernize the infrastructure of a HTTP web service. I want to update the web server to something more recent and secure, but I have to maintain compatibility with some legacy devices in the field that are unable to connect using TLSv1.2.

The web server I am using is httpd version 2.4.56 running on a Docker container with Alpine Linux (for reference the image is httpd:2.4.56-alpine3. ...

Score: 0
1amroff avatar
Is "Virtual Dedicated Server" a correct name?
cn flag

I've been searching for differences between servers and came accross VPS and VDSs. Which are accordingly Virtual Private Server and Virtual Dedicated Server. For example in GeeksForgeeks they say that they use different virtualization techniques. Namely VPSs use OS lever virtualization and VDSs use "paravirtualization".

As my logic says to me Dedicated Server must mean a separate server machine ded ...

Score: 0
Jakub Čuřík avatar
Slow server performance due to Google Bot and Ahrefs Bot
ge flag

I have a VPS server with 64 CPU cores and 128 GB RAM running on Debian. I have noticed that Google Bot from IP address 66.249.66.0/24 and Ahrefs Bot from IP addresses 54.36.148.0/24 and 54.36.149.0/24 are causing extreme CPU load up to 100%. This results in all websites on the server being very slow and almost unusable. There are many websites running on the server without caching.

Can you advise ...

Score: 0
Bhavik avatar
PHP-fpm consuming most memory
ga flag

My Memory and swap memory is being used mostly by php-fpm which results in slow response from server. below is the output of top command. Kindly suggest

enter image description here

Also my php-fpm conf file settings are as follows:

pm = ondemand
pm.max_children = 250
pm.process_idle_timeout = 3600s;
pm.max_requests = 500
Score: 0
cipre avatar
Multiple (2 or more) physical servers, same IP, nginx setup
tc flag

maybe you can help me... I have about 10 wordpress websites that run on the same linux server running on nginx, everything works. Now I have a need to establish new physical linux server (with new linux OS) that would also run nginx websites. The problem is how to do this since they need to run on the same port (80/443) at the same time. I hear something about reverse nginx proxy setup. Is this the solu ...

Score: 0
Juan José González avatar
error DNS_ERROR_ZONE_LOCKED in windows server 2022
us flag

I just installed a new DNS server on Windows server 2022 and the problem arises when I try to create a secondary zone on the DNS server. It seems to create the zone fine but then it does not load the zone data. When I perform the operation "Transfer from master" I get the error "The zone is blocked to transfer or update the zone".

Performing the operation from the command line: dnscmd /zonerefres ...

Score: 0
Khan101 avatar
How to write parameter URL in .htacess Rewrite
kz flag

I want to point this URL in .htaccess:

http://www.example.com/furniture/chair/foldingchair

to

http://www.example.com/products.asp?catID=1&SubID=2&SubCatID=3 

where

  • catID=1 = furniture
  • SubID=2 = chair
  • SubCatID=3 = foldingchair

every parameter have own name like

  • catid=1 furniture
  • Subid=4 table
  • subcatId=5 roundtable

but I have few hundreds of URL , so I need a single to that can work for all ...

Score: 0
Epic555 avatar
How to remove labels in alert template?
us flag

I found a template for Prometheus Alert Manager for alerts, but I receive many unnecessary labels in notification. How to remove labels in template? This code is responsible for labels (look below). I dont have deep knowledge in Go Templating system & Json, so I'm asking for help.

{{ if gt (len $alerts.Labels.SortedPairs) 0 -}},
"labels": 
    {{ "{" }}
        {{ range $index, $label := $alert ...
Score: 0
Liero avatar
How to change links from \\myserver-old\sharedfolder back to \\myserver\\sharedfolder?
ba flag

We replaced an old server with shared folder with a new server.

  1. We had a shared folders on server with network name \\myserver
  2. Admin renamed it to \\myserver-old (not sure what method he used), and moved shared folders to a new server names \\newserver
  3. Unfortunately, all links to the shared folder have been updated to \\myserver-old

Is it possible to update the links back to \\newserver\...?

Score: 0
Unbound configuration for DNSBL service
br flag

We have a few SpamAssassin servers that are connected to a local DNS server that runs Unbound. The purpose of this is to cache some queries that we makes toward services such as SpamHaus, URIBL and the likes from SpamAssassin because we often quickly reach the free quota usage.

We started a partnership with SpamHaus with a custom key and we are averaging at 8M queries per day, which is a lot.

One pr ...

Score: 0
Tom L. avatar
Finding network topology issues
us flag

I am trying to check a network with redundant links for possible issues with switching (STP?) and/or routing. I have a feeling that the issues are intermittent but I'm struggling to find a method how to detect these. What I am trying to do is to throw some server names into a list and try to check the link via trace route. Yet, I was unable to detect any issues as of now. I do not have access to the con ...

Score: 0
Zemogle avatar
Why does opening new zsh terminal print environment vars
pw flag

Each time I open a new terminal in Mac OS, it prints a selection (but not all) of my environment vars. I use zsh shell. e.g

EDITOR=nano
HOME=/Users/xxxx
LANG=en_GB.UTF-8
LESS=-R
LOGNAME=xxxx
LSCOLORS=Gxfxcxdxbxegedabagacad
LS_COLORS='di=1;36:ln=35:so=32:pi=33:ex=31:bd=34;46:cd=34;43:su=30;41:sg=30;46:tw=30;42:ow=30;43'
SHELL=/bin/zsh
SHLVL=3
SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.UHkqxMAS4R/L ...
Score: 0
Raluca avatar
MSA volume is more used than the StoreEasy disk
de flag

I meet a problem on connection between MSA - Proliant servers. The volume has been created on MSA in raid 6: https://i.stack.imgur.com/6lUIY.png https://i.stack.imgur.com/u1LP7.png https://i.stack.imgur.com/lq3FW.png

My question is: why does the size difference occur between msa and proliant server if the volume from msa has been exported to proliant? I tried to make some connections to understand th ...

Score: 0
supportth avatar
migrate root partition to another partiton
gu flag

I have remote server with ubuntu 20.04 I can't use livecd or VM console

I want to migrate my root partiton from /dev/sda2 to /dev/sda5

my disk configuration is:

root@app-server:~$ lsblk

NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0   119G  0 disk
├─sda1   8:1    0  1007K  0 part
├─sda2   8:2    0  79,9G  0 part /
├─sda5   8:5    0    28G  0 part /app
├─sda6   8:6    0   4, ...
Score: 0
Deploying multiple versions of the same app to distinct users on same server: passenger config
cn flag

Context: Creating multiple users on a single server, each of which will have its copy of an application and own database. To be server by nginx

configuration /etc/nginx/conf.d/mod-http-passenger.conf requires that the default set-up be modified so that it points to the deploying user

### Begin automatically installed Phusion Passenger config snippet ###
passenger_root /usr/lib/ruby/vendor_ruby/phu ...
Score: 0
Epic555 avatar
How to remove information about old firing alerts in notification?
us flag

When 1 alert is firing, AlertManager sends a notification, then 2nd alert is firing or resolved, AM sends a notification with information about 2 alerts. How to remove information about 1st alert in notification? I set ‘repeat_interval: 24h’ for AM config, but it doesnt help. I use Amazon Prometheus.

Score: 0
Doveadm command for delete all emails on user filtered by subject
cn flag

I have a problem and I can't solve it with doveadm

I have an email that by mistake has more than 500,000 emails in the INBOX with a unique subject that is easy to isolate. blocked

With

doveadm search -u [email protected] SUBJECT blocked
f8ef401d6ad78f623d4b0000ea3e7c6d 101
f8ef401d6ad78f623d4b0000ea3e7c6d 104
f8ef401d6ad78f623d4b0000ea3e7c6d 108
. . .

I get, (I think), the list of messages that this s ...

Score: 0
Jin avatar
Does traceroute/MTR results in the same overall latency from src and dest direction and vice versa?
ro flag
Jin

I was quite convinced that traceroute/MTR from A to B and B to A will have the same overall latency at the last hop as the reply would have been returning from the reverse direction, meaning i if take from A to B, the icmp will go from A to B and return from B to A (thru a different path not reflected in the current traceroute), so the latency will be the same from if i take from B to A, where the icmp  ...

Score: 1
God of Money avatar
Cron executes while partly ignoring trigger
so flag

There's a problem with my crontab

I set

*/5 * * * * /home/money/relaunch.sh

in crontab -e

in relaunch.sh is

#!/bin/bash
/usr/bin/pgrep -l -x xyz || /home/money/a.sh && /home/money/xyz.sh

However, when applying this crontab it launches new instance of xyz.sh every 5 minutes regardless of

/usr/bin/pgrep -l -x xyz ||

How do I get this right?

Score: 0
user989840 avatar
Dovecot: doveadm sync namespace | single folder
tr flag

I am trying to make sync (or sync -1) for single folder. Forwarding the manuals, we can use -x flag to exclude folders - it works fine. Also, there is -n flag to sync namespaces. As i see, there is no way to sync folders like with -x flag, but i guess that i can preset some namespace (for example: namespace myns{...}), and then use something like: dsync -1 -n 'myns' to include only folders that i have s ...

Score: -1
DavisNT avatar
Accessing Windows file server by alias name
mn flag

What could be the possible problems with accessing a Windows file server shares using a DNS CNAME instead of the actual computer name? The file server is joined to an Active Directory domain, but is not a Domain Controller.

E.g. let's assume there is a file server with computer name SERVER1 joined to Active Directory domain branch.company.com. And there is a DNS CNAME record files.company.com that po ...

Score: -1
Simon avatar
Does blocking all output connections protect us from exploits on our server?
ua flag

Let's say a hacker found a way to execute a vulnerability in my container and he can execute any code there (for example he has upload a bash file with HTTP protocoll). Let's make it more dangerous: his bash file is executed with root permissions.

I'm wondering how can I prevent him to do any action there. Does blocking all output connections in a firewall outside of the container (on kubernates  ...

Score: 0
David Greenberg avatar
Not able to receive email on postfix
dj flag

So I am trying to set up a catchall forwarder using postfix on a pi using my own domain name and a ddns service.

I followed this guide https://notepad.patheticcockroach.com/2762/how-to-simply-create-a-catchall-e-mail-and-forward-all-e-mails-to-another-address-in-postfix/

The https://pingability.com/ site it suggests using returns SocketTimeoutException error

Through a VPN and telnet I know that the ...

Score: 0
Adam P. avatar
Dnsmasq forward refused to other Dnsmasq in Docker container
in flag

Given two DNS servers, one runs on localhost (127.0.0.1:53) and the other in a Docker container (172.18.0.3:5300).

When I tried to check domain resolve through at localhost DNS with dig or nslookup commands the request is refused:

adam@adam-desktop:~$ nslookup whoami.docker
Server:     127.0.0.1
Address:    127.0.0.1#53

** server can't find whoami.docker: REFUSED

and checked with dig but the result i ...

Score: 0
Choolo avatar
How to Include Elastic IP on EC2 on my VPN
ph flag

I am able to ping and access SSH on my EC2 using Private IPs.

However I want to access the SSH using the Public IP ( elastic IP ). Is that possible?

note: my VPN step up and EC2 is under 1 VPC

I have already added the Public IP to VPN Authorization and Security Group

Score: 0
dc09 avatar
Why is getent appending domain name to all .org lookups?
ru flag

On running the following command in CentOS 7, getent is appending my domain name to .org domains only:

[root@panel ~]# getent hosts ballotpedia.org
2606:4700:3031::6815:241e ballotpedia.org.mydomain.com
2606:4700:3032::ac43:b854 ballotpedia.org.mydomain.com

This doesn't happen when I lookup any other domain that doesn't contain .org extension as seen below:

[root@panel ~]# getent hosts google.com
2404:6 ...
Score: -1
Matt avatar
Mounting a docker volume fails with the `no such device` error
tm flag

I have set up Docker in a multi-user environment with the following daemon settings

{
  "userns-remap": "default",
  "data-root": "/data/docker"
}

where /dev/sda1/ is mapped to /data as follows:

/dev/sda1 /data ext4 rw,relatime,quota,usrquota,grpquota,prjquota 0 0

I added the quota options to enable setting up constraints on Docker volumes, and defined a new volume with the following command:

docker  ...
Score: 1
Nginx proxy get each slash part into a variable
in flag

how can I get each slash part of the url into a variable to write the proxy URL?

Example:

https://example.com/part1/part2 or https://example.com/sub/8080

Then

proxy_pass http://$part1.example.com:$part2;

Score: 0
jdege avatar
Unable to renew Let's Encrypt SSL certificate in Nginx Proxy Manager
at flag

I've set up a few sites in Docker, on Linode.

I started by following these instructions:

Connect Your Docker Containers to Domain Names For Easy Access using Portainer on Linode

The steps I followed are:

  1. Created a Linode
  2. Installed NGINX Proxy Manager in a Docker container
  3. Add my domain in https://cloud.linode.com/domains, point it to my Linode
  4. Redirect my domain's domain server to Linode on my dom ...
Score: 0
ArekBulski avatar
SSHFS performance tanks, why?
mq flag

I have two Ubuntu 22.10 computers connected one to another via SSHFS. When I copy small files there is no problem but... once I start copying several gigabytes of data at a time, the performance sinks to zero for more than half the time. See screenshot.

system monitor stats

I do not copy thousands of files, rather a few files at a time but those go into several gigabytes at a time. Gigabit ethernet adapters, switch, and ca ...

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.