Latest Server related questions

Score: 0
vconfig rem disturbs adding VLAN IP to UBUNTU
lb flag

after removing a VLAN IP by using "vconfig rem ...", adding a VLAN IP and related sub-VLAN IPs is not working correctly. in other words, intended VLAN is added but after a while it is not shown in ifconfig command and it does not exist. this situation occurs when I have an interface with the IPs of type VLAN or sub-VLAN only. Does any one know that why this problem occurs?

thanks.

Score: 0
pl-jay avatar
How do i fix upstream prematurely closed connection error?
bg flag

I have deployed a django web application to AWS EBS, and one endpoint got a script running for some word processing it takes few seconds(max 10-15 seconds).

I have seen questions and answers for this issue and tried everything, and even changed the django.config file inside .ebextension to following

ption_settings:
  aws:elasticbeanstalk:container:python:
    WSGIPath: alteducation_web.wsgi:applicatio ...
Score: 0
ashanrupasinghe avatar
301 redirect for some pages and all other pages
gb flag

I have two websites. Let's say siteA.com and siteB.com. Now I want to add 301 redirect to siteB.com. Some of pages of siteB.com need to be redirected to some specific pages on siteA.com All other pages of siteB.com neet to redirect to the home page of siteA.com including siteB's home page. My final requirement is no one can access siteB after adding the redirection. These are two wordpress sites. How  ...

Score: 0
Logan Lee avatar
Nginx React server will only look for static assets at root
cn flag

My react app works if nginx reverse-proxy is set as follows:

server {
    listen       80;
    server_name  my_public_vps_addr; 

    location / {
        proxy_pass      http://127.0.0.1:3000/;
    }
}

I can load the page correctly at http://my_public_vps_addr/.

But I want to access the site via http://my_public_vps_addr/ecapp/.

So I configured nginx:

server {
    listen       80;
    server_name  my_ ...
Score: 0
Is it possible to reconstruct a BTRFS RAID from disk images?
ad flag

I had a server running a 6 disk BTRFS RAID configuration. Now my server refuses to start because of (likely) PSU issues. I have a new NAS box that I want to use for this purpose but I would like to get my data off the old setup.

So while I could go about and buy a new PSU and try to get the old system back on its feet I'd really like not having to spend the money on that since I'm just going to r ...

Score: 1
Does NT SERVICE\MSSQLSERVER require Kerberos authentication if the sql instance is on the local machine?
sg flag

I had a bizarre issue today where NT SERVICE\MSSQLSERVER was being denied login as a service on a domain joined computer. I also noticed group policy was not being applied via gpupdate /force. I disconnected the computer from the domain, deleted the AD Object, re-created the AD Object, and re-joined the domain. The computer pulled policy successfully, and SQL Express worked. I know the GPO's don't have  ...

Score: 2
devKyrios avatar
NGINX block location access and redirect to custom error page
cn flag

I have a issue with my NGINX setting with redirecting to a custom error page on another location (incl. css, images, js) if a error page should be thrown.

At first I would like to block access to an folder (like .git). This can be easily done via (inside the server block)

location ~ /(.git) {
    deny all;
    return 404;
}

Then i created a custom error_page element (inside the server block) with a cu ...

Score: -1
gh0st avatar
Can I replace my Windows Server file/folder share service with a Raspberry Pi?
cn flag

I have a Dell R720 on premise that acts as my primary domain controller for workstations. At one point the machine had many more functions and features and it was necessary to keep an on-premise server. However, over the years a lot of services have been moved to the cloud. All this thing is really used for anymore is simple file shares. Granted, these file/folder shares will likely need to continue wit ...

Score: 0
Sara June avatar
How to execute powershell scripts from MDT?
cn flag

I have created MDT environment with PSD Extension by following these steps.

There is a default step for running a powershell script(Configure).

configure

I duplicated that and created Configure1. configure1

And created a script in DeploymentShare scripts folder. scripts

Just added below content to the powershell script I created.

#PSDConfigure1.ps1
Set-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Terminal Serv ...
Score: 0
Azure Application Gateway Default DNS Suffix
kh flag

Question

What is the correct way to configure an Azure Application Gateway to be able to handle requests which use a host header with only a hostname (i.e. not a fully qualified domain name) due to clients relying on their DNS search suffix list to handle this.

Detail

We have an Azure Application Gateway which is configured with a Private IP to act as a load balancer for a variety of internal websi ...

Score: 0
bird2 BGP how to announce subnets from the same ASN but from another router
us flag

I am trying to learn more about BGP / IPv6, this is my goal:

enter image description here

Currently, for testing, I have a VM from a provider that gives me an /44 network

This is the current configuration on that VM:

router id <IP of VM>;

define OWNASN = 1234;

protocol device {
    scan time 10;
}

protocol direct {
    ipv6;
    interface "dummy*";
}

# templates
template bgp AS1234v6 {
   local as OWNASN;
   ipv6 {
   ...
Score: 0
Moritz von Schweinitz avatar
Tell Linux/GRUB to start iPXE on next boot?
se flag

I've just discovered the wonder that is iPXE.

Im running various versions of Debian on many different computers, and would like to remotely tell them to reboot into iPXE, and have iPXE automatically boot into a clonezilla auto-deploy .iso I have.

Is there a way to tell Linux to automatically boot into iPXE on next boot once, and have iPXE then automatically boot into an .iso from a server?

Score: 0
Backup (SeBackupPrivilege) and restore privilege(SerestorePrivilege).for domain user
id flag

How do I verify the if the domain user has backup (SeBackupPrivilege) and restore privilege(SerestorePrivilege)? I tried added the domain user to backup operators group. But Whoami /priv command output shows that the domain user doesn't have the backup and restore privilege.

Score: 0
Vitor Falcão avatar
VPN deleting routes from another
cn flag

When I connect to first VPN (utun4) and I run the command ip route, this is the output I get:

10.10.0.0/16 via 172.27.232.1 dev utun4
10.100.0.0/16 via 172.27.232.1 dev utun4
10.250.152.0/21 via 172.27.232.1 dev utun4
172.27.224.0/20 via 172.27.232.1 dev utun4
172.27.232.0/21 via 172.27.232.29 dev utun4
172.27.232.1/32 via 172.27.232.29 dev utun4

But when I connect to the second one (utun3), it deletes ...

Score: 0
Ansible: How force kill process and exit from ansible-playbook if not successful?
cn flag

I have two bellow tasks as part from my playbook

      - name: "Verify httpd.service no running on node {{ ansible_hostname }}"
        shell: "ps -ef | grep httpd"
        register: _ps_httpd
        become: true
      - name: stop httpd is exit code eq to 0
        shell: "kill -9 $(ps -ef | grep httpd| awk '{print $2}')"
        when: _ps_httpd.rc == 0
        become: true
        ignore_errors: ...

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.