Latest Server related questions

Score: 0
analnassorog avatar
EC2 - Serving multiple websites on 1 instance, each on its' own IP address
in flag

Currently I have an EC2 machine (t2.small which is limited to 3 network interfaces and 4 private IPv4 addresses per interface) with 1 elastic ip associated to it and it runs Ubuntu with a simple Apache server that serves about 2-3 websites, which they all connect eventually to the same RDS instance. What I want to achieve is to be able to serve each of these websites on its' own IP address but still usi ...

Score: 0
How long are certificates available in ADCS Web Enrollment page after issued
in flag

I have a windows 2008 enterprise ADCS server with web enrollment. I want to know/configure how long do issued certificates last on the page before a user has to submit another request.

While researching this question, this seams to be different from certdat.inc's "nPendingTimoutDays" since this controls pending requests, not already issued certificates.

Score: 2
Radvylf Programs avatar
RAID controller detecting SSD as foreign after every reboot
cn flag

My server, an R610, has been detecting my SSD as foreign after every reboot. It has a PERC 6/i RAID controller, but there's no actual RAID stuff (I just have all the drives as their own VDs).

This had happened a few times over the last year or two, but it's been happening every single time I reboot now. The drive is a Kingston SSD (240GB, 2.5"), and the SMART status doesn't show anything odd.

I do h ...

Score: 0
RoyalGoose avatar
"Bad Request" when sending request to Socket.IO app via Apache
ni flag

What I have

I have Socket.IO app letteraly from template

const express = require('express');
const app = express();
const http = require('http');
const server = http.createServer(app);
const { Server } = require("socket.io");
const io = new Server(server);

io.on('connection', (socket) => {
  console.log('a user connected');
});

server.listen(3000, () => {
  console.log('listening on *:3000 ...
Score: 0
Wenuka avatar
Check utilization of AWS Inferentia chips
cn flag

How can we check the utilization of AWS Inferentia chips? I.e I am using an AWS Inf1 instance to train my ML project and I want to know how much capacity I am using.

Normally I use nvidia-smi with the Nvidia GPUs. What is the equivalent for the AWS Inferentia chips?

Score: 0
Sam Foley avatar
How to monitor docker container network usage with Prometheus?
us flag

I would like to monitor container level metrics for network usage, these are displayed by docker stats but not exposed by the native Docker Prometheus exporter (https://docs.docker.com/config/daemon/prometheus/), Node_Exporter (https://github.com/prometheus/node_exporter) or cAdvisor (https://github.com/google/cadvisor).

cAdvisor provides a metric output that I thought did this, but on closer exa ...

Score: 0
LazuRR avatar
Nginx show image in location
jp flag

Is it possible to serve images with nginx on specific location on my DNS? Example: As for now i got https://test.com/image.jpg , but I'm trying to get a https://test.com/image1/ (same sources, /path/images/image.jpg) where is located ONLY my image.

Score: 3
Alex Elshamouty avatar
Using conditions in GCP role assignment to prevent users from inviting other users and managing only service accounts
ca flag

I recently read about conditions in GCP and how one can use them to add logic to a role. I would like to give a user a role to assign roles to service accounts. But if I do that, the user will also be able to invite other users to the project and that I do not want.

I experimented with things like:

gcloud projects add-iam-policy-binding <project> --member="user:useremail@gmail.com" --role="roles ...
Score: 0
docker swarm temporarily stops accepting request in production
in flag

I am running an angular application in docker swarm in production. Randomly the application stops working for like 10 minutes. The containers are running fine. I see the arp -a says the arp incomplete for two containers. How should I troubleshoot the issue ? What can I do to fix it ?

$ arp -a
? (172.25.0.17) at <incomplete> on docker_gwbridge
? (172.25.0.16) at 02:42:ac:19:00:10 [ether] on docker_gw ...
Score: -1
Postfix rejects incoming mails
in flag
Dec 13 15:14:11 raspberrypi postfix/smtpd[7702]: connect from mail-wm1-f52.google.com[209.85.128.52]
Dec 13 15:14:11 raspberrypi postfix/smtpd[7702]: warning: connect to Milter service local:/opendkim/opendkim.sock: No such file or directory
Dec 13 15:14:11 raspberrypi postfix/smtpd[7702]: TLS SNI smtp.rbmuanyag.hu from mail-wm1-f52.google.com[209.85.128.52] not matched, using default chain
Dec 13 15:14:1 ...
Score: 0
DevOpsSauce avatar
Cannot execute sqlite statement with Ansible command module - [Errno 2] No such file or directory: b'sqlite3'"
jp flag

I am trying to run a simple query on many servers. I know 100% that the file and directory in question exist.

I can do simple commands, such as ls, pwd, whoami, etc, and I can run the sqlite command on the remote host itself.

The playbook task:

- name: Do a test SELECT statement
  become: yes
  become_user: root
  command: sqlite3 /usr/local/share/sqlite/dbfile.sqlite3 "SELECT * FROM db WHERE hostname= ...
Score: 0
Axel avatar
nginx proxypass not working for embedded links
us flag

I've an EC2 machine which is behind a ALB. Listener rules in the ALB are like

IF
Path is/blog*
Host is abc.example.com

THEN
Forward to
target-group-1

My nginx config looks like this:

##

# Default server configuration

server {
    listen 80 default_server;
    listen [::]:80 default_server;

    root /var/www/html;
    # Add index.php to the list if you are using PHP
    index index.html index. ...
Score: 0
Pier avatar
ddns update multiple zones in a single lan from dhcp server
us flag

I am trying to make the following setup to work but i'm failing :

A isc-dhcp server (debian) to update a bind9 server (debian).

The bind server has 2 zones: dev.toto and prod.toto, all servers (whatever their domains are, are in the same lan 10.5.0.0/16).

What I'm failing to achieve is to have the the dhcp server to add the correct entry to the correct zone.

Examples :

client1.dev.toto ask for a le ...

Score: 0
Difference between display and fields directives in CloudWatch Logs Insights query syntax
yt flag

What is the difference between display and fields directives in CloudWatch Logs Insights query syntax?

These are descriptions from the AWS documentation that look very similar to me :

display: Specifies which fields to display in the query results.

fields: Retrieves the specified fields from log events for display.

As an example, I have logs stored in Cloudwatch in this structure (with these fi ...

Score: 0
GTeley avatar
Joomla redirects wrong after POST
id flag

Situation: FreeBSD 13 server with Apache 2.4 as reverse proxy on SSL. Bastille jail with nginx on port 80 and joomla 4.04

Problem: When doing a POST within Joomla (actually any POST except the one from logging in), the update gets handled okay but it then redirects back to the original full URL without a trailing slash. This cannot, of course, be resolved at the DNS level and results in a 404.

I tri ...

Score: 0
Ansible module for Brocade/ICX is misbehaving
ng flag

I've to perform some network automation in my infra using ansible.

When i'm trying to use ansible module for icx switches it seems to be misbehaving.

Playbook i used

- name: ICX switch testing
  hosts: test-switch
  gather_facts: no
  vars:
    ansible_user: username
    ansible_password: password
    ansible_connection=ansible.netcommon.network_cli
    ansible_network_os=icx
  tasks:
    - name: show ve ...

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.