Latest Server related questions

Score: 0
youss avatar
How do you set up MySQL master-master replication for my digitalocean host and my laragon localhost?
us flag

I created a Laravel web application on my computer using Laragon, then hosted it on Digital Ocean and it works fine. Now, I am supposed to implement a Mysql master-to-master replication for my "digitalocean" database, and my second master, I want it to be on my local computer. My question is: can i configure it using laragon terminal or do i have to install ubuntu on my windows using a virtual machine?  ...

Score: 0
tls negotiation failed the certificate doesn't match the host
ru flag

I'm tryin to setup Gmail send-as to send email via my SMTP server over TLS and I get "tls negotiation failed the certificate doesn't match the host" ever since I renewed my lets encrypt cert.

Background: I have a server with a dedicated IP sharing a few domain names. I'm using virutalmin/webmin. I had issues on renewal so I ran certbot manually verifying via TXT records. I created certs with  ...

Score: 0
DJ B avatar
UPDATES not working on LINUX Maschine after changing iptables
xk flag

I am currently programming a web server. I have an FTP and an HTTP server running on that. Of course I am configuring iptables to optimize the Maschine, currently, I have the following rules.

iptables -P INPUT DROP
iptables -P FORWARD DROP
sudo iptables -A INPUT -m state –state ESTABLISHED,RELATED -j ACCEPT
sudo iptables -A INPUT -p tcp –dport 22 -j ACCEPT 
sudo iptables -A INPUT -p tcp –dpor ...
Score: 0
Problems with WDS on different subnets
cn flag

I'm setting up a WDS (Windows Deployment Service), the WDS server is in a different subnet than the clients that need PXE.
These subnets are connected through a VPN tunnel. Routers are pfsense.
But on the clients' router, I don't know what settings I'm going to put for PXE to work.
I've tried going to several forums, tried several different settings and none of them seem to work.

Below are images of the  ...

Score: 0
RewriteMap not working as expected
cn flag
Sam

I am trying to block access to certain url :

https://example.com/questions/topic

I have a blacklist.txt file that contains the following :

questions/topic deny

and then I have the following in the configuration :

 RewriteMap access txt:path_to_blacklist.txt
 RewriteCond ${access:%{REQUEST_URI}} deny [NC]
 RewriteRule .* - [F,L]

but I found that I still can open https://example.com/questions/topic ...

Score: 0
Pagespeed cannot always access page (FAILED_DOCUMENT_REQUEST), SSL certification error?
in flag

I found that Google cannot access my page (this is a follow up of https://webmasters.stackexchange.com/questions/137407/page-cannot-be-crawled-by-google-at-all)

Now I am thinking it might be a server configuration error.

I am using Letsencrypt certbot and the cloudflare-dns plugin to obtain a wildcard certificate. The page can be accessed just fine in Google Chrome and Firefox, but for example PageSpeed I ...

Score: 0
Alexis avatar
Why doesn't Wireguard prevent the same client from using the same config file?
in flag

My question is regarding a blog post: https://www.procustodibus.com/blog/2021/01/same-key-multiple-peers/

My case is a bit different, it isn't a wireguard server admin problem. I'd like to restrict what we can't control: the user.

What if the client uses the same client configuration file with a phone and a desktop simultaneously? Security wise it shouldn't be a problem.

  • Why doesn't wireguard have a p ...
Score: 0
dzierzak avatar
How to trigger k8s Job from different application?
de flag

I will briefly describe my application workflow: I have one application (cronjob), this application read my database and I want to, based on the output from database, run a few jobs in Kubernetes. Sometimes 1 job, sometimes 10 jobs, it depends. Additionally, I would like to pass some env's to this job.

Moreover, I run my Kubernetes Cluster on GCP (Autopilot) so I don't want to have any pod runnin ...

Score: 0
ButtonupD avatar
Connect 2 LANS together
jp flag

I am a complete beginner in networking. My set up includes a 2960 cisco switch, and 2 TL-MR3420 routers. RouterA is configured with 192.168.1.0/26 network. RouterB uses 192.168.2.0/26 network. My switch is a layer 2 switch. However, through lanbase *protocol?, it supports IP routing. I have VlanA which is configured with an IP Addr of .1.100, from RouterA. VlanB accesses RouterB has an IP Addr of .2.200 ...

Score: 0
Mario avatar
Can we use make tar multi-threaded without any sort of compression
us flag

I have to backup 500GB using the traditional tar -cvf command (without any compressions) However tar is adding each file one by one and this way it's taking a very long time

Is there any way to make tar multi threaded (like it can add multiple files to the tar archive at once)

Score: 0
winter avatar
Terraform: "S3:path_to_terraform.tfstate": x509: cannot validate certificate for because it doesn't contain any IP SANs
in flag

I'm using s3 to save my state. since this is a custom S3 (and not AWS) I configured it as shown below (using IP + Port).

when running terraform init I received this error:

Successfully configured the backend "s3"! Terraform will automatically use this backend unless the backend configuration changes. Error refreshing state: RequestError: send request failed caused by: Get "https://custom_S3_serve ...

Score: 0
theking2 avatar
MikroTik hAP ac how to WPS
in flag

I've activated push-button-virtual-only according to the manual. In the iterface I click WPS Accept but nothing happens. The hAP ac also has a hardware button but when I press that one the router just reboots.

How do I get WPS working ?

Score: 0
musbur avatar
Why is the clock out of sync on this VMWare Linux guest?
us flag

recently I noticed that the clock on this RHEL system running on a VMWare guest has gone seriously out of sync (uptime is about half a year):

$ timedatectl
      Local time: Sun 2021-11-07 09:54:12 CET
  Universal time: Sun 2021-11-07 08:54:12 UTC
        RTC time: Sun 2021-11-07 08:59:27
       Time zone: Europe/Berlin (CET, +0100)
     NTP enabled: no
 NTP synchronized: no
 RTC in local TZ: no
   ...
Score: 0
Paulius Grigelis avatar
cloud scheduler does not start for an hour on 'Daylight Saving Time Ended' event, when US rolls back clocks for 1 hour
ph flag

So, we have an issue that we have some active schedulers that run every 4mins or so. And they get stuck for an hour or even more when US rolls back clocks for 1 hour. This happened a 3rd year in a row. There is no code that i need to provide. Running manually returned success. Frequency: */4 * * * * (America/Los_Angeles)

Score: 0
SF.express avatar
What can I do with a custom TCP/IP stack in ESXi?
us flag

With custom TCP/IP stack, you get following benefits:

  • Separate Memory Heap.
  • Personalized ARP Table.
  • Personalized Routing Table which helps avoiding routing table conflicts that might appear when many features are using a common TCP/IP stack.
  • Isolate traffic to improve network security.

Playing with the custom TCP/IP stacks and wanted to find out how I can benefit from it but all I can do with ...

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.