Latest Server related questions

Score: 0
Tracker avatar
Copy BigQuery Data between different Accounts?
hn flag

How to copy data between different accounts in python? Assuming I have oAuth credentials for both the source and destination

Score: 1
MrPeachyPenguin avatar
Clone a domain machine, rename the PC, join to the domain error
ai flag

I have a question about renaming a computer and joining it to a domain. Quick story.

We are running a machine on our domain"PC01" and we want to clone it, rename it and join it to the domain.

  1. We restored "PC01" to a virtual machine off the domain and renamed the machine to "PC02".
  2. We want PC01 & PC02 running on the same domain. But when I try to
    join PC02 to the domain I get the error below.
  3.  ...
Score: 0
PilotPatel avatar
Nginx: *42 upstream sent too big header while reading response header from upstream - random behaviour
jm flag

I have an ec2 instance running nginx.

Here is my nginx config:


    server {
      listen       443 ssl;
      root         /var/www/angular/dist/testenpoint-website-angular;
      index        index.htm index.html;
      server_name  www.testenpoint.com;
      client_max_body_size 100m;
    
      location / {
      try_files $uri $uri/ /index.html;
    }
    
    location /applicationApis/ {
      r ...
Score: 0
Rahul avatar
jenkins ssh agent set variable with
cu flag

Iam using this command to set variable ssh -o StrictHostKeyChecking=no -l ec2-user 1.1.1.1 export GRAFANA=$(kubectl get svc grafana -n grafana -o jsonpath='{.status.loadBalancer.ingress[*].hostname}')

showing output this
++ kubectl get svc grafana -n grafana -o 'jsonpath={.status.loadBalancer.ingress[*].hostname}' /home/ec2-user/workspace/eks-deploy-images@tmp/durable-df07175a/script.sh: line 21: kubec ...

Score: 0
Ronald Simmons Jr avatar
Complex Password GPO Security Filtering Access Denied
ar flag

We are just trying to apply a password policy to a set of users of a security group, we've added the security group to the Security Filtering, but when running the Group Policy Modeling with a user that is the group it's getting denied.

The security group does have read and apply GPO set in the Delegation, the policy is set at the domain level and the link order is #1. We've also tried adding th ...

Score: 1
chaL67 avatar
Redirect www to non www and redirect to index.php
gb flag

my www folder has the following .htaccess

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

my api folder (within the www folder) has the following .htaccess

RewriteEngine On
RewriteBase /api/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /api/index.php [L]

I would like to redirect  ...

Score: 1
QkiZ avatar
RPCNFSDCOUNT is ignored on Ubuntu Server 22.04.1
be flag

I'm trying to increase the thread count of nfsd by editing /etc/default/nfs-kernel-server file. I set up RPCNFSDCOUNT=48 but after reboot, nfsd thread count is still Ubuntu default which is 8.

root@nfs-server2:~# ps ax | grep nfsd
   2589 ?        Ss     0:00 /usr/sbin/nfsdcld
   2596 ?        S      0:00 [nfsd]
   2597 ?        S      0:00 [nfsd]
   2598 ?        S      0:00 [nfsd]
   2599 ?        S  ...
Score: 1
Ariel Shlahman avatar
Google cloud OAuth api verification
dm flag

We submitted our Google cloud OAuth api verification on 21-Nov-2022 and seeing the same status "Verification in progress" for long time.

There is no way to contact support about this inquiry. Is there a way to check if there is something wrong with our submission? Anyone can help?

Score: 2
Abhishek avatar
AWS Client vpn connected but cannot access internet
jp flag

I have been able to create aws client vpn endpoint also i am able to access servers inside vpc but looks like i am not able to access internet.

DNS resolution doesn't work when connected to vpn.

Here are the details

enter image description here

enter image description here

enter image description here

enter image description here enter image description here

Tunnelblick logs

 023-01-03 22:43:08.497342 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
2023-01-03 22:43:08.503457 MANAGEME ...
Score: 0
Michael Angel P. avatar
Migrate LDAP records to FreeIPA and populate POSIX
ru flag

We have a legacy application that we manage the employees, this application connects to an ApacheDS and provides LDAP authentication trough it. Now we want to implement FreeIPA but not as the source of truth but as our new LDAP system, the ipa migrate-ds command won't work as ApacheDS does not have POSIX values.

I have thought about exporting an ldif from ApacheDS, altering the file in order to work wit ...

Score: 2
Jonathan Brickman of Topeka KS avatar
System Volume Information filling up; ways to alleviate?

On all versions of Windows Server from 2012R2 onward, we are seeing System Volume Information folders, especially on server C: drives but also others, often filling up with hundreds of gigabytes of orphan shadows. We have been able to alleviate this by using secondary RAID volumes or partitions for page files (keeping C: page file at 1024G only), but would like to have more approaches at any level, incl ...

Score: 0
BostonMacOSX avatar
Unable to boot Ubuntu machine after power outage
cn flag

So I'm generally a web developer but a place I do some help for is asking me why this is happening after a power failure at their location...

I'm looking to get some feedback on how to do this so that I can make an educated attempt at least. I'm including some of the bootup information from the machine. The owner things it is a 2SSD machine....I'm thinking is is some kind of hardware failure but  ...

Score: 0
mortelsson avatar
Can I measure the performance of a linux software bridge using this setup?
th flag

I need to measure the performance of a linux network bridge (https://wiki.archlinux.org/title/Network_bridge) on a particular machine (machine A). My initial idea for a setup looked like this:

                              +-------------+
                              |  machine A  |
                              +-------------+
                              | eth0 | eth1 |
                            ...
Score: 1
Weidenwiesel avatar
NGINX enforces TLS 1.3 even though I set up TLS 1.2
ye flag

on my Server, Debian 11 bullseye 5.10.0-20-amd64

# nginx -V
nginx version: nginx/1.18.0
built with OpenSSL 1.1.1n  15 Mar 2022
TLS SNI support enabled

when using the SSL config from mozilla (https://ssl-config.mozilla.org/#server=nginx&version=1.18.0&config=intermediate&openssl=1.1.1n&guideline=5.6), nginx enforces TLS 1.3 only. I cannot connect with TLS 1.2 to the server.

* [CON ...
Score: 0
lloyd noone avatar
kubernetes cluster cert-manager in crashloopbackoff
pm flag

I had a kubernetes cluster running on a raspberry pi that had a simple server running on it. It's a small project i'm using to learn kubernetes.

After coming back to the project i realised it wasn't responding anymore. I Assumed this was because the https certificate needed renewing. But i cant figure out how to renew the certificate while pods aren't running.

I thought it would just be a case of re ...

Score: 0
TurboAAA avatar
Postfix Restrict Relay Domains Per User
de flag

I have a postfix server configured to relay for either mynetworks or sasl_authenticated clients. I would like to limit a sasl_autenticated client to send to a single domain. It looks like I might be able to do this with restriction classes, but I am not sure how this would be applied to relay restrictions. https://www.postfix.org/RESTRICTION_CLASS_README.html

Here is what I currently have in plac ...

Score: 0
Mat avatar
Postfix: different smarthosts per server port
se flag
Mat

I need to install Postfix and let it listen on two different ports: 1025 and 1026:

/etc/postfix/master.cf:

1025      inet  n       -       y       -       -       smtpd
1026      inet  n       -       y       -       -       smtpd

I need two different relayhosts for messages coming from these two ports:

  • relay1.domain.com for messages coming to the port 1025
  • relay2.domain.com for messages coming to t ...
Score: 0
Nate Houk avatar
How to setup DNS so I don't need to change A PTR everytime load balancer IP changes?
cv flag

How should I setup DNS such that I don't have to change 20 A records for different domains everytime the k8s load balancer IP changes?

Normally I setup an A record called 'k8s.domain.com' that points to the k8s cluster. I then use CNAMES for all the subdomains that points to 'k8s.domain.com'

However there are some domains that need to point to the kubernetes cluster and you can't use a CNAME for a r ...

Score: 0
flololan avatar
Can't add second IP adress via Netplan on Ubuntu
id flag

So I have a dedicated server for which I need a second IP adress. After ordering the adress the hoster just told me that i can now use the ip (giving me the IP, gateway and netmask). OS: Ubuntu 20.04.5 LTS x86_64

My issue is that I don't understand how to use netplan and the hoster is not helping a lot. Just saying that the interface should be :0 so as the primary is eno2 it should be eno2:0 and  ...

Score: 12
chaL67 avatar
Is this a good practice to upload files to a folder outside the public www folder?
gb flag

I have a web site where users can upload files. I do not want those files to be accessible by anyone.

I have seen that some people create a folder (say my_secret_folder) at the same level of the www directory. Then, they upload files (with PHP script) using:

$destination = $_SERVER['DOCUMENT_ROOT'] . "/../my_secret_folder/" . $filename;

Where $destination is the full path of the uploaded file.

Then,  ...

Score: 2
Adam Marchewka avatar
Enabling GKE Backup on regional VPC peering Autopilot Clusters
gf flag

We are trying to enable GKE Backup for our Autopilot Clusters, but we are encountering error while trying to run following command (with proper values that is):

gcloud container clusters update CLUSTER_NAME \
   --project=PROJECT_ID  \
   --region=COMPUTE_REGION \
   --update-addons=BackupRestore=ENABLED

But above gives us following error:

ERROR: (gcloud.container.clusters.update) INVALID_ARGUMEN ...
Score: 0
stacktomatojuiceleaf avatar
Networking issues when running multiple Docker containers
je flag

I am currently getting familiar with Docker and one issue I have is launching several Docker containers on the same host machine. If I run 32 or less containers, everything works fine. However, if I start more containers, not only my host machine loses internet connection, but also the containers are not able anymore to communicate with each other.

After searching the web, this seems to be a comm ...

Score: 0
j j avatar
How to configure SELinux such that it will not block the execution of endlessh
nf flag
j j

I was prompted an execution error when I check on endlessh status, I believe SELinux is blocking that execution, how to let SELinux allow that execution?

[root@fedora endlessh]# systemctl status endlessh.service
× endlessh.service - Endlessh SSH Tarpit
     Loaded: loaded (/etc/systemd/system/endlessh.service; enabled; preset: disabled)
     Active: failed (Result: exit-code) since Tue 2023-01-03  ...
Score: 0
Yucho avatar
How to replace external-content.duckduckgo.com by ddg.example.com in Apache reverse proxy?
cf flag

I'm trying to setup a reverse proxy for DuckDuckGo on Apache(ddg.example.com). Now I can visit DuckDuckGo home page and search something through my Apache server. But I found that the images in the search page are not shown. I tried to setup a reverse proxy for external-content.duckduckgo.com(The domain of the images) and use Substitute command to replace it by ddgec.example.com(My image reverse proxy U ...

Score: 0
Rajesh Gandhavarapu avatar
How to Deploy a war files in docker container by using jenkins free style job?
ua flag

I have a Redhat8 server, on that server I install docker. I take the centos8 image and create a container. In that container I install tomcat. manually I deployed wars in that container until now all is working well.

Now I want to setup a free-style job for this container in Jenkins. I try to create but after deployment iam not able to exit from container.

Followed Steps to create Job:

  1. In the fir ...

Score: 0
Arany Péter avatar
make dirvish follow softlinks during backup
gb flag

How can I make the dirvish to follow softlink directories?

My master.conf is:

bank:
    /work/dirvish
exclude:
    lost+found/
    core
    *~
    .nfs*
Runall:
    machine1-he

expire-default: +15 days
#expire-default: +6 month

And vault config:

client: machine1-he
expire-default: +1 months

rsync-option:
        --port
        873
<------>--sparse
tree: :backup

xdev: 0
index: gzip
log: gzip ...
Score: 1
Amaterasu avatar
Cloudflare uncompressing, then re-compressing response bodies
pf flag

I'm using Node.js/express and if I set the headers

Content-Type: application/json
Content-Encoding: gzip

and send gzipped compressed bodies of JSON data, this works as expected - when not behind Cloudflare.

But if behind Cloudflare and with Brotli compression enabled in the settings, Cloudflare unpacks my gzipped data and sends it to the client compressed it as brotli.

The Cloudflare documentation ...

Score: 1
Emmanuel Gleizer avatar
Is it possible to disable TLS 1.1 in domino 9?
ar flag

Is it possible to disable TLS 1.1 on Domino 9 ? The server is IBM Domino (r) Server (64 Bit) (Release 9.0.1FP8 for Windows/64).

With the same logic that setting configuration SSL_Disable_TLS_10=1 in NOTES.INI disable TLS 1.0, is there an option for disabling TLS 1.1 ?

Score: 0
Sting avatar
php.ini file is edited but still changes are not reflecting
de flag

I used phpinfo() in the code and it shows that the Loaded Configuration File is /etc/php/7.4/fpm/php.ini, I edited the upload_max_filesize to 500M and restarted the fpm service using, sudo systemctl restart php7.4-fpm but still the changes have not taken place.

Score: 0
Rowan McJimsey avatar
Dell PowerEdge R720XD - Fans Ramp Up When Video Card is Installed
um flag

I have a Dell PowerEdge R720XD with 2x Xeon E5-2640 v2 (16 cores total), 16 GB of RAM, and 2x 3 TB hard drives. I have Windows 10 running on the machine.

When I connect a video card to the system, the fans are significantly louder than if the system does not have a video card. It doesn't matter which riser board the video card is plugged into. It does not require PCI-e power, as it is a low-end c ...

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.