Latest Server related questions

Score: 0
Shibiliya Ismail avatar
Files lost during upgrade from VPS3 to VPS4 in GoDaddy: Unable to locate files on VPS4 server
ws flag

I recently experienced an automatic upgrade from VPS3 to VPS4 on GoDaddy after the expiration of my VPS3 server. However, I am facing difficulties in locating my website files on the new VPS4 server. I have also purchased a new VPS4 plan, but I cannot find the files that were previously hosted on VPS3.

To access the VPS4 server, I have been using PuTTY through SSH. When I navigate to the director ...

Score: 0
toom avatar
Nginx + Flask + React domain path matching
cn flag

I am using nginx with gunicorn/flask plus a single page react app.

I am using react-router for navigation and in order to make this work I added the following line to my nginx configuration file:

location / {
    try_files $uri $uri/ /index.html;

    proxy_pass http://localhost:8006;
    ....

So, this fixes the issues I had if I call https://www.my-domain.com/url-path.

But now I have a new problem.

 ...
Score: 0
luzze avatar
Does slave bind9 DNS server answer with dhcpd DDNS updates included?
cu flag

When I set up ISC dhcpd with a primary and secondary as failover and I have bind9 set up as master/slave and I configure the dhcpd so that it sends the ddns updates also to the slave dns that is set up to forward the updates to the master. If the master dns server is down and the slave has accepted the updates from dhcpd but did not yet forward the updates to the master dns server, will the slave dns s ...

Score: 0
Joabeslopes avatar
AMD driver doesn't load after rebooting vm with GPU passthrough on virt manager
ma flag

I'm having an issue with GPU passthrough, using virt manager on Debian 11. It's a very specific question, but i hope that someone can help me with this. I have an RX 5500XT GPU, and i passthrough it following the tutorial available on the Arch wiki guide (link bellow). It's basically to load the vfio driver on the GPU, so the host system don't use it, then i can set it to a virtual machine (VM). It work ...

Score: 0
bruh avatar
Unable to apt update while sever is available
vn flag

I just installed debian 11 so want to update it. I do sudo apt update but get few strings like

Err:1 http://deb.debian.org/debian bullseye InRelease

I have tried to replace deb.debian.org with the nearest mirror but it didn't help.

here is my source.list:

deb http://deb.debian.org/debian bullseye main contrib non-free
deb-src http://deb.debian.org/debian bullseye main contrib non-free

deb http:/ ...
Score: 0
Terrence McGinnis avatar
2 Azure VM Servers from the same region cannot communicate with each other
bj flag

I have 2 Azure VM Windows Datacenter 2019 OS, that are in the same Region and are connected via VNET Peering but still cannot see or access each other, I tried turning off the Firewall from both VMs but to no avail, I'm at my wit's end, any other troubleshooting recommendations anyone could suggest or settings that I could check.

my main goal is to connect to SQL between the 2 VMs, even though th ...

Score: 0
William Miceli avatar
SonarQube Installation Issue - “Fail to unzip plugin [python]”…”Operation not permitted”
mu flag

I'm having an issue where SonarQube 10.1.0 Community seems to be having a difficult starting for the first time.

I've set it up using Kubernetes (K3s v1.27.1) and adapted the official SonarQube Helm chart to be able to use it with my own infrastructure and have more control.

Logs

2023.07.02 21:55:21 INFO  es[][o.e.p.PluginsService] loaded module [aggregations]
2023.07.02 21:55:21 INFO  es[][o.e.p.Plugi ...
Score: 0
Tor Valamo avatar
In .htaccess, can I pass on "OPTIONS *" to be handled by PHP?
bm flag

I have a RewriteRule .* index.php to catch everything

Everything else seems to pass through just fine, even OPTIONS /. But Apache doesn't seem to let me handle OPTIONS *, and in fact just returns a blank 200 OK without even including an Allow header.

% curl -X OPTIONS http://localhost:8080 -i -v --request-target "*"
*   Trying 127.0.0.1:8080...
* Connected to localhost (127.0.0.1) port 8080 (#0)
> O ...
Score: 0
Kubernetes: How/where to log when Secrets are deleted?
cn flag

Does kubernetes capture - in the event log or elsewhere - when Secrets are deleted? I'm not seeing this showing up in the event log: kubectl get events --field-selector involvedObject.kind=Secret --watch and I'm not finding it in /var/log/pods/kube_system-kube-apiserver/either.

We're using something called external-secrets-operator to manage secrets, and we would like to be informed when a secret is  ...

Score: 0
webwalkerant avatar
Rsync when system resource utilization is low
kw flag

I have a machine that suffers periods of resource contention (CPU or Memory or Disk or some combination) and I don't want Rsync to add to the problem when that occurs. Is it possible to setup Rsync to that it "slows dow" or stops during periods of contention (effectively being lazy)?

Score: 0
Ricardo Prada avatar
Duplicate files with the server name on a File Server
mx flag

For some time it has been happening to me that in a file server, where I have a shared folder with the departments of the company, in some folders it has been duplicating some files by adding the name of the server to final. It does not happen constantly, but recently a person was working with an outdated file, that is, it was not the last modified. This happens with Word, Excel, image files. For exampl ...

Score: 0
Seomari avatar
Images get a 404 error when using Nginx's reverse proxy
nl flag

I'm using Nginx's reverse proxy to route blog.example.com to example.com/blog/.

Most things work fine, but when I click on an image in example.com/blog, I get a 404 error.

I know that this is caused by the actual image not being in /blog/wp-content/uploads/, so I tried applying some rewrite rules, but they don't work.

Can someone give me some advice on how to solve this problem?

location /blog/ {
 ...
Score: 0
MilkOverflow avatar
simple ssh loop without running extra commands
ms flag

I'm searching high and low for a simple script to just loop through a series of servers. I don't want to run additional commands automatically, but that's all I'm finding. I don't need to while. I just want to have it SSH to the server and allow me to do work on it, then when I exit it goes to the next one. I've done this before but it was on an old debian box and now I'm using ubuntu

#!/bin/bash

 ...
Score: 0
Kamranj avatar
Server2019 cannot remove windows features (was a dc)
mr flag

i have a 2019 server that was configured as a adfs primary, running ad sync and was also a domain controller. My objective was to remove the server and replace all services on a new VM.

I have managed to move sync across, and removed off the old server, i have also dc promo'd it down to a member server.

The issue i now have is when i try to REMOVE features from the machine i get an error

Failed to remo ...

Score: 0
Is there a way to pin a version of sudo apt upgrade for the whole Os/all packages?
cn flag

Hi I'm writing some bash scripts to install some VMs

I run...

sudo apt update -y

sudo apt upgrade -y

Those work fine...

But is there a way to make sure that if I run those 2 commands somewhere in the future to install new VMs that we get the exact same versions on the newer machines?

I just want to make sure that my script is repeatable.

Score: 0
von_Olivenbaum avatar
Failing SSH login due to "pam_unix(sshd:session): session closed for user"
sg flag

I've mounted an s3 bucket to a small ec2 instance and am able to SSH into the instance either via the CLI or using a client like cyberduck.

However, using the same host and credentials I am not able to establish in the Web UI of a data provder in order to upload data to the EC2 instance.

Running journalctl -u sshd.service I am able to see the log files.

Jul 05 18:14:46 Accepted password for user from  ...
Score: 0
Healbeanmen avatar
How to Auto-Start and Stop a VM with Remote Connect/Disconnect?
cm flag

Is there a way to simply connect to VM without going to server website to start it but instead to instantly start it by maybe when remote connection is requested, stopping the server is easy enough by pressing shutdown button. The goal is to decrease server cost as I use it for couple of hours a day, so it's not smart to let it run for whole day. Maybe there is a better way to do this?

Score: 2
abhi avatar
IPsec connection established but client not able to reach host until host pings the client
as flag

I am trying to establish IPsec connection between two linux machines residing in the same VPC but in different subnets. On both machine I have following configuration:

Host machine:

conn hostConn
    left=%any
    right=172.31.48.11
    authby=secret
    auto=start
    leftid=@client
    rightid=@host
    type=transport
    ikev2=insist
    keyexchange=ike
    ike=aes256-sha2_384;dh20
    esp=aes_gcm_ ...
Score: 0
George Mastros avatar
Which disk is in which hard drive bay
in flag

I have a Dell Poweredge R710 with 6 drive bays (and 6 hard drives). There is a DELL PERC H700 raid controller card in the system. I mirrored all of the drives so they appear as 3 separate disks.

I'm seeing messages like this in event viewer:

The driver detected a controller error on \Device\Harddisk3\DR7.
The driver detected a controller error on \Device\Harddisk3\DR6

The number at the end changes, but a ...

Score: 1
Sébastien avatar
App Engine Adding custom domain verification failed despite main site ownership verified
br flag

I am trying to veryfy a subdomain to configure a server side GTM container.

Google cloud site verification

The property is verified on the search console

search consoile site verification

However when I click refresh domain, I still get "Your domain hasn't been verified yet. Finish all the steps in Search Console and then return to this page."

If I remove the property and start again, it is automatically verified as the main domain is also verified.

But the ...

Score: 0
El_Merendero avatar
Configuring Automatic Start of Azure Virtual Machine upon Remote Desktop Login
ar flag

We have created an Azure virtual machine 'Standard NV12ads A10 v5' with Windows 10 as the operating system. In order to reduce costs, we would like to find a way to have the machine powered on only when strictly necessary (ideally, when someone is connected via RDP). Currently, we automatically shut down the machine at a specific time, but we are looking for a solution that automatically powers on the m ...

Score: 0
George V avatar
Disable the 'base' URL for SSRS
np flag

We keep getting hit with moderate security risks on our internal and external penetration tests on our SSRS servers. The main reason for this is that the scanner is attempting to use http(s)://reports.whatever.com.

As far as I could tell in my investigation of SSRS' webservices, this 'base url' is never used. It's only the Web Service URL and the Web Portal URL.

It also appears that in this configur ...

Score: 0
Xin avatar
Dovecot Can't load SSL certificate (ssl_cert setting): There is no valid PEM certificate
kr flag
Xin

I met an issue while setting up IMAP email server with postfix, so I used letsencrypt to generate the certificates, and sending/receiving email works just fine.

But while I try to setup IMAP protocol with dovecot, I got errors like:

Jul  5 16:00:27 oraclecloud dovecot: imap-login: Error: Failed to initialize SSL server context: Can't load SSL certificate (ssl_cert setting): There is no valid PEM certi ...
Score: 2
traxx2012 avatar
.htaccess return error if no RewriteRule meets the request
cn flag

I'm trying my hands on writing a simple REST API and am currently trying to properly configure my .htaccess file.

What I'd like to achieve is the following:

  • have RewriteRules to direct requests towards the actual RestController
  • catch all requests not explicitly served with a RewriteRule before with a FITTING error
    • requests that target any file, subdirectory or file in subdirectory not handled wit ...
Score: 0
MrArsGravis avatar
openssl s_client works with IP, but does nothing with domain name
hr flag

I recently-ish set up an internal (firewalled) apache2 web server that exactly one of my colleagues cannot reach for some reason (PR_END_OF_FILE_ERROR, indicating something's wrong with the handshake/SSL/ciphers). Since I don't have a sufficiently clear idea of the underlying problem there, I'm not aiming to solve his unspecific problem with this question. But:

While trying to understand the issue ...

Score: 0
user1996496 avatar
Package 'php-pear' has no installation candidate
ph flag

I am trying to install apt install php-pear and I get this error message:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package php-pear is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'php-pear' has no installation candidate
 ...
Score: 4
How widely are SRV records supported?
cn flag

I've recently learned about DNS supporting SRV records, which identify what port, and what protocol should be used for a given service. For example _http._tcp.example.com SRV should return a port, and an A/AAAA record where the client should be opening a connection which intends to access HTTP service on example.com using TCP.

How widely is this supported? What handles checking that the service is expect ...

Score: 0
vivan sai avatar
Azure DevOps with Boomi (or) Jenkins with Boomi for CI/CD automation with various stages
tv flag

Are there any methods by which we can integrate Dell Boomi with Azure DevOps or Jenkins to implement CI/CD automation with various stages including unit testing and SonarQube etc? Any help with tools details and approaches is highly appreciated.

Previously I have tried this integration process using the Bash scripts (Link for Scripts: Dell Boomi ) but it wasn't helpful as we are facing many blockers ...

Score: -1
Daviid avatar
Windows Server 2022 2 IPs with IIS and Apache on port 80
cn flag

I have a Windows Server 2022 with 1 NIC that has 2 addresses, 192.168.1.8 and 192.168.1.9.

There's 2 sites on IIS that listen on 192.168.1.9:80, 192.168.1.9:443 and 192.168.1.9:856, these used to listen on *:80, etc..., changed on IIS Admin "sites > bindings"

Now I want to start apache and I've added Listen 192.168.1.8:80 and Listen 192.168.1.8:443 on the config files but I get the error:

(OS 10 ...
Score: 0
dyvesh mahadea avatar
OVS switch and Tap interface- Connecting two vm using tap interface-ubuntu
by flag

I want to connect 2 VM together using tap interface on Ubuntu. VM2 will connect to VM1 by a tap interface on VM1. I will use OVS switch to forward traffic from VM1 to VM2.

Scenario:

Router from ISP provide IP subnet dhcp: 192.168.100.2-192.168.100.255

VM 1: has OVS switch, ryu controller with flow manager and 1 tap interface.(Ubuntu 20.04) and interface name ens33 VM 2: has IIS server running on host.( ...

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.