Latest Server related questions

Score: 2
Can nginx log to an arbitrary UDP socket?
cm flag
Tom

Is it possible to make nginx log its access logs to an arbitrary UDP socket, logging only the output of the log format?

The syslog facility comes close but seems to insist on adding a header with the timestamp, hostname and programname. I'm trying to log to a service that accepts a JSON-formatted payload. I've written an nginx log_format that produces a JSON document, but can't figure out how t ...

Score: 0
f.khantsis avatar
Application log file for ELB Tomcat environments changed
cn flag

Application logs used to be saved in catalina.out. Recently, I believe after updating to Amazon Linux 2, catalina.out only has Tomcat specific log entries, while my app logs are in /var/log/messages file together with kernel, systemd, etc.

Is there a way to separate app logs out of messages?

I know that I can use log4j2.xml settings to write messages to file and then add that file to elb log configur ...

Score: 0
How to send/broadcast ipv6-mac maping cache update request for IPv6 IP
cn flag

We can update IPv4 neighbors by using arping command. I have used arping -A -I -c <interface_name> <IP_address_of_interface> with success.

what is the command to update mapping of IPv6 address and mac on router/gateway/nodes. we have observed when IPv6 address is removed from one node N1(RHEL-7.9 Node) and assigned to other node N2(RHEL-7.9 Node), mac address on router(Extreme Networks VD ...

Score: 0
Rob avatar
Generic high availability abstraction for application possible?
in flag
Rob

I am currently examining the possibilities to make our existing server application highly available. The software handles messages that come via UDP resp. some higher level railway-specific protocols.

Is there a way (a framework or similar) to create an abstraction layer that takes care of redundancy and failover? I am thinking of something equivalent to a RAID controller with mirroring, but not  ...

Score: 0
Multiple Website Lampp Stack
mx flag

I currently have a Xampp on my local machine(ubuntu) for web developpment, this one is for study. Then I have, before the Xampp, a lampp stack with wordpress for work. After setting up Xampp my apache2/wordpress website stop working properly, giving me php pages without executing it.

I would like to know what is the best way to have 2 website on my computer? 1 with Wordpress and 1 with just my cu ...

Score: 0
How to stop annoying systemd log message: Starting Poll for Ubuntu Pro licenses
tl flag

How to stop this annoying message?

Nov 23 08:44:48 hostname systemd[1]: Started Poll for Ubuntu Pro licenses (Only enabled on GCP LTS non-pro).
Nov 23 08:47:48 hostname systemd[1]: Starting Poll for Ubuntu Pro licenses (Only enabled on GCP LTS non-pro)..

On Ubuntu 18.04.6 LTS

systemd current version is: systemd-237-3ubuntu10.52

Score: 1
Which version of the JDK should we install for Cassandra 4.0.1
ar flag

We are planning to upgrade our Cassandra servers from 3.0.11 to 4.0.1 Here it says to use JDK 8. I would like to know if as of this writing this is still the case. I believe the latest released Oracle version is JDK 17.

Score: 0
How to redirect my sub-domain to localhost:5000 in Https with Nginx?
us flag

I've a problem with my nginx :

I have to redirect all the http and https traffic when my users search "hermes.my-domain.com" to the 5000 port, on my nginx serveur, where my app is.

"hermes" is the name of my sub-domain.

So I do that :

server {

listen    80;
server_name    hermes.my-domain.com;

return 301 https://hermes.my-domain.com$request_uri;
} 

server {

listen    443;
ssl_certificate          ...
Score: 1
Fip avatar
User profile disks getting slower and slower causing crashes
jp flag
Fip

since this morning I'm encountering wacky problems on my terminal server. I use user profile disks and they are getting slower and slower the longer the user session is. After 30 minutes it is so slow that apps like outlook, explorer and others starting to crash ending with a complet frozen session. After killing the user session and starting a new session everything works fine again. This is also indep ...

Score: 0
Snip and Sketch disabling over GPO
bd flag

i need to block Snip and Sketch on my entire Domain, is there any chance to do that using GPO? Any suggestion would be helpful.

Thanks in advance.

Score: 0
arety_ avatar
PHP Maximum execution time exceeded - sign of attack?
jp flag

We were facing a very high CPU load on our web server today. Our application was freezing and not reaction. We could reduce the load by setting the maximum execution time from 180 to 90 seconds.

However, the log files are now full of the following error:

Maximum execution time of 90 seconds exceeded  {"exception":"[object] (Symfony\\Component\\ErrorHandler\\Error\\FatalError(code: 0):

And about ev ...

Score: 0
J.Doe avatar
Misconfigured Nginx?
es flag

When i browse to my wordpress website it will automatically redirect to https.

However, i am getting a large TTFB and i believe it may be due to a basic configuration error.

At the moment i have the following config, (HTTPS still somehow works which i don't understand)

server {
    listen 8080 ;
    listen [::]:8080 ;

    port_in_redirect off;
    absolute_redirect off;
...

If i make the followin ...

Score: 0
Finaria avatar
This site is missing a valid, trusted certificate || Apache2 webserver, Windows root CA
bh flag

I'm learning about certificates, HTTPS together and after 4 days I'm out of idea how to set up to become trusted. In my lab env. I have a Windows server with a CA role.

Previously I installed a VM-Dell OpenManage for my server. It has a graphical interface for requests and an import certificate for HTTPS access. I successfully generated a Certificate Signing Request and get a cert from my windows ...

Score: 0
Thomas P avatar
How to delete files in destination folder that are already present in source folder
br flag

I got two folders, a source S with files (and subfolders and so on):

  • a.txt
  • b.txt
  • c.txt
  • ...

and a destination folder D with files:

  • a.txt
  • b.txt
  • b1.txt
  • c.txt
  • c2.txt
  • ...

and I want to delete all files in D that are already present in S, so that D contains just files that are not present in S.

Any ideas, how I can achieve this with standard tools (rsync, robocopy, ...)?

P.S.: In real world S is abo ...

Score: 0
Joe avatar
How to fix "InvalidInput 400: Record name {} is not valid for hosted zone" on AWS?
in flag
Joe

I'm migrating a site currently hosted on github pages to AWS.

The site in question is on an aws instance, with an elastic ip of http://13.40.0.39/. The elastic IP does correctly show the site.

I want the domain www.whitewaterwriters.com to show the site. I created a hosted zone in root 53.

enter image description here

I changed the nameservers at my domain provider (qiq) and confirmed it later with whois: they have correct ...

Score: 10
How can I make Linux reboot instead of remounting the filesystem as read-only?
us flag

Linux systems sometimes remount the root file system as read-only, e.g. if there's an I/O error.

I have a machine that becomes useless when this happens, and I end up rebooting it manually.

Is there a way to make Linux just automatically reboot when this happens? A read-only mount is useless to me.

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.