Latest Server related questions

Score: 0
How to analyse a core dump from a different machine?
de flag
Eva

I'm new to analysing core dumps. I find myself with the vmcore file from different machines but when trying to run the crash command it complains the system is running a different version of kernel. How to analyse core dumps on a different server? Thanks.

Score: 0
Ben avatar
How can I log all IPs and hostnames a linux system is trying to connect to?
cn flag
Ben

Hello I would like to log all IPs and host names a linux system is trying to connect to on the linux system directly. Is this possible?

Score: 1
podman container fails to start: mkdir journal dir permission denied
sc flag

I had some containers running smoothly in Centos 8.2 with podman. After upgrading to Centos 8.5, I found several of the containers failing to run. In the command line, I see this:

$ podman run --name=digikam-test lscr.io/linuxserver/digikam
Error: OCI runtime error: container_linux.go:380: starting container process caused: process_linux.go:545: container init caused: Running hook #0:: error runnin ...
Score: 0
How to get private Elastic-Beanstalk Environment DNS Endpoint?
ru flag

My setup is the following: i have a VPC consisting of 3 subnets: public, private with NAT and isolated. I have an elastic beanstalk (single instance) environment running in the private subnet with Nat and it works.

What i want to achieve: have a private hosted zone with a record pointing to my private EB env.

What i'm struggling with: the environment DNS of my EB env points to its public ip (which is  ...

Score: 1
Ronaldo avatar
How can I see the memory content of nginx process?
br flag

Nginx 1.20.1 server working as a reverse proxy consuming a lot o memory and making the service stop requiring a system reboot. ModSecurity library is also configured on Nginx.

You can see in the next graph that the number of established connections keep constant around 200 while the second graph shows memory continually increasing until it reaches 100%.

Resource consumption by Nginx

When I filter the output of the top comman ...

Score: 1
Steven Lu avatar
How can I make my cronjob friendly to reboot and other interruptions?
pr flag

I have as part of my cronjob a variable random delay. This has good reasons to exist, it's to distribute the load of the automated process from spiking on various minute or hour boundaries.

I suspect (but am not certain) that sometimes when I reboot the machine, systemd hangs uncomfortably for a variable length of time "waiting for anacron jobs". This does not happen often enough to be worth deep ...

Score: 0
Chris avatar
How can I diagnose an AWS EC2 instance that is failing to start from a snapshot?
in flag

I run a simple Ubuntu 18 / Postgresql / Django server on an EC2 instance. It worked flawlessly for 21 months, then suddenly stopped on 26th December at around 6:30am GMT. From the status checks, the host is fine but the container cannot be reached.

The only error in the logs revealed by instance -> Monitor and Troubleshoot -> Get System Log is Failed to start Service for snap ap…amazon-ss ...

Score: 0
Abdullah Taşcı avatar
Can't Install VSFTPD on CentOS 7 - "No package vsftpd available"
jo flag

Hi i want to install VSFTPD on my CentOS 7 server but it could not find the package and says "No package vsftpd available". Do i need to add another repo or do you know how to figure out this problem? Thanks in advance.

Score: 2
Postfix sasl_password file and MX resolution
eg flag

Thanks to @AlexD idea, we'll implement the following transport table in order to simulate a IP failover using the DNS MX resolution (postfix 3.3)

Relay for 2 domains, exemple[12].com

exemple1.com   relay:mx.myhost.com:587
exemple2.com   relay:mx.myhost.com:587

In DNS

A    ip1.myhost.com      1.2.3.4
A    ip2.myhost.com      11.12.13.14

MX   mx.myhost.com   10  ip1.myhost.com
MX   mx.myhost.com   50  ip ...
Score: 0
Widget data in centreon is not coming due to accidental file deletion
gl flag

I am on Centreon 2.8.22, I was playing with a certain widget and I accidentally extracted all the files of that widget in the widget folder. So then I was deleting all the files which was extracted here and I think I have accidentally deleted a main configuration file in this folder (not sure which file is that, maybe its require.php or something else.

Now the thing is, how do I get my widget to  ...

Score: 0
Sara June avatar
How to send notifications to teams using azure devops pipeline?
cn flag

I saw there is a teams app for azure pipelines and while adding that it is asking for complete pipeline access to the group we add to.

Instead of using this, I just want to send notification to a teams group or individual users that build is successful or failed.

Can anyone please guide how to do that.

May be any pipeline step at the end also feasible.

Score: 0
Sara June avatar
Unable to create pipeline even having write permissions on github,how to fix that?
cn flag

I have write permissions to the repository, and I can create branches, create pull requests and even merge them also. But, when creating pipeline on azure, I get this error:

pipeline adding error

What I need to add more in settings of github or azure to fix this?

Score: 1
aag avatar
exporting the DHCP and DNS configuration of a Windows2022 server
br flag
aag

Is there a way of exporting the complete DHCP and DNS configuration of a Windows2022 server, such that it can be migrated painlessly and installed 1:1 onto another server? I mean, not only Zones, A-records etc., but also forwarders, root hints, the whole big enchilada.

Score: 1
Dark Corner avatar
Tips for managing safe and insecure PC mixes
cn flag

There are two buildings connected by an optical fiber, each with 3-10 PCs but in a mix of PCs used in a business context and some in homes. Unfortunately, when the network was designed years ago, no one took steps to keep the two environments separate.

Building A
There are servers, printers, work PCs, guest PCs, personal smartphones.
Here is also the only Internet connection used by both buildings.
 ...

Score: 0
Postfix transport map with failover entries?
eg flag

Postfix relays a few domains to a fixed IP address, or its failover address.

1.2.3.4 and 11.12.13.14 (failover)

These two IP addresses are where the relay should occur.

Currently, transport_map

exemple1.com   relay:[1.2.3.4]:587
exemple2.com   relay:[1.2.3.4]:587

Is there a way, in case [1.2.3.4] times out, to use the failover automatically, like

exemple1.com   relay:[1.2.3.4]:587
exemple2.com   r ...
Score: 0
Abe avatar
Private file storage area settings in Drupal 9.3 ($settings['file_private_path'] =)
de flag
Abe

I use Drupal 9.3 and I have created a private folder outside the root directory. I followed the documentation [link] and added the following line in my settings.php file in drupal:

$settings['file_private_path'] = '../private';

The private file exists outside of my web root directory as follows: /var/www/example.com/private with web root in/var/www/example.com/html.

I am using nginx and I want t ...

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.