Latest Server related questions

Score: 0
Kubelet is in running state but kubectl is giving connection to the server refused error
US flag

Kubernetes cluster was working fine earlier, Started getting issues running kubectl commands after restarting the master node (1.0.0.0). When I run kubectl get nodes command I am getting below error.

# kubectl get nodes
The connection to the server 1.0.0.0:6443 was refused - did you specify the right host or port?

When I connect to master node which is (1.0.0.0), the port 6443 is not open to ac ...

Score: -3
john_smith avatar
Can Auto-Scaling be considered an advanced concept of Clustering?
ca flag

Since using auto-scaling, it seemed to be no different from clustering except that the scale is automatically changed.

I think what they have in common is that both increase availability by distributing traffic across multiple instances.

The difference is that auto-scaling can increase and decrease instances.

I want to know if my concept is correct or not.
I would also appreciate it if you could at ...

Score: 2
Ouss avatar
DigitalOcean Network Firewall allowing SSH connections on ports other than only 22
cn flag

I have a droplet on DigitalOcean with IPv4 and IPv6 enabled. The droplet is behind a digital ocean network firewall with the following rules:

Inbound:

  • SSH TCP 22 All IPv4, All IPv6
  • HTTP TCP 80 All IPv4, All IPv6
  • HTTP TCP 443 All IPv4, All IPv6

Outbound:

  • ICMP ICMP All IPv4 All IPv6
  • All TCP TCP All ports All IPv4 All IPv6
  • All UDP UDP All ports All IPv4

My underst ...

Score: 0
Guarav T. avatar
PDF file on IIS site is not accessible when opened from a browser
gr flag

I am creating a PDF file with IIS (with some code) and save it to a folder which has IIS anonymous authentication enabled.

When I try to open it through its URL, IIS gives me a 401 "Unauthorized" error. When I manually copy+paste a file to the same folder, it opens fine.

When looking at the ACL of the PDF, 3 users have "Access deny". When I delete those, the PDF opens just fine.

enter image description here

Score: 0
Jananath Banuka avatar
Kubernetes Ingress always direct traffic to the wrong pod
cn flag

I have the following setup in a minikube kubernetes cluster (locally)

  1. namespace customer-a
  • 1 deployment -> prints "Hi from Customer A"
  • 1 LoadBalancer type Service
  • 1 ingress -> host customer-a.example.com
  1. namespace customer-b
  • 1 deployment -> prints "Hi from Customer B"
  • 1 LoadBalancer type Service
  • 1 ingress -> host customer-b.example.com
  1. namespace customer-c
  • 1 deployment -> ...
Score: 0
SQ Hair Treatment avatar
Re-start VM Instance after stop (for changing the machine type)
jo flag

I would like to change the machine type in VM instance so I stop the VM instance and change it and edit it. However, I cannot restart it afterwards and the message below is shown:

a g1-small vm instance is currently unavailable in the asia-southeast1-a zone. alternatively, you can try your request again with a different vm hardware configuration or at a later time. for more information, see the t ...

Score: 2
Which OpenStack version numbers correspond with which version names?
it flag

If I run the following command:

openstack --version

On a controller node and get back a numeric version number, how do I determine from here:

https://releases.openstack.org/

which release the version number corresponds to? There is no documentation for this anywhere, at least none that I can find.

Score: 2
Tomasz Chmielewski avatar
how to migrate docker to use a different storage driver?
ly flag

I have a server running docker with btrfs storage driver. How can I migrate it to use a different storage driver? I would like to use overlay2.

I've tried to migrate using the instructions here:

  • stop docker

  • rename /var/lib/docker to /var/lib/docker.bak

  • add {"storage-driver": "overlay2"} to /etc/docker/daemon.json

  • copy /var/lib/docker.bak to /var/lib/docker (to "get rid" of any btrfs snapshots)

Score: 1
Crazycrafter 227 avatar
How to add nginx configurator group?
nl flag

I want o create a user group that has permissions to create/edit/view nginx configs without sudo permissions, but I heve no idea how.

Creating a normal user group and setting owner:group to same-owner:configurator-group for the nginx configs location, the user can edit and view but creating a file sets the new file owner and group to the users.

Score: 0
Allen avatar
How to configure root block device of ElasticBeanstalk-managed EC2 instance to not DOT?
jp flag

I have an ElasticBeanstalk-managed EC2 instance whose root block device is set to the default Delete on Termination true. I didn't create this instance or any of the AWS resources used by my app; I used EB and it manages the entire thing. I wish to maintain this hands-off approach and use ElasticBeanstalk to manage everything, but I can't figure out how to configure EB so that the root volume of the i ...

Score: 0
Jacob Jewett avatar
Before-snapshot script hook for Windows guest on Proxmox?
ph flag

I have a Proxmox server setup with a Windows 10 guest that will be running MSSQL Express. The Windows guest has QEMU guest agent installed and working. For backups, I have a separate server running Proxmox Backup, which is already scheduled to take full backups of the guest once a week (stop mode). In addition, I need to have more frequent snapshot backups with little to no access interruption, however, ...

Score: 2
ivangk avatar
SSH Connection Closed after changing sources.list
ru flag

working on a Ubuntu 19.04 Digital Ocean server. After updating sources.list to focal, so I could update repositories and install certbot, I found my self locked out of the server with the message Connection refused.
Managed to enter through Digital Ocean Recovery Console, and checked all ssh configs, authorized_keys files, everything, and could not find an error.
What I did found was ssh brute fo ...

Score: 0
Simon Kepp Nielsen  avatar
Migration strategy to migrate a DHCP scope from old DHCP server to new DHCP server as smooth as possible
in flag

My current homeLab and entire home is currently running on a single subnet 192.168.0.0/24 with my ISP provided router running a DHCP scope handing out addresses in the 192.168.0.20-192.168.0.254 range, and a number of hosts with static IP addresses in the 192.168.0.1-192.168.0.15 range. I want to move the DHCP service to a freshly installed ISC-DCP-Server installed on an Ubuntu server, to get more contr ...

Score: 2
Zippy1970 avatar
Postfix: Bounce incoming email, but still deliver
cn flag

I run my own mailserver but I am getting "spammed" by a certain individual. In order to try to discourage this person from sending me any more emails, I would like to bounce the incoming email (based on his email address). But I still want the email to be delivered because it might serve as "evidence" for online harassment.

My thought was to have the incoming email send to two accounts (in virt-u ...

Score: 0
jmaris avatar
Wildcard SSL certificate for a custom TLD?
dj flag

I'm currently operating an intranet with a significant number of services, with each referred to by a domain with a custom TLD.

SearX --> search.companyname Nextcloud --> files.companyname

As it stands, I have a custom CA installed on all clients using the intranet and have issued a certificate which covers each service.

I was wondering if it is possible to issue a certificate which is a wildcard ...

Score: 0
sidhartha vadla avatar
proxypass in apache to different URL path
om flag

Im new to apache/tomcat, im using httpd as proxy to my tomcat application and im trying to redirect my URL path from /xyz to /abc and Im using a http proxy to do so,

can you please help with the config I need to use,

When anyone access the url http:///xyz it needs redirect to http:///8080/abc

the part where i redirect from http:/// to http:///8080/ this is successful but the path needs to redirect too. ...

Score: 2
TechnoNewbie avatar
AD Domain with matching TLD FQDN, forwarding DNS requests
pt flag

I have the following scenario:

  • A brand new ADDS domain from a single PDC+DNS.
  • The FQDN of the domain matches our public website name (webname.com).
  • The gateway dictates the PDC/DNS as the first DNS resolver. The secondary DNS is a public entity like 8.8.8.8 from both gateway and the PDC.

With this we get errors navigating to our website tld.com. This makes sense because the PDC has a forward lookup ...

Score: 2
Jonas avatar
Service domain name resolution not reliable
ca flag

This is Kubernetes service

apiVersion: v1
kind: Service
metadata:
  name: mysvc

spec:
  clusterIP: None
  
  selector:
    app: myapp
    type: main

  ports:
    - name: http
      appProtocol: http
      targetPort: http
      port: 8000

that serves 9 pods. Most of the time mysvc.default.svc.cluster.local resolves into 9 IP addresses. Randomly it resolves into 8 IP addresses (one IP address disap ...

Score: 0
Programmer Joe avatar
Is it safe to close the following ports in Windows Firewall for a Windows 2022 VPS web server?
br flag

I am using a Windows Server 2022 VPS as a web server to host a website only. When the VPS was first setup for me, I saw the following ports for Inbound in Windows Firewall were already enabled (the port is on the very right side with TCP or UDP in front of it):

  • Cast to Device streaming server (HTTP-Streaming-In) TCP 10246
  • DIAL protocol server (HTTP-In) TCP 10247
  • Cast to Device functionality (qWave-TCP ...
Score: 1
SQ Hair Treatment avatar
How to increase the PHP limits in Google Cloud Platform for web
jo flag

I am using wordpress for web design and was asked to contact the host to update to the config below:

max_execution_time 360
memory_limit 128M
post_max_size 32M
upload_max_filesize 32M

Would you please advise how could I do it in Google Cloud Platform? Thanks.

Score: 0
Ngdgvcb avatar
SIP Websocket to UDP proxy server
no flag

There is an ATS provider with SIP phones. It provides phones via UDP, as I understand, giving sip server, login and password for each internal call-line.

I want to write a site with browser calls ability. As I understood, searching the web, I can't make complete calls (including audio streams) directly though UDP. For UDP connection I need programs like Zoiper or Microsip.

Instead, as I read, I should  ...

Score: 0
Andrew avatar
Using nginx proxy to redirect the content to another website
lb flag

I'm using Ubuntu 18.04 & Nginx for my websites.

I need help with the following question.

Let's say (on the same server) I have the following:

/home/website1/public_html/image_abc.webp

When people are accesing my 2nd website, I want to find a way to show them the image without using it's name, for exemple

/home/website2/public_html/image_abcd.webp 

(I want this to be the same image as from th ...

Score: 0
Wortig avatar
Nginx returns bad gateway when forwarding even when service is up and running and port is correct
cu flag

I set up Nginx 1.23.2 on Debian 10 to forward specific requests to port 3999 on which gitea is running at.

Nginx configuration:

server {
        listen                  443 ssl;
        server_name             www.subdomain.domain.com subdomain.domain.com;
        access_log              logs/subdomain.domain.com.access.log main;
        
        ssl_certificate         /home/gitea/ssl/cert.pem;
      ...
Score: 0
Riccardo Barbieri avatar
Apache serve service from local host on subdomain
cl flag

I am trying to use Apache to serve multiple sites at the same time, the structure I want to obtain is composed by a main site at example.com and use the subdomains radarr.example.com and sonarr.example.com to access my Radarr and Sonarr servers.

The main site is hosted on machine1, I set up a virtual host using apache and certbot:

<IfModule mod_ssl.c>
<VirtualHost *:443>
  ServerName example.c ...
Score: 0
rbrtzlt avatar
ssh - connection refused
kh flag

I have server on ovh.org. Since yesterday I can't login by ssh, I only have access to my server by ssh and my id_rsa.pub.

How I can in anothery way connect to my server, and what I do on future in similar case? Restart of server not helping, but all services working on docker.

Score: 0
Em Fa avatar
How to redirect any requests for guacamole home page using nginx?
lu flag

I want to redirect only https://guacamole.example.com/#/ (aka guacamole homepage) to https://denied.example.com. But, I don't want https://guacamole.example.com/#/sessiondetails/logindetails to be redirected.

But when i use in nginx this:

location = / {
    return 302 http://denied.example.com/;
}

it redirects all url requests no matter if it's the root or any url on guacamole.example.com. This n ...

Score: 1
Phree avatar
Configuring PHP-FPM in Apache
lb flag

I installed Apache/2.4.54, PHP72-FPM, PHP74-FPM and some other versions of PHP-FPM on Arch Linux. Apparently there is some misconfiguration in httpd.conf, PHP can`t interpret anything and browser comments out the code.

What I tried:

httpd.conf:

LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_fcgi_module modules/mod_proxy_fcgi.so

httpd-vhosts.conf:

<VirtualHost *:80>
    LoadModule ...
Score: 0
NeitoFR avatar
Setup an empty YUM repo that will download and keep in local the RPM it is asked for
cn flag

I'm trying to understand if its possible to setup the following :

A fresh CentOS 7.9 server (called A) that is configured as YUM repo but with 0 RPM to serve.

Setup this server as a YUM repo on another machine (called B) and when I do yum install XXX the server A will fetch the RPM asked from other more standard repo, store them locally and then send them to B.

The goal is to the end with a mirror that ...

Score: 0
Haz avatar
Solution for Web app hang or stack due to high traffic
km flag
Haz

I have a web app deployed in IIS on Windows Server 2016. It uses a SQL Server 2016 database. Currently, it has heavy traffic. When it reaches its limit (don't know what the limit is) web app stack, the login page appears but does not login the user. So it can not connect to the SQL server.

When I restart IIS, the web app is running fine again. Now at present, I have to restart IIS every 10 minute ...

Score: 0
sam avatar
whoami: unknown uid 1001 'libnss-ldap nscd'
hn flag
sam

On my device, only a account, the group name disappear suddenly, but the other account is working normal.

  • Version
nscd 2.19-0ubuntu6.15
libnss-ldap 184-8.5ubuntu3
Ubuntu 14.04
  • Config

nscd

#
# /etc/nscd.conf
#
# An example Name Service Cache config file.  This file is needed by nscd.
#
# Legal entries are:
#
#       logfile                 <file>
#       debug-level             <level> ...

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.