Latest Server related questions

Score: 0
BlueDogRanch avatar
Difference in Google MX record IPs and upper-lower case hostnames
gb flag

Two different domains, both using Google Workspace.

Why are there different IPs for the same hostname, i.e. ASPMX.L.GOOGLE.COM and aspmx.l.google.com?

Does this have to do with the upper/lower case difference?

Is one or the other (upper or lower case) preferred by Google?

mx records screenshot

mx records screenshot

Score: 0
Allan avatar
What's the use of AES 256 for Zip files
sg flag

Will it help if I compress Data files using AES 256 Encryption method as all a programmer has to do is try all sorts of combinations (brute force) to check if the Zip File gets Extracted. Each iteration may take few milli seconds.

Score: 0
dorinand avatar
How to force Ansible 'shell' task to change state with 'changed_when' condition?
ng flag

I am running script with Ansible task which installs some repositories and my goal is to show changed state when running change mode to notify, that script will run if check mode will not be activated.

My first task is to check existence of this repository:

- name: Check repository existence
  become: yes
  shell: yum repolist -v | grep some-repository
  register: repo_exists
  check_mode: false
  fail ...
Score: 0
Achyut Kumar Ch avatar
Untangle NG Firewall DHCP options based on MAC address / IP address?
et flag

We are trying to set DHCP options based on IP address. Scenario: We have 50 systems in network and want to configure some systems with google DNS and other systems with internal DNS.

I tried below settings, but they are not working.

dhcp-range=set:red,192.168.2.50,192.168.2.150
dhcp-option = tag:red, option:dns-server, 8.8.4.4

Could anyone please help me to achieve this. Thanks in advance

Score: 0
zoroglur avatar
Could not communicate to Elasticsearch, resetting connection and trying again. EOFError (EOFError)[Fluentd using helm on kubernetes]
nr flag

I'm installing elasticsearch, kibana and fluentd in kubernetes with helm chart Elasticsearch and kibana pods stand up smoothly, but fluentd pods don't stand up I get the following errors:

2023-06-13 13:29:39 +0000 [warn]: #0 [filter_kube_metadata] !! The environment variable 'K8S_NODE_NAME' is not set to the node name which can affect the API server and watch efficiency !!
2023-06-13 13:29:39 +0000 ...
Score: 0
N. J avatar
Load Balancer for LDAP(S)
cn flag

I have created a load balancer in the cloud with backend servers running FreeIPA.
When I try to run:

$ ldapsearch -x -H ldap:<IP-ADDRESS> -b "dc=example,dc=com
ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)

However, it's possible to contact each of the server:

$ ldapsearch -x -H ldap:<NODE1-ADDRESS> -b "dc=example,dc=com
# extended LDIF
#
# LDAPv3
...

$ ldapsearch -x -H ldap:<NO ...
Score: 0
Kenzo_Gilead avatar
How do I have the root of an AWS API gateway reject methods other than GET and POST
se flag

I have an API using lambdas and deployed in AWS. The API is coded in .Net Core and the front is coded in angular15.

I need that any method that is not GET or POST be rejected when is called from the base URL of the web application. When I test the URL root of my web I always receive a status code of 200. I want to refuse any connection from not GET neither POST methods with a status code of 405.

I'v ...

Score: 1
AskUbuntuUser13085924 avatar
Is it still possible to use a catch-all email forwarder to gmail, and how?
cx flag

Since ever, I've been using a catch-all email forwarder at a domain I hold, *@mydomain.net, and sending the email to my personal gmail account, [email protected]. I've just been ousted from my domain host by a pricing change, and moved to a new one (fasthosts, as it happens). The catch-all has been configured at the new host, and it seems that it is working, since emails from some sites (including ...

Score: 0
Luke Nukem avatar
HTTP Base Auth for a Swarm service behind Traefik reverse proxy
es flag

I'm running a Docker Swarm cluster with services behind Traefik2 with HTTPS Base Auth enabled in Traefik itself. Now i'd like to add RabbitMQ with its management interface and make the web management interface accessible through Traefiks port 443.

Unfortunately, I did neither find an option to disable the HTTP base auth of RabbitMQs management interface, nor found anything in Traefiks documentati ...

Score: 0
flyingfox avatar
How to update podCIDR for Kubernetes master node without recreating it
ae flag

I have installed a Kuberntes system with one node,the node itself worked as both work node and master node,now I met a problem:

When the pod num exceed 255,Kubernetes will failed to deplopy it,after checking the node it shows there is no available IP address enter image description here

After checking the config,I found it was caused by the node's podCIDR configuration,the value is 10.244.0.0/24

enter image description here

The available subnet number is ...

Score: 0
Fenh Rir avatar
DNS server bind9 + apache2 on Ubuntu Server VM + localhost problems connectivity
ec flag

Hello guys :) i'm trying to resolve some problems with my DNS server + apache2 and local machine.

I've got Ubuntu server on VirtualBox with NAT network adapter.

I tried to create DNS server for my page praktykant.local On Ubuntu server VM can only access the page by 10.0.2.15 (ubuntu server IP) or by dns1.praktykant.local In my local machine i can access only page by 127.0.0.1 with port forwarding.

Score: 1
achhainsan avatar
How to display custom "Access Denied" page when an user tries to view a page that doesn't exist in nginx web server?
qa flag

I created a new file /usr/share/html called access-denied.html. It contains "Access denied".

I've apache server running at port 8080 and nginx is running at port 80. I'm using nginx as a reverse proxy server.

server{
listen 80;
server_name test-reverse-proxy.com ;
location / {
proxy_pass http://192.168.169.149:8080/;
}
location /access-denied{
root /usr/share/nginx/html/access-denied.html;
try_files /acce ...
Score: 0
Krish R avatar
How to confirm whether the packages in local mirror are updated and in sync with official repo for ubuntu-20/22
im flag

I have created a local repo using apt-mirror for ubuntu20 and 22. When I run the command apt-mirror the command is successfully run. I see some files like packages.gz is showing the latest timestamp. How can I confirm that the apt-mirror is running and all the latest packages are downloaded successfully to the local repo?

Thanks in Advance!

Score: 0
John Doe avatar
Frontend instance time in App Engine
xk flag

I've deployed my API in App Engine with this configuration:

instance_class: F4 automatic_scaling: max_instances: 1

Why in total hours of instance I have like 90h if there is only one instance running?

Score: 0
germebl avatar
postfix logging no the known defaults
bz flag

Actually i overtook the administration of a mail cluster which uses postfix. And i was really confused when i saw the different loggings:

  • one of the servers logs to a custom logfile, instead there is no maillog_file defined
  • another server of the cluster logs everything to the syslog file
  • the third server logs nothing
  • another two servers logging correctly

But all the settings are correct and there ar ...

Score: 1
UME avatar
Unable to Ping Guest VM's of Nested KVM on Vmware Workstation
re flag
UME

I have installed KVM (RHEL 8) on VMware Workstation and created a Guest OS with CentOS 8. I have created a Bridge Network (slave: ens160) and assigned it to the Guest VM. The Guest VM has received an IP address from my home router; however, it is unable to reach the gateway, and other VMs are also unable to reach the Guest OS. Is there anything I need to do in this situation? There is no problem with th ...

Score: 0
m1know avatar
How to get access virtual servers from host machine by domain?
pl flag

I have virtual machine Ubuntu on Windows host machine. On VM there is nginx server with virtual server site.com. VM IP is 127.0.1.1. In VM I edit /etc/hosts:

127.0.1.1 site.com www.site.com

And now I can type in VM browser site.com and get site access. But I want the same on the host machine. I edited Windows hosts file with:

127.0.1.1 site.com www.site.com

But with no result.

  • My VM name has linserver
Score: 0
Manuel Schmidt avatar
How does zfs know which snapshots to send with the `-I` flag?
it flag

From the manual:

A group of incremental snapshots can be combined into one snapshot by using the zfs send -I option. For example:

# zfs send -I pool/fs@snapA pool/fs@snapD > /snaps/fs@all-I

How does zfs know that @snapB and @snapC are in between @snapA and @snapD? Is there are parent/child relationship between snapshots? If yes, how can I query the parent of a snapshot?

Score: 0
Rajskutti Rk avatar
SSL_CTX_load_verify_locations("/combinedcerts.cer") failed
tk flag

I'm getting an error, the "combinedcerts.cer" is present but unable to locate the certificate, this is error i'm getting

nginx: [emerg] SSL_CTX_load_verify_locations("/combinedcerts.cer") failed (SSL: error:02001002:system library:fopen:No such file or directory

"COPY files/certs/ca.cer files/certs/rivaterootca.cer files/certs/combinedcerts.cer files/conf/useragent.rules files/keystore.jks ./" Docke ...

Score: 0
itisyeetimetoday avatar
Clean Installation of Ubuntu Without IP KVM
kw flag

I don't have access to an IP KVM but was hoping to do have the ability to do a fresh install without only SSH keys installed in order to remotely run and compile code while I'm away from home. Is there any way to have ubuntu clean reinstall with just the ssh keys installed after a simple restart without any user input?

Score: 0
devcodes avatar
Calico : Virtual Network Interfaces not created by calico
sr flag

I had been using calico-policy-only (v 3.22) mode with kubernetes 1.24.1 in my worker nodes. Recently worker nodes were upgraded to 1.25.4 , so for compatibility we had to upgrade calico as well to ver 3.25.

Calico poliy only https://github.com/projectcalico/calico/blob/release-v3.25/manifests/calico-policy-only.yaml

After upgrade -> calico-node pods started showing logs ->

2023-06-12T14:28:10.16496 ...
Score: 1
Ruthew avatar
Kubernetes cluster with certificate authority
sl flag

Certificate error after upgrade of kubernetes Error is SSL certificate problem:unable to get local issuer certificate

After doing multiple modifications Now I'm getting above error.

Score: 0
jabroni avatar
NGINX returns 301 - Not following WebSocket redirect
kp flag

I have been in the process of commissioning my new server which is an upgrade of an already existing server. In this process, I have moved from Apache2 to NGINX on Ubuntu 20.04 which interfaces with a Postgres 15 database.

When I start NGINX, I am able to access and log into my web page, however I am unable to load any data (interface constantly trying to load data). Digging through the NGINX log ...

Score: 0
joshau DA avatar
Linux server ssh connection wont authenticate my account using ssh key gen and prompts me for password
re flag

I am facing an issue in Ubuntu 22.04.2. where I am unable to SSH into a remote server using a copied public key. I have generated an SSH key pair on my local machine using a bash terminal, and I have successfully copied the public key (id_rsa.pub) to the remote server. However, when I attempt to SSH into the server using the corresponding private key (id_rsa), I am still prompted to enter my password. I ...

Score: 0
Alvaro Bataller avatar
Do I need to use an Nginx reverse proxy between AWS Application Load Balancer and Gunicorn running in Fargate?
in flag

I have a Django backend application running with Gunicorn inside a Docker container in Fargate. Since I'm not serving any static files from the Django server (they are being served via Cloudfront) do I need to put an Nginx reverse proxy between the ABL and Gunicorn? Or can I simply send the traffic from the ABL to the Gunicorn container?

Score: 0
Saqy G avatar
Nginx 403 forbidden on static files using link_secure with grafana
cn flag

I am trying to configure auto login using nginx as auth proxy, I am successfully able to authenticate but my problem comes when grafana loads all static files are 401.

my nginx configuration

#i also tried /grafana by enabling it in the grafana.ini

  location / {
        secure_link $arg_md5,$arg_expires;
        secure_link_md5 "$secure_link_expires$uri enigma";
        if ($secure_link = "") { return 40 ...
Score: 0
SuperZumo avatar
Assign an IP to nic team server 2019
ru flag

How do I assign my host an IP when all my nics have been used in a NIC Team and I've used that Teamed nic to create a virtual switch for hyper-v?

They are setup in a LACP Dynamic mode.

I've applied an ip address to the multiplexer Driver NIC but I can't reach the ip. I can reach other IP's in the subnet but not the one for the host.

I can only reach it if I assign a vlan to the NIC Team interface on th ...

Score: 1
Johnny Heisler avatar
Windows Remote Desktop defaulting to NTLM
rs flag

The issue:

I have a Virtual Host - VHost.domian.com. When I try to connect from my laptop - Laptop.domain.com - it seems to be trying to use NTLM for authentication and not Kerberos. Note: My laptop is not the only client we tried. The issue is defiantly on the VHost side.

Troubleshooting:

Two Accounts

I have two AD Accounts I've tried to connect with. A privileged account and a regular account. Both ...

Score: 1
infamous hvher avatar
Setting up a proxy pass for rest api server not working
kr flag

So I am trying to setup proxy pass to a rest api that is on port 30422, basically what I want to do is have for example sub-domain.example.com link to the port 30422 on the same webhost. I am hosting the webserver on nginx, and have linked a domain already.

What I have tried was adding my new sub-domain on cloudflare (I use cloudflare as protection) And then also making my new subdomain file in t ...

Score: 0
MonkeyZeus avatar
Apache cannot find PHP
in flag

I have a shortcut:

c:/path/to/app1/current_php-cgi.exe.lnk

I am trying to do this:

FcgidWrapper "c:/path/to/app1/current_php-cgi.exe.lnk" .php

And Apache has no issue with the syntax but after reboot, any requests for a PHP file result in this error:

[Mon Jun 12 12:57:50.962946 2023] [fcgid:error] [pid 25564:tid 680]
(OS 193)%1 is not a valid Win32 application.:
mod_fcgid: can't run c:/path/to/ap ...

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.