Latest Server related questions

Score: 1
Eric avatar
read system call freeze
cn flag

I have a VPS which sometimes suddenly got stuck. Recently I found ssh session will get stuck when I run ps aux. After run strace ps aux I got below.

stat("/proc/1573", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
openat(AT_FDCWD, "/proc/1573/stat", O_RDONLY) = 6
read(6, "1573 (sshd) D 506 1573 1573 0 -1"..., 2048) = 335
close(6)                                = 0
openat(AT_FDCWD, "/proc/1573/status", O_RDO ...
Score: 0
Mmmax avatar
Rsync : Preserve date after copying
cn flag

I have an issue with files attributes since I changed my company's file system from an old ubuntu 12 to a Synology NAS.

I initially mounted NFS shares on my old file system, then with cp I copied everything, everything was ok But i forgot to preserve the attributes, and we lost especially the date, the dates became the copy date, and not the real date.

I found the rsync command rsync -vrt --size-onl ...

Score: 2
Jetto Martínez avatar
Tomcat redeployment and MySQL abandoned (sleep) connections
fr flag

TL;DR: Redeploy by restarting the server (Check final update).

This is an old question, but haven't found a solution just yet and at this point I don't know where to look.

We have three Java(Spring, non boot) webapps deployed on two servers: one app is on a GCP Compute Engine deployed on Tomcat9 (port 80) and the other two are in our in-house server on one instance of Tomcat8.5 (port 8080 redirected fr ...

Score: 0
Arcocer Cerchio avatar
How to patch vmware-esxi via vcenter
sd flag

Our company is using a single vmware-esxi host (vmware-esxi v6.5) which hasn't been patched since installation. The VMs are a windows server and a vcenter appliance.

Using Update Manager I attached the baseline "critical host patches (predefined)" and many patches are listed, but it doesn't seem possible to install them. Almost all require maintenance mode on the host.

To put the host in maintenance mode  ...

Score: 0
uday avatar
consul: increased the replicaset but new pods are not starting and getting Init:CrashLoopBackOff, how to fix that?
ke flag

With single replicaset, the application is working. So I changed the replicaset to 3.

Then, the other two copies of pods are not starting.: kubectl get pods

 customservice-c8645cd6-7gghm                                   0/3     Init:CrashLoopBackOff   8          17m
    customservice-c8645cd6-f5nbn                                   3/3     Running                 0          6h50m
    customservice-c8 ...
Score: 0
Arun Nair avatar
AWS S3 links return 403 when application is run using Docker Swarm, but works fine when run with Docker Compose
jp flag

I have a Django application on EC2 (ubuntu) instance using S3 for static & media files, which is set up currently using Docker Compose. I'm trying to convert it to use Docker Swarm, but in doing so all my S3 links are returning 403 status.

Error message: Failed to load resource: the server responded with a status of 403 (Forbidden)

If I run the same using docker-compose, all the static files  ...

Score: 0
dm_pop avatar
HAproxy. Configure ssl connection with self-signed certificate between frontend and backend
us flag

I need some help to configure ssl connection with self-signed certificate between Haproxy and Squid. In my case - Haproxy (192.168.10.110) is a frontend and SQUID (192.168.10.149) is a backend. Without self-signed certificate it works perfectly. But I need to establish a secure connection between frontend and backend to prevent attack Man in the middle. So I created a self-signed certificate on backend  ...

Score: 3
JellyTea avatar
The memcache was not invalidated by NSS responder
cn flag

I was deleting a user.

# userdel u1
The memcache was not invalidated by nss responder.

But finally the user was deleted. What does "The memcache was not invalidated by nss responder" means?

Fedora 34

Thanks

Score: 0
Vinayak S avatar
Udp punchhole between two instances behind two different cloud NAT on GCP
ru flag

Hi I'm trying to achieve UDP punchhole concept between two compute instances (on different networks with no public IP) behind two different cloud NATs for their respective networks. It seems that in logging I can see the connection being established but cannot see the message/packet being transferred on the terminal. I dont quite understand what is going on here, can someone help me please? Thanks in ad ...

Score: 0
user3525290 avatar
Nginx location block not serving static file
cn flag

I am trying to server data from my location block.

 location ~ ^/(archivefiles) {
     root /web/htdocs/archivefiles/;
  }

When a user visits. http://www.example.com/archivefiles/sports/football/1981.pdf the page errors. I have tried the following combinations in the location block with no success.

root /web/htdocs/archivefiles;
root /web/htdocs/archivefiles/$1;
root /web/htdocs/$1;

I have looke ...

Score: 3
jstnewb avatar
Trying to use keepalived for failover and forwarding but getting "Keepalived_healthcheckers[1706]: TCP socket bind failed. Rescheduling."
pk flag

The goal is to get two different CentOS 7 VMs with keepalived installed to perform failover with VIP 192.168.1.11 and also forward the http (to become https shortly after this works) traffic to a corresponding http server.

192.168.1.11 vm1 (MASTER) --> fwd http to 192.168.1.71
192.168.1.11 vm2 (BACKUP) --> fwd http to 192.168.1.72

I had the failover part of this (with keepalived) previously work ...

Score: 0
Setting AWS ECS permissions to restrict docker-pull to certain tags
cn flag

I have desperately looked for documentation, examples, and posts that hint at a way to restrict certain policies to certain Docker image tags, but haven't been able to find a single example or even a request where someone else has sought to do the same. It's also unfortunate that so much documentation for AWS metadata-type tags (The wrong type of tag) shows up in the search result.

I naively trie ...

Score: 0
billyzaelani avatar
Nginx proxy using domain as part of url path
cn flag

I'd like to proxy foo.domain.com to the internal server http://localhost:8080/foo, the subdomain part is dynamic so bar.domain.com is also proxy to http://localhost:8080/bar.

I try this code up and running with redirect.

server {
    listen 80;
    server_name ~^(?<subdomain>.+)\.domain\.com$;
    return 301 http://localhost:8080/$subdomain$request_uri;
}

However, I can't really find the s ...

Score: 1
endonym avatar
UDP packets received internally but not externally - Ubuntu 18.04
tk flag

thanks in advance for taking a look at this... I'm confident that the solution is simple - it's just I don't know what it is.

Running nc -l -u 9090 AND nc -uv 82.165.109.4 9090 command on the same server, establish a netcat type "connection" and messages are received as expected.

There is a docker application running that also receives the packet so it looks like the internal environment is setup alrigh ...

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.