Latest Server related questions

Score: 1
Reducing an lvmgroup - cannot resize to xxxx extents as later ones are allocated
cn flag

I've been going through the process of reducing the size of a Centos 6.10 image by reducing an lvmgroup. I'm at the point where I've been able to run this command:

pvresize -tv --setphysicalvolumesize  1600G /dev/md125p2

And it's giving me the following error message:

 /dev/md125p2: cannot resize to 409599 extents as later ones are allocated.

I'm trying to understand how to construct the pvmove co ...

Score: 0
Jalac avatar
Domain to S3 Bucket AccessDenied
tr flag

Hello i have a problem i recibe AccessDenied in my domain

I upload my site in to a AWS S3 Bucket, i make public, create a static page, but when i access via my domain.com/mypage i get a AccessDenied.

From the aws mydomain.s3.amazonaws.com/mypage works fine.

My domain DNS are setup like this

;; ANSWER SECTION:
mydomain.com. 2101 IN CNAME mydomain.s3.amazonaws.com.
mydomain.s3.amazonaws.com. 41342 I ...
Score: 1
JaneD avatar
Haproxy: Restrict access to untrusted IPs only to sub url
in flag

I would like to restrict access to my pastebin server (I'm using zerobin) so that untrusted IPs can only open secrets, but not create them.

(note that the url https://fakepastebin.com below is just an example for the sake of giving this question some context)

Trusted IPs: allow access to https://fakepastebin.com (main page where they can generate secrets) Non trusted IPs: allow access only to secrets (eg  ...

Score: 1
Using (dual) ATS for dual PSU server?
us flag

There's two parts to my question:

  1. Does it make sense to hook up a dual PSU server to an ATS to speed up failover to the secondary circuit?
  2. If yes, does it make sense to use two separate ATSes to mitigate hardware failure of a single ATS?

I've experienced a situation at the application level, specifically the oVirt hypervisor on some server, which appears to cause the service to crash when power is ...

Score: 1
spinkus avatar
AWS-CLI EC2 AMI :: Get details about owner via OwnerId
de flag

Given the OwnerId field returned from an AWS ami query such as:

$ aws ec2 describe-images --image-ids ami-015f906ef3e2123c0 --region ap-southeast-2 --query Images[].OwnerId
[
    "602401143452"
]

how can I retrieve some information about who the owner actually is. The OwnerId means nothing to me.

Score: 0
Set scoped environment variables for Jenkins pipeline from Jenkins, not from the Jenkinsfile
my flag

Is there some way intended to store non-sensitive data in Jenkins scoped to a build configuration so it can be read from a pipeline script?

We're migrating to a new Octopus Deploy server, and our Jenkinsfile looks like this:

pipeline {
  environment {
    OCTOPUS_CLI_SERVER = "https://octopus.example.com"
    OCTOPUS_CLI_API_KEY = credentials("Octopus_Deploy_ApiKey")
  }
  // ...
}

I can update the API k ...

Score: 0
How to reduce a partition size on Centos 6.10
cn flag

I'm trying to reduce the size of a partition in a Centos 10 system. I created a bootable thumb drive with Gparted, but it showed no space available to reduce the partition.

So I tried resizing the largest filesystem from 1.8 to 1.7 GB using the resize2fs command, and that worked.

However, GPartd still shows the same partition size, and I'm still unable to reduce it.

According to GParted, the partition  ...

Score: 1
Is there a way to force nginx to treat variable as upstream name, not URL?
sn flag
a p

I have a number of upstreams that I select from based on a set of headers, but am finding after the addition of https://github.com/GUI/nginx-upstream-dynamic-servers that my $destination variable is being interpreted as a URL and not an upstream. Here's a snippet:

http {
    upstream LegacyService {
        server my.server.location.com:443 max_fails=0 resolve;
    }


    upstream NewService {
        se ...
Score: 0
IIS WCF 503 Errors - Where to Find Logs of Them
in flag

I am trying to figure out where I can find the logs which list HTTP 503 errors that IIS has been returning when servicing requests for a WCF service that it hosts.

I have looked in the following locations but I cannot find anything which indicates these 503s are being returned (I know they're being returned because the logs from our CDN indicate they are seeing 503s from the WCF service):

  1. C:\ine ...
Score: 0
sandman85 avatar
What is an appropriate backup strategy for LXD with BTRFS storage backends
ma flag

I'm about to re-configure my home server from scratch and am wondering what would be the best strategy to backup my LXD containers. Meanwhile I am running Ubuntu 20.04 LTS and have some services configured to run as LXD/LXC containers. For example:

  • container "cloudserv" running seafile
  • container "webservice" running nginx and MariaDB

These two containers are located on my SSD with btrfs filesystem ...

Score: 0
Starting WordPress site on Google Cloud Platform but "error establishing a connection to the database"
co flag

I am trying to create a WordPress site using Google Cloud Platform. I created the instance and I have everything setup to the point that I have my IP address for the site and have mapped a domain to said IP address. However, the domain name won't actually go to any site and when I try to use the IP/wp-admin/ to access WordPress I get a error establishing connection to the database error message. I ...

Score: 0
Pritunl server running on Azure VM - VPN clients have no internet
cn flag

I have a Pritunl VPN Server running on an Azure VM (ubuntu).

For testing purposes, I used the default configuration which routes all traffic through the VPN tunnel. My clients (some desktop pc's and some VPN travel routers) all connect successfully, can talk to each other, and have internet access.

I now want to stop routing client internet traffic through the VPN, but continue to route local traffic ...

Score: 0
Bob Burgess avatar
DNS Times out for non-local connections
in flag

I am setting up an email server, nextcloud files server and DNS server on a machine running Ubuntu 20.04. I've used iRedmail for email and it seems to be working correctly. I need to setup the DNS service so that machines on the same network can access correctly the server.

For the DNS configuration I am using BIND9. Below is my named.conf.options

    options {        directory "/var/cache/bind";
     ...
Score: 1
Can't create a Docker container with a volume mounted from a user-created directory in the root of an ubuntu host (EC2)
in flag

I want to create a Docker container which has a volume mounted from a user-created directory in the root of the Docker host. The host is an Ubuntu EC2 instance.

The Error

I'd like to mount the /data directory below in a Docker container, but I get the error shown:

ubuntu:~$ ls -l /
total 120
drwxr-xr-x  25 root   root    4096 Aug 10 20:51 ./
drwxr-xr-x  25 root   root    4096 Aug 10 20:51 ../
drwxr-xr-x ...
Score: 0
How to efficiently rollback AWS RDS MySQL in production
cn flag

I am evaluating using Amazon's RDS for our MySQL database, but I'm concerned with how rollbacks work. Restoring from a snapshot makes a brand new instance. Rolling production traffic over would require pushing changes to all our client applications.

I thought about using an ELB but it looks like that's not supported. Are there any ideas on how to practically rollback in a production environment?

 ...

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.