Latest Server related questions

Score: -1
GeekyGautam avatar
My Nginx Server is not running my App on my domain name?? Please give me solution
ph flag

When I open the IP Address http://45.82.75.190/

I see the default Nginx Page and not my app I have successfully proxied my node.js app which is running on port 5000 to run or port 80 but still my app is not running in browser

enter image description here

enter image description here

Score: 0
After logging into a remote machine via SSH, what could cause terminal commands on the remote machine to not work?
jp flag

I login to remote linux boxes via ssh to manage them. ssh myname@myremotemachine.com. They are only accessible when I'm logged into the VPN and are not accessible publicly.

Sometimes when I try to login, I am asked for my Password multiple times as it's not accepting the password, even though I know for a fact it's correct. After the 3rd attempt it will say, Permission denied, please try again at whi ...

Score: 0
lat3r avatar
AWS ALB Handshake resumption
sy flag

I have a problem where the AWS ALB TCP is initiated and every request which causes unnecessary latency of 0-150ms Example from postman to show what happens at every request. DNS lookup, TCP Handshake and SSL handshake are all initiated

And when I access the instance directly. The aforementioned does not occur. Another example from postman

Thanks and any help is appreciated.

On the load balancer, I' ...

Score: 0
Using dnsmasq in a Docker container for the host and for Docker internal DNS resolution
re flag

I'm working on a web project that consists of multiple services. Every service has it's own docker-compose.yml file that declares it's "app" and it's possible dependencies (databases etc). To have them all play nicely together, I have built a local dev env that ties them together with an nginx proxy that has server blocks with proper servernames and then proxy_pass'es the requests to the actual containe ...

Score: 0
OpenLDAP syncrepl with plaintext authentication
ht flag

I'm trying to set up a syncrepl relationship between two openldap servers. The data they serve is not secret and they are used only in an enclosed network, so I'd like to avoid the hassle of setting up SSL. However it seems syncrepl refuses to work with a simple plaintext authentication. Is this correct, or am I being misled by some other authentication issue?

Score: 0
Dronz avatar
One remote RDP user often gets stuck on "Please wait for the local session manager" from a shared virtual Windows Server 2019; others work
cn flag

The server is a shared virtual server slice running Windows Server 2019. (Set up by InterServer - I'm the software developer of the customer.)

A remote Windows 10 computer in location A usually connects to the server via RDP without problems, but occasionally (was every few weeks, months ago, but for the last several weeks it is at least once per week) it starts failing to connect for an hour or  ...

Score: 0
Barry McAuley avatar
How to script finding which physical disk belongs to which virtual disk in a RAID confiuration
de flag

I need to write a script to find the firmware versions of physical disks in a RAID configuration, if a physical disk is a specific firmware version then I need to unmount the corresponding virtual disk before upgrading. The problem is I don't know how to easily find the mapping between physical and virtual disks. I need commands that output something I can parse, so JSON or XML preferably.

For ex ...

Score: 0
TP-Link JetStream switch - Giving Out IP's to random devices
in flag

We have a fairly large, network with several switches, and a router. Suddenly we observed two PC's getting IP addresses in a range we don't use.

The network uses the 10.0.0.0/16 range, and one device always got 192.168.0.114, with no internet access. The gateway address on that pc was 192.168.0.1. We could ping that gateway, and even login, it turned out it is the TP-Link T2600G-52TS switch, whic ...

Score: 0
user3912750 avatar
How to automate RHEL8 patching with additional pre and post patching actions
ng flag

I am looking for a best way to schedule the patching of few of our RHEL8 servers using yum. We need to perform some actions like sending email notification, stopping services before patching. After these actions are completed, we patch the servers and perform some post patching actions like sending email notification, starting services etc.

Regards.

Score: 0
Neil Wehneman avatar
Why Would a Log File Get Cut Off When Emailed?
in flag

I am setting up some local backups of AWS EC2 instances. The backups are set to run overnight via Windows Server 2012 R2 Task Scheduler. The basic flow of each backup is that an rsync copies the current instance to local storage, the local storage copy is tarred and gzipped, and then an email is sent to me with any errors or notices (or a statement that no errors or notices were generated).

The p ...

Score: 1
getting prometheus metrics from pdns
cn flag

Running pdns v4.7.0-0.alpha0.master. Have enabled web server and can see ports 8081, 8081 and 8082 (from localhost login). When I try to get /metrics from there (via curl) I get either "connection refused" or "Not found".

Anyone had success with this?

Score: 1
scaryhamid avatar
none of the apps is using more that 2% of memory but memory is at 70%
us flag

I had problem with my server memory so stopped all of docker containers but its still using more than 70% of memory, also added swap but its not being used at all. when I reboot the server every thing is good but all of a sudden it goes up like that. what should I do about this ?

screen shot of glances

UPDATE: so I started containers and it began with 80% of memory being used. but after two days it went up to 92%. screen shot of htop

also me ...

Score: 0
Hide your paths/filenames in apache
ye flag

in Apache 2.4, can I hide all "paths" from the browsers?

if somebody are on https://example.com/users/list.html it would only say https://example.com in the addressbar, and if someone takes a bookmark, it will also only take https://example.com and not the complete path

Preferably in the apache configuration

Score: 0
HAProxy Combined Acls
cn flag

I'm trying to make a combined acl in the haproxy config.
Is this kind of thing possible ??

  acl bare-dom1 hdr(host) -m reg -i domain1.org(:[0-9]+)?$
  acl bare-dom2 hdr(host) -m reg -i domain2.org(:[0-9]+)?$
  acl bare-dom3 hdr(host) -m reg -i domain3.org(:[0-9]+)?$
  acl needs-www (bare-dom1 || bare-dom2 || bare-dom3)

Unfortunately from looking around so far, I don't see a way to do it. Yeah sur ...

Score: 0
locate all nested war/jar files inside jboss/wildfly - log4j
cn flag
grU

I want to detect all nested wars and jars containing the log4j library. I have jboss/wildfly services. I started to find out with 'locate | grep', but it shows me only tmp directories, not exactly war/jar files, for example : wildfly-8.0.1.Final/standalone/tmp/vfs/deployment/deployment**.jar

But I want to detect war/jar files.

Does anyone have a solution for that?

Score: 0
Benjamin Qin avatar
iproute2 policy route same subnet wrong ttl value
cn flag

I have a Linux PC has two NICs:
1st name is ens192, ip is 192.168.0.2/24 gw is 192.168.0.1 also default route, major NIC
2nd name is ens256, ip is 192.168.1.50/24 gw is 192.168.1.1, and with follow policy routing commands:

ip route add default via 192.168.1.1 dev ens256 table 1000
ip rule add from 192.168.1.50 table 1000

NOW, everyone connects(PING) 192.168.1.50 is OK, below is from 192.168.4.2 (I have  ...

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.