Latest Server related questions

Score: 0
CodePlay avatar
MariaDB failed to start on Debian After Upgrading Server
cn flag

I am running magento application on debian server. MariaDB failed to start after server upgrade. Please find the errors below:

I am running magento on Debian Linux server. The site failed to load with error 521.

MariaDB is not running. I tried to start the service, but it is returning an error.

Max address space         unlimited            unlimited            bytes
Max file locks            unlimited   ...
Score: 2
masus04 avatar
GCP does not have enough resources available to fulfill the request for about a month
tn flag

I've been trying to start my existing GCP VM that has an NVIDIA T4 GPU attached to it, for almost a month at this time. It has been working fine before but now I am constantly getting the error message:

The zone '***' does not have enough resources available to fulfill the request. Try a different zone, or try again later."

Which indicates that there are no GPUs available.

Starting any VM with a GPU in a ...

Score: 1
initramfs - customize init script
ru flag

We have a cluster system with master and several nodes. I have set up a PXE netboot of ubuntu kernel 5.4.0-91 from the master. The nodes load the initramfs and end up in the busybox.

Now I want to customize the initramfs to automatically do the following task: the nodes shall mount a directory from the master via nfs and execute a script there.

How to properly implement that?

Score: 0
Does Long DNS TTL matter if you can shut down the server using the old IP?
cn flag

If we retain the old IP when we transition a website to a new IP, would browsers/ISP servers be smart enough to refresh the DNS record if the server using the old IP is offline?

Score: 0
CORS ERROR : "URL scheme "origin" is not supported." to fetch api
de flag

A 'CORS' error occurred while transmitting data from the client to the service. Therefore, "Access-Control-Allow-Origin" was added to the 'HTTP response header' to the IIS and to the WCF-Web.config.

However, the following error occurred.

test client_1.html:11 Fetch API cannot load origin: http://localhost:59755/StudentService.svc/

Ply_GetGamedata. URL scheme "origin" is not supported.

-MY client C ...

Score: 0
Omid Shojaee avatar
Make autodiscover work for second Exchange domain
in flag

We have Active Directory, Domain Controller and Exchange server 2019 for abc.com. They are all behind NAT and all services (Autodiscover, ActiveSync, OWA, ...) work properly.

We also need to have email service for xyz.com too, so this is what we've done so far:

External DNS

mail and autodiscover of xyz.com point to the same public IP address of abc.com.

Internal DNS

mail and autodiscover of xyz.com

Score: 0
Citrix XenServer Powershell Invoke-XenVM -Action MigrateSend
ph flag

I'm trying to migrate a Xen-VM via Powershell-Script like this:

$VMname = "VM-01"

Invoke-XenVM -Name $VMname -XenAction MigrateSend -Live $true -Options $htOpt -VifMap ??? -VdiMap ??? -Async

How can I create the fitting values for VifMap and VdiMap?

Score: 1
Typewar avatar
rewrite and force redirect on rewrite origin url in nginx
in flag

I have this instance where a html search <form> forces it to go to /search/index.php?q=term and would like to use something like /search/term instead.

This is how the config looks like right now:

location /search/ {
    rewrite ^/search/(.+) /search/index.php?q=$1;
}

Accessing this location directly works, but in the moment of filling out the form, and searching it will use the "origin" ra ...

Score: 0
Sara June avatar
How to create events in github page using jenkins?
cn flag

We have a jenkins server where we are creating our services using jenkins pipeline tasks on aws.

For somehow, if the build fails, we are destroying the services we created at the end.

Is there anyway to create an else stage in jenkins and send a notification in the github pull request page, asking for delete the environment or postpone for some 30 min.

Based on this input we will process the stage of d ...

Score: 0
Permanent redirect URL in uppercase to lowercase using htaccess
jp flag

I have the URLs in large letters and I need a permanent redirect to small letters.

http://localhost/test/en/Ads-1-Alsace-Bas-Rhin-Cars-Demo01-Particular Redirect to: http://localhost/test/en/ads-1-alsace-bas-rhin-cars-demo01-particular

Can help me with this. Thank you.

### Rewriting index and general urls ###

RewriteRule ^(fr|en|es|it)/$ ?lang=$1 [L]

RewriteRule ^(fr|en|es|it)$ /$1/ [R]

RewriteRule ^( ...
Score: 1
Daigo avatar
Kubernetes Pod fails with OutOfMemory status immediately after being scheduled
ao flag

I'm testing my application on a bare-metal Kubernetes cluster (version 1.22.1) and having an issue when launching my application as a Job.

My cluster has two nodes (master and worker) but the worker is cordoned. On the master node, 21GB of memory is available for the application.

I tried to launch my application as three different Jobs at the same time. Since I set 16GB of memory as both resource re ...

Score: 1
Saeed Neamati avatar
The HTTP version of my websites take a long time to resolve, while HTTPS versions instantly resolve. How to debug it?
cn flag

I create many websites for my customers.

And I register domains via different registrars.

And I have a couple of VPS servers, distributed in different data centers.

However, I see this weird behavior.

When I use example.com which translates into http://example.com I see that it takes a lot of time and usually the first time it won't respond and times out and on the second refresh it works.

However, if  ...

Score: 0
Khaled Hussein avatar
Manage Samba 4 AD from windows 10 RSAT
jp flag

I installed samba 4 AD on testing environment, configured it and provision the AD, I installed windows 10 client and joined it to the domain and it worked,

I installed RSAT on windows 10 to manage Users and Groups on the DC, and I can connect to the domain but I cannot create users or groups, when I choose create user from menu it did not give me any error or new user window

if there is any GUI tool ...

Score: 0
ufw failed to be initialized
tr flag

I just make a fresh Docker container. But, when I try to enable ufw, I get the following error message:

# ufw enable
ERROR: problem running ufw-init
modprobe: ERROR: ../libkmod/libkmod.c:586 kmod_search_moddep() could not open moddep file '/lib/modules/5.11.0-44-generic/modules.dep.bin'
modprobe: FATAL: Module nf_conntrack_ftp not found in directory /lib/modules/5.11.0-44-generic
modprobe: ERROR: . ...
Score: 0
cr001 avatar
Containerized deployment vs. traditional deployment in cloud services, what exactly is the advantage in my use case?
tr flag

Currently I have a traditional deployment process that works as follows:

  1. There are many different "functionalities". Each functionality operates on a different environment, but cross-functionality communications exist.
  2. There is a "Deployer" host machine which pull the git repositories onto it and deploy the codes/assets to different ECS machines
  3. The "Deployer" will deploy different functionalities onto ...
Score: 1
Nginx get / from /index.php without "directory index is forbidden" elsewhere
us flag

I need / to be shown like /index.php.

Right now I have

index index.php;
if ( $request_uri = /index.php ) { return 301 /; }
location / { try_files $uri $uri/ =404; }

And everything works fine but there are some errors like

directory index of "/home/.../public_html/tmp/" is forbidden

which I want to remove. The problem here is $uri/ in try_files $uri $uri/ =404;

https://stackoverflow.com/questions/192 ...

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.