Latest Server related questions

Score: 1
Two files, same permissions, Apache says one is forbidden
kr flag

I have two files in a directory that is accessible to the Interent. It's part of a WordPress installation. Here are the directory contents:

# ls -lah
total 11M
-rw-r--r--. 1 apache apache 2.9M Jul  6 01:49 June_16.pdf
-rw-r--r--. 1 apache apache 2.6M Jul  5 14:17 June_23.pdf
-rw-r--r--. 1 apache apache 2.4M Jul  5 14:17 June_30.pdf
... few other files...

They all have the same permissions. Except I ...

Score: 0
shaktirath avatar
/var/lib/kubelet/pki/kubelet.crt is expired, How to renew it?
cn flag

The kubernetes cluster in on 1.21.2. The kubelet is also on 1.21.2

kubelet --version
Kubernetes v1.21.2

kubeadm version
kubeadm version: &version.Info{Major:"1", Minor:"21", GitVersion:"v1.21.2", GitCommit:"092fbfbf53427de67cac1e9fa54aaa09a28371d7", GitTreeState:"clean", BuildDate:"2021-06-16T12:57:56Z", GoVersion:"go1.16.5", Compiler:"gc", Platform:"linux/amd64"}

When i am trying to "kl get no ...

Score: 0
TheHidden avatar
UFW block port UDP 67 on all but specific interfaces?
in flag

I am new to UFW, trying to quit iptables for something that appears to be a lot easier at face value.

I am just trying to get my head around the logic and do not know much about it yet.

I have a global listening UDP port 67 that I am unable to disable due to configuration issues with a 3rd party application.

so the plan is to block this port on all but a specific interface / IP, it's still needed on on ...

Score: 0
Compumak1 avatar
Reinstalling ESXi - How to retrieve data
cn flag

I have lost my ESXi password and I want to reinstall the ESXi server. How can I get the Vms up and running after installing ESXi since I am using Physical SAN to store them (including Vcenter). Please note I have 2 Servers

Score: 2
kirox0 avatar
fail2ban wont start/Python syntax error
ir flag

I installed fail2ban on my Ubuntu 18.04 server. But when i try to start the service i get this error.

fail2ban.service: Start request repeated too quickly. fail2ban.service: Failed with result 'exit-code'. Failed to start Fail2Ban Service.

When i run the client as a user on another post suggested i get a Python syntax error:

> fail2ban-client -start
Traceback (most recent call last):
  File "/ ...
Score: 0
Marcel avatar
Service unable to use mysql when starting up
pe flag

I'm having an odd error. i've setup Postfix & ASSP, ASSP to use mysql databases and all is well. If I run perl assp.pl no worries life is good.

But however if I setup assp to run as a service (so that it auto starts) it does start, but none of the tables are imported, it either doesn't have access to perl, or it doesn't have access to mysql...

I've tried elevating the permissions, and just about ...

Score: 0
how to refer to a variable in another host in static inventory host var file?
de flag

I have an inventory like following:

inventory/
├── group_vars
│   └── all.yml
├── host_vars
│   ├── serverC.yml
│   ├── master02.yml
│   └── master01.yml
└── hosts.yml

I knew I can dynamically access other host's variable via hostvars[otherhost][variable]. However, I would like to do similar thing in inventory file: In serverC.yml:

myvar1: "{{ host ...
Score: 1
Is it possible to use both `After=` and `Before=` options towards the same unit (service) together in systemd service?
in flag

The Type=oneshot unit A.service is started hourly by A.timer and it Wants=B.service, but runs Before=B.service. Unit B.service is also Type=oneshot. The requirement here is that their processes should never overlap at run time (oneshot ensures exactly that), all great so far. Now imagine a scenario where both A and B together run for more than an hour (time between A.timer fires). There are two p ...

Score: 0
Andreas Schuldei avatar
How to properly update container sizes when extending kvm/libvirt disk when running into "... smaller then corresponding PV size" error?
us flag

I work on a Debian buster system as a KVM/libvirt host and followed this guide to extend the disk of my guest: https://computingforgeeks.com/how-to-extend-increase-kvm-virtual-machine-disk-size/ .

When extending the disk of a kvm/libvirt guest from 50G to 200G, after rebooting the guest I get the error:

WARNING: Device /dev/sda5 has size of 103854080 sectors which is smaller than corresponding PV size ...
Score: 0
Marc-André Bouchard avatar
How to bridge two interfaces while not connecting to it, and use a third interface for network
cx flag

I am on Linux - Ubuntu 20.04, I am trying to use a 4G USB key that is shown in the interfaces as "ppp0" (created using wvdial) to bridge the secured 4G connection to a sensitive network device (payment terminal) connected on the eth1 of the PC. While, at the same time, using eth2 for the PC internet. I want the result to be as if the ppp0 and eth1 were isolated from the PC, and connected because I don't ...

Score: 1
guzzijason avatar
CentOS 7 (dracut) is finding inconsistent network device names causing problems for kickstart
id flag

I use the boot options biosdevname=1 net.ifnames=1 in order to get consistent, predictable device names. I'm starting to notice a problem where in some cases, the network device names are not consistent. For example, if I drop to a dracut debug shell and look at the output of rdsosreport.txt, I see this:

+ ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen ...
Score: 0
pisistrato avatar
ESXi/vSphere how to create nic team
in flag

I have essentially zero experience with ESXi/vSphere, sorry in advance if this may sounds obvious for some of you. I have installed ESXi/vSphere 7 on my server and I need to set up a nic team with the 2 10Gb adapters. I have to do this from console, because I cannot access vSphere until I create the team and configure it. This is because the switch is configured with bonding+LACP, and the static IP addr ...

Score: 0
Sean Letendre avatar
Guidance on modelling cloud resources with DMTF's CIM
am flag

Do any cloud service providers provide guidance on how to model their resources with the Distributed Management Task Force's (DMTF) Common Information Model (CIM)?

Score: 2
adamsfamily avatar
Can an unauthorized login attempt occupy a MySQL connection for a long time?
in flag

My MySQL has a limited number of concurrent connections defined by the max_connections variable by my cloud provider. Currently limited to 151 connections.

There is only one web server using this database therefore it should be more than enough. However, I was surprised to see that I currently have 30+ active connections to my server:

mysql> show status where `variable_name` = 'Threads_connected';
+--- ...
Score: 0
Mark Straver avatar
How do I limit firewalld portforwarding to certain source addresses?
jp flag

First off, I apologize if this has already been asked before but I wasn't able to find any answer looking through the info available on SE.

My situation is as follows: I have one CentOS 7 server that stands at the forefront providing a number of services. It is hooked up with one ethernet port public (eno1) and one ethernet port LAN (eno2) Connected to the LAN is a second server that i want to fo ...

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.