Latest Server related questions

Score: 0
Nginx server under load balancer, when /folder is found redirects to /folder/ but changes the host url
yt flag

I have nginx server setup in google cloud. Server is being accessed from a host domain through gcloud pointing.

Like this:

https://server.com/test/ points to instance group with one of instances with ip http://39.99.99.99.55/project/

And everything works well unless, you enter

https://server.com/test/folder without the leading slash

When you do that the host server redirects to https://server.com ...

Score: 0
Google Cloud Logging, streaming logs constantly stops after a few seconds
ua flag

I'm looking at the Logs Explorer in the Google Cloud Logging console. I click "Stream Logs" in the top right and the panel below responds.. but then between ~4-18 seconds later (I tested with a stopwatch 5 or 6 times), the streaming stops and it gives me a message at the top "Streaming has paused. [Restart Streaming]".

enter image description here

I thought maybe I was scrolling with my mouse wheel and it was interrupting the stream ...

Score: 0
Jonathan Brickman of Topeka KS avatar
Use RAM drive for VSS?

Anyone tried, on Windows Server, 'vssadmin add shadowstorage' for a volume using a RAM drive, on a server with lots of RAM? Would it contribute to instability somehow? Should enable a nice jolt of speed for the RAID...

Score: 0
m4l490n avatar
Why can't OpenSSH bind to any address when booting?
in flag

I'm working on an embedded linux board and I noticed the following on boot:

[FAILED] Failed to start OpenBSD Secure Shell server.

Then I ran sudo systemctl status sshd and got this:

[sudo] password for debian: 
ssh.service - OpenBSD Secure Shell server
  Loaded: loaded (/lib/systemd/system/ssh.service; enabled; vendor preset: enab
  Active: failed (Result: exit-code) since Mon 2022-05-23 19:43:25 UTC; 3 ...
Score: -1
mikesneider avatar
Can I resolve the same domain internal and external?
sk flag

I have a domain on the internet (purchased from CloudFlare) called: mycompany.com there I have a CNAME created help.mycompany.com, and it works and I would like to do the same for a page on a server within my local network. My domain is on corp.mycompany-large.com so I tried to create a zone in the DNS, the zone was mycompany.com (the same one I bought at CloudFlare) and there I created a CNAME that redir ...

Score: 0
Sâu avatar
Why is the Nginx server unreachable despite the ports being open?
jp flag

I am in a very unusual situation and I have spent almost 8 hours trying to figure out what the problem is.

The setup

I have a server running Debian 11. Inside this server, I have a setup a CentOS virtual machine with KVM. The virtual machine hosts a complex web application behind an Apache server. The network interface of the KVM is NAT and therefore to access the web application, I have setup por ...

Score: 0
DanRan avatar
Tunneling a LEMP server through an oracle instance with wireguard. Cannot get Nginx Certbot certificates on LEMP server. How to debug?
mx flag

I have a LEMP server at home running Ubuntu 22.02 and an Oracle cloud instance running Ubuntu 20.04. The Oracle cloud instance is acting as a Wireguard server. The LEMP server at home is acting as the Wireguard Client, and is being tunneled through the Oracle server in order to obtain an IP address that is different from my home IP address. I have set up this Wireguard Client/Server configuration per

Score: 0
Santosh Baruah avatar
Nginx 502 Issue with the API & php-fpm
co flag

I've configured the new dev machine but can't get nginx working with the API as it is supposed to. The current error is that 'curl localhost/api' returns a 502.

Host:

    Nginx
    PHP 8.1.x, php-fpm
    - ext-ctype, ext-fileinfo, ext-iconv, ext-intl, ext-libxml,
    - ext-mbstring, ext-openssl, ext-pdo, ext-simplexml
    - composer 2.x
    FOP Version 1.1 (java for pdf))
    postgresql14, postgresql14-c ...
Score: 0
DarckBlezzer avatar
Why tail to same file create a empty file, or empty the file?
in flag

I try to maintain the last lines of a file, but when tail -n 10 test.txt > test.txt create or empty the file...

SO: Ubuntu server

Example:

#test.txt file 20 May 23 12:24 test.txt
 a
 a
 a
 a
 a
 a
 a
 a
 a
 a

use tail -n 10 test.txt > test.txt
new file is empty 0 May 23 12:36 test.txt

Score: -1
harish chilukuri avatar
CHECK_NRPE STATE CRITICAL: Socket timeout after 10 seconds
uz flag

but as mentioned in other articles ,i am able to telnet ,but it is happening from public ip of client , i am doing from Nagios server telnet public ip of client 5666.it is working, but in nrpe.cfg i gave private ip,also in nagios servers .cfg also i gave private ip even check_nrpe is also working ,what to do

Score: 0
Why is iptables blocking return traffic?
at flag

OS: Ubuntu 18.04.6 Firewall type: IPtables. UFW is Disabled.

I have Kubernetes cluster with 3 nodes that provide the controlplane and etcd services, named cp01, cp02 and cp03.

I see that etcd traffic from each of the Controlplane/etcd nodes works fine. The etcd application seems to be working, although I noticed that I cannot do some things like etcdctl elect a new leader.

I noticed that sometime ...

Score: 2
Different postfix logfile format when logging to separate file (maillog_file)
gh flag

In order to separate the mail logs from the general system logs, I added this line to /etc/postfix/main.cf

maillog_file = /var/log/postfix.log

As expected, a file /var/log/postfix.log is created, and there are no more postfix entries in the var/log/syslog. Unfortunately, it seems that this will also change the contents of the log entries. This is what I get in the postfix.log (changed my original ...

Score: 0
Easy Tech  avatar
Server error happens in web browsers content not load after refresh
gp flag

Please help me when i do refresh my web browser donot attempt to load new content and when i press ctrl + f5 it loads fresh content but after doing it 3 to 4 times. Basically it is very disturbing i am a web developer i have to do work on the websites so it is very disturbing i usually think it is a fault of my code. but many times i encounter the mistakes done by the server issue itself...

Score: -1
SANTIAGO BENJO MENDOZA avatar
Phpmyadmin access denied due to lock account
li flag

Hello my Xampp was working and I access also the phpmyadmin in website, at first I was able to access the PhpMyAdmin site when I was there I accidentally lock the local host after that I was not be able to access it again I tried so many ways to fix that but unfortunately I did not fix it I don't know you could help me with that but i'm trying, thank you

Score: -1
Rob Campbell avatar
Upgraded from F35 to F36 now video and audio doesn't work
au flag

On F35, everything worked fine. I was able to view all videos, local, netflix, youtube, plex, etc. After upgrading

$ dnf system-upgrade download --releasever=36
$ dnf system-upgrade reboot

My multi (4) display worked just fine but I was unable to view videos on YouTube. I get a message over the video enter image description here

For local videos, they start in a frozen state. Everything else just buffers. I followed these  ...

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.