Latest Server related questions

Score: 0
Ror avatar
Monit restart process behavior
om flag
Ror

Monit's documentation states the following for the restart action :

RESTART restarts the service and send an alert. Restart is performed by calling the service's registered restart method or by first calling the stop method followed by the start method if restart is not set.

I'm monitoring some processes and I recently found out that the stop method is not called even though the restart method is not s ...

Score: -1
ACoelho avatar
Using a standalone licence for SOLIDWORKS is not supported on this virtual environment. You must use a SolidNetwork License (SNL)
in flag

I'm using Linux Mint 20.1, kernel 5.4.0 on a Ryzen 5600x with 16gb of ram.

Using VitualBox 6.1 and trying to install SolidWorks 2021 and found the message in the title when adding my license and not being able to proceed.

Score: 1
nginx local reverse proxy with firewalld
sa flag

I am running a service on a docker container. The service is exposed on a given port (eg. 12345).

On top of it I added a nginx reverse proxy to get extra functionality like HTTPS and HTTP/2.

nginx configuration is the following:

worker_processes auto;

http {
    sendfile        on;

    gzip  on;

    server {
        listen 443 ssl http2;
        listen [::]:443 ssl ipv6only=on http2;
        
         ...
Score: 0
How to disable inbound only SSH connections via Group Policy?
ca flag

I need to disable SSH inbound only connections on some machines running Windows 10. As of now, I've only found out how to disable SSH altogether but these machines still need to be able to SSH into other machines. I need to apply this through Group Policy.

Any advice?

Score: 0
Elasticsearch on docker fills up the disk quickly with no apparent reason
pr flag

For quite a few months everything was working fine and this problem didn't exists. After a crash loop in one of the containers which started producing a lot of logs the server got full. That problem got solved but now when I run my docker stack including elasticsearch, after a few hours the disk starts to fill 100%, it goes from 20GB usage to 75GB (100%) in a matter of minutes.

It cannot be the o ...

Score: 2
tcpdump filtering out specific ips and specific ports with that ip
us flag

I want to filter out several specific ips and ports with tcpdump.

example 192.168.1.100 port 1111
        192.168.1.101 port 3333

I know tcpdump -i ens192 not dst host 192.168.1.100 and dst port 1111 work for the one ip. tcpdump -i ens192 not dst host 192.168.1.100 or 192.168.1.101 and dst port port 1111 or 3333 looks for any combination. But how you do specify .100 only filtering out 1111 and . ...

Score: 18
What can cause network packets consisting of PUU?
us flag

We have a system which is suffering from comms outages on a gigabit ethernet network. The traffic load on the network is such as to slightly stress a 100Mb network, but there are gigabit switches and NICs and cables throughout - or so I am told by the customer who built the network we are plugging into.

We plugged in a laptop running Wireshark via a 100baseT hub and found that it reported lots of ...

Score: 1
vrms avatar
pg_hba.conf - psql local login without password
de flag

I have these settings in my pg_hba.conf for a PostgreSQL-12.6 installation

# "local" is for Unix domain socket connections only
local   all             all                                     md5
local   all             postgres                                trust   # ident
# IPv4 local connections:
host    all             all             127.0.0.1/32            trust   # md5
# IPv6 local connections:
ho ...
Score: 0
Sergi avatar
Disk errors on SDS
ci flag

My database (mysql) server, wich is a VPS, is experimenting disk errors every couple of days. It automatically mounts /dev/sda2 in read-only mode.

I have to connect vía ssh and run fsck /dev/sda2 to correct the errors and then reboot.

The errors that apper are like this:

Inodes that were part of a corrupted orphan linked list found.

Deleted inode 788641 has zero dtime.

Block bitmap differences:  -3 ...
Score: 1
Gabin Legrand avatar
Unable to make two docker containers communicate
us flag

I am trying to make two containers communicates on a server like it is working on my machine.

The thing is that they are not able to communicate (trying to ping container B from container A)

I first created a Dockerfile which is using a python image. Note that I am using --network=host option to build this container (without I am not able to get packages on internet)

Next, I have a docker-compose ...

Score: 0
ghaida  avatar
supermicro server - long time for reboot
ru flag

Dears,

I trying to reboot supermicro server first time, and it takes long time more than 30 min and not finish yet.

ram was 16G 2400T and change it to 32G 2133T

is there any advice?

Score: 0
Add some text to curl's user agent string? (i.e. curl with a UA that includes curl's default UA & my text)
bg flag

I am writing a shell script which uses curl(1) to download files. By default curl will set a HTTP User-Agent (UA) to something like curl/7.74.0. I want to be a good internet citizen and set the UA to say what my script is. Since the software that is making HTTP requests is still curl, I would like this user agent to also include the default curl UA.

I can replace User-Agent with -A, but is it possible ...

Score: 0
Cannot SSH into AWS E3 AMI (Ubuntu 18.04) after ubuntu-desktop installed
th flag

I am trying to build a standard desktop AMI image on AWS that I can launch on a new EC2 instance when I need it.

The issue I am experiencing is that when I make an AMI from a perfectly working instance and I launch a new instance with it - it fails on the instance status check. The new instance is unreachable and doesn't respond at all to ping or ssh.

AWS Console Screenshot

I've managed to distil the issue right down to insta ...

Score: 3
netstat reports UDP ports with no owning process
cn flag

When I run netstat -avp udp I get a slowly growing number of ports. It grows about 100 an hour but the rate varies considerably.

When I close the process, the ports do not disappear from the list. Similarly when I kill the process. Restarting the machine obviously resets the list but it just grows again. I have multiple machines showing the same symptom.

The majority of the ports listed are assoc ...

Score: 0
Patrick Schulz avatar
Connect remote machines via SSH to command prompt
vg flag

I created an SSH connection between my machines, and then i set on one of them a PowerShell command telling windows to provide the PowerShell console when a distant machine connects to the current via SSH and that automatically and by default, (i don't remember the command i used)

Now i want to cancel that so that when i ssh to my machine it gets me to the command prompt (and not PowerShell)

Anybody ...

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.