Latest Server related questions

Score: 0
MoonHorse avatar
In Azure policy, is it possible to detect a container/blob creation and apply a deployIfNotExist policy?
in flag

I would like that a blob storage private endpoint is created for every storage account which uses blob storage. So for that purpose, i want to use an azure policy with deployIfNotExist rules. So if a storage account creates a blob, the azure policy should automatically deploy an private endpoint in a specified subnet.

Is that possible? Can Azure Policy detect a container/blob creation in an Azure ...

Score: 3
Ricain avatar
NFTABLE issue: IPv6 does not behave like IPv4 with mirror config
sm flag

I have an issue with IPv6 on my server. I have nginx configured to listen on port 443 from IPv4 and IPv6. And it works great: my webiste is available form Internet with TLS enabled.

Things get complicated when I activate nftables: when I am accessing my website from IPv4 it works, but when I access it from IPv6 connections time out :(

Output of sudo nft list ruleset:

table inet filter {
        chain INP ...
Score: 0
Install ActiveDirectory PowerShell module on the AzureAD Connect server
ve flag
Tim

Overview

We have a server dedicated to AzureAD Connect. We're a small organisation (less than 300 staff). I am considering installing the ActiveDirectory PowerShell module (click here) on the same server.

Question(s)

  1. Has anyone here done this before?
  2. Did anyone run into issues doing so?
  3. Any advice, warnings, etc.?
Score: 0
Sidd avatar
Not able to access groovy variable inside shell script in JenkinsFile
cn flag
def NAMESPACE = "Dev"

def BODY= sh(
script:'''body=$(cat <<-EOF
{
    "name": "${NAMESPACE}",
    "type": "regularwebapp"
}
EOF
)
(echo $body)''',
returnStdout: true
).trim()

The above doesnt work, output is as follows:

{
    "name": "",
    "type": "regularwebapp"
}
Score: 0
JVM (lucee) Metaspace increases constantly
in flag

I have a lucee (ColdFusion) server in production.

At first, we encountered OS memory exhaustion. We reduced the -Xmx2048m to half available memory and set -XX:MaxMetaspaceSize=1000m.

After a while though, the tomcat of lucee reported OutOfMemory errors and required a restart.

Since the metaspace is in addition to the heap and by default is not limited, this indicates that the metaspace is filling ...

Score: 3
Teo B avatar
Windows Server Audit Logs
in flag

I have a windows server 2012r2 domain controller and file server. I enabled auditing for a specific folder i want to monitor. I am collecting logs on a centralized graylog server. I am getting the audit logs correctlly, the problem is i am getting also a ton of logs of the files being accessed by the av software bitdefender also by the cloud sync software i use to sync my files in the cloud. My graylog  ...

Score: 0
devesh joshi avatar
Why is Ip6tables message filtering not giving me any logs
ae flag

I am trying to log all messages with dst=2a03:2880:f11c:8183:face:b00c::25de in the IPv6 in ICMPv6 header part. My target packet looks like this

IN=eth0 OUT=tun0 MAC=0e:0a:90:fa:2b:d5:0e:c1:68:fa:ba:b6:86:dd SRC=2620:0107:4000:cfff:0000:0000:f200:f198 DST=fddd:1194:1194:1194:0000:0000:0000:1000 LEN=160 TC=0 HOPLIMIT=62 FLOWLBL=109562 PROTO=ICMPv6 TYPE=3 CODE=0 [SRC=fddd:1194:1194:1194:0000:0000:000 ...
Score: 0
tater avatar
Force IPv6 NS source to be global instead of link
tr flag

In summary, how can I force an interface to use the global IPv6 address as the source for neighbor solicitation messages rather than the link address?

Background: Many VPS providers do not allocate a routed IPv6 /64 but merely assign a block on a /48. The gateway is a global IPv6 address on the /48 but outside the /64. The gateway responds to NS messages sent from a global address, but does not re ...

Score: 1
mosquetero avatar
How to set /proc/sys/net/ipv6/conf/all/forwarding to 1 by default in network namespaces?
it flag

By default, when I create a network namespace, I get:

/proc/sys/net/ipv6/conf/all/forwarding=0

Even if it is 1 in my root network namespace or in /etc/sysctl.conf. I was wondering where network namespaces get the default config and how to change that. I'd like to have that set to 1 so that new network namespaces get that config by default.

Score: 0
azk avatar
Ansible - Could not print value of custom fact
ph flag
azk


This is a playbook part of a role that talks with vmware.
I'm is trying to set a custom fact (target_vm) that receive the virtual machine name.
But when I Print it's value with the debug module it apears to be empty.
It seams that the set_fact is correctly set because the debug output shows {"ansible_facts": {"target_vm": "TESTVM"}.
I've also made a Fail task that reveals if the target_vm fact is set ...

Score: 0
Simon Degn avatar
EC2 server with a crond-service and full /var/spool/exim/-folder
ug flag

I'm no expert in linux, apache, etc. but I have this service running on an AWS EC2-server. There is a large number of cron-jobs running on my platform (about 50K / day).

Last week upgraded the EC2-instance and then I started the cron-service on the new instance. Since then, the cron-jobs are leaving a massive amount of output-files in the /var/spool/exim/input-folder. They are all named something ...

Score: 0
Andrew Andrew avatar
What is alternative in Centos for Debains staff group?
cn flag

There is the staff group in the /etc/groups in Debian. According to the https://wiki.debian.org/SystemGroups the purpose of this group is:

Allows users to add local modifications to the system (/usr/local) without needing root privileges (note that executables in /usr/local/bin are in the PATH variable of any user, and they may "override" the executables in /bin and /usr/bin with the same name). Compare  ...

Score: 0
Nikolai Frolov avatar
Why browsers fetch images again after reloading my page?
in flag

I am developing a web app, and I want all the images (a couple hundred MB worth - 20 000 - 50 000 thumbnails) to be downloaded once and never downloaded again, as those don't really change. Also, those images are downloaded from youtube servers, and I don't want to hammer their servers unnecessarily.

But the problem is that, when I reload the page, the requests start raining again, instead of loa ...

Score: -1
Halbjobbit avatar
Hover.com domain cant be reached
ca flag

I recently bought a .DE domain from Hover.com for use in email addresses (I am using mailbox.org) and also a web service in the future.

The name-servers are set to ns1.hover.com and ns2.hover.com. I have 2 A-records set, one with '*' and one with '@' as host, pointing to hover.com 's IP address (64.98.145.30). These where generated by Hover. Additionally i have 2 TXT-records, one for SPF ('@' as  ...

Score: 0
Ivan Stepanchuk avatar
Django Vue.js Nginx POST request ERROR 502 (Bad Gateway), when using DRF API
in flag

I have deployed Vue.js and Django E-commerce on VPS, where I set up Nginx and Gunicorn. All pages are working fine, all pages from Vue.js and the Admin area of Django. But when it comes to use forms and basically do anything related with /api/v1/ it gets ERROR 502. What could be wrong? I have no idea how to solve that and I've been having this error for over a few days. Hope you could help. Thank you! ...

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.