Latest Server related questions

Score: 0
Mendes avatar
Acessing my site using www is not working using AWS Route 53 and NGINX
br flag

My site is up and running and can be found on the Internet by typing [domain].com address in the browser.

When I try to access it using www.[domain].com, it return an error (not found).

I'm using Route 53 as a DNS Server with the following configuration:

enter image description here

(Addresses, IP's and tokens are not real)

At my server I have the following configuration (NGINX):

server {
      listen 80 default_server;
    
      ...
Score: 0
Nginx reverse proxy and SAAS application
ar flag

I've set up a reverse proxy with nginx in front of a vendor's SAAS application hosted on a windows server. It's an accounting app which downloads and launches an exe on the user's computer.

It runs fine with nginx but I run into an error when I try to open a PDF document from the SAAS application (PDF is stored on the windows server and you can open it from the app. It launches a new tab in the w ...

Score: 0
ABR avatar
Cant ping my PC on LAN until user is log in directly. destination host unreachable
bz flag
ABR

It shows this when pinging from other devices in the local network

From 192.168.0.191 icmp_seq=1 Destination Host Unreachable

However once I log in my PC (192.168.0.191) I can ping it from other devices in the Network and even start ssh connection to it. how can I make it to be accessible to the local network without any logged in user?

PC has Manjaro OS (Archlinux)

Score: 0
407 Proxy Authentication Error When Running Python in Docker but *Not* when running from local environment
cn flag

I'm having a peculiar issue. When I make requests running my script on my local machine and go through the (paid and authenticated) proxy, it runs just fine. However, when I containerize the application and attempt to run again, I get the following error:

File "/usr/local/lib/python3.7/site-packages/requests/adapters.py", line 513, in send
    raise ProxyError(e, request=request)
requests.exception ...
Score: 0
Why is SSH disconnecting with 'ssh_dispatch_run_fatal: Connection to x.x.x.x port 2020: Connection corrupted'?
cn flag

I'm trying to figure out why I keep getting disconnected from my SSH session. The host is a CentOS server and the clients are MacOS.

The error seems to be sporadic - sometimes it's once an hour, other times it's several times in a minute. But what's interesting is that this doesn't just happen when I don't use the connection - I can literally be typing and the connection will go. The error is:

ssh_dis ...
Score: 0
combas avatar
Wrong ext4 filesystem free space
ph flag

We have a linux server with LVM. Looking the space availability with df -h the difference between filesystem size and used space is not zero but the available space is zero. This is the output of the df -h

Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/vg_oraclelinux6a-lv_root 91G   86G     0 100% /
tmpfs                 7.8G  296K  7.8G   1% /dev/shm
/dev/sda1             477M  ...
Score: 0
Make a skipped task show as "OK"
ru flag
jdm

I have some ansible tasks that are run in two parts. The first part sets a condition, and the second part uses when to conditionally execute. Pseudo-example:

- name: check if installed
  command: (...)
  register: is_installed

- name: run install script
  when: is_installed.stdout == "yes"
  command: (...)

The second task shows as "skipped". This is not really right, I did not forgo the installati ...

Score: 0
AVD application assignment
gb flag

I am testing AVD and I can't get the following scenario to work and can't find anywhere that tells me if what I am wanting to achieve is possible or not so thought I would ask you very knowledgeable and helpful people.

I have users in AAD group1 who I wish to use an AVD host pool a to access apps x, y and z I have a second AAD group (group2) who I wish to use the same AVD host pool but to access  ...

Score: 0
Tom avatar
MySQL Server Scaleing with AWS issues
mx flag
Tom

MySql server doesn't seem to be scale up correctly when scaling up my AWS instance. Its almost like MySql is cacheing the instance sizes.

This happens after a scale down the AWS instance and then when we scale back up the the AWS instance, the MySQL server seems to remain in the smaller state even though the AWS instance has doubled in RAM and CPU

Any suggestions?

Score: 0
nam avatar
(kubernetes) Can I do ingress lab on kubeadm environment?
id flag
nam

I am learning kubernetes by myself. I set up an k8s vmware-workstation lab with 1 controller and 2 worker nodes by using kubeadm.

most of tutorials about ingress (networking, not network policy) which I saw on internet is based on minikube.

My question is: can I do the ingress lab on kubeadm instead of minikube as the tutorial ? is there any ingress lab which I can do on my VM environment ?

I am very g ...

Score: 0
High CPU usage and stability issues during Live Migration
br flag

I have been looking into an issue and am struggling to get a definitive answer or solution to a problem.

During live migrations of VMs between two hosts, the host receiving the VM will see a single CPU core spike to 100% and performance and stability is affected. For example, the task manager will be slow to respond, will freeze/stutter, and will lose data to display on the graphs… throughout  ...

Score: 0
How would you block a specific user from a specific IP and a specific port?
ma flag

Just curious here, no real use case...

The answer is probably /etc/hosts.deny but asking in case there are other way to do

Score: 2
netdjw avatar
WSL2 Dockerized Nginx not available in browser, but ping respond
cn flag

I have a Windows 10 Home on my computer with WSL2. In WSL I run Docker with this docker-compose.yml file:

version: "3"
services:
  httpd:
    image: 'nginx:stable-alpine'
    ports:
      - '80:80'
    volumes:
      - ./:/var/www/html
      - ./.docker-config/nginx/nginx.conf:/etc/nginx/conf.d/default.conf:ro
    depends_on:
      - php
      - mysql
    networks:
      - mynet

  php:
    build: ...

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.