Latest Server related questions

Score: 2
GCP: Can I list permissions assigned to custom role using gcloud?
uz flag

Is there any way to list the permissions associated with a (custom) role in Google Cloud Platform IAM using gcloud? I can find how to list the roles, but not the permissions associated with a given role.

Score: 6
user13539846 avatar
No DKIM headers in sent mails from postfix
pl flag

I have two postfix, one for receiving mails and the other for sending mails, and I am having trouble signing dkim on my outgoing mails. I followed this tutorial.

Logs also is not helping me point to the main problem. OpenDKIM is running fine:

● opendkim.service - OpenDKIM DomainKeys Identified Mail (DKIM) Milter
     Loaded: loaded (/lib/systemd/system/opendkim.service; enabled; vendor preset: enabled) ...
Score: 1
Hamza Ben avatar
RoboCopy Access Denied, even with SeBackupPrivilege
in flag

My account is a member of the Backup Operators group on the domain and I run PowerShell in elevated admin mode. I checked my privileges with whoami /priv and saw SeBackupPrivilege listed (disabled but nothing weird so far).

Still, when I run the command: robocopy 'o:\folderx' 'c:\temp' /zb

I get an error 5 (0x0000005), "Access denied" to the source folder. Tried also using azcopy with the backup flag ...

Score: 0
cyly derder avatar
clone a grafana setup to a different server
ua flag

I'm writing a set of scripts to automatically setup any virgin ubuntu server to be in a state usable for my production environment.

One of the things I want to do is setup grafana so that, on install, it has already added prometheus as a datasource, has a dashboard setup, and any other configuration steps already done, without having to touch the graphical interface.

For that, I thought I could set  ...

Score: -4
Mitch Hiller avatar
Getting "Must enable billing on Google Cloud Project"
de flag

I am sending an address to the Maps API, need the Lat & Lon of the address.

I pass in the request https://maps.google.com/maps/api/geocode/xml?address=.....

and the error message is what you see in the subject.

I am in the Cl

Score: 0
How do you use regex flags in postfix?
ca flag

In Postfix we can apply some basic header, body, client checks using regex. I wanted to use flags.

I added the following to the header_checks file:

/some(\s|_|-)words(\s|_|-)here/gmi REJECT

and tested it by sending myself and email with those words in the title, but I get the error in my maillog stating unknown regexp option "g": skipping this rule

Is there a proper way to apply flags or does postfi ...

Score: 2
Gustavo avatar
Where are Tomcat 9 sessions stored in Ubuntu 18?
ph flag

The manual below says:

Apache Tomcat 9 Configuration Reference - The Manager Component

Introduction

A Manager element MAY be nested inside a Context component. If it is not included, a default Manager configuration will be created automatically

My Context has no nested Manager element:

<Context>
    <WatchedResource>WEB-INF/web.xml</WatchedResource>
    <WatchedResource>WEB-INF/t ...
Score: 0
Mukesh avatar
Less requests per second on Apache Bench test from same server
gt flag

I ran following test on one of my website from the server where it is hosted itself.

ab -n 100 -c 10 https://example.com/

enter image description here

It serves very less number of requests per second.

The server configuration is 64GB RAM, 16CPU, Ubuntu20.04 and webserver is Nginx 1.14

When I run same test on a different website which is running on 8GB RAM, 4CPU, Ubuntu 18 and Apache2 webserver, I am getting the 20.09 requests s ...

Score: 0
jsjw avatar
PHP OpCache on Amazon EFS
mc flag

Looking for some validation of my thought process here. I don't have the stats to hand to back up my claims, but have enough experience with web hosting with and without EFS to be comfortbale in making it.

A Joomla or WordPress PHP site being served entirely from EFS (e.g. the document root is in EFS) - making use of Apache and PHP-FPM will be slower than one that is served from EBS. This is beca ...

Score: 0
Daniel Grunblatt avatar
cannot send emails from a powershell script to postfix/dovect mail server
in flag

Update: it works when sending to a domain that the server handles. As this is a shared hosting server, it contains several domains. For example, domain1.com and domain2.com. If I specify the recipient to be [email protected], I receive the email

A week passed googling and browsing in serverfault without success. So, here's my last chance to fix this.

I have a powershell script that sends an ema ...

Score: 0
saro avatar
Disable dynamic logging
my flag
Message from syslogd@dev01 at Jun 18 09:23:49 ...
 varnishd[8318]: no cookie

Message from syslogd@dev01 at Jun 18 09:23:49 ...
 varnishd[8318]: no cookie

Message from syslogd@dev01 at Jun 18 09:23:49 ...
 varnishd[8318]: no cookie

I keep getting these logs pop out when I ssh into the staging server, I don't remember what I entered, but I would like to disable all dynamic logging that's on current ...

Score: 1
Elias Arellano avatar
How does update management works for virtual machines in Azure?
cn flag

We defined the execution's time of the update management with a runbook for 6 hours.

But I would like to know : Does update management work asynchronously (every virtual machines are getting updated at the same time)?.

Score: 2
Elias Arellano avatar
Can we connect 2 VPN gateways with 2 vnets with the same ip range in Azure?
cn flag

Let's suppose that in two differents subcription we have 1 vnet with the same ip range, and both sites also have one subnet with the same ip range. Does VPN gateway still working ? For example in this case:

Subscription 1:

Vnet range : 10.1.0.0/16

Subnet range : 10.1.0.0/24

Subscription 2:

Vnet range : 10.1.0.0/16

Subnet range : 10.1.0.0/24

Score: 1
Luca Moscato avatar
Change permission for a file created by other user in the same group
in flag

I have a centos 7 file server and user that can work on shared directory are in group users. With default umask a user is able to create file with the following permissions:

[luca@myserver mydirectory]$ ls -l testfile -rw-rw-r-- 1 luca users 0 18 giu 13.03 testfile.txt

but when an other user, part of the same group users, try to change permissions on the same file I have

[nick@myserver mydir ...

Score: 1
fgrieu avatar
Benefits of separate RDBMS server
de flag

I'd like to compare the benefits of two hosting architectures for a small server (meaning a 2-core CPU and 250GB SSD, with 100GB dedicated for data, is more than enough), consisting mostly of a custom application providing web services, with a REST architecture and all the data in a relational database.

  1. Hosted on a single machine in the cloud (e.g. an EC2 instance) with a Relational Database (e.g. my ...

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.