Latest Server related questions

Score: 1
gallo2000sv avatar
MySql 8 crashing on loop without specific errors and with enough memory
cn flag

I'm running Ubuntu 20.04.03 with Mysql 8.0.27. I have reinstalled LAMP from scratch several times and at the moment I only have 3 WordPress sites but I have tested only 1 and only 2 sites as well. Increased the RAM to 2GB and 3GB Swap.

Nothing seems to work because Mysql 8.0.27 keeps crashing causing a database connection problem in every site every night even when this are totally new sites with ...

Score: 0
crisnaxtha avatar
Failed to Import MySql database from phpMyAdmin as well as Command line
us flag

Well, I have tried to import small size database, it works. However, when I am about import a large database it shows the following error from phpMyadmin.


Static analysis:

1 errors were found during analysis.

    Missing expression. (near "ON" at position 25)

SQL query: Edit Edit

SET FOREIGN_KEY_CHECKS = ON;

MySQL said: Documentation
#2006 - MySQL server has gone away

enter image description here

Score: 0
Shyngys Meirman avatar
What is an alternative of "virtio26" os-variant for Flatcar Linux installation on kvm-qemu using virt-install
in flag

Greeting to all!

Details: The official tutorial for Flatcar kvm-qemu installation suggests to use "virtio26" os-variant. But in Ubuntu LTS 20.04 "osinfo-query os" doesn't show such variant in the list of available variants. Anyways, according to the suffix "virtio26" is for virtio enabled distrs with kernel-2.6. Whereas latest versions of Flatcar Linux have kernel versions 5.+

Question #1: What is a ...

Score: 0
vinz avatar
BIND and RD flag, why does it bypass RPZ?
gd flag

Im running BIND for testing, and here is a part my RPZ:

example.com         IN CNAME .          ; local block against example.com
*.example.com           IN CNAME .          ; local block against example.com

When I query example.com it is blocked successfully:

dig @127.0.0.1 example.com

;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 28108
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHO ...
Score: 0
Nimitz14 avatar
Cannot interact with directory, how to remove it
br flag

I have a directory with a lot of files that I want to remove but I cannot interact with it.

The size of the folder is 29M. rm -rf ran overnight without it seems doing anything.

find . -type f -print | head -n 1 doesn't print anything, I can see in htop that it doesn't actually run but is in state D. Same with find . -type f -delete.

Could it be corrupted or something like that? How can I check for th ...

Score: 0
Manou Allou avatar
Softfail on forwarded emails sent through Yahoo mail - Is there a fix?
za flag

happy to be here.

Excuse me for the wall of text but I am trying to help a friend who wants to keep on using his Yahoo mail for sending emails from his business email address.

His mail server is on cPanel with shared IP address 212.16.186.119 and we are basically forwarding all incoming email from his domain to his personal Yahoo email account. We then set up a "Send mail as" address inside Yahoo ma ...

Score: 0
How to create failregex to block imap-logins fail2ban
cn flag

Could someone help me with creating correct fail2ban filter. Bad ip addresses knocking port 993 /etc/fail2ban/filter.d/dovecot.conf doesn't catch such log

I found something like this, but i get errors with this

[Definition]

failregex = ^%(__prefix_line)s(pop3|imap)-login: (Info: )?(Aborted login|Disconnected)(: Inactivity)? \(((no auth attempts|auth failed, \d+ attempts)( in \d+ secs)?|tried to $
Score: 1
Freeman di avatar
Ubuntu 20.04 cron jobs doesn't work when a specific time was added
in flag

I had a strange behavior in Ubuntu 20.04 cron job:

* * * * * echo "Hello world!" >> /tmp/hello.log 2>&1    <---working with logs
5 10 * * * echo "Hello world!" >> /tmp/hello.log 2>&1   <---doesn't working, no logs.

My another debian 11 are working fine with both time-set above.

The time/timezone, privilege are all good, any ideas?

Score: 0
How to access aks service from same vnet?
kr flag

I have created an aks cluster and deployed an application there and exposed it as a service.

Can be accessible through LoadBalancer.

To access it internally, I created a windows VM in the same vnet (different subnet) of aks cluster and tried to access the application using cluster IP, but can't access it.

Any suggestions?

Because I got the similar issue with application gateway also, so tried this VM now  ...

Score: 0
Postfix owner mail loop 'owner-owner-owner-owner-owner-owner-owner...'
cn flag

Our postfix logs are being filled with messages that appear to be stuck in the mail queue.

I believe this may have been caused by a recent DNS outage. The offending mail was originally intended for node@hostname but postfix was unable to resolve its own domain.

However, what I don't understand is why the messages have been prefixed with owner-owner-owner-owner-owner-. This is repeated hundreds of times  ...

Score: 0
danidar avatar
systemd ExecStartPost is executed too fast
fo flag

We have a unit file which:

uses ExecStartPre which generates a config file ExecStart uses the config file to start a service ExecStartPost which deletes the file created by ExecStartPre. (the file has hardcoded passwords and we do not want to keep it on disk. so it must only exist while the service is being started or restarted.

If the service is started successfully it should delete the config fi ...

Score: 1
Extracting TCP application data from pcap file
us flag

Given a .pcap (or similar) file, I'd like to select one TCP connection and dump both application data streams (the one from the other peer and the one two the other peer) into two separate files on disk.

Let's assume that I have a .pcap file that amongst other things I know contains a full TCP stream (from SYN to final FIN+ACK/RST) of a HTTP/1.1 plaintext connection. I would like to have two resulting ...

Score: 1
Ari 'APz' Sovijärvi avatar
Unable to grow Windows 2019 C: system partition
ie flag

I have a software vendor supplied 2019 Server virtual, with a very simple one partition setup. Unlike many of similar questions I've come across while searching, this one does not have recovery partition at the end. I grew the disk in VMWare by 100GiB, but Disk Management refuses to grow the C: -partition into the newly added space.

I have not previously encountered a situation where free adjacen ...

Score: 0
FirewallD block some IPs and allow all the rest
at flag

I'm new in firewallcmd managment, so probably I'm asking a simple question. What I have to do is allow all incoming connections except for some IPs.

To block IPs I used the "block" zone:

firewall-cmd --zone=block --add-source=5.13.70.0/24
firewall-cmd --zone=block --add-source=192.168.10.2

This is working perfect on all interfaces, but what I have to do now is allow ALL incoming/outgoing traffic from/to  ...

Score: 0
harveyAJ avatar
Duplicated UDP packets sent
in flag

We have a few applications that we develop in my company that talk to some hardware via UDP. Recently, we started having issues using these applications on some of our machines (hardware basically refusing the connection with the client).

After investigation, we noticed that duplicated UDP packets are being sent out.

As an example, this is a UDP datagram sent on a healthy machine (using WireShark):  ...

Score: 0
Tom avatar
Limit quota for emails received by sender in Exim
bf flag
Tom

I'm using Exim to receive emails via the internet, it happens that some external systems end up sending about 3K emails in an hour to a specific recipient.

Is it possible to configure Exim to display an error message to the sender when he exceeds a limit of emails sent in a time interval?

For example, if he has sent more than 500 emails in less than an hour, the server rejects that sender for 24 hou ...

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.