Latest Server related questions

Score: 0
How to update Azure AD MS Group Mail and ProxyAddresses field using PowerShell
in flag

I need to update email address domain for all Azure AD Groups (of all types Unified, Dynamic ... ) and I am using PowerShell 7 with latest stable AzureAD module.

I have an issue with setting new value to "Mail" and "ProxyAddresses" properties using Set-AzureADMSGroup cmdlet. Can somebody help / provide information or example on how to correctly set those properties, since documentation is not cle ...

Score: 0
steve avatar
php-fpm & Apache 2 - analysing PHP Message: logs
mx flag

One of my servers has recently been switched to using php-fpm.

The error logs now log 404's in a new format:

[Sun Dec 26 00:11:37.827426 2021] [proxy_fcgi:error] [pid 25239:tid
140600822003456] [client 66.249.66.136:37676] AH01071: Got error 'PHP message: File
does not exist: /ads.txt'
[Sun Dec 26 00:14:53.732771 2021] [proxy_fcgi:error] [pid 24741:tid
140601015035648] [client 207.46.13.93:9600] AH010 ...
Score: 0
flyerhawk avatar
Best way to create yaml files that have a variable number sections based on host
dz flag

I am trying to use ansible to deploy configuration files out to hundreds of machines in which different machines will have multiple iterations of specific configuration snippets. Specifically I am using the promtail log parser and different machines will have different log file locations to parse with different labels. Ideally I want to keep the ansible configuration pretty simply so I can just use pul ...

Score: 0
Emi-C avatar
Postfix emails error, loops back to myself
cn flag

I'm struggling with Postfix to send out emails from a form on my website:

Google Domain, hosting provided by DigitalOcean with a LAMP droplet; this is my DNS config:

dns config

Mail function on my .php file wants to send an email from: info@mydomain.io to: myname@mydomain.io

all goes succesfully except emails are not actually sent.

/var/log/mail.log mentions that status=bounced (mail for mydomain.io loops b ...

Score: 0
Cannot clone a bitbucket.org project to Linux Ubuntu via WSL in a Windows10
sa flag

So I try to clone a project via Visual Studio Code using a Linux Machine connected with WSL in my Windows System. I get the error "fatal: unable to access '.....git/': Failed to connect to bitbucket.org port 443: Connection timed out

I can do a ping to bitbucket.org.

If I open Visual Studio code using only windows, I can clone the project.

What could it be?

Score: 0
Niels Broertjes avatar
Azure Flow Logs not logging all traffic
br flag

I managed to setup NSG Flow Logs in Azure for one of my NSG's using the MS documentation: https://docs.microsoft.com/en-us/azure/network-watcher/network-watcher-nsg-flow-logging-overview

I can download the JSON files from the storage account and inspect them. I also can use the PowerBI dashboard and view the information generated from the flow logs. I used the modified PowerBI dashboard from Sameeraman: ...

Score: 0
How to reserve a processor in Windows Server for Remote Desktop
cn flag

Windows Server 2012 R2, every once in a while a runaway process will take up all the CPU and my RDP session will either take forever to start or disconnect after a long wait. Is there a way to reserve a CPU so that I never have an issue Remoting into the server?

Score: 0
N. J avatar
How to issue SSL certificate with Nginx docker container using FreeIPA?
cn flag

Instead of using a self-signed SSL certificate (untrusted) I want to issue certificate from a trusted source in this case from a FreeIPA instance (I'm new to FreeIPA).

How can this be done?

Is Kerberos required for this?

Score: 0
Ela avatar
No User exists for 'query user'
in flag
Ela

I have one weird issue on the virtual machine. When I do 'query user user1' is not showing the active session of the user. It says 'No User exists for user1', though there is active connection. However it works fine for other users. Why is this happening? Please help. Thanks.

C:\Users\user2>query user
 USERNAME         SESSIONNAME        ID  STATE   IDLE TIME  LOGON TIME
 user2            rdp-t ...
Score: 0
Matthias avatar
send email from another server than FROM domain without being marked as spam
cn flag

I want to send a mail from a website. The mail server from this domain is not publicly reachable, so I can't use that to send the mail.

The webserver that hosts the website has another email server that I can/have to use. But I want the FROM to be the website domain.

How can I set this up without my mails being marked as spam for claiming to be from the website domain when the mail server that sent  ...

Score: 0
check what processes connecting to external port
au flag

I am running an email server for a school associaltion and we offer email forwarding service for graduated students, offering them an email alias in our domain name, like johndoe@someschoolgrad.com, and we forward the email to their designated personal address registered with us.

We have recently upgraded from a very old email server on which newer TLS ver is no longer supported, and moved to a u ...

Score: 0
Mohammad Mousavi avatar
Change default docker registry in Openshift 4.7
kh flag

How can I change default docker image registry in Openshift ? I already modified /etc/containers/registries.conf in workers and master nodes and put something like this but it didn't work.

[[registry]]
prefix = "my_private_registry.com"
location = "my_private_registry.com"
insecure = false

How can I change the default repo? Thank you

Score: 0
PHP unable to identify sqlsrv_connect() function while trying to connect SQL Server
cn flag

I'm trying to connect to my local MSSQL Server from a simple PHP file using the sqlsrv_connect() function, but every time I'm calling the file in the browser through localhost, it's throwing a 500 (Internal Server Error) saying: "PHP Fatal error: Uncaught Error: Call to undefined function sqlsrv_connect() in C:\inetpub\wwwroot\AJAX_Tutorial\get_db_data.php:4". get_db_data.php is the file from wh ...

Score: 0
How to define a common location once in NGINX and share it across multiple server blocks?
bd flag

I have several server blocks, each one corresponds to a different domain. All of them share a common location that has the purpose of renewing SSH certificates (for those familiar with this, it's the .well-known route that Letsencrypt uses for that purpose, just in case someone out here already solved this ;) ).

I'd like to define this location once and share it across each different server block, ...

Score: 0
Blocking API requests from unknown "Origins"
be flag

I have an API that I'd like to block from unknown origins in production. CORS would work when the API is accessed by a website/browser, but how can I prevent it from being accessed from another servers or curl or some script running on localhost?

Thank you!

Score: 0
SSL authentication failed with 403.7 on windows server 2022
in flag

We have a list of web services & wcf project [Sslprotocols.TLS12 as hardcoded] configured with selfsigned certificates, which will be deployed in IIS & able to access the webservices successfully on the other windows server i.e windows server 2016, 2012, etc...

But on Windows Server 2022 [v21H2 OS build 20348.230] with IIS [v10.0.20348.1], we get 403.7 forbidden with access denied error w ...

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.