Latest Server related questions

Score: -1
Take NetStat Dump After Every X Minutes
ke flag

We have a lot of port exhaustion issues recently. I was reading https://learn.microsoft.com/en-us/troubleshoot/windows-client/networking/tcp-ip-port-exhaustion-troubleshooting?source=recommendations

@ECHO ON
set v=%1
:loop
set /a v+=1
ECHO %date% %time% >> netstat.txt
netstat -ano >> netstat.txt
 
PING 1.1.1.1 -n 1 -w 60000 >NUL
 
goto loop

I don't know what should I do with these line ...

Score: 0
I installed kubeadm for Linux + Windows Server 2019 but it shows not ready for Windows Server node
US flag

I installed kubeadm and kubernetes as a master-worker on Linux machines and Windows Server machines, kubectl and kubelet are running on both, when I say get nodes, I see both nodes, but I could not pass Not Ready for Windows Server machine, Master node ready is ok, calio works too

For Windows Server machine It says NetworkReady=false, but despite all my searches, I couldn't find how to set the ne ...

Score: 0
Adem Aga avatar
cURL error 7: Failed to connect to localhost port 443: Connection refused
de flag

OS version: Ubuntu 20.04 x86_64 Plesk version: Plesk Obsidian 18.0.47.5

Hi,

I am running XenForo Forum on my Plesk which running behind Cloudflare. I get following erro log, which is showing me that the curl connection to localhost on port 443 is refused. https://prnt.sc/hN7k9PsJUCA-

All curl’s to localhost, 127.0.0.1 and 0.0.0.0 are refused:

root@srv:~# curl -vv localhost:443
*   Trying ::1:443...
* ...
Score: 0
Robert Campbell avatar
GCP Debian VM ntp stuck in INIT
cn flag

I am trying to get NTP working for a Debian 10 VM client machine in GCP. These are the relevant config lines in /etc/ntp.conf:

server metadata.google.internal iburst
server 169.254.169.254 iburst
# Permit all access over the loopback interface.  This could
# be tightened as well, but to do so would effect some of
# the administrative functions.
restrict 10.10.184.9 # my machine's IP
restrict ::1
 ...
Score: 0
Kuroro avatar
Does frequent ping affect local network speed?
mc flag

(Sorry for my english)

Hi, I am about to set up a monitoring server and wanted to know if pinging the network devices could significantly affect the speed of the local network. I want to ping every device on the network in an interval of less than 1 minute. So, can it ping every 30 seconds without hightly decreasing local network speed or device's performances ?

Score: 0
Hitesh avatar
aws t3.small nginx gzip response time is slow?
US flag

I am having php web application on t3.small ec2 instance.

webserver : nginx

    gzip on;
    gzip_vary on;
    gzip_min_length 10240;
    gzip_proxied expired no-cache no-store private auth;
    gzip_disable "MSIE [1-6]\.";
    gzip_comp_level 6;
    gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript;

For large html output s ...

Score: 0
karl5234 avatar
Reverse Proxy Nginx: depending on path in URL choose proxy_pass
ve flag

This should be easy to achievable, but I'm totally stuck.

  • request: example.com => server1:8080
  • request: example.com/everythingelse => server1:8080/everythingelse
  • request: example.com/api => server2:8081/api
    server {
        listen 80;
     
        location / {
            proxy_pass         http://server1:8080/;
            proxy_redirect     off;
            proxy_set_header   Host $ho ...
Score: 0
Marci-man avatar
Nginx proxy forward to Azure Analysis Service
uz flag

Problem:

From on-premises computers I need to be able to login to Azure Analysis Service. Since AAS is publically available my split-tunnel VPN configured in on-prem computer forwards the request to AAS through the internet. At the AAS firewall we only allow connection from internal IPs and if the request is forwarded through the internet, the public IP address of our on-prem computers is offered an ...

Score: 0
Kasami avatar
How to create a copy of a user in AWS RDS PostgreSQL?
vn flag

I need to replace a AWS RDS PostgreSQL user without causing an outage during the switch, so I'm trying to duplicate it's permissions and can't seem to find information on how to do it correctly.

In regular PostgreSQL one could pg_dumpall -g and just change username in commands, but RDS won't allows access to pg_authid, making the command fail.

Granting role of the old user to new one like this GRA ...

Score: 0
Ubuntu server: after upgrading to 22.04 LTS my disk space decreased from 54% to 30%. How can I free up some space?
in flag

I recently upgraded an old VM from Ubuntu 18.04 to 20.04 and 22.04. Before the update, I had ~50GB of free space, now I have 24GB. I already run apt autoremove, I purged unused kernel files and emptied apt cache. I also completely removed mySql, and deleted all the DB files, since they weren't in use anymore, but I just gained few GBs. Is there something more that I can do to free up some disk space? ...

Score: 0
Wancerz avatar
forwarding agent via Apache http
tg flag

In my web application (Apache httpd) at Centos 7, I'm making an SSH connection with forward agent

example:

ssh -A $user@$proxyIP $user@DestinationIP ls -l

if I want it to run in the terminal of Apache user, i got pass that commands:

ssh-agent
SSH_AUTH_SOCK=/tmp/ssh-zDrTcmfTt6W6/agent.5034; export SSH_AUTH_SOCK;
SSH_AGENT_PID=5035; export SSH_AGENT_PID;
ssh-add /usr/share/httpd/.ssh/id_rsa

and after thi ...

Score: 0
Claudio avatar
How to whitelist our own outgoing emails from being blocked in amavis/spamassassin using Spamhaus' block lists?
cn flag

Just after we implemented spam filtering on our Postfix server using spamassassin-dqs through amavisd-new we drastically reduced received spam, but to our surprise our own outgoing e-mails are being blocked as well. Our server runs on a AWS EC2 instance, so I suppose our office's ISP IP Block might be on some of Spamhaus blocklists and when spamassassin sees it is comming from there it blocks our own e- ...

Score: 0
William Seligman avatar
qemu virtual machines slow during RAID5 check
hu flag
  • Operating system: CentOS 7.9 (on both host and guests)
  • Host specs:
    • CPU - AMD EPYC 7502P 32-Core Processor
    • RAM - 250 GB (only 22G used by all VMs)
    • Disk - Four Samsung SSD 870 QVO 4TB, grouped in a mdadm RAID5

This system is running 12 virtual machines, which in aggregate use 19 cores out of the 64 processing threads available on the CPU. One of those VMs is our site's mail server, of critical imp ...

Score: 0
James Franco avatar
Launchd logging to system logs
ru flag

I am currently doing something like this

<key>StandardOutPath</key>
<string>/var/log/s.log</string>
<key>StandardErrorPath</key>
<string>/var/log/e.log</string>

I would like to use system log instead of files. Is there a way to accomplish that by modifying the above lines ?

Score: 0
dippynark avatar
Flux error: request to convert CR to an invalid group/version when removing CRD version v1
cn flag

I am operating an internal Kubernetes platform and we are upgrading Gatekeeper from v3.9.0 to v3.11.0. This upgrade includes adding v1 to the CRDs of a number of custom resources in the mutations.gatekeeper.sh group (including Assign).

In order to allow us to downgrade Gatekeeper, I have patched the storage version of these CRDs to be v1beta1 instead of v1; this means that the storage version remai ...

Score: 0
donkeyx avatar
Growpart not working for LVM partition on Debian
na flag

I am attempting to use "growpart" to grow a partition on a vm that is using LVM. The command reports successfully, and seems to output the correct changes. Though, nothing happens after running, and the partition is not changed even after a restart.

I am attempting to expand partition 5(lvm) on /dev/sda with the 42g from the current 32g

$ lsblk
NAME                  MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT ...
Score: 0
chrisxfire avatar
How can I install docker-ce alongside kubernetes on debian when using containerd?
dm flag

debian/11, kubernetes/1.26.1

I have a Debian 11 host running as the control plane node for a Kubernetes deployment. This deployment uses containerd as the container engine. I'd like to install docker-ce on that host. When I try to do so, apt wants to remove containerd:

[chris@alpha ~]$ sudo apt install docker-ce
[sudo] password for chris:
Reading package lists... Done
Building dependency tree... Don ...
Score: 0
I cannot download MySQL ConnectorJ with ansible anymore
us flag

I have a task that looks like this:

- name: Download {{ mysql_connector_download_url }}
  ansible.builtin.get_url:
    url: '{{ mysql_connector_download_url }}'
    dest: '{{ mysql_connector_download_dir }}/{{ mysql_connector_download_file }}'
  register: jdbc_driver

where mysql_connector_download_url expands to https://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-j-8.0.31.tar.gz

This ha ...

Score: 0
Venu Gopal avatar
IIS - getting 401 authentication for HTTPS but not for HTTP
sx flag

I'm having a strange problem with IIS 10 setup on a Windows server 2022. When accessing the site with http, it loads fine without issues. However, with https, I get a login prompt. Website has anonymous authentication enabled and all other authentications disabled. I thought maybe port 443 is going to a different site on the server so I stopped all other sites. I even tried switching this site's SSL to  ...

Score: 1
Long established installation of postfix has become an open relay; how can I figure out how and stop it?
ru flag

This server system has been serving email services since Red Hat v 1.1 (circa 1997 I think) and now is on Fedora Core 37; through many hardware and OS updates along the way it has been kept current. And, we chose postfix and dovecot early on, and are still using them. And I've been the system mangler all this time.

A week ago tomorrow we had our /var tree wiped out due to a bug in a backup script - doah! ...

Score: 0
Sam avatar
Mailgun Suppression List functionality
za flag
Sam

Running a mailman list on Redhat using Postfix. Trying to understand a couple of closely related concepts about Mailgun's Suppression List or Bounce List.

  1. Is it "permanent", in the sense that once an email is on that list it stays there indefinitely? Unless you manually intervene and remove it.

  2. When querying the mailgun bounce list via the api, there are items on the list such as this one:

Score: 0
Using Snapshot to upgrade AWS Lightsail instance but server does not reflect new hard drive space
cn flag

I had a very small aws lightsail ubuntu Apache2 instance that I had to upgrade because the hard drive space was two small. I made a snapshot of the instance and used it to create a new bigger instance. My issue is when I ssh into the instance it still says that the hard drive space is the size of the prior instance and that its almost out of diskspace?

Is there a command I should of ran to make t ...

Score: 0
fransua avatar
DHCP Vendor-encapsulated-options / how to create a group option?
gd flag

I am trying to use VENDOR ENCAPSULATED OPTIONS in order to have a name in front of my DHCP parameters.

It works for one option, but for a group I don't get how to do it with the isc-dhcpd.

Any help ?

Score: 0
Jayjay95 avatar
MariaDB won't boot up on (VPS cPanel/WHM server)
az flag

I thought I would ask on here as a final option before rebuilding my VPS server. Long story short, my server was operating fine for years and all of a sudden a recent CentOS upgrade crashed my server and the only option I had at the time (Based on feedback I received from the company who provides the VPS) advised to restore my WHM/cPanel VPS server from a snapshot backup (From an earlier date where the  ...

Score: 0
Ryan avatar
Configuring HAProxy on EC2 to listen on 0.0.0.0 then using security group to whitelist IPs to DB in private subnet
cn flag

Right now I have a VPC with an EC2 instance in a public subnet and a Redshift DB in a private subnet, allowing traffic inbound from the EC2 instance. My company does not use a traditional intranet setup, so Redshift is not immediately accessible by others on the corporate network even when on VPN, and the default posture is to expose all of our services as public endpoints and whitelist IP address range ...

Score: 0
Alessandro Pluchino avatar
How can specify Sockets and Cores in a XEN DomU?
ie flag

I'm creating a windows server 2022 VM in XEN Project under Debian. But I want to specify Sockets and Cores. I know I can use "vcpus=" to specify the amount of vCPU's but they all come under 1 socket in the Guest VM.. I have tried specifying "sockets=2 cores=2" but it did not work..

I'm using the XL toolstack.

my VM definition:

efiboot='dc'
type = "hvm"
name = "nlentsv1001"
bios="ovmf"
firmware="uefi"
dev ...
Score: 0
Dims avatar
in_array and isset are not working as expected
sa flag

i tried to make an api like https://blackbox.ipinfo.app/lookup/127.0.0.1 but it always outputs N when i access httpexampledomain.com/?ip=127.0.0.1 even though if i access httpexampledomain.com/?ip=123456 it can output "Y

<?php
session_start();
unset($_GET);
$_GET = array();
$p0 = explode('&',file_get_contents('php://input'));
foreach ($p0 as $key => $value)
{
$p1 = explode('=',$value);
$ ...
Score: 0
Isparia avatar
Connecting Private Container Apps Environment with Application Gateway
um flag

im in a bit of a pickle right now. Right now i'm in the process of setting up a microservice heavy application in azure container apps.

The Container Apps Environment is located in its own subnet, and the apps running inside this environment need to communicated with each other but not all should be reachable from the Internet. So I set the Environment Up Like this:

{
    "$schema": "https://schema.man ...
Score: 0
Herbert Maschke avatar
systemd: How to apply TimeoutStopSec= to virtual ('meta') Units?
cu flag

i have a Debian 10 server that hangs during the shutdown process. It looks like this when this happens:

shutdown_error

i have set DefaultTimeoutStopSec=90s in /etc/systemd/system.conf and did systemctl daemon-reload but it seems like my Custom Timeout is not applied to this 'meta' unit.

/dev/disk/bid/b0... is not a real systemd Unit where i could apply the Timeout specifically.

How is it possibly to set a limit ...

Score: 0
Pradyut Bhattacharya avatar
mx record with IPv6 AAAA host
in flag

I need to setup a mail server or mx record with a IPv6 address

I have written a AAAA record which is working fine (pings, ports) here

I have setup hmailserver and checked all ports(587, 143) with portchecker.co which are again working fine

I have setup a mx record with host and pointed it to host.nvoids.com but that is not working

My Windows\System32\drivers\etc\hosts file looks like -

2405:201:4000:6 ...

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.