Latest Server related questions

Score: 0
AtomX avatar
Unable to find php8.0-fpm.sock in /run/php/php8.0-fpm.sock, Nginx Web Server
fr flag

I'm currently listening for TCP sockets in my Nginx Web Server, but for some reasons I'd like to listen to my UNIX-domain sockets. The issue is I'm unable to find php8.0-fpm.sock in both /var/run/php/php8.0-fpm.sock and /run/php/php8.0-fpm.sock paths. When I run ls /run/php, it shows only php8.0-fpm.pid.

systemctl status php8.0-fpm confirms that it is installed and running correctly:

php8.0-fpm.service  ...
Score: 0
Jay Bosamiya avatar
Postfix forwarding to Gmail and local UNIX user
cn flag

I would like to forward all email coming to everything in @foo.com to bar@gmail.com and also to the UNIX user baz.

I tried adding both baz and bar@gmail.com to the virtual file (see config below), but it only seems to forward mails to bar@gmail.com and not add it to /var/mail/baz. No errors regarding delivering to baz show up in the log either (nor does it even mention baz in the /var/log/mail.log

Score: 0
Amanullah Aman avatar
Nginx Configuration update issue
ru flag

Previously I was using a domain in my ubuntu VPS server. But currently, I do not want to use the domain in this server. I want to access this server using only IP address in port 80. My server is running on Ubuntu VPS and Nginx. I am very new to Nginx. I can not understand where do I change my configuration file. My Nginx configuration is as follows. Can anyone help me to update my config file?

upstr ...
Score: 0
Partho63 avatar
Multiple application on single PC
id flag

I have installed Tomcat server on my server PC with IP 127.0.0.1 One application is running on the server. Let address of the application is: 127.0.0.1:8080/first-project Now if I want to run another application on the same server, address will be: 127.0.0.1:8080/second-project

I want multiple application with multiple addresses like 127.0.0.1, 127.0.0.2

a) Is this possible to have multiple address on sin ...

Score: 0
abc avatar
logs are not going into log file even after having rsyslog config
ng flag
abc

I am facing problem. I have two different harpxoy linux servers (in diff network range). In one server, i can see logs are getting generated in log file but on other server, the logs are not getting generated in log file.

I have compared almost all possible config file from two servers and they appear to be same but still cannot find the clue on what is the problem.

Working server -

[root@<hostn ...
Score: 0
kube-proxy does not run, however shows in output of "kubectl get pod" as normally running
cn flag

The kube-proxy runs as a daemonset, so I see that there are two pods in my 2 nodes cluster:

kube-proxy-4f246                           1/1     Running   0          14d
kube-proxy-7hzkf                           1/1     Running   2          5m43s

After doing kubectl describe pod kube-proxy-7hzkf -n kube-system I get the ID of the container.

kube-proxy:
Container ID:  docker://53f81d08adaa9b29b7ac8 ...
Score: 0
Trouble adding CNAME record for WAF to a hostname that already has an A record
in flag

I have a domain (for instance, example.com) that points to certain IP direction (type A record), and DNS system is controlled by my organization. Now, a new web app has been published at news.example.com. As it is located on a cloud service provider, in order to maintain easy access, we requested a new A record on our managed DNS that should be created to point the name news.example.com to the cloud pr ...

Score: 2
Gostega avatar
Linux workstations only authenticate on one domain controller
ro flag

I have 3 domain controllers

192.168.1.6    Server 2016   [PDC equivalent]  Site 1
192.168.1.7    Server 2016                     Site 1
192.168.31.10  Server 2016                     Site 2

and a mix of Windows10, Mac and Debian 10 linux workstations. The windows and macs never have an issue. Recently, (last Wednesday) seemingly at the same time I installed the October windows updates on the domain co ...

Score: 0
boatcoder avatar
gunicorn, systemd, and WINCH not playing well together
us flag

Based on the docs you can spin up a "new" gunicorn with kill -USR2

Then you can send a kill -WINCH to the old master process to kill off it's workers.

But if Systemd launches gunicorn (like this)

ExecReload=/bin/kill -HUP $MAINPID
ExecStart=/app/next/bin/gunicorn --pid /var/run/next/gunicorn.pid --chdir /app/next/dubclub --workers 5 --bind unix:/var/run/next/next.socket myapp.wsgi:application
ExecS ...
Score: 0
Jagdish Kumar avatar
I am getting ”The term 'python' is not recognized…” error in Visual Studio
tr flag

With this error I am not able to run my Django project.

python: The term 'python' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1

+ python manage.py runserver
+ CategoryInfo          : ObjectNotFound: (python:String) [], CommandNotFoundExcep ...
Score: -1
amirreza es avatar
squid proxy multiple ip
cf flag

i got a ubuntu vps and i want to turn it to a proxy server with multiple ip,so far every guid just needs me to a range of ip for this proxy like 49.12.xxx.101 but i got only one ip for this vps

http_port 49.12.xxx.101:3128 name=3128
http_port 49.12.xxx.101:8000 name=8000
http_port 49.12.xxx.101:8585 name=8080

acl tasty3128 myportname 3128 src 49.12.xxx.101/24
http_access allow tasty3128
tcp_outgoi ...
Score: 0
ikhvjs avatar
How networking secures the connection between Certificate Authority and Client?
us flag

I know HTTPS is based on the Certificate Authority (CA). If a client tries to send a request to a server (Assuming there is a Certificate), is it possible that a middleman can take the certificate from client and get the public key from the CA? At the same time, the middleman gives a fake Certificate to the Client and when the client sends a Certificate to CA, the middleman again intercepts it and give  ...

Score: 0
John Doe avatar
Google Cloud Load Balancer with App Engine - 404
in flag

I'm trying to set up a load balancer using a serverless backend service (App engine). I followed the tutorial here

  • The external IP address is reserved

  • the SSL certificate was created (clicking on the SSL cert. name shows the domain status with green ticks, and certificate chain)

So, the frontend seems to be functional. The problem I have seems to come from the backend.

I selected a Serverless ...

Score: 1
A Mod avatar
MS Sql Server 2019 setup fails on Ubuntu 20.04
ua flag

I am trying to install SQL Server 2019 Developer Edition on Ubuntu 20.04 by following - https://docs.microsoft.com/en-us/sql/linux/quickstart-install-connect-ubuntu?view=sql-server-ver15

The setup fails at sudo /opt/mssql/bin/mssql-conf setup

And the errorlog logs below message. I dont get it. What parameter is incorrect? We only have to execute the above to start the setup.

2021-10-30 10:10:53.5 ...
Score: 0
ehammer avatar
NGINX TLS Passthrough and Termination on the same server bound to the same port?
us flag

I have an NGINX reverse proxy that handles TLS termination for my domain, and in the future will need to handle TLS pass-through for a separate domain. I only have one public IP for both domains, and need both 80/443 to be able to go to both domains. Due to privacy considerations, I will not be using TLS termination for the other domain.

My solution so far is TLS pass-through using ssl_preread s ...

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.