Latest Server related questions

Score: 0
Isac Freire Bezerra avatar
403 Forbidden - Nginx
br flag

I set my nginx.conf to my /home because PHPStorm was not editing a file inside /usr/share/nginx/html. However, I have a new problem. When I access a URL via folder it returns a 403 Forbidden But when I access a specific file in the URL, Nginx manages to run the code in PHP. Is there any way I can resolve this? When nginx.conf was in the previous configuration, this was not the case. This is the current  ...

Score: 0
Joe S avatar
kubelet error, status stuck on 'Active: activating (auto-restart)'
it flag

I'm facing this kubelet error on my k8s cluster running CentOS 7. This error surfaced after I reboot the cluster nodes recently. I have not faced similar issue previously I reboot the machines.

I tried running swapoff -a to disable swap but it does not fix the problem.

Here's the systemctl status kubelet -l log:

[root@test-master ~]# systemctl status kubelet -l
● kubelet.service - kubelet: The Kuber ...
Score: 0
rootShiv avatar
nginx working fine in localhost but show 404 on server
ru flag

i have a laravel based project that i have to host on digital ocean using docker. docker is working fine on localhost but shows 404 on server but phpmyadmin working fine on server as well which is running on 8080 port.

Here's my docker-compose.yml

 version: '3'

networks:
  laravel:


services:
  nginx:
    image: nginx:stable-alpine
    container_name: nginx
    ports:
      - "8088:80"
    volumes:
   ...
Score: 0
Kishan M Mohan avatar
Suggestion for Non Analytical Distributed Processing Frameworks
us flag

Can someone please suggest a tool, framework or a service to perform the below task faster.

Input : The input to the service is a CSV file which consists of an identifier and several image columns with over a million rows.

Objective: To check if any of the image column of the row meets the minimum resolution and create a new boolean column for every row according to the results.

True - If any of t ...

Score: 0
Postfix, bounce per-RCPT based on mail content
in flag

With Postfix, is it possible to manually or otherwise bounce messages per-RCPT based on the mail content body (e.g. RFC5322.From headers).

For example,

  1. Mail with 5 RCPT TO envelope headers is queued
  2. Mail enters advanced after-queue content filter
  3. The filter examines the full mail object, and determines 2/5 of the RCPT should be bounced
  4. Mail is forwarded to the other 3 RCPT as normal.
  5. Send a nondeli ...
Score: -2
Jeff Tian avatar
Why is my home wifi network NOT working intermittently?
jm flag

My home wifi broke intermittently, how can I troubleshoot it?

Background

I use China Telecom service, they provide a smart SDN gateway, which is fiber 1000 M speed. The wired network is working smoothly all the time.

The issue occurs with the wifi, it brokes intermittently. When it broke, the wifi connection status shows normally, but no internet access. The DNS time-outs.

What I tried

  • I tried all  ...

Score: 0
Redis & HAProxy issue
in flag

We just switched one of our PHP projects to use Redis/Haproxy as a solution for storing sessions. The issue we are facing is once in one or two months, the project will randomly lose sessions. We have to refresh the same page 10~30 times to see that issue. If we restart Haproxy, it seems to be working again. But, we don't want our client to experience the same issue every couple weeks.

We basical ...

Score: 0
Inflow of load upon recovery of redis failure
in flag

My system uses a dot net web server

A failure recovery system was built with a redis sentinel system with HAproxy.

Writing as a REDIS Master on a web server and reading distribution with Slave are being applied.

However, during the failure test, there is a phenomenon in which the write/read variance is concentrated only on the changed master.

If you turn off the master/slave write, read distribution, work ...

Score: 0
dandan avatar
Why does status says it's dead and subsys locked, but it still running without issue?
in flag

Whenever I start Amavisd, the reports starting OK, but a status check says it's dead.

$ service amavisd start
Starting amavisd:                                          [  OK  ]

$ service amavisd status
amavisd dead but subsys locked

But Amavisd is running just fine. Correct PID reported.

$ cat /var/run/amavisd/amavisd.pid 
13019

$ ps aux | grep amavisd
amavis    2764  1.6 31.3 1938024 1266376  ...
Score: 0
I can't start kubelet
in flag

First, sorry for my bad English.

I want to execute k8s with Vagrant

executed commands to install k8s.

cat <<EOF > /etc/sysctl.d/k8s.conf
net.bridge.bridge-nf-call-ip6tables = 1
net.bridge.bridge-nf-call-iptables = 1
EOF

cat > /etc/modules-load.d/containerd.conf <<EOF
overlay
br_netfilter
EOF

modprobe overlay
modprobe br_netfilter

cat > /etc/sysctl.d/99-kubernetes-cri.conf & ...
Score: -1
mohammad saeb avatar
what happen after seq number of an OSPF LSA reach to bigest number?
cn flag

in OSPFA a router after passing 1800 seconds, increase seq number of a LSA (for example its type 1 LSA) and reflood that. Also after any chanes occur to thah LSA, router increase seq number of that. Seq number start at 80000001 and it can goes untill FFFFFFFF. What happen after a LSA's seq number Reach to FFFFF

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.