Latest Server related questions

Score: 0
Eineki avatar
Mysql query string too long
za flag

I'm experiencing a strange mysql behaviour that occurs between two virtual machines.

When I have a query string longer than 1457 chars, the connection I'm using hangs.
I was thinking the problem was a query with a tons of result but then discovered that the query string is not important.

For example:

select * from users where uname = "abcdefffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff ...
Score: 0
King David avatar
kafka + File handle leak due a large number of pipe/eventpoll leak
gb flag

we have kafka cluster on linux rhel version - 7.6

we notice too many open files on kafka machines

but when we did lsof >/tmp/res_file

form file /tmp/res_file , we can see many lines as

java      172301 172722           kafka *770w     FIFO                0,9        0t0   303639156 pipe
java      172301 172722           kafka *771u  a_inode               0,10          0       11398 [eventpoll]
java  ...
Score: 0
Fez avatar
Redirect HTTPS to HTTP for Safari User-Agents only
cn flag
Fez

Yes, you read that right. I need HTTPS to HTTP for Safari only. Because all links referring to the site anywhere are HTTPS.

I have a website that has an SSL certificate, and normally we force redirect all traffic to HTTPS via .htaccess.

I've got a problem for Safari only, and would like to FORCE all HTTPS traffic to HTTP FOR the Safari user agent ONLY. At the end of the day I need to cater to the ...

Score: 0
ifcfg-br0 exists, but bridge is not created upon reboot
ro flag

OS - RedHat Enterprise Linux 8.5 (Ootpa) I have created the following file:

$ cat /etc/sysconfig/network-scripts/ifcfg-br0
DEVICE=br0
TYPE=Bridge
DELAY=0
STP=off
ONBOOT=yes
IPADDR=192.168.1.10
NETMASK=255.255.255.0
GATEWAY=192.168.1.1
BOOTPROTO=none
DEFROUTE=yes
NM_CONTROLLED=no

however on reboot the bridge is not created. Is it not the right way to create bridges on modern distros? What should be  ...

Score: 0
MrCalvin avatar
How to pass-through multiple USB devices with the same Vendor- and Device-ID in QEMu/Libvirt?
cn flag

I have three identical USB devices on my VM host that I would like to pass-through to a VM: enter image description here

I can pass-through only one device as they all have the same vendor- and device-ID, the element in the VM libvirt XML file look like this:

...
<hostdev mode='subsystem' type='usb' managed='yes'>
    <source>
        <vendor id='0x064f'/>
        <product id='0x03e9'/>
    </sourc ...
Score: -1
arno77 avatar
OpenDKIM - can't load key
cn flag

Hi I am trying to setup OpenDKIM, but it keeps complaining it cannot access the keyfile. I have double checked permissions and ownership, which is set to user opendkim & group opendkim with rw access. I have disabled selinux to rule out an selinux issue. I have reinstalled the package many times. Don't know where to look! Any ideas?

Error message: ''' opendkim[691895]: can't load key from /et ...

Score: 0
QF0 avatar
Strategies for detecting daemon memory leaks
gu flag
QF0

I have a system which sends an email to a user twice a day, confirming that a specific daemon is still running and doing something. This has historically run for over a year without a restart, but the code has now changed, and I need to confirm that it's not leaking memory (minimally, without profiling/etc).

The user isn't technical, and I don't want to supply too much information, because it wil ...

Score: 0
Samuel Arogbonlo avatar
How to solve spam email receiving issues on gmail?
vn flag

In my google workspace account, we have a recent issue with receiving emails. Some of our external emails are coming into the spam folder.

I have no idea what might cause this and would like some professional advice on how to sort this out? Thanks a million!

Score: 1
Jonas avatar
Use internal network for the Kubernetes cluster
ca flag

All nodes have two network interfaces for internal and external networks. I need to set up a self-managed Kubernetes cluster that is using only the internal network except NodePorts must be open also on the external network.

This config is used with the kubeadm init:

apiVersion: kubeadm.k8s.io/v1beta2
kind: InitConfiguration
bootstrapTokens:
localAPIEndpoint:
  advertiseAddress: "10.x.x.x"

Starting kub ...

Score: 0
Synology SHR Volume - Migrate from 3 disks (RAID5-ish) volume into 2 new disks (RAID1-ish)
cn flag

What I have: 3 x 6TB SHR Volume with 12 TB redundant storage (1 disk recently broken)

What I want: 2 x 18TB SHR volume with 18 TB redundant storage (I'll expand the volume after the migration)

Of course, I want to migrate everything, to avoid any additional work and downtime.

Details:

Today my Synology DS1515+ started beeping and one of the 6TB disks were dead. It's running a 12 TB SHR volume with BRT ...

Score: 1
Postfix still uses port 25 despite configuration saying port 587
cn flag

I have a postfix server that is a relay for the main mail server.

That main mail server is to be used with the 587 port when i do a telnet on it it works just fine :

telnet 10.10.10.10 587
    Trying 10.10.10.10...
    Connected to 10.10.10.10
    Escape character is '^]'.
    220 front1 SMTP Server (Flowmailer SMTP Service) ready

Here is how i declared it in my /etc/postfix/main.cf :

relayhost = ...
Score: 0
inzig0 avatar
WireGuard traffic not making it through tunnel
ma flag

I have a server(10.42.0.1) and a client(10.42.0.2), both with wg. I've configured both using the wg command in a way that they should be able to talk to each other.

client wg:

interface: wg0
  public key: abc123=
  private key: (hidden)
  listening port: 51820

peer: xyz987=
  endpoint: 15.14.13.12:51820
  allowed ips: 10.42.0.0/24
  transfer: 0 B received, 7.37 KiB sent

server wg:

interface: wg0
 ...
Score: 0
Codemonkey avatar
What does `mdadm --manage /dev/md1` do? Do I need to "undo" it?
ml flag

I ran this hoping to find out a bit about my array (I now know I should have used --detail). But I'm not clear what the --manage option does. It gave no output, and just put me back to the bash prompt.

Do I need to run some command to undo whatever that did?

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.