Latest Server related questions

Score: 0
Prometheus Alertmanager - Generating alerts
au flag

When alerts are based on metric data, like CPU or memory utilization, Prometheus is the obvious tool for pushing alerts into Alertmanager. There are other examples where the required alert is based on Boolean conditions, like "is DNS working". In such instances, is there a "best practice" method for generating these alerts?

Using the above DNS example, I could use a script:-

#!/usr/bin/env bash

fun ...
Score: 0
TheChubbyPanda avatar
Harbor behind a traefik reverse proxy docker login timeout
cn flag

So I'm loosely following Robert Jensen's blog post to create a Harbor registry for my home lab.

I host multiple services on one machine and so I have traefik running beautifully as a reverse proxy for all my web based docker containers.

My traefik docker-compose looks like this:

version: '3.7'

services:
  traefik:
    image: traefik:latest
    container_name: traefik
    restart: unless-stopped
 ...
Score: 0
Thomas P avatar
ddclient: do not update IPv4, but just IPv6
br flag

I'm using dydns to name my servers. My provider is using CGN, therefore my IPv4 is almost useless. Updating my IPv4 does not make any sense and I want to skip/deactivate this, I just want to update my IPv6 (e.g. after a prefix update). Is there a way to achieve/configure this with ddclient?

Score: 0
Jeff avatar
Why is my Apache able to 200 serve .php files that include a trailing slash?
dj flag

Running Apache 2.4.6 with vhosts and PHP 7.2.34 and just discovered a weird problem.

A valid URL on my vhosts, such as http://example.com/exists.php is also able to be served with a trailing slash; e.g. http://example.com/exists.php/.

This is only the case if the file being served ends with .php, not .html, .txt, etc.

There are no mod_rewrite rules affecting the vhosts. My php.ini looks good.

Any ...

Score: 1
Vincent avatar
Redundancy of Raid 10 with a hot spare?
us flag

Raid 10 has a 2N redundancy. What is the redundancy for Raid 10 with a hot spare?

Am I correct in thinking it is 2N+1 redundancy?

Score: 5
cr001 avatar
How does network pricing work exactly in cloud platforms? And how should I avoid dedicated pricing attacks?
tr flag

I am pretty new to cloud platform infrastructures. For the sake of discussion simplicity, let's say the only two platforms I am discussing are AWS and Google Cloud.

Now say I have an HTTP server that mainly handle HTTP response through an open API for an online game. Let's say the average response size is 10KB and there will be around a million responses being sent per day.

Based on my understanding ...

Score: 0
Unable to SSH into a Terraform-created EC2 instance
se flag

Using Terraform v1.0.11 on Ubuntu 18.04

After a terraform apply with the main.tf below, and after waiting for the instance to pass checks (and then another minute), attempts to SSH are hitting a wall.

$ ssh -v -i ~/.ssh/toydeploy.pem ubuntu@18.144.125.224
OpenSSH_7.6p1 Ubuntu-4ubuntu0.5, OpenSSL 1.0.2n  7 Dec 2017
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19:  ...
Score: -1
GhostWolf avatar
WD MyCloud NAS - 1 Failed Drive replaced, found another dead one before array was rebuilt
cn flag

I have a WD MyCloud 4-bay NAS with 4x 3tb drives in it setup in a RAID10 configuration (with a total RAIDed capacity of 5.5tb). A drive had failed and I got it replaced. When I entered the dashboard to have it added, I noticed one of the 3tb drives was showing as having a capacity of 4.4gb. Now the NAS says that there are no configured volumes. Anyone have any ideas on how to retain the data that's on t ...

Score: 0
dtrvno avatar
catalog list are empty
fr flag

I install openstack on RedHat 8.5. Everything OK.

I entered command:

openstack image list The service catalog is empty. [root@localhost dima(keystone_admin)]#

What is the reason ? Any suggestions?

Thanks

Score: 0
Curtis avatar
Migrating IIS webhosting into Glassfish server to avoid firewall issues with clients
bf flag

Currently I have a Glassfish 4 server which hosts an API on port 80 using SSL. Even though it is port 80 it is still using SSL. I did this because we were having issues with clients having their port 8181 blocked on their business networks and thus blocking calls from our Angular front end to the Glassfish back end API.

The Angular front end is being served by IIS over port 443 (ssl).

We made the as ...

Score: 0
sahar cohen avatar
Connecting to lcoalhost from VM
pk flag

I am using windows 10 on my local computer, and I'm building an app that requires using Linux OS, therefore I'm using an Ubuntu Virtual Box.

I installed Vagrant, and set SSH connection from my windows to my Ubuntu VM to use it's terminal from my windows terminal ("git bash" if it matters).

Now for the issue:

My app also has a frontend and therefore I need to connect it to a web server. I DO NOT WANT to us ...

Score: 0
Bbb avatar
Ex 2016 Cu22 upgrade is now causing ELCLastSuccessTimestamp and get-serverhealth compliance errors
cn flag
Bbb

When running get-serverhealth checks on our on prem 2016 Exchange servers, after upgrading to cu22, I am now seeing compliance failures. Upon further investigation using the powershell command

Get-HealthReport -Server $server | where {$_.AlertValue -ne "healthy"} | fl

SerializationData       : {0, 1, 0, 0, 0, 255, 255, 255, 255, 1, 0, 0, 0, 0, 0, 0...}
RunspaceId              : 788647cb-a334-46ca- ...
Score: 0
/usr/bin/env: ‘ruby2.7’: No such file or directory
cn flag

I'm trying to setup ruby using rbenv on a server, instead of the apt-get installed version of ruby and bundler.

I followed Digital Ocean's guide, deviating only on ruby version (I need 2.7.1) and ruby installation path (PREFIX=~/local ./ruby-build/install.sh) to keep everything in my home folder because I'm not root.

What worked

  • Installing rbenv
  • Installing ruby-build
  • rbenv install 2.7.1
  • rbenv shell 2.7.1 ...
Score: 0
Garrampa avatar
BigQuery authorization errors with Java API
th flag

Can I know if I have read permissions on a concrete dataset or table with Java API?

I am developing a tool that discovers all datasets and their tables of a BigQuery project.

My problem is that some tables or datasets are "protected" and they are not readable for this particular user (what is ok), so when I iterate through the dataset my program gets stuck when I make a .getTable() from a dataset or ...

Score: 0
Concurrent ssh connections on control server keep dropping
us flag

I'm facing an issue with setup I am using for ocassionally doing maintenance on a bunch of customer servers via remote SSH

Following Setup:

1 Control Server X Arbitrary number of Customer servers set up to have a 'service' account connect to my control server via SSH.

I've set up the clients to automatically connect to the control server, which has a fixed IP, via the service account using autoSSH afte ...

Score: 1
Use local ssh_config settings on a remote server
dk flag

Good day, friends!

I've got a locally configured ~/ssh/config file with all the hosts set up as they should. I am using them successfully when doing my ssh from the local computer like ssh dev. But when I am on a remote server I cannot do it and get this error Could not resolve hostname XYZ: Name or service not known. I have configured my local keys to be passed to remote system with ForwardAgent yes

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.