Latest Server related questions

Score: 1
Nginx static files caching from different folders
cn flag

The problem is nginx does not display images and shows 404 not found on some folders. When i remove caching from config everything works fine. Trying to configure nginx to cache static files with this config

location ~* \.(?:css|cur|js|jpg|jpeg|webp|gif|htc|ico|png|html|xml|otf|ttf|eot|woff|woff2|svg)$ {

                expires 1y;
                access_log off;
                add_header Cache-C ...
Score: 0
David Chiang avatar
Some process are in unkillable sleeping state while i/o is low
es flag

I am the system administrator of an Arch Linux-based workstation. Our workstation uses Slurm as the load manager and consists of one master machine and 4 other computation nodes. In the past few months, we observe that processes on some nodes are stuck from time to time, and rebooting the node solves the problem. We found that the stuck processes are in state D (disk sleeping), but when we use top or ot ...

Score: 1
xogoxec344 avatar
tcpdump: filtering out localhost, packets show up anyway?
in flag

I'm trying to use tcpdump to explore what on my computer talks with whom on the world wide web.

I've came this far as of yet:

lan_hosts="(hosts || to || exclude)"
local_hosts="(127.0.0.1 || ips_of_my_nics || localhost || local_hostname)"
excused_local_ports="(ssh || https || domain || $(netstat -ap | egrep -h '/(processes|I_dont|want|to_see|traffic_of)' | tr -s ' ' | cut -d ' ' -f 4 | rev | cut -d ':' ...
Score: 0
XCP-NG Single NIC MASQUERADE iptable rules Ports not fowarding just basic network traffic
cn flag

I am having an issue getting ports to forward to the VM's via MASQUERADE iptable rules. I had this working on the same servers with Proxmox. But now with XCP-NG I cannot get this to work. I did once in the past on one of these servers. But I have not been able to replicate it again. Network connection for outbound and getting updates and http/https request on the VM's is working just fine. I just cant g ...

Score: 0
jpskgc avatar
How to send EKS on Fargate container logs in the same pod to different log groups by FireLens/Fluent Bit
cd flag

I'm gonna send EKS on Fargate container logs to AWS CloudWatch Logs.
These container logs are in the same pod. And I want to send container logs to different log groups.

Now, these container logs are sent to the same log group by FireLens/Fluent Bit.
Here is the log streams in the log group.

from-fluent-bit-kube.var.log.containers.${pod_name}_${namespace}_${container_name_A}-ae7cd6e98f3d77f9819e11463370e8 ...
Score: 1
mahen3d avatar
Crontab - How to verify a PHP script Runs Successfully or not in a Cronjob Shell Script?
cn flag

I have below crontab in the system (Centos 7.9), However i am unable to verify if this runs correctly or not,

i.e if the crontab finds the PHP enr. variables or if the crontab has executed correctly without any errors in the shell or if the crontab entry has syntax issue ..etc

Any suggestion on how to do debug or capturing the output of a crontab like this one below

0 */1 * * * /var/www/example.com ...
Score: 0
Is SSH remote execution more secure as local non-root?
cn flag

Is there a security benefit running a command remotely via ssh as a local non-root user? In other words, is this actually more dangerous compared to executing the ssh command as non-root:

root@local:~# ssh user@remote "compromised_executable"

I'm assuming the local system isn't compromised and ssh doesn't have any security issues.

Score: 1
Can I utilize cisco router features during local to local data transmission?
us flag
Ino

Cisco router is reachable from the internet, external ports are being forwarded to different inside hosts. From external connection on port 1234, it is being forwarded to a internal host 10.0.0.1 running an app on port 443. This whole can be reached from the internet via mydomain.com:1234.

What I need: Be able to reach this host from the inside on port 1234, preferably on the internal IP of the hos ...

Score: 0
Deleting a Google Workspaces Account -
gb flag

Friends, I'm trying to delete an account I have on Google Workspaces but when I click on "delete your account", I get a warning that I have active projects in GCP. I don't have any project in GCP, but when I open GCP I see that there is one called "system-gsuite" and under it "apps-script" and I can't delete it... Can someone help me solve this problem?Account Settings GCP Manage Resources

Score: 0
alammd avatar
Metrics-server is in CrashLoopBackOff with NEW install by rke
th flag

I have installed at least 10 times last one days, but its same every time Everything runs fine but metrics-server is in CrashLoopBackOff

what I understand below section are missing from the pods YAML file and needs to add into Deployment.

I am new to Kubernetes, I have 2 question

  1. I am using rke to install rancher cluster, so why bellow setting will be missing from pods to start metric-server?

     ...
Score: 0
Red Cricket avatar
why is ssh using cached dns record when dig reports updated version of cname record?
de flag

I have a Jenkins pipeline that will start my AWS Ubuntu EC2 instances. This Jenkins pipeline will also update a CNAME record I have for my EC2 instances in route53.

Sometimes there is a long delay in my ability to ssh to the instance via the CNAME. I figured it might be a cache issue, but if I execute dig the-cname.example.com I see the updated versions of the DNS records. Also I have no problem ssh' ...

Score: 1
Anjula Paulus avatar
How to spin up a ETCD docker container and restore a backup obtained from a kubernetes ETCD Cluster node?
bw flag

I am trying to spin up a ETCD node in docker and restore a backup obtained from the Kubernetes Cluster node.

ETCDCTL_API=3 etcdctl --endpoints=https://127.0.0.1:2379  --user=root:'root' snapshot save snapshot.db

I have obtained the snapshot and have it downloaded locally. How could i restore onto a already spinned up etcd node?

The following command was used to spin up the container.I have mounted a data ...

Score: 0
Sara June avatar
How to check for nodejs from installshield
cn flag

We have a specific version of nodejs msi with us.How to create it as a prerequisite for the installscript msi project of installshield with a condition such that this should skip the installation of nodejs as prerequisite if the same or higher version of nodejs already installed.

Score: 1
Libreswan and Mac OS X Big Sur client issues
cn flag

I'm resorting to asking for help after a brutal amount of time troubleshooting connection problems between client and server.

Troubles

Mac OS X Catalina, and Linux clients work fine connecting to the server, but Big Sur does not. I haven't yet tested Mojave (which would in theory be more lax with security anyway), nor have I tested Windows 10. The reason for all the different clients is complex, but es ...

Score: 0
NGINX liip_imagine unable to create path for ... "Get operation failed" webp - not creating .webp in media/cache/filter_name symfony
am flag

So in my liip_imagine i have something like:

webp:
  generate: True
  quality: 70

and it works good locally, it serves .png.webp images, but when i put it on my NGINX server i have an issue called unable to create path for ... "Get operation failed, im using imagick as a driver. I have webp in mime types on my server. The problem is that it shows error also on imagick like

    if (isset($options[ ...

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.