Latest Server related questions

Score: 1
山崎健太郎 avatar
OAuth Token Rate
za flag

I would like to confirm the token grant rate for Oauth authentication. Since the token grant rate is limited to 100 times / minute, will it be limited to the grant rate if one tenant tries to obtain tokens for 100 users or more? The following is a supplement Currently, we are considering using a script to obtain tokens for a large number of users and using Dovecot's proxy function to access Gmail. I'm t ...

Score: 0
Orsu avatar
OmekaS, php, can't write their error log file, seemingly with correct permissions
ph flag

I am currently installing and configuring an instance of OmekaS, a CMS for libraries (in short).

I am encountering an error when trying to write to log files.

They should be in /var/www/CMS/log/application.log; but this file stays empty no matter what.

When checking /var/log/apache2/error/log, i get this :

 [php7:notice] [pid 1447] [client 172.18.1.181:2898] [Omeka S] File logging disabled: not wr ...
Score: 1
Orion Red avatar
What do results of Linux time wrapper tell me happened to this cp command?
in flag

My view on this issue is from the developer side. I write the code that gets placed on a RHEL virtual machine running as one of many in an enterprise system. The filesystem being used is a remote, network attached storage device.

We had some high variability on simple commands during batch. So we set up a test to get more information, but now I don't know what we've found.

We ran the following comm ...

Score: 1
pdqcontacts avatar
Do I need to migrate from iptables to nftables?
ru flag

I have the following iptables rules.

Forwarding packets from 1.2.3.4 and 5.6.7.8 (sources) coming to port 10000 to an external socks5 server on 10.10.10.10:1080. The server IP is 50.50.50.50

This schema is working well if the source amount is not high and at the same time the external socks5 amount is not high too. Once I have 50 sources and 30k external socks - iptables is stuck and no packets for ...

Score: 0
How to invoke a .env file into a Django project that runs in a Docker container on a K8s server?
es flag

I most likely only need a hint into the right direction.

I have a docker container running a Django app using gunicorn and nginx. This Django app is currently getting its environment variables from a .env file.

FROM python:alpine
EXPOSE 8000

RUN apk update
RUN apk add --no-cache git gcc musl-dev libffi-dev libxml2-dev libxslt-dev gcc swig g++
RUN apk add --no-cache jpeg-dev zlib-dev freetype-dev lcms ...
Score: 0
Andrés Fernández avatar
AWS/IAM: Implementing 2-person rule with IAM permissions
cn flag

I would like to implement a 2-person rule with IAM permissions in AWS.

Essentially, for certain privileged operations exposed by AWS services, I would like to require the approval of a second individual.

Is there a way to do this?

Thanks!

Score: 0
Traffic shaping with tc penalise large downloads
cn flag

I have this shaping script that is supposed to penalise downloads larger than 10mb by downgrading their connection speed.

If I test with one connection the penalty is in effect and the download speed is lowered to set value. If I open a new download in paralel, the penalty download rate is shared between the two penalised connections. My goal is to offer a guaranteed penalty rate, not a shared on ...

Score: 0
Dmitriy avatar
Issues Setting Up Istio Gateway
ae flag

I have an AKS cluster with 2 nodes

Node A. 10.216.6.229 Node B. 10.216.6.230

We do not have External Load Balancer, so Istio Gateway EXTERNAL-IP is . As per Get Started documentation, I used command below to get INGRESS-HOST, which was set to Node A IP of 10.216.6.229. After completing the Get Started steps I can open sample app BookInfo on http://10.216.6.229:30438/productpage

export INGRESS_HOST=$( ...
Score: 0
BestRazer avatar
MySQL doesn't start
cn flag

Today I wanted to restart mariaDB because I couldn't connect to the database anymore. When I tried to restart it, I got these errors:

● mariadb.service - MariaDB 10.7.3 database server
     Loaded: loaded (/lib/systemd/system/mariadb.service; enabled; vendor preset: enabled)
    Drop-In: /etc/systemd/system/mariadb.service.d
             └─migrated-from-my.cnf-settings.conf
     Active: faile ...
Score: 1
How do I convert this .htaccess snippet to Nginx rules?
pk flag

I have this snippet of .htaccess coming from Apache:

RewriteCond %{REQUEST_FILENAME} index\.php
RewriteCond %{QUERY_STRING} ^id=([0-9]+)$
RewriteCond %{DOCUMENT_ROOT}/u_pages/%1.php -f
RewriteRule .* u_pages/%1.php? [L]

Using the Winginx online converter I get the following:

location / {
  if ($request_filename ~ index\.php){
    rewrite ^(.*)$ /u_pages/%1.php? break;
  }
}

But that doesn't seem to  ...

Score: 0
RDP: Black screen and "failed to reconnect to your remote session"
ph flag

I got a problem that I've spend most of today trying to fix, but unable to. I connect remotely to a computer, which is running Windows 10, but randomly it will stop working. It always fixes it when I reboot, but not for long until it starts again.

It will just show a black screen for 30 seconds or so (not responsive no matter what I do) and then say "failed to reconnect to your remote session".

The  ...

Score: 0
Using openssl smime to email binary files on Linux
mw flag

I want to be able to send automated encrypted email from Linux to Microsoft Outlook user’s email. I know little about S/MIME but I have managed to accomplish sending encrypted text emails using this Linux command line:

openssl smime -encrypt -aes256 -in email_contents.txt -text -subject "Encrypted email test" -to username@domain username.pem | sendmail username@domain

In the above username.pem is  ...

Score: 0
Lotus Notes limit user's outgoing email quota
cn flag

We are using Domino 9 mail server and I want to restrict all users from sending huge amount of emails in short amount of time. For example when some users compromise their credentials and hacker uses their accounts to send huge amount of emails to certain mail domains. I've found settings to block certain users to send emails in Server Document Settings but is there a way just to limit sending quota of  ...

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.