Latest Server related questions

Score: 0
Sending an email to listeners when ocurring an error on my application
us flag

Recently I deployed an app on production environment. The app sometimes writes some entries on log file and exception file.

The log files are:

  • C:\TEMP\MyApplication_log_{day}{month}{year}.txt
  • C:\TEMP\MyApplication_Exceptions{day}{month}{year}.txt

The production environment has the next features.

  • Windows Server 2016.

¿What should I configure on my Windows Server to receive an email with the ne ...

Score: 0
Local Users Interfere in Domain User File Sharing
cw flag

Made a file share "Shares" on a folder directly under a hard drive (let's call it E:) in a Windows Server 2016 box. Server is part of the domain "domain.com".

Sharing permissions - Everyone:Full-Control.
NTFS permissions - Left the default permissions
(Meaning it has entries for SYSTEM, CREATOR OWNER, Administrators. I added domain admins too, which should be irrelevant for what follows.)

2 sub-folder ...

Score: 0
AGrzes avatar
Is random response from DNS authoritative server normal
ng flag

We are trying to setup Lets Encrypt certificate issuance using cert-manager and dns01 solver. We are using Dreamhost as our DNS provider and we created glue component that bridges between RFC-2136 cert-manager and Dreamhost API.

We are experiencing issue that although the required (TXT) records are being added the authoritative DNS server are returning them at random - with two requests one after anoth ...

Score: 0
Jose avatar
kyverno precondition for possible empty values
vn flag

I am learning how to use kyverno to build some policies, but I am facing a few problems to understand some behaviour:

My first scenario is I want block some resource that may or may not have the spec.tier set. If it is set and it is different from 'Application' I want it to be blocked. If it is not set it should be allow. So I tried this:

apiVersion: kyverno.io/v1
kind: ClusterPolicy
metadata:
  name: ...
Score: 0
Andrew avatar
In the bind mount "hostPath:containerPath:ro" what dose the ro part do?
bn flag
  1. How do I know I need to add the ro or not?
  2. I know the ro stands for read only but why would you need a read only bind mount?
  3. How would it effect my docker-composer-yml

Example: Containerizing a python app

// docker-composer.yml
...
volumes:
    - ./src:/usr/src/app/src:ro
Score: 0
Getting CORS error while accessing audio files on same server in chrome
id flag

Access to video at '/path/to/mp3/file' from origin 'https://example.com' has been blocked by CORS policy: Request had a target IP address space of unknown yet the resource is in address space public.

Score: 0
leonid777 avatar
Is it safe and appropriate to remove SUID and SGID from certain system files in Debian 11 (files on the screenshot)?
id flag

The whole list of all files found with find / -perm -4000 -print and find / -perm -2000 -print commands (same) are on the screenshot. So is it an efficient and safe thing to delete SUID, SGID from all of them? Or it won't give any additional safety and just meaningless? Thank you in advance!

There is only one added user and we won't add any more users.

List of found files

Score: 1
json_query help - not producing expected output
cn flag

I am trying to build an array to use for with_nested, but I cannot get past why json_query isn't outputting the actual hosts assigned to each cluster:

Play:

- name: Index clusters.json
  shell: cat {{ tower_var_path }}/clusters.json
  register: result_clusters

- name: Save the Json data to a Variable as a Fact
  set_fact: 
    clusters_jsondata: "{{ result_clusters.stdout | from_json }}"

- debug:
     ...
Score: 0
CFD avatar
connection refused from upstream html - NGINX
br flag
CFD

I have an html file running on a docker container with this url: http://localhost:80 I want to redirect this to another port like http://localhost:8080 with NGINX. I have the following config for it:

user  nginx;
worker_processes  auto;

error_log  /var/log/nginx/error.log notice;
pid        /var/run/nginx.pid;

events {
    worker_connections  1024;
}

http {
    include mime.types;
    sendfile o ...
Score: 0
Only the PC that is plugged into the same switch as the printer can ping the printer, but other devices can ping the PC on the same switch. Why?
uy flag

In my store I have sever POS computers running Windows 10 and a Brother network laser printer. Suddenly none of the POS systems can reach the printer. When I installed the printer in the showroom I added a Netgear switch so that I could plug both devices into the network. It was working fine until about a week ago. The printer has a static IP but only the POS system that is plugged into the same switch  ...

Score: 0
Leponzo avatar
Fail an AutoSys file watcher job if it exceeds maximum runtime
hu flag

Is there a way to fail an AutoSys file watcher job if it exceeds some maximum runtime? I am aware of term_run_time, but that terminates the job, causing it to not run at the next scheduled time.

Score: 0
scorpdaddy avatar
login to remote Win10 and retrieve file
au flag

Currently doing a manual daily backup of certain files, tars and zips, from a number of Win10 boxes to a master Win10 box. Backups are done by RDP - copy - paste. There has to be a way to script this. Please avoid: network file share, folder mapping, installing ssh or other server, or any permanent connection. The idea is to script what has been happening manually: open a connection with the known l ...

Score: 0
questionador avatar
Windows 2012 Server Task not running
cn flag

I have two exactly equal Tasks created on Windows 2012 Server.

One of them is set to run only When User is logged in, and the other is set to run whether user is logged in or not.

What happens is, the one set to run when I'm logged, automatically runs when i log in, and that's what is expected.

My problem is, the other one, does not run when I'm logged, or if I do not log in, not even manually.

Can anyone ...

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.