Latest Server related questions

Score: 2
Windows Server 2019 Windows Backup Issue with Hyper-V
in flag
Art

I am running Windows Server 2019 and have configured Windows Server Backup.

The backup is to a dedicated backup disk and consists of the following options:

  • Bare Metal Recovery
  • C:
  • System Reserved
  • System state
  • Hyper-V (several VMs selected)

The Hyper-V backups routinely fail with the following error:

Error in backup of C:\VHDs\Alderaan\Virtual Machines\A118C476-9DB8-499E-AE63-85B2F8DE0563.VMRS during ...
Score: -2
user638879 avatar
How to acquire a public IPv4 and apply it to ubuntu server?
us flag

I want to host my website, but I don't know how to allocate a public IPv4 address. I have public IPv6 address, but not a public IPv4. I heard of the IPv4 exhaustion and that I may need to buy an IPv4. How/where do I buy one and once I do, how do I apply this IP to a machine running Ubuntu Server 20.04-3 LTS?

Thanks.

Score: -2
cdahms avatar
Is openssh-server safe on a local network?
in flag

Quick description of my situation:

2 home use computers, both connected to a standard AT&T router. Both computers get a 192.168.1.x IP address from the router. I have no idea what the IP of the router is to the outside world, or how I would know how to determine it. I have a pretty standard AT&T fiber plan so I would suppose my router's IP to the outside world is DHCP, but I'm not 100% sure,  ...

Score: 0
Jorge Mauricio avatar
How to deploy a server side rendering (SSR) react application (bundled by webpack) on windows server 2016 / IIS
cn flag

Just a heads up: This is the first time I try to deploy a react application on a custom built Windows server, but I’ve managed to do it successfully on Heroku and Linux (PM2), so I know that the application architecture is suppose to work correctly.

The scenario:

I’ve built a Windows Server 2016 / 64 bits hosting server to host multiple websites. I’ve used VPS Contabo to do so. I’ve tested all  ...

Score: 0
Allow CORS for all subdirectories
it flag

Hi,

I have this htaccess to allow CORS in my website but seems like it only applies to the root directory

Header always set Access-Control-Allow-Origin "*" Header set Access-Control-Allow-Headers "origin, x-requested-with, content-type" Header set Access-Control-Allow-Methods "PUT, GET, POST, DELETE, OPTIONS" how can I change it so it applies to subdirectories as well?

Thank you.

Score: 1
Safar Safarli avatar
Nginx try_files doesn't work inside server block
ar flag
http {
include mime.types;
default_type application/octet-stream;

server {
    root /websites;
    listen 80;
    server_name localhost;

    # don't work
    try_files /logo.png /logo.jpg /error;

    # works
    rewrite ^/e /error;

    # works
    # return 200 "$request_uri Handled by server block";

    location / {
        default_type text/plain;
        return 200 "Root prefix matched";
    }

    ...
Score: 1
erixliechtenstein avatar
Unable to deploy simple flask app on ubuntu vps
cn flag

I am trying to deploy a simple flask app on an VPS running Ubuntu 20 and LAMP

The app runs fine when I execute it with flask run from inside the app folder

However the server log has errors:

[Sun Oct 24 14:55:03.464311 2021] [wsgi:error] [pid 5655] [client 90.198.214.109:59097]     from FlaskApp import app as application
[Sun Oct 24 14:55:03.464323 2021] [wsgi:error] [pid 5655] [client 90.198.214.109: ...
Score: 0
OpenSSH ChrootDirectory man page remark on safety
in flag

In the sshd_config(5) man page in my system I found this remark in the section about ChrootDirectory:

For safety, it is very important that the directory hierarchy be prevented from modification by other processes on the system (especially those outside the jail). Misconfiguration can lead to unsafe environments which sshd(8) cannot detect.

Is there anywhere I can read about the associated vulnerab ...

Score: 0
IBM HTTP Server - enabling mod_status
co flag

I have IHS 8.5.5.3 with WebSphere 8.5.5.3 installed on a Win Server 2012 VM as part of an installation of the IBM Maximo 7.6 system. I am trying to enable mod_status on IHS to enable me to collect metrics with Datadog from Apache / IHS. The Maximo system is configured on port 9080, I am trying to setup mod_status on port 80 to be available from http://localhost/server-status or similar.

The exi ...

Score: 0
Caterina avatar
Why is AWS shutting down automatically all the instances launched after the fifth?
cn flag

I cannot start more than 5 instances. Is this normal behaviour for an AWS Educate account on us-east1?

Score: 1
Misterr Moron avatar
Advice needed: Server maintenance
np flag

On CentOS 7:

I have a set of servers that form an environment for a web application. Every client has their own set of servers that have similar software installed on the servers in every set.

So every set is the same, but not every server in the set is the same. During installation there are all kinds of bash commands ran to install all necessary software.

So far so good. However, a servers needs to b ...

Score: 0
Kantan avatar
User can't send mail depending on ISP, unknown user error
hm flag

Ubuntu server 18.04.6 LTS, with functional postfix/dovecot mailserver. When using his phone to send mail, user Joe gets the following error :

An error occurred while sending mail. The mail server responded:
4.7.25 Client host rejected: cannot find your hostname, [178.197.200.200].
Please check the message recipient "joe@domainname.ch" and try again.

with the following in /var/log/mail.log

Oct 24 08:49: ...
Score: 0
Using NGINX to Access Synology services without port numbers?
it flag

First, I apologize if this isn't the right forum as this is somewhat of a networking question.

To give a brief explanation of what I want to achieve is basically have the services or apps provided by Synology be accessible via a simple URL without port numbers. I have a dedicated IP address, so I don't have to worry about setting up DDNS.

I thought all I would need to do is setup a very small NGINX s ...

Score: 0
Biju avatar
No TXT record found at _acme-challenge for nginx server
vn flag

I am trying to add a wildcard domain with certbot to nginx server, run the following commands

 sudo certbot --server https://acme-v02.api.letsencrypt.org/directory --manual --preferred-challenges dns  --installer nginx -d photoss.co.in -d *.photoss.co.in

I got the message

 Please deploy a DNS TXT record under the name
_acme-challenge.photoss.co.in with the following `value:tXKNeJ2OIWdsDa3Lxnj5fSV ...
Score: 0
Qaisar Mughal avatar
Permission denied (publickey) Google Cloud
cl flag

ssh-copy-id root@34.71.159.89 /usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed /usr/bin/ssh-copy-id: INFO: 1 key(s) remain to be installed -- if you are prompted now it is to install the new keys root@34.71.159.89: Permission denied (publickey). qaisarmughal69@lamp-upwork-1:~/.ssh$

I have a server public key i have to add it to my  ...

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.