Latest Server related questions

Score: 0
Apache2 Reverse Proxy messes up CSS
vn flag

I have a problem that when I use an SSL reverse proxy from site1 to site2, it works quite well except for the peculiar fact that all images are of the incorrect height. Everything else seems to be in order, only image height is affected.

Here's how my ReverseProxy is set up:

<IfModule mod_ssl.c>
<VirtualHost *:443>
    ServerName site2.com
    ServerAlias www.site2.com

    SSLProxyEngine  ...
Score: 1
Sara June avatar
Ansible playbook not running for localhost also, how to fix this?
cn flag

I am running ansible on centos machine

[ansadmin@ansible docker]$ ls
Dockerfile  hosts  simple-devops-image.yml  webapp.war
[ansadmin@ansible docker]$ cat hosts
localhost

simple-devops-image.yml

---
- hosts: all
  become: true

  tasks:
  - name: stop current running container
    command: docker stop simple-devops-container
    ignore_errors: yes

  - name: remove stopped container
    command:  ...
Score: 0
Christopher Marlowe avatar
ERR_SSL_VERSION_OR_CIPHER_MISMATCH with signed certificate in Tomcat 8.5
in flag

I have a tomcat server for which I needed a signed certificate. I generated a key using

openssl req -new -newkey rsa:2048 -nodes -out sample_bfc_org.csr -keyout sample_bfc_org.key -subj "/C=BD/ST=Dhaka/L=Dhaka/O=Bangladesh Finance Corporatiobn/OU=IT/CN=sample.bfc.org" 

and then generated a CSR and sent it to my company admin.

They gave me back a CER file with the signed certificate and certificate chain. ...

Score: 0
Mohaddesse Aghasizade avatar
in drbd 9 cant parse node-id or connection
cn flag

according to https://linbit.com/drbd-user-guide/drbd-guide-9_0-en/ and http://manpages.ubuntu.com/manpages/bionic/man5/drbd.conf-9.0.5.html I'd configured my drbd config . my config:

resource c_ssd1_drbd1 {

    device  /dev/drbd1;
    disk    /dev/pool_ssd_1/bd1;
    meta-disk internal;


    on NODE-1 {
            address 172.*.*.120:7701;
            node-id 0;
    }
    on NODE-2 {
            addr ...
Score: 0
Jr M avatar
No Bonjour even on successful OpenVPN TAP connection
us flag

I have a wireless printer/scanner on a remote network that is accessible via OpenVPN server in eth-bridge mode running on Ubuntu 20.04 host (in the same remote network as the scanner of course). IP printing is fine and working, its the scanner service I need using tools on client machine(s), in this case OSX 10.15.7 via tunnelblick, thus why i have set up an ethernet-bridge on server.

Despite fol ...

Score: 1
Running Vagrant VM on Ubuntu 20.04 VM on VirtualBox on Windows 11 Host Machine, Need SSH access to vagrant from windows 11
cn flag

I am doing a computer vision project, and I have Vagrant VM on Ubuntu 20.04 VM on VirtualBox on Windows 11 Host Machine. I'd like to use the Windows 11 host machine for the CV since it needs a lot of processing power, and communicate with a python app in vagrant currently running using SSH, since it's not a very resource intensive app.

I have a port forwarded (8000 -> 8000) in virtual box to a ...

Score: 0
JJ Ryan avatar
ERROR: NotSupportedError - The EB CLI cannot find your SSH key file for keyname
in flag

Trying to deploy an app on AWS and this is only one of the hurdles I've had to deal with. I am trying to connect to an Elastic Beanstalk instance and when I attempt to connect with the awsebcli tool I get this error:

ERROR: NotSupportedError - The EB CLI cannot find your SSH key file for keyname "HFA". Your SSH key file must be located in the .ssh folder in your home directory.

I do not have this ke ...

Score: 0
HINT on 127: "Command not found" fail2ban
ng flag

I have a problem with Fail2ban. In the log I have this:

2021-12-05 00:49:23,968 fail2ban.utils          [979765]: ERROR   7f9a6df8cdf0 -- stderr: '/bin/sh: 1: iptables: not found'
2021-12-05 00:49:23,968 fail2ban.utils          [979765]: ERROR   7f9a6df8cdf0 -- stderr: '/bin/sh: 2: iptables: not found'
2021-12-05 00:49:23,968 fail2ban.utils          [979765]: ERROR   7f9a6df8cdf0 -- stderr: '/bin/s ...
Score: 0
ogbofjnr avatar
How to redirect traffic from squid to vpn?
cn flag

I have a windows machine with a squid server and VPN client connection(which is not the default gateway)

What I want is to redirect some traffic from squid to my default ethernet connection and some to VPN.

Ethernet adapter Ethernet:

   Connection-specific DNS Suffix  . :
   IPv4 Address. . . . . . . . . . . : 192.168.100.11
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . .  ...
Score: 0
Laszlo Malina avatar
Intel S2600JF server: Processor PCIe Link Speed menu in the BIOS is missing
it flag

i have a Intel 4 node server with S2600 JF motherboard per node (older, DDR3 RAM, E5-2600 v1 and v2). I want to insert a NVMe pcie card (with two drives) that requires bifurcation.

Based on the description of the motherboard, there is a menu item in the BIOS for this (Advanced - PCI Configuration - Processor PCIe Link Speed), but I did not find this. I updated the BIOS but still can't see, the me ...

Score: 0
Tom Atix avatar
Debian 10 cannot trigger crash to test kdump
cn flag

I have set up kdump to debug an issue, and now I am trying to test it, because the issue I am trying to debug does not create a file in /var/crash. However, the test also does not work.

I am executing these commands as root:

echo "1" > /proc/sys/kernel/sysrq
echo c > /proc/sysrq-trigger

No crash is triggered. The system (all screens) just freezes without any terminal output.

kdump configuration:

Score: 0
uday kiran avatar
How to retrieve private key information when we are creating azure vm from terraform?
uz flag

I have created a linux centos machine on azure cloud using terraform.

I tried to see the content of private key so I can connect later using output variable.

But, I got error as I need to set it as sensitive and I did the same and the outputs is shown as below.

Apply complete! Resources: 15 added, 0 changed, 0 destroyed.

Outputs:

tls_private_key = <sensitive>

How to get the private key content the ...

Score: 0
How can one recover/write a label (clone existing one)?
ng flag
cfi

ZFS stores 4 labels, 2 at the beginning of a device, 2 at the end. When they are corrupted a pool cannot be mounted.

I had a case of 3 broken labels (failed to unpack), but 1 was still intact. I could list it with zdb -lu just fine.

zpool import -d /dev/sda failed. Using -f, and/or -F, and/or -D failed.

cannot import '/dev/sda': no such pool available

Is there any way I could copy the label #2 to th ...

Score: 0
how to allow packets for WS-Discovery?
cn flag

I have a linux machine with ufw firewall, a program runs WS-Discovery that works as intended when ufw is disabled but fails to return anything when it is enabled, what I tried without success:

_ Enabling outgoing traffic sudo ufw default allow outgoing

_ Allowing both 3702/udp and 1900/udp

What am I missing here?

Score: 0
Deploying Ceph with RGW Ingress uses [::]:Port instead of virtual ip
br flag

I'm deploying regular Ceph Pacific using cephadm, including RGW. Now I want to use the ingress-service, which includes specifying a virtual ip - so far so good.

Unfortunately this service now creates a haproxy.cfg-file with a binding to "*:80" (used port 80 for regular HTTP access), though I configured virtual ip 10.90.90.2.

As there will be several IPs with several services binding to port 80 I'm n ...

Score: 0
MD Nasirul Islam avatar
Run Github actions workflow ec2 auto scaled servers
ru flag

Our application is hosted on AWS EC2, we add code updates & fix bugs every few weeks. Our code is on github and github actions does the deployment with automated & manual workflows. We have a good traffic so we have already added 5 servers with load balancer pointing to them. We want to apply auto scaling on our applications server, so that there would be no constant number of servers instead ...

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.