Latest Server related questions

Score: 0
Reverse Proxy for Webflow
ve flag

The web site creation and hosting tool known as webflow doesn’t allow static page hosting. That is I can’t have www.foo.com/something serve a json or text file.

Our DNS has a CNAME for www to proxy-ssl dot webflow dot com.

So I deleted that and pointed an A record for www to my server’s ip.

I setup a reverse proxy in golang to that same proxy-ssl.webflow.com address and use it for everything ...

Score: 0
codenamezero avatar
How to revert CTRL+Space behavior in Windows 11
jp flag

You know in most coding IDE, when hitting CTRL+Space, it usually triggers code completion or code hinting... but for some reason with my new work laptop running Windows 11, hitting CTRL+Space would switch windows!!! And I can't find anything to either disable/change/revert this behavior! Googling only shows me results about CTRL+Space to change the language input... Is it just me? Or is there a way to g ...

Score: 1
mb158127 avatar
List kerberos tickets, expiration details with SSSD/realm
za flag

tl;dr - how do I check details of users' kerberos tickets to confirm they are being renewed as I've sought to configure, using realm or sssd (no klist installed)?

Hi - I'm on a Debian 11 system which is AD/domain joined with some mix of SSSD and realm. Notably I do not have whatever package provides the 'kinit', 'klist', etc commands I'm familiar with from a previous platform.

Every time a domain us ...

Score: 0
Antonin Welvart avatar
GCP Cloud Build installation of composer fails because checksums don't match
je flag

The build of my Laravel 9 app is broken. During the deploy the build stage always fails because the installation of composer fails due to unmathing checksums.

Build logs:

=== PHP - Composer - Install ([email protected]) ===
DEBUG: ***** CACHE MISS: "composer"
2023/04/05 10:22:16 [DEBUG] GET https://getcomposer.org/installer
2023/04/05 10:22:16 [DEBUG] GET https://composer.github.io/ins ...
Score: 1
MikiBelavista avatar
Error: error contacting notary server: x509: certificate signed by unknown authority
in flag

I am puzzled how docker and Notary work together. I can not sign image

docker pull nginx:latest

got

Error: error contacting notary server: x509: certificate signed by unknown authority

I followed these steps

git clone https://github.com/theupdateframework/notary
cd notary $ docker-compose build
docker-compose up -d
mkdir -p ~/.notary && cp cmd/notary/config.json cmd/notary/root-ca.crt ~ ...
Score: 0
NullPointer avatar
AWS EC2: adding IP from a separate private block
ba flag

I have an existing VPC with a CIDR in the 10.0.0.0/16 block.

I now have to create a VPN connection to an external service, who want us to use IPs in 192.168.0.0/16 block.

Unfortunately, AWS does not allow mixing these two blocks in a single VPC, otherwise adding a new CIDR block would have been an easy solution.

Short of creating a new VPC and migrating services, what are the options to achieve this? I ...

Score: 1
Dave avatar
What can you do when auditd halts the system?
us flag

I recently had an issue where my server powered off in the middle of running a script, seemingly randomly, but at about the same point each time, and then whenever I tried to power the server on again it would start the start up process and then when it got to a certain point just power itself off again before reaching the login options.

I initially thought it was something to do with the script  ...

Score: 0
paypercorn avatar
How to migrate User Data to OneDrive without granting administrators permissions
pa flag

Performing a migration of all users "personal" files to OneDrive and I'm quite new to this all.

My small organization is in the process of migrating to SharePoint and OneDrive, and our Users are not synced between On Premise AD and AzureAD/365.

Pretty straightforward right, use SharePoint Migration Tool, use an admin account that has read access to FS shares and a Microsoft account that has access t ...

Score: 0
user1014325 avatar
Attach Cloud Storage as shared NFS storage for CloudRun
za flag

I want to attach a shared static storage that is not ephimeral after cloudrun instance gets terminated. Can we use gFuse with CloudStorage to achieve this ? IF so by introducing CloudFuse, do we get any additional latencies

Score: 0
tonso avatar
Causes of packet loss on multiple persistent tcp connections simultaneously?
br flag

The issue was detected while analyzing some application logs, which reported few seconds long spike periods when messages from multiple clients are received on the server with a substantial delay (up to a couple of seconds). The application itself utilizes persistent connections, over which clients and server are exchanging short messages (much less than MTU) a couple of dozens times per second (think v ...

Score: 0
Nikita Kipriyanov avatar
Ansible playbook: download a file from a repository only if it was not changed on a target machine
za flag

I am setting up an autoinstall environment with PXE boot. To install Linux this way, one basically needs to download linux and initrd.gz files which are buried deeply in the repository structure and also supply a pxelinux and/or pxegrub configuration which will reference these files. This is for Debian; other distros should be similar. I did that before by hand.

I wrote the following basic playbook to ...

Score: 0
Kenzo_Gilead avatar
How can I know which version of .Net is using an application in IIS?
se flag

We have migrated an application from Net version 3.5 to 4.8. The truth is that we are encountering many problems. Everything seems right, but it doesn't seem to work returns a 500 error without any more information. My approach is that it is not running with the correct version of Net. Therefore, install version 4.8 of the following link: Net 4.8 Framework for Windows Server 2016. It still don´t wor ...

Score: -1
CPdev avatar
How to set routes on a linux EC2
gr flag

How do I set the below values in linux?

I'm able to set destination and gateway, but I can't find anything in the docs RE passing a flag for genmask, flags, metric, ref, use or Iface.

Can anyone provide the value to pass? I've been able to construct the below

sudo route add -net 0.0.0.0 gw 192.168.96.0 tun0

But I need the full command to add the below;

Destination     Gateway         Genmask         Fl ...
Score: 1
Boobal avatar
Failed loading plugin "subscription-manager" : No module named 'decorator'
bq flag

Error: If you get the this error when you run the dnf/yum command

Failed loading plugin "subscription-manager": No module named 'decorator'
Failed loading plugin "product-id": No module named 'decorator'
Failed loading plugin "upload-profile": No module named 'decorator'
Score: 0
Vitomir avatar
Whitelist an S3 Bucket in server firewall
ne flag

I am looking for a way to whitelist an S3 Bucket on my client's server. In this S3 bucket there is a public website, thus, my idea is to find the ip address used for this S3 bucket. However, I have read from the documentation that it is using dynamic addresses based on many servers and it chooses the one with lowest latency. I am looking for a suggestion for the best way to configure the server's firewa ...

Score: 0
gipsea avatar
server remot access using VPN FW - TUN vs TAP
uy flag

I'm trying to improve my home Firewall set up and I'm trying to figure out the best VPN configuration.

GOAL: In order to reduce the open ports of my home webserver I thought to use SSH and webmin service only over a VPN connection and keep these ports closed to the DMZ network

First of all, if my GOAL doesn't make much sense for some reason please advice :)

My actual configuration is: Zeroshell(ZS now  ...

Score: 0
Neeraj Tyagi avatar
my google api give me 'GET FILES ERRORS Error: invalid_grant' during access my g-drives folder and files
mx flag

i am trying to access files and foldes through google api by using authenticated access token and other credential but i got error caller 'GET FILES ERRORS Error: invalid_grant', even i use proper scops and access type 'offline' and also i did't revoke permission through user's email.

`const refresh_token = getAccessoken.refresh_token

                    let oAuth2Client = new google.auth.OAuth2( ...
Score: 0
Félix avatar
reverse proxy between apache
vn flag

I need to set up a reverse proxy between two Apaches. My setup looks like the following, but it's not working.

<Location "/example/">
ProxyPass http://example.com/
ProxyPassReverse http://example.com/
</Location>

On the domain.com side, I have an apache in front that makes a proxy pass through ajp to the internal ip 10.1.0.17 and the configuration looks as shown below.

ProxyPass /exam ...
Score: 0
acgbox avatar
How to abbreviate iptables rules?
ng flag

I have these example rules from iptables and I want to economize them

lan=enp2s0
iptables -A INPUT -i $lan -p tcp --dport 1234 -j NFLOG --nflog-prefix 'foo'
iptables -A INPUT -i $lan -p tcp --dport 1234 -j ACCEPT
iptables -A FORWARD -i $lan -p tcp --dport 1234 -j NFLOG --nflog-prefix 'foo'
iptables -A FORWARD -i $lan -p tcp --dport 1234 -j ACCEPT
iptables -t mangle -A PREROUTING -i $lan -p tcp --dp ...
Score: 0
user984003 avatar
EC2 after reboot: how to resolve host ip-xxx-xx-xx-xxx: Resource temporarily unavailable
tr flag

I rebooted my Ubuntu EC2 and I now can't do anything. I get the following error on trying pretty much anything:

sudo: unable to resolve host ip-xxx-xx-xx-xxx: Resource temporarily unavailable

where the xxx is the private IP address.

How do I resolve this error?

As an example, it happens for this command:

sudo rm some_file

That's just an example. Pretty much nothing works.

I looked at similar questions ...

Score: 0
CrashNeb avatar
With GCloud CLI -- how to list all instances associated with a particular schedule (i.e. resource-policy)?
cn flag

Here is a picture of the WebUI for GCP, showing an "instance schedule" that has 3 instances currently associated with it:

GCP Instance Schedule

How can I list those same 3 instances using the GCloud CLI?

I found commands to add a VM to a schedule:

gcloud compute instances add-resource-policies ...

I found commands to remove a VM from a schedule:

gcloud compute instances remove-resource-policies ...

I tried "viewing" the s ...

Score: 0
sangul avatar
forward traffic from vm host to Minikube
my flag

I have the following setup:

MAC Book Pro and Ubuntu 22.04, running on parallels.

Minikube installed on the ubuntu vm.

Some pods running in the Minikube cluster and configured an external service.

From my Ubuntu VM (where Minikube is running) I can reach the external

service via curl http://192.168.49.2:30000

From the Host System (Mac Book) I can't reach the external service.

10.211.55.6 is Interface en ...

Score: 0
xmp125a avatar
OpenVPN bridging with server and multiple clients?
ca flag

I am setting up a bridge that will connect two or more disjoint physical networks in the single shared "ethernet space" (e.g. I want everything to work like it is plugged into one Ethernet switch). Both of my networks will be behind NAT and therefore I am setting up server in the cloud with the public IP that will accept connections from the clients (which will have further bridged tap0 and eth0 interfa ...

Score: 0
Georgi Yankov avatar
Mail proxy with SPF and DMARC without changing FROM headers
jo flag

Here is my situation.

We have internal network, with lots of 2nd level subdomains - foo.internal.domain.ltd as example. Those subdomains may or may not have public DNS records with Class A IPs.

Then, we have a single subdomain, that acts as a proxy - proxy.internal.domain.ltd. It has public IP address with the following DNS records: A record - IN A <IPv4 of the VM> MX record - IN MX 10 proxy.intern ...

Score: 1
Max Muster avatar
how to setup the folder separator a "/ " instead of a dot "." in imap maildir postfix and dovecot
se flag

The Question is already in the title. I want to setup dovecot and postfix with maildir , but I do not want the dot "." as folder separator. I like to use a folder system like "/"

Maildir/folder/
Maildir/folder/subfolder/

I found this : https://doc.dovecot.org/configuration_manual/mail_location/Maildir/

mail_location = maildir:~/Maildir:LAYOUT=fs

I also setup the Namespace Inbox accordingly

mail_locat ...
Score: 0
Dolphin avatar
error 2 opening file "*.zim": No such file or directory
af flag

when I am install kiwix-server docker image into the NAS, show error:

error 2 opening file "*.zim": No such file or directory

this is the config looks like:

enter image description here

I have read the docs that shows command like this could work. why the nas run this command still failed?

Score: 0
luis.espinal avatar
Bridge Becomes Unresponsive (must reboot)
ru flag

We noticed in some of our hardware that our switch (an integrated KSZ9477) stops responding, with the logs showing the following:

[ 9585.977985] ksz9477-switch 0-005f port1: Link is Down
[ 9585.983206] br0: port 2(port1) entered disabled state
[ 9585.993337] ksz9477-switch 0-005f port1: failed (err=-11) to del object (id=2)
[12664.128536] Microchip KSZ9477 dsa-0.0:01: Master/Slave resolution failed ...
Score: 0
Luke Briner avatar
Cannot update Github key from CLI
tr flag

I have only just tried to use github via git on the cli for the first time since they leaked their key and it needed resetting.

I added the new key into known_hosts under users/luke/.ssh (Windows 11) (didn't work so I removed all existing known hosts) and I also removed the known hosts them from the Registry (since Putty stores them there) but when I run any git command to github, it shows the warning a ...

Score: 0
stevland avatar
WordPress > bbPress > Search > PHP Fatal error: Allowed memory size exhausted
cn flag

CentOS Linux 7.9.2009 (Core)
Plesk Obsidian 18.0.51
PHP 8.1.17 (up-to-date)
WordPress 6.2 (up-to-date)
X Theme 10.1.10 (up-to-date)

php.ini
memory_limit 512M (confirmed by checking the phpinfo() page)

wp-config.php
define( 'WP_MEMORY_LIMIT', '512M' );
define( 'WP_MAX_MEMORY_LIMIT' , '512M' );
@ini_set( 'upload_max_size' , '512M' );

Every time I run a search of my website using bbPress' built-in sear ...

Score: 0
Dovecot: Restore Messages From mdbox Backups
fr flag

Given a file-system backup of dovecot mailboxes (all in mdbox format) with a structure that looks something like the following:

/path/to/backups/2023-03
/path/to/backups/2023-03/attachments
/path/to/backups/2023-03/mailboxes/example.org
/path/to/backups/2023-03/mailboxes/examble.org/user

What is the easiest way to import messages for a specific user from the backup to the current version of their a ...

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.