Latest Server related questions

Score: 0
Eddie Aspden avatar
Dual Stack Kubernetes cluster assigning single stack IPs to pods & services
lt flag

I am creating a dual stack Kubernetes cluster with kubeadm, and installing Calico. I am using the below configuration file for kubeadm:

apiVersion: kubeadm.k8s.io/v1beta3
kind: InitConfiguration
localAPIEndpoint:
  advertiseAddress: 0.0.0.0
  bindPort: 6443
nodeRegistration:
  criSocket: "unix:///var/run/containerd/containerd.sock"
---
kind: ClusterConfiguration
apiVersion: kubeadm.k8s.io/v1beta3
k ...
Score: 0
Nandu Kkd avatar
EC2 port 80 refused to connect on public IP but can connect using private IP
tl flag

Question simplified

I can do curl {publicip}:4321 but not curl {publicip}:80 or curl {publicip}. But from the server's ssh, i can run curl {privateip}:80 and curl localhost:80 without any issues. And also, both port 80 and port 4321 are added to inbound rules in security group. Why is that happening?

The Story

I'm new to AWS EC2. I recently created an EC2 t4g nano instance, and ran a NodeJS server usi ...

Score: 0
Adu Zob avatar
Fans constantly at high speed on new AMD Epyc server
gr flag

I have recently purchased the following unit: “System ASUS RS720A-E11-RS12E/10G | 2U / 12-Bay | GPU” equipped with dual epyc 7713 cpus.

I installed ubuntu 22.04 on the system and it boots up fine, but whenever the machine is turned on the fans always run at high (max?) speed.

When I check the IPMI hardware monitor in the BIOS, it reads 7020 RPM for four fans, and

CPU1 temperature: 43 degC, CPU2 te ...

Score: 0
Dmitry Filin avatar
Packets go out one LAN machine but do not reach another one
dm flag

I have a pretty simple topology.
Machine 1:

ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP, ...
Score: 0
jessica mbenji avatar
Created the forward and reverse zone files but having this
tz flag

here is the file

$TTL 86400
@       IN SOA  master.git-gotech.net. (
                                        0       ; serial
                                        3600    ; refresh
                                        1800    ; retry
                                        604800  ; expire
                                        864000 )        ; minimum

@ IN   NS master.git-gotech.net
@ IN  ...
Score: 0
Reimer avatar
Grub2 unable to detect MBR disks
us flag

While adding a new SSD to my system I went to GPT / UEFI and installed new Ubuntu as well as grub2. Grub2 is working and is able to boot ubuntu/win bootmanager on this new SSD. I'd like to boot my old system in parallel which was working after I enabled os_prober, but it suddenly stopped, maybe after an update / grub-mkconfig. Grub is inserting entries for the old systems, but when its selected an error  ...

Score: 0
Varun K M avatar
In autosys host, one particular path .lck files are automatically creating
pg flag

We have a autosys host, In particular active path , automatically .lck files are created. Due to this, We could see success runs but our Portal is not getting synced as per the Job run scheduled for every 5min.Observing some delay in syncing the portal even though Job has ran successfully.

Also we could see .lck files are getting generated under active path.We tried removing them but still they a ...

Score: 0
user1967184 avatar
Is there a way to restart apache ignoring ssl certificate errors?
ao flag

My server has lots of virtualhosts, many client's domains come and go pretty frequently, and sometimes it's difficult to act quickly, finding the culprit (usually a dismissed domain) and restart apache without errors. For example last night apache restarted but there was an error in the log file of one of the virtualhosts:

[error] Unable to configure RSA server private key
[error] SSL Library Error ...
Score: 0
A Mere avatar
Ssh messages do not output to a pipe configured in syslog.conf
tv flag

I have configured a pipe in syslog.conf for auth.* to capture the ssh syslog error and status messages. I have then a python script that processes this pipe's input and I check that we receive something by writing the content of the pipe to a file.

When running a "ssh [email protected]" command (IP does not exist on network) I expect to see the ssh error in the file but it's empty. This used to w ...

Score: 0
Bombe avatar
Amazon SES Unable to Deliver Mails to My Exim
bg flag

I am constantly finding lines like these in my exim logfile:

17:42:56 [6063] 1q9ScJ-0001Zn-SJ DKIM: d=slack.com s=s4xolb5s7tnx6yxtrm4adems7glgsuyf c=relaxed/simple a=rsa-sha256 t=1686757138 [invalid - public key record (currently?) unavailable]
17:42:56 [6063] 1q9ScJ-0001Zn-SJ DKIM: d=amazonses.com s=224i4yxa5dv7c2xz3womw6peuasteono c=relaxed/simple a=rsa-sha256 t=1686757138 [invalid - public key r ...
Score: 0
Ben avatar
User profiles are getting corrupted, and the GPO to delete User Profiles is not working as intended
us flag
Ben

I am working in a school were laptops are shared between students, and up to 60 kids can use the same laptop in a week's time. The first time we encountered any problems with this was when one class in particular came in with two students receiving an error:

enter image description here

At first, clearing out the user profiles (except the local Administrator, current logged in admin, and the Public profiles) in Regedit, and the C:\U ...

Score: 0
uday avatar
How to fix errors of arm template for storage account creation?
ke flag

I have exported ARM template of exiting resource and modified the template.

But when deploying the same, getting errors as invalid xml.

{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
    "storageAccounts_zuscutaastd1shared": {
        "defaultValue": "zuscutaastd1shared",
        "type": "String"
    }
},
"va ...
Score: 0
mbrain avatar
How to block all traffic except established/related in windows
cw flag

How would you create this configuration in the windows Netfirewall?

sudo iptables -P INPUT DROP 
sudo iptables -A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT 
sudo iptables -A INPUT -p tcp --dport 22 -j ACCEPT 
sudo iptables -A INPUT -p tcp --dport 80 -j ACCEPT 
sudo iptables -A INPUT -p tcp --dport 443 -j ACCEPT 
Score: 0
Muhammad Hanis Irfan Mohd Zaid avatar
Beginner: VM Instances Can't Access External Network And Few Other Questions

I was trying to deploy a multinode OpenStack cloud using Kolla-Ansible by following this doc and many others: https://docs.openstack.org/project-deploy-guide/kolla-ansible/2023.1/multinode.html. I want to clarify here that I'm very new in OpenStack and hoping to get some guidance from the pros.

The nodes comprise 1 Kolla node, 1 control node, 1 compute node, and 1 storage node. All the nodes are  ...

Score: 0
fsk5304 avatar
Apache child processes are launched more than ServerLimit and threads are executed more than ThreadsPerChild
is flag

The following version of Apache is used. (MPM : event)

httpd -V
Server version: Apache/2.4.37 (Red Hat Enterprise Linux)
Server built:   Jun 15 2022 08:27:14
Server's Module Magic Number: xxxxxxxx:xx
Server loaded:  APR 1.6.3, APR-UTIL 1.6.1
Compiled using: APR 1.6.3, APR-UTIL 1.6.1
Architecture:   64-bit
Server MPM:     event
  threaded:     yes (fixed thread count)
    forked:     yes (variable p ...
Score: 0
user1993015 avatar
Sendmail entry in /etc/aliases that modifies the email header before sending it out?
wf flag

I'm using Sendmail I want to create an alias in /etc/aliases, that modifies the To: line before sending out the message . I assume I need some sort of script or command that the email is piped into. Any suggestions?

A very basic modification is needed. I need to change an address from foo@foobar to foo@barfoo. Thanks!

Score: -1
Kevin Ridsdale avatar
I need to hit website with server_ip/path_to_index.html
dz flag

I am testing @media statements in a locally hosted website I am building but for the life of me can't hit the site with site_IP/virtual_host_name.

If I have access to the hosts file I simply add (site name) localtest.com into the file along with the IP of the site 192.168.1.X as per normal and all works well. I don't have a rooted phone (my contact wants his site optimised for phone access) so ca ...

Score: 0
KlausD avatar
How to force src-IP for outgoing connections on multihomed Linux Router
ml flag

I have a Linux router multihomed:

  • eth0: "Normal" unicast IP address, global reachable, a single default route
  • eth1: Connected to an Internet Exchange, not global reachable, plenty of routes

The server runs frr and receives plenty of routes from the IX peers. By default, when connecting to some IP address where a route was received from the IX, the route's next hop is via eth1 and hence Linux uses  ...

Score: 0
Jdogwork avatar
Recommendations for a small O365 tenant-to-O365 tenant migration?
zw flag

My (small) team manages the technology for a small college (~600 students), including the college's existing Office 365 tenant. We recently acquired another small college (~125 students) which came with its own O365 tenant.

We'd like to migrate the mailboxes of the acquired tenant into our larger tenant. Budget is shoestring as the acquisition was not known during the annual budgeting process.

We ha ...

Score: 0
Seemly NodeJS restart | Docker vs PM2 vs Both?
cn flag

I have a NodeJS application that wraps a large obfuscated JavaScript file and utilizes it to run computations. The issue is the JavaScript file has a memory leak, and required fairly frequent restart to clear the memory. Currently I am using a systemd to kill and restart the process when it hits a specific memory usage, and while this works enough... its not ideal. I have been moving many other applicat ...

Score: 0
Flat-Entry avatar
Migration from Server 2012 r2 to Server 2022
vi flag

This is the first time I will have performed an upgrade of this scale (moving all of our 2012 r2 VMs to 2022) and the Microsoft documentation I've read had details on in-place upgrades. I understand that there is not a path from 2012 r2--->2022, and the mix between "in-place good" and "in-place bad" makes me hesitant to do so.

I know how to create a new server, where I am looking for insight i ...

Score: 0
Tasneem ZH avatar
Lost Local Connection to MySQL DB that resides in AWS RDS
id flag

The MySQL DB residing in AWS RDS was made to connect with resources in the same VPC. I always had to make it publicly accessible in order to connect to it through MySQL Workbench 8.0 CE in Windows 11. The moment that I used mysql(2) NPM package to connect to it in a NodeJS server running locally (using localhost) on the same network that I used to connect it to the MySQL DB through MySQL Workbench, it c ...

Score: 0
ITisandiamIT avatar
How to add new multiple ip addresses with different default gateway ip to same interface on ubuntu server 20.04
sl flag

and thanks in advance for any help. I got /29 ip address range, and this was after I had set up my server with a different ip and default ip. So, I was assigned a new range of ip's which have a different default gateway, then my current gateway. So now I need to add the new ip's and the new default gateway to my ubuntu server. The ip's where come from the same Host provider, and it is on a dedicate s ...

Score: 0
zeeshanseikh avatar
How does "add_header Access-Control-Allow-Origin * " work
ru flag

Does it mean our nginx server can access any other server's resources? Or does it mean other any servers can access our nginx server's resources? I know it's related to Cross Origin Resource Sharing. But not sure what Origin is meant in this case.

Score: 1
The amateur programmer avatar
Is it possible to bypass linux bridge device and assign linux vlan directly to bridge member on proxmox (Debian)?
vn flag

I came up with the following situation. We have a Proxmox node with a 40gb Mellanox QSFP+ card connected to switch. The 40gb interface is added as a slave to vlan aware linux bridge. To that bridge there are two linux vlans created: one for proxmox management and one for storage. Below is the screenshot from the configuration page.

Proxmox network configuration

The linux vlans are configured such that the linux bridge is used as a r ...

Score: 0
kubeadm config images pull fails
id flag

I am trying to install k8s on a new machine running Ubuntu 20.04 using containerd and kubeadm is failing to load the images:

# kubeadm config images pull --kubernetes-version=1.21.0 --image-repository registry.k8s.io

failed to pull image "registry.k8s.io/kube-apiserver:v1.21.0": output: time="2023-06-14T15:24:34Z" level=fatal msg="validate service connection: CRI v1 image API is not implemented f ...

Score: 0
user2867106 avatar
Nginx not can't recognize files using if statement
pa flag

I'm trying to perform an operation based on the existence of a file in the file system using Nginx 1.24.0 and Amazon Linux 2.

However, this code is always returning 404.

location ~ ^/test {
    if (-e "/tmp/hello.txt") {
        return 200 "file exists";
    }
    return 404 "not found";
}
  • SELinux is disabled.
  • /tmp/hello.txt exists with nginx:nginx + 777
  • /tmp has 777
  • IF statements are evil, we know it ...
Score: 0
Simon avatar
Is it possible to add ip address to dnsmasq.conf instead of url
bf flag

I'm very novice on this so please answer if you can.

Is it possible to add ip address instead of url/domain to dnsmasq.conf file

Here is an example of what I tried.

bind-dynamic
bogus-priv
domain-needed
log-facility=-
local-ttl=60
address=/100.100.100.18/95.0.0.0

I've tested address=/google.com/95.0.0.0 and it works

*ip addresses are masked in this example

Score: 0
fpdragon avatar
Access rights are not inherited for new files
cn flag

I am trying to provide an NFS share on a Windows Server 2022. This share is mounted by different Linux/Solaris systems.

The plan is to keep everything simple in the first place. The share should enable full access rights, which can then be restricted afterwards by IP access rights.

In the test, folders and files that were created by the server/Win could generally be used without any problems. Any ac ...

Score: 0
philburns avatar
Apache2 returns 403 for static file request on root
mx flag

On my new Apache/2.4.52 (Ubuntu) Server installation, the SSL configuration in general runs well, having Tomcat apps proxied and working.

Still, the static file configuration for root does not work. My config is like this:

<VirtualHost *:443>
    ServerAdmin [email protected]
    ServerName my.wonderful.server
    DocumentRoot "/srv/www/htdocs/ssl/"

    #   SSL Engine Switch:
    #   En ...

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.