Latest Server related questions

Score: 0
fishter avatar
Avoiding the PBA password prompt
lr flag

I have an Ubuntu system which boots from a small NVME disk using software encryption, TPM, etc. to mitigate against data loss in case of theft. The system is interfaced with customised PCIe hardware to record data (possibly very large quantities of data).

The end-user interacts with the system via a web-interface and they are not intended to use any user accounts on the system or interact directl ...

Score: 0
AWS EC2 Centos8 - NVME Disk not mounted entirely to the Operating System
jp flag

Our system admin said, they had mounted a 100GB disk to EC2 instance. But when I put a df -Ph, only 2.8GB is available to / root

root@myhost: df -Ph /
Filesystem      Size  used Avail Use% Mounted On
/dev/nvme0n1p2  2.8G  2.5G 366M 88%  /

If I put fdisk -l or lsblk, the disk is present of 100G

root@myhost: lsblk
NAME  MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
nvme0n1  259:0  0 100G 0 disk
|
|- nvme0n1p1 259:1 0 ...
Score: 0
Bill Hungerford avatar
Where Can I Buy / Download Solaris 11.2? It's the only version that will work for me
cn flag

We have an Oracle 11g SE2 database with a web front end running some older code. Basically we want to move to a better, newer dell server with SAS3/12gbs, the Dell R730. The problem is that the web code base requires Solaris 11.2. And the R730 needs Solaris 11.2 or 11.3. Long story, but I need to find Solaris 11.2 to make this move.

Oracle only offers downloads of Solaris 11.4. That wont work ...

Score: 0
Byte legion avatar
Trigger a python script when postfix hold an email
de flag

i have a python script and i want it to run each time postfix holds and email i managed to hold emails based on some patterns using regular expression under /etc/postfix/main.cf and i want to run this python script each time an email is holded. i did my research and i found it this potential solution Postfix does not trigger my before-queue milter script an i tried this:

smtp      inet  n       -       ...
Score: 1
Sylar avatar
Pass url after trailing slash to proxy_pass
jp flag

How do you redirect everything after* the trailing slash to an internal server? I hope that made sense. Example: www.foo.com/v2/api should go to localhost:3000/api or www.foo.com/v2/something goes to localhost:3000/something. I have this:

location ~ ^/v2/(.*) {
   #rewrite ^/(.*)$ $1 break;
   proxy_pass http://localhost:3000/$1;
}
foo.com/v2/<ANYTHING-HERE-SHOULD-MOVE-BEHIND-PORT-3000>

*see ...

Score: 0
Fabio Rovati avatar
Is it possible to assign different external IP addresses to different Docker containers running on the same server?
cn flag

Let it be 3 machines on the network (192.168.1.1/24):

  1. Server running Docker with 2 containers C1 and C2 (192.168.1.3)
  2. Personal Computer 1 PC1 (192.168.1.4)
  3. Personal Computer 2 PC2 (192.168.1.5)

C1 and C2 are serving a static website on tcp port 80 (C1) and 81 (C2) on the IP 192.168.1.3.

Is it possible to assign two different IPs to the containers? Let's say for example 192.168.1.6:80 for C1 and 192.16 ...

Score: 0
Flying Thunder avatar
Ansible - do you have to include/import from other files?
bo flag

I was not able to find anything on this after a lot of googling. All i could find were various kinds and ways of importing and including other tasks, but is it not possible to have two tasks in one file, and have one include the other - sort of like functions in most common programming languages? In my specific case i seem to need this to iterate over two lists at once - i tried including the name of th ...

Score: 0
JO1jo2 avatar
GCP CDN network consumption statistics
nz flag

CDN acceleration service in addition to the original traffic in the network transmission process, due to TCP/IP packet headers, TCP retransmission, there is about 10-15% of network consumption. GCP take the value of what percent as network consumption statistics.

Score: 0
themadmax avatar
Using a part of the URI as a port number for nginx proxy_pass directive
cn flag

This is my nginx configuration :

server {
        listen 443 ssl;
        server_name sub.example.fr ;
        location ~ ^/ (123[0-9])$ { # regex work
                #rewrite ^/[0-9]{4}(.*)$ $1 last; # do not work, with last or break
                #proxy_pass http://localhost:$1/; # add slash not allow
                proxy_pass http://localhost:$1;
        }
}

I want to forward https://sub. ...

Score: 0
Website loads too long if more than 60 people are online (Apache nodejs)
ng flag

If you visit https://tapwar.io, it loads for so long (well, by the time I wrote this post) and it only happens when more than 60 people are connected.

Here are the further details on the app: It is a nodejs app listening on port 5000, I used Apache CentOS 7. The server is working properly if there are less traffic, I used proxy.conf like so:

RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [N ...
Score: 0
Moweon Lee avatar
Nginx performance change between 1.16.2 and 1.19.1 or higher
in flag

We have noticed significant performance degradation by using recent NGINX version 1.19.1 or higher. The previous version that have used without any problem is 1.16.1 with openssl 1.1.1g.

To upgrade NGINX and OpenSSL by some security issues, we have tried many combinations of NGINX and OpenSSL.

And we have figured out that the border is between NGINX version 1.18.0 and 1.19.1. We have read Changes i ...

Score: 0
Chris Hood avatar
Unable to send mail via SES from EC2 instance
tr flag

I have an EC2 instance running Magento. I'm trying to get AWS SES set up so that we can send transactional emails to customers and to our staff internally, however, I keep getting timeout errors.

The domain is set up and verified in SES, I have an SMTP user configured. The server is running Debian 10 and Sendmail as its MTA. Sendmail is configured to use SES' SMTP user credentials for sending mai ...

Score: 0
Raptor avatar
OpenLDAP create new Organization & Organization Unit using Apache Directory Studio LDAP Browser
de flag

I have set up an OpenLDAP server via slapd in macOS 10.15.7. I successfully connected to the server in Apache Directory Studio LDAP Browser. However, when I try to add any new entry to the server, the same error exists:

[LDAP result code 53 - unwillingToPerform] no global superior knowledge

Here is a screenshot when I am trying to create an OU:

enter image description here

It said the Parent does not exist. When I leave Parent e ...

Score: 0
computerguy1 avatar
Wireguard server multi-hop for some peers
us flag

I have several Wireguard servers hosted on Ubuntu VPS servers. There are peers setup on each VPN server. I have the servers setup in "mesh" configuration and they're all able to ping each other directly. The servers have ipv4 forwarding enabled. I can connect to each server as a peer and have my internet connection routed through that server.

I would like to forward some peers through multiple Wi ...

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.