Latest Server related questions

Score: 0
ranji avatar
Loading a KVM guest with static IP using XML file
cn flag

I have an XML template for the image I am loading on KVM using ansible. For now, the image loads without IP. I would like to know if there is a way to add static IP on the XML template so that my VM loads with static IP on eth0 interface.

I tried the below in XML but it shows ERR "libvirtError: unsupported configuration: Invalid attempt to set network interface guest-side IP route and/or address  ...

Score: 0
Mark Hollis avatar
AWS Burstable reserved instances?
ng flag

I'm using a burstable T3 instance on-demand, and thinking about converting to a reserved instance as it would save me quite a lot in the long run. Will Amazon charge me for bursts the same way as with the on-demand instance, and simply add that on top of my monthly dues?

Score: 0
rm -rf avatar
SSH Tunnel(Port Forward) vs SSH ProxyJump, which one should I use in this Specific case, Me -> JumpSever -> TargetServer
my flag

I'm new to SSH Tunnel, I have read the wikibook of OpenSSH Proxy over and over, still so confused.

the Goal is building a double Proxy with only SSH Tunnels(Port Forwarding) or ProxyJump (not really sure what I should call them)

For example, me 192.168.1.1-->connect to-->the Jump ServerA 1.1.1.1, then I will actually reach the Target ServerB 2.2.2.2, if I setup a socks5 proxy with ServerA 1.1.1. ...

Score: 2
Sachith Muhandiram avatar
Kubernetes manual certificate renewal - apiserver ceritificate update failed
kr flag

We have a bare-metal k8 cluster deployed using Kubespray, its certificates are expiring soon.

openssl x509 -in /etc/kubernetes/pki/apiserver.crt -noout -text |grep ' Not '

To update certificates, followed given instructions in official guide.

kubeadm certs renew all

Then removed manifest files in /etc/kubernetes/manifests/ one by one, but api-server did not restart after moving its manifest bac ...

Score: 0
Trying to install postgis on Centos 6.9 and missing dependency libgeotiff.so.2
ru flag

I'm trying to install Postgis 2.1 on Centos 6.9 (and postgresql 9.5). I try to yum install it:

yum install postgis21_95

And get the error:

> Finished Dependency Resolution
Error: Package: gdal-libs-1.9.2-8.rhel6.x86_64 (pgdg-common)
           Requires: libgeotiff.so.2()(64bit)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
Score: 0
lampstackxyz avatar
Regex does not work with grep
pk flag

Why does this match

.*\/.+\/wp-admin.*404
[03/Sep/2021:18:58:29 +0200] "GET /up/wp-admin/install.php HTTP/1.1" 404 6197

regexr.com

But in grep it does not?

sudo grep -rh ".*\/.+\/wp-admin.*404" /var/log/apache2/ | wc -l
0

I know the line exists in that folder. If I replace + by * it works.

Score: 1
goofball avatar
Server is always slow at around 2pm for 1 week
no flag

I did top and got:

Tasks: 590 total, 8 running, 582 sleping, 0 stopped, 0 zombie
Cpus(s) 96.5%us, 2.7%sy, 0.0%ni, 0.4%id, 0.0%wa, 0.0%hi, 0.4%si, 0.0%st
Mem: 32877280k total, 30611188k used, 2266092k free, 4021204k buffers
Swap 0k total, 0k used, 0k free, 4267024k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
21672 mysql 20 0 13.1G 8.9G 8496 S 559.1 28.3 124168:04 mysqld
12025 webs  ...
Score: 0
its4net avatar
Configuring and rotating logs for Apache lbmethod_heartbeat module
ru flag

The problem I'm having is a log file growing and using all available disk space on the server. The server is RHEL on AWS EC2. The file causing problems is located in /tmp/systemd-private-*-httpd.service-*/tmp/heartbeat.log

The only module I see loaded that could be producing this log is lbmethod_heartbeat. I however do not see any configuration for the module or logs.

How can I configure the location th ...

Score: 0
starlord-wag avatar
podman load executed in systemd service not taking effect on fcos system
in flag

Hi I'm new to FedoraCoreOs. But I'm trying a very simple probe of concept. I'm trying to load a .tar docker image into the fedora core os local registry at starup. I'm using systemd and a service which will perform the load, but I'm missing something, since the service is executed, but when I type podman images the imaget listed.

This is my unit configuration

cat etc/systemd/system/test.service

    [ ...
Score: 0
SaryA avatar
AWS ALB showing "Not Secure"
vn flag

I configured a route53 cname to forward traffic to an api gateway. By passing the stage and resource name to the cname, the correct stage & resource are called in the API gateway, and they forward traffic to an existing elastic beanstalk that's behind an application load balancer.

The load balancer has a certificate configured on it (with both the www domain www.mysite.com and the wildcard subd ...

Score: 0
Eric avatar
Kubernetes pod dns requests
rw flag

So I've got a weird issue that I'm not sure how to solve:

Right now pods are reporting that they don't have internet. I've narrowed the issue down to a dns problem (cluster is on prem setup using kubespray which uses coredns). When I stand up a debug pod I get the following behavior:

  • When I send a DNS to request to www.google.com (dig www.google.com) the tcpdump logs for port 53 look like how I'd expec ...
Score: 0
123 avatar
Bacula - disc backup GFS-scheme "hole"
in flag
123

I have a question about implementing the GFS-scheme with bacula on a harddrive(the deamons already work fine).

What I want to accomplish:

Every half year i want a full-backup that should be accessable for at least 12months -> i need to keep the backups a little bit longer around than 12months that the second full backup doesn't overwrite the first one. That means there will be at least 3 full-backup ...

Score: 0
Lord Kryx avatar
FreeRADIUS - Can a username be altered?
kr flag

Is there a way to alter a username before it before FreeRADIUS proxy it?

Example, you have the username "abcuser@abc.com" coming to the FreeRADIUS server, the FreeRADIUS server changes the username to "123user@abc.com" and proxy it to the defined RADIUS server.

Score: 0
How to switch between multiple ip addresses
us flag

As an example, I have 2 IP addresses on my NIC:

enp0s3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc mq state UP group default qlen 1000
link/ether 02:00:17:06:ac:05 brd ff:ff:ff:ff:ff:ff
inet 10.0.0.25/24 brd 10.0.0.255 scope global enp0s3
   valid_lft forever preferred_lft forever
inet 192.XXX.1.25/24 brd 192.168.1.255 scope global enp0s3
   valid_lft forever preferred_lft forever
inet ...
Score: 1
AWS VPC CIDRs in both 10.0.0.0/8 and 192.168.0.0/16
za flag

I have VPC A with CIDR 10.A.0.0/16 and VPC B with CIDR 10.B.0.0/16. I have VPC A and B peered and updated the route tables and from a server in 10.B.0.0/16 can ping a server in 10.A.0.0/16 and vice versa.

The applications on VPC A also use some IPs in the 192.168.0.0/16 range. Not something I can easily change, but I need to be able to reach 192.168.0.0/16 on VPC A from VPC B. VPC A is used for  ...

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.