Latest Server related questions

Score: 0
CH06 avatar
How to register Ansible actions in Windows Event Log?
ar flag

Ansible: 2.9 Windows: W2k16 Server

I'm searching for a method to register (log) Ansible actions in remote Windows host.

For example, when I work with win_command module for echo test command, I can't find lines referring to this action in Windows Event Log.

How can I make the ansible actions show up in the Windows Event log?

Score: 0
jimmytann avatar
Syncing docker-compose remote context state across multiple developers
hu flag

Got a question about docker contexts, Fellas.

  • Assuming we make a docker-compose context for a remote machine (i.e., `docker context create aaa --docker "host=ssh://[email protected]")
  • And build it and run it on the remote machine (i.e., docker-compose --context aaa up -d)
  • Now the machine is running. Let's say I left my computer and my colleague using their computer wants to check some logs for the machin ...
Score: 0
ALB instead of Cloudfront in front of single server web app
us flag

AWS Recommends adding cloudfront in front of single server applications for security and performance see https://aws.amazon.com/blogs/networking-and-content-delivery/dynamic-whole-site-delivery-with-amazon-cloudfront/

I want to add it for an existing web app but the max time out of cloudfront is 180 seconds and I have some calls which are longer and will time out. I'm mainly interested in the secu ...

Score: 1
PostFix issue - trying to get MailHog to work
cv flag

So mysteriously my previously-working MailHog stopped working this morning on my Mac Mojave.

I have followed the steps in this post to get MailHog running: https://www.joshstauffer.com/send-test-emails-on-a-mac-with-mailhog/

Postfix log file output: (log stream --predicate '(process == "smtpd") || (process == "smtp")' --info) Postfix log file output

My /etc/hosts file contains an entry for: 127.0.0.1 localhost

Also when I  ...

Score: 1
ansible - get list of all hostnames and corresponding ansible_host values from inventory
us flag

My inventory looks like this:

db0 ansible_host=10.0.0.1
db1 ansible_host=10.0.0.2
app0 ansible_host=10.0.0.3
app1 ansible_host=10.0.0.4
...

From this, I need to extract a list like this:

- name: db0
  ip: 10.0.0.1
- name: db1
  ip: 10.0.0.2
- name: app0
  ip: 10.0.0.3
- name: app1
  ip: 10.0.0.4

I know I can get all hosts using groups['all'].

I can also get the ansible_host value for each host us ...

Score: 0
FBExport - use on Ubuntu
tr flag

TL;DR : How use FBExport on Ubuntu / how export Firebird query result to csv file.

I would to like export query result from firebird database to csv file. On Windows I do similary job using FBExport.

Unfortunetly I don't know use this tool on Ubuntu.

I downloaded pack from http://www.firebirdfaq.org/fbexport.php

When I try run ./fbexport i got error:

./fbexport: error while loading shared libraries: ...

Score: 1
Nginx match any word in if statement except one
cn flag

I'm using the following if statement regex in nginx config to match and block some bad requests inside request uri. These bad queries request always only one argument but every time with random name (and alphanum count). They also always hit the homepage.

Example of bad query: /?some1bad0query2=nminkvywbjfdysnvhp

if ($request_uri ~ "[\w]{5,25}\=[\w]{5,25}$") {
  return 403;
}

How can I modify this  ...

Score: 0
Paul avatar
Host with bridge cannot ping other subnets
in flag

I'm having some trouble with my server. I set up a a bridge interface to use with my virtual machines, everything is working fine except for when I try to ping devices on a different subnet. I get a "host is unreachable" error. The most bizarre thing is that pinging other subnets from the virtual machines works. I'm using Ubuntu 20.04. Any help is appreciated.

Score: 0
Cooper Max avatar
Postfix Recipient address rejected: Access denied error after removing permit_mynetworks
in flag

I have a mail server which have to remove "permit_mynetworks" from Postfix configuration file(main.cf) in case of abuse. I only set it to allow SASL autheniented relay. But now, postfix would reject any foreign recipients. Can somebody please tell me what's wrong? Thanks in advance!

Here are the configurations: [main.cf]

# --------------------
# INSTALL-TIME CONFIGURATION INFORMATION
#
# location of t ...
Score: 0
AuxBurger avatar
kvm guest vms are no longer reachable after changing the maschine names
sy flag

I've got a new server with several kvm vms. This server has been installed by an other person which is no longer available.

The problem: The names of the kvm guests are bad and so I want to rename them. Using the virsh-domrename-command this can be done easy.

However, after changing the vm guest names the maschines are no longer reachable from the outside and I'm unable figure out why. I already did ...

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.