Latest Server related questions

Score: 0
Dimitrios Dalagiorgos avatar
Postfix won't connect to relay SMTP server
pe flag

We have a Debian virtual machine and I want to use postfix and mailutils to send email via a relay SMTP server

Trying to connect to the SMTP server with telnet works.

telnet mail.sch.gr 587
Trying 194.63.239.110...
Connected to mail.sch.gr.
Escape character is '^]'.
220 mail26.sch.gr ESMTP Postfix (Debian/GNU)
AUTH LOGIN
334 VXNlcm5hbWU6
*************
334 UGFzc3dvcmQ6
*************
235 2.7.0 Authentic ...
Score: 1
codlord avatar
Can Ubiquiti UniFi PoE switch be used as unmanaged switch before adopting?
mp flag

I know some managed switches can just be used as an unmanaged switch out of the box, but I have a site with a UniFi US-16-150W PoE switch which nobody knows anything about how it is/was setup or passwords/controller information.

My question is: Does anyone know if I factory reset the switch can it just be used as an unmanaged PoE switch without adopting and without using the UniFi controller soft ...

Score: 0
What is the difference between listen 443 ssl http2 AND listen [::]:443 ssl http2?
in flag

I am looking at this link: https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/linux-nginx?view=aspnetcore-6.0#https-configuration

There is a sample of the file /etc/nginx/nginx.conf provided.

The server has got 2 listens as follows:

server {
        listen 443 ssl http2;
        listen [::]:443 ssl http2;
        ...
   }

What is the difference between 1st listen and the 2nd listen?

The 1 ...

Score: 0
nginx is not respecting the server_name value
in flag
server{
    ..
    server_name some_other_domain_name.com;
    ..
}

I have mapped my domain name to the public IP of my VM via godaddy.

When I enter the domain name in the browser, then it is able to access the website hosted on the VM (via nginx). However, I was expecting that the request will not be allowed by nginx because the server_name property is set to some_other_domain_name.com

Does nginx not ch ...

Score: 0
Tran Triet avatar
How to restrict access to API to the portal run on browser through Nginx
lk flag

Scenario

I have a system with an api server and a front end (static website run on browsers) and they are publicly available under 2 domain names a.example.com and a-api.example.com

Question

How do I restrict access to my api at a-api.example.com to my front end only (e.g. no one can arbitrarily curl to it and be able to access)? Or is it possible at all?

If you can add a sample nginx block that'd  ...

Score: 0
Ravi Teja RVN avatar
scylla db service is acting as new cluster after updating the seeds in the configuraion
cn flag

we have 3 nodes of scylla db cluster, in which we have added in the seeds in /etc/scylla/scylla.yaml : seeds: "172.16..6, 172.16.., 172.16..*", in this format.

Later we restarted the 3rd node and we can see that nodetool status as 1st and 2nd node is down and only 3rd is up in 3rd node (nodetool status).

Now, 1st and 2nd server is showing as 3rd node is down. 3rd server is showing as 1st and 2nd node ...

Score: 0
Ansible playbook to post message into kafka topic
cn flag
Playbook 1:
---
- name: Message into topic
  hosts: web1
  become: yes
  tasks:
    - name: post message
      expect:
        shell: "/usr/local/kafka/bin/kafka-console-producer.sh --broker-list localhost:9092 --topic testTopic"
        responses:
          Question:
            - "Hi there"
        

Playbook 2:

- name: Message into topic
  hosts: web1
  gather_facts: false
  tasks:
    - name: post me ...
Score: 0
Krishna Yerudkar avatar
Stop user to download file over SFTP
cl flag

I have SFTP server and dont want to provide get (download) permission to the few users.

Is it possible to disable get command for few users?

PFB my vsftpd.conf

[root@kbdc-sftp-01 vsftpd]# cat vsftpd.conf | grep -v ^#
anonymous_enable=YES
local_enable=YES
write_enable=YES
local_umask=022
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
xferlog_std_format=YES
listen=NO
listen_ipv6=YES

pam ...
Score: 0
Site to Site Azure VPN with 2 VNET's
ru flag

I have 2 VNETs in Azure.

AppVnet -10.0.0./24 -- Peered
Dbvnet - 10.10.0.0/24 -- Peered.

Firewall Sonic wall. Current status: VPN tunnel is created(route-based) and connected from on-prem to AppVnet and VM's on AppVnet to On-prem

peering is completed, DBvnet used a remote virtual network, and it connects with AppVnet.

The challenge. DbVnet cannot connect with on-prem and on-prem cannot connect with ...

Score: 0
Persistent volume claim getting stuck in Pending mode
cn flag

I have just configured openebs as the storageclass type on k0s but when I then attempt to create a persistent volume claim it gets stuck in Pending mode.

As a check to satisfy the WaitForFirstConsumer constraint I created a deployment but after some time the persistent volume claim still remains in Pending mode.

I am pretty sure storageclass is configured well now (unless otherwise !) because whe ...

Score: 0
Nicholas Head avatar
Google's Load Balancer returning 502 errors with "backend_connection_closed_before_data_sent_to_client" message and IIS
us flag

We are stumped on this issue and need some assistance. We are running what we believe to be a fairly straightforward configuration in GCP (Google Cloud Platform) for load balancing, and we keep experiencing random "502" errors. Digging into the logs for these, we see a reason given of "backend_connection_closed_before_data_sent_to_client". I cannot figure out how to reproduce these errors myself. I'm se ...

Score: 0
Hosting 2 apps on different ports using nginx proxy_pass
in flag

Why does the proxy_pass http://backends/; under the location /textcat bring me to the root of the server (localhost:8081) and proxy_pass http://backends; (no trailing /) brings me to (seemingly) localhost:8081/textcat.

I am trying to host two applications running locally on the server. These two applications are running on port 8081 and 8082. I would like to access the app at 8081 via the /textca ...

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.