Latest Server related questions

Score: 0
jayaprakash R avatar
Why the Kubernetes pods are creating infinitely and created pods are evicted with memory pressure error in AKS cluster while deploying the ML model?
ng flag

To deploy the ML models, we are use the AKS cluster. To deploy the models inside the AKS cluster, we are using airflow.

Two days prior, we manually renewed the AKS cluster's certificate. Nodes, disks, and scale sets are redeployed as per this doc(https://learn.microsoft.com/en-us/azure/aks/certificate-rotation)

After the certificate renewal, two deployments create pods indefinitely, and then all t ...

Score: 1
guettli avatar
I get a Certificate Signing Request every 15 minutes (Kubernetes)
cn flag

I get a Certificate Signing Request every 15 minutes

❯ kubectl get csr -A --sort-by=.metadata.creationTimestamp

csr-r2dwb   3h      kubernetes.io/kubelet-serving   system:node:host-cluster-control-plane-2hhtt   <none>              Pending
csr-kcj2m   165m    kubernetes.io/kubelet-serving   system:node:host-cluster-control-plane-2hhtt   <none>              Pending
csr-h4k8j   149m     ...
Score: 0
willdashwood avatar
CentOS 7 - disable all services, except ssh and networking
cn flag

This is a follow up question to Disable all services, except ssh. I want to achieve the same thing on CentOS 7 but I'm having trouble getting it to work.

I've created /usr/lib/systemd/system/maintenance.target and the contents are as follows:

[Unit]
Description=Maintenance Mode with Networking and SSH
Requires=maintenance.target systemd-networkd.service sshd.service
After=maintenance.target systemd- ...
Score: 1
andrew avatar
move-vm not working : Could not find VirtualMachine with name
in flag

I am trying to cross migrate VM across two Vcenters ( from 6.5 to 7.0) with move-vm command, but something is wrong, couldn't find my test-vm, even basic get-vm find it.

$global:DefaultVIServers

Name                           Port  User
----                           ----  ----
host1.. 443   x.LOCAL\Admini...
host2.. 443   y.LOCAL\Admini...

$destination = 'new-host'
get-vm test-vm

Name           ...
Score: 0
alex.dev avatar
Why only a few TCP packets arrive at destination on port 3306 through an IPsec VPN tunnel?
ky flag

This question was off-topic on Networkengineering and the recommendation was to post it here. So, here we go...

When connected to a network via a VPN tunnel (IPsec/L2TP), I can normally access a MySQL server host via SSH on port 22, but have critical connection problems when building a MySQL connection to the server on the default port 3306. I realised that only a very, very few number of packets get thro ...

Score: 1
GalSuchetzky avatar
setting up a mail server for my domain
kr flag

Learning about how mailing works in general and I have the following question:
If I own the domain bigmoon.com and I want to have a mail address that looks like [email protected], as I understand it I can do the following:

  1. Setup a mail server on a hosted machine A.
  2. Create an A record that points mail.bigmoon.com to machine A.
  3. Create an MX record that points bigmoon.com to mail.bigmoon.com.

Assuming I ha ...

Score: 0
Neji Soltani avatar
dpkg-maintscript-helper: basename: Too many levels of symbolic links
bt flag

I am having this error each time I run an apt-get command, I dont know what caused this but I tried every solution I found related to this but still no hope

root@vmi575272:/# sudo apt-get autoremove
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  debconf
Suggested packages:
  debconf-doc debconf-u ...
Score: 0
JanBoehmer avatar
Laravel App on Server takes high CPU
ag flag

I have a larvel app that runs very smooth and quick on my localhost, but when I push it to my server and run the deployment environment there (same as on my localhost), sometimes the app is very slow and in htop I see:

/us/bin/php8.1 -S 0.0.0.0:80 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Console/../resources/server.php

The path /var/www/html/ does not exist in my host - I ...

Score: 0
Cray avatar
Use EasyCron to make cURL request with cronjob
io flag

I want to make a cURL request every 12 hours and trigger the request with a cronjob. Unfortunately I'm a total newbie in cURL and cronjobs.

This is the request I want to make:

curl --location --request POST 'https://example.com/wp-admin/admin-ajax.php' \
--form 'action="algolia_re_index"' \
--form 'index_id="searchable_posts"' \
--form 'p="1"'

The request should be triggered by a cronjob via EasyCron. I  ...

Score: 0
сергей прудников avatar
Nginx cache for frequent and different requests

I have a service. This service has a GET handle(/api/v1/retrieve_blocks). This handle's requests and responces are small, no more than 1024 characters.

regular situation:

  • this handle is constantly under 500rps.
  • Almost all requests are different by url's parameters. for example:
    host/api/v1/retrieve_blocks?entity_id=1111
    host/api/v1/retrieve_blocks?entity_id=2222
    host/api/v1/retrieve_blocks?entit ...
Score: 1
kype avatar
Only 2 cipher suites are offered by Powershell Invoke-WebRequest
mn flag

I am performing a Invoke-WebRequest to a site using Powershell. And i'm facing error "Could not create SSL/TLS secure channel"

PS C:\Users\admin> Invoke-WebRequest -URI https://myexternalsite.com -Proxy 'http://myproxy.com:8080'
Invoke-WebRequest : The request was aborted: Could not create SSL/TLS secure channel.
At line:1 char:1

I did a packet capture and found that there is a Client Hello followe ...

Score: 1
Teamcity does not clean-up logs when clean-up rules are adjusted
il flag

So I have a project with large amount of build logs which previously inherited "delete after 91 days" rule from grandparent project.

I am adding the specific "delete after 31 days" rule to this project via Kotlin DSL configuration and it is displayed in this project's Clean-up Rules section.

However, after pushing Administration -> Clean-up Settings -> Start clean-up now, the disk space is n ...

Score: 0
Fraŋkini avatar
windows client can't join samba domain anymore
at flag

DISCLAMER:
I'm still trying to fully learn and understand how to properly maintain a samba domain controller.

The Problem:

I had a working samba installation with AD controlle but now, just a month after my last computer join, it won't work anymore. On Windows it says "unknown user or password" but I've checked them to be correct.

I tried setting the log level to 3 in "smb.conf" and while trying to j ...

Score: 1
AquaL1te avatar
Loop through variables in state file and use the vars in the target template as well
us flag

In Ansible I can loop through a list of dicts/lists and then use the loop vars in the Ansible task, but also in the template I call on.

I'm trying to do the same in Salt, but it seems like it's not possible. At least not in the way I'm used to.

I have the following in my Pillar.

routes:
  ens4f0np0:
    - address: 192.168.1.0
      netmask: 255.255.255.192
      gateway: 172.18.48.1
    - address: 172.16 ...
Score: 1
william00179 avatar
NAT'ing a specific port not working on Ubuntu, works correctly on Fedora
lr flag

We have previously been running Fedora instances but for a few reasons we have needed to move over to Ubuntu based distros.

Previously, we have used the following firewalld rules in order to NAT specific ports and it worked flawlessly.

sysctl -q -w net.ipv4.ip_forward=1 net.ipv4.conf.ens5.send_redirects=0
firewall-cmd --permanent --direct --passthrough ipv4 -t nat -A POSTROUTING -p tcp --dport 587 -s  ...
Score: 0
JimmyTheCuck avatar
Resize a persistent disk for Linux (MBR partition) on Google Cloud Compute Engine
ls flag

I want to expand my disk capacity for my Google Cloud machine and have been following the tutorial that's located here.

However, I'm fairly certain that the tutorial assumes the user has a GPT partition table but I have MBR. I only need 20GB so this shouldn't be a problem.

Anyway, I followed the tutorial up to step 4a and everything seemed to execute just fine including everything involved with t ...

Score: 0
Globe avatar
Access a Docker container remotely using my domain
ms flag

I have a computer running Debian 11 and I’m trying to set up Supabase self-hosting. The Supabase official documentation only goes as far as starting the Docker containers and accessing them from http://localhost:8000. I can also visit http://{docker_container_IP}:8000 on the host machine to access what I want. All of the other information online goes further but doesn’t show how to use the databas ...

Score: 0
Joppe avatar
BIND9 local reverse lookup with public IPs - is the setup broken or is the setup faulty?
mw flag

We are having a prelaunch-site to test DNS (and other services) before going hot. I've never involved public IPs here previously and it may not work as I've intended. We have a /29-net from our ISP that are public IPs. 121.24.124.144/29. To test our DNS for different "view"s we have set up the LAN side of a router to emulate this net; with the router as the GW to our ISP. Apart from not being able to ac ...

Score: 1
sixfive avatar
Monitoring php command line worker with Monit Ubuntu 20
kr flag

Problems monitoring php script using pid method.

We have a Laravel worker script that must be kept running on the server:

php /data/git/site/directory/artisan queue:work --daemon when this is run on the command line it holds the terminal open and does not output anything until the Laravel app pushes output to it - this is unlikely to be within 30 seconds of start up.

I wrote a bash script as suggest ...

Score: 1
jim avatar
ESXi Server has locked with .lock4 file suffix on all vmdk's after crash SAVE ME!
jp flag
jim

My ESXI server was running from a USB stick that got corrupted and as a result prevented my server from booting. I fixed this by reinstalling ESXI on a new memory stick and began re-adding all of my VMs.

However when I try to start them up it is saying that it cannot find the VMDK file, and it appears to have added a suffix of .lock4 to all files in all of my VM folders.

I've tried removing the lock ...

Score: 1
Larmes avatar
Where can I find older wtmp log files?
ke flag

Every so often the last log is rotated out and stored in /var/log as wtmp* however when I look in my system in /var/log I only see the current wtmp file and the wtmp* file before it. I know the system has had more than one wtmp log rotation. Does the archived or rotated out wtmp log get overwritten each time it rotates? Does it get moved somewhere else? Did the system just fail to save the rotated-out  ...

Score: 1
Zak  avatar
how to fix apache server :(20014)Internal error : AH01102: error reading status line from remote server 127.0.0.1:5000
pe flag

I use a flask server in apache. run a script which prepare then download an xml file. this is working fine is script but if script lasts longer than 80 sec it's stopped and http error 502 is displayed and the xml file is not closed correctly and i get this message :

This page contains the following errors: error on line 2373 at column 426: Extra content at the end of the document Below is a rende ...

Score: 0
Breezer avatar
Running nodejs with next on WHM cpanel
bf flag

im trying to deploy a next app to a cpanel hosting. I've followed the instructions given in cpanels documentation almost to the letter

https://docs.cpanel.net/knowledge-base/web-services/how-to-install-a-node.js-application/#register-the-application

I'm able to get it running and working as intended if I run node under the root account and have registered the application. But as I understand it, it ...

Score: 2
Mayzed avatar
What is changing my Windows Server's date?
na flag

At my organisation we have a number of virtual machines on ESXi hosts in a number of sites.

For the past few months, around once or twice a week one virtual machine, seemingly at random, will update the date to something weeks in the future for a few minutes, only for W32Time to notice and change it back. This is affecting the applications running on the server and we cannot figure out what could ...

Score: 0
Cezar Apulchro. avatar
400 Bad Request using Tomcat for Virtual Host
gw flag

I'm trying to load my java web project in the browser but I'm receiving "400 Bad Request", I have in my Tomcat server.xml:

<Host name="localhost"  appBase="webapps"
            unpackWARs="true" autoDeploy="true">
        <Alias>demonstracao.itcmedbr.com></Alias>

        <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
               prefix="loc ...
Score: 2
Shawn King avatar
Kong-proxy not working inside Jelastic environment
bw flag

We need a bit of help trying to install Kong in Kubernetes inside Jelastic environment. Me and My colleague have a production based kubernetes cluster with the following:

  • Load Balancer
    • 1 Node with Public IP
  • Workers
    • 2 Nodes
  • Storage
    • 3 Nodes with NFS storage
  • Control Plane
    • 3 Nodes

By default, this environment has ingress-nginx which loads the Hello Kuberenetes application just fine. Here  ...

Score: 1
Martin avatar
DNS: how to redirect website traffic only, to a specific server
cn flag

There are many similar questions on here but nothing that looks like it's actually what I need.

I know what I need is very simple but I can't websearch it, probably I'm missing a key word.

My issue:

There is a standard DNS set up on a third party (as yet unseen by my eyes) controlling the website and email. Defined as "Server Old". There is a new website set up on its own server, defined "Server New ...

Score: 0
Revolucion for Monica avatar
552 for lack of money in my website billing account, do I have to create a new billing account?
cn flag

I have a website (www.thedataclan.com) that I have deployed on GCP. However at one point I had no money left in the account and it appears that the site went into 552.

introducir la descripción de la imagen aquí

My payment has been received but it looks like the billing account is closed; do I have to create a new account to start the website again or should I just wait for it to redeploy?

introducir la descripción de la imagen aquí

Score: 0
pibolas1991 avatar
multiple shared coonections via VPN and Debian server
sl flag

Please bear my ignorance, I'm learning a lot about networking and debian.

I want to use my Debian server (with multiple lan dongles) to share my vpn (nordvpn) connection to multiple clients in my home network. The ideal setup looks like this:

  1. Wan router (internet access) dhcp server with ip 192.168.20.1
    |
    |-Debian eth0 with nordvpn. acting as DHCP server with ip 192.168.0.1
    .....|
    .....|-Router1 o ...
Score: 0
Dantes avatar
Permission denied (publickey) - bitnami at AWS (Wordpress site) - Connecting with PC
mn flag

I face following issues when trying to connect from my PS using either PowerShell or Cygwin to AWS on which my Wordpress site is hosted (Bitnami).

(I simply what to log in to the server either this way or using Putty as described here ([LINK][1] Putty is throwing an error "using username bitnami. Server refused our key. No supported authentication methods available. server sent publickey")

What I tried so ...

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.