Latest Server related questions

Score: 0
JackWrighty avatar
Remote Desktop Gateway (RDG) Public CA certificate not trusted on external connection
cu flag

Currently moving RDG role from "nene-server" to "NTRDG01, but when trying to connect externally to the gateway, getting certificate error:External error on gateway over https. This was weird because I uploaded a re-keyed certificate from 123reg but the server didn't seem to want to serve it up, so I used the below command to try to force it:

WMIC /namespace:\root\cimv2\TerminalServices PATH Win32_TSGener ...

Score: 0
Belive avatar
Disabling Nginx's proxy buffering doesn't synchronize the response
pg flag

My understand on disabled Nginx's proxy buffering is that the app server will wait the client to respond instead of Nginx, so I should see many open connections, but it's not the case in my testing.

Setup:

client (10.2.0.7) <===> Nginx (10.2.0.5) <===> PythonApp (10.2.0.4, port 8000)

500 slow connections initiated by the client slowhttptest -c 500 -H -g -o my_header_stats -i 10 -r 50 -t ...

Score: 0
CodeShark avatar
New Java licensing on servers - JDK or Java SE?
jp flag

I'm evaluating whether I should code a new (possibly commercial) Linux server software in Java 19. I just noticed that beside of the major Oracle license disaster a few years ago, there is a new license for Java SE since this year and a "Oracle No-Fee Terms and Conditions" license (NFTC) for newer JDKs. I tried to understand the new license policies but I'm still not certain that I'm right. So does some ...

Score: 0
doraemon avatar
What is number of concurrent users Nginx Load Balancer 1CPU 2GB can handle?
us flag

I'm looking for average number for 1GB/2GB/4GB memory cloud(vps) machine can handle? Please share if you have any experiences.

I can currently handle 500 concurrent users without sacrificing response times for a static site with 1CPU/1GB Memory VPS machine, but I don't know how much users the same machine can handle in load balancing mode.

Score: 0
Drin avatar
In Rsyslog, how do you replace regex matches with custom text?
ky flag

I'm trying to capture text via regular expression and replace the text with a custom string.

My current code successfully captures IP addresses, but I don't know how to replace the IP address with custom text along with the rest of the message:

$Template privateIP,"%TIMESTAMP% %HOSTNAME% %syslogtag% %msg:R,ERE,0,DFLT:([0-9]{1,3}\.){3}[0-9]{1,3}--end%\n"

My first thought is to somehow move the regex out o ...

Score: -2
Abhay Salvi avatar
How browsers deal with ports?
sy flag

Suppose I've a website created which is hosted, and running on port 5000. Now you are on a web browser (let's say chrome) visits the webpage.

  • so does chrome sends a request from your PC to my server like mywebsite.com:5000 (as the site is listening to that port)?
  • and how does the port 80 (for the HTTP request) gets accessed then?

I just want to know what goes behind the scenes. How ports work? How bro ...

Score: 0
Asterix avatar
OSError: [Errno 30] Read-only file system:
ht flag

(On Ubuntu 22.04 LTS)

When trying to create or edit any file or directory on my hard drive I get a 'Read-only file system'-error (two days ago I could still do that):

$ whoami
mattia
$ mkdir example
mkdir: cannot create directory ‘example’: Read-only file system

My permissions for any directory on the drive are as follows:

drwxrwxrwx 1 mattia mattia    0 Jan  1  2022  example

For files it is:

Score: 0
emma.makes avatar
Issue valid HTTPS certificates for intranet subdomains with letsencrypt
co flag

I'm trying to provide secure services on my home intranet. Up to now I've used self-signed certificates with a made-up domain example.foo, with a subdomain for my separate systems (e.g. srv1.example.foo). These domains are defined on my local DNS server.

Now I've bought the domain example.com, but have no plans on providing any public services. I also have a VPS with static IPs to point example.com

Score: 0
Asterix avatar
Error writing lock file: Permission denied
ht flag

(On Ubuntu 22.04 LTS)

After connecting my NAS drive with the mount command in the nashome directory, the following error occurs, when trying to edit or create any file in the mounted directory tree: [ Error writing lock file ./.index.html.swp: Permission denied ] Error Message when trying to edit the index.html file

I also tried editing the files as a root, however the same error occurs.

The permi ...

Score: 0
Artyom Tarakanov avatar
Please, help. nginx don't serve files with "?" symbol. Need some vhost correction
ee flag

I have some static files on server, which looks like this: jquery.timeentry.css?P Im getting an 404 error from nginx. Guys, please help to resolve it.

Score: 0
Kaiden Prince avatar
Burning a DVD in linux across multiple days
fr flag

I'm creating a simple backup system in place that creates incremental backups. I already have plans on storing the backups offsite, and they are also stored locally on the same system that creates them, on the same hard disk that the originals are on. I'm looking to improve the backup system further, by storing it on an alternate media locally.

The files that I'd like to backup are usually very s ...

Score: 1
Why should I use Cloud Composer?
US flag

We recently started using Cloud Composer for our data engineering pipelines. For even a small environment that autoscales from 1 to 3 (in fact using just 1 worker most of the time), it's quite expensive at ~$350/month. We don't currently have many DAGs running and each dag runs just daily for around 5 to 10 minutes. So our Cloud Composer environment is actually just sitting idlely the vast majority of t ...

Score: 1
Kevin Chacón avatar
Configure apache ssl with load balancer (DigitalOcean)
si flag

I'm probably missing something really basic, but I've been trying for some time now to configure an apache server (which serves a wordpress site) for ssl with a DigitalOcean Load balancer.

The load balancer is supposed to hold the certificate and redirect http access on port 80 to https 443, the problem is that the apache responds with a 400 and this string "\x16\x03\x01".

According to my investigat ...

Score: 0
Vietna avatar
cannot execute quota command on centos7 with supervisord service
vn flag

I have a bash script where I use the quota command like quota -gl $USER which works fine.

But if I start the script as a service with supervisord I get the error:

quota: username (gid 1170): Permission denied in the supervisord log. Actually the supervisord is running with the rights of my user and it should have the same permissions, why not with this command?

I can break it down into a simple t ...

Score: 0
fnava avatar
wireguard VPN configuration
na flag

I have a wireguard vpn configuration on my router, the ports are open and the server configuration I think is correct.

however when I want to connect a client, it only shows me this error: [TUN] [client1] Handshake for peer 1 (mi ip:51820) did not complete after 5 seconds retrying (try 2), It is the only error that reproduces, I put the configuration of the client and server:

Client configuration ...

Score: 0
Chris Leather avatar
Spamassassin not scoring correctly
ao flag

I have Spamassassin running on a Ubuntu/Plesk server. It was working relatively well until recently but now seems to be letting through random spam messages.

These messages seem to trigger plenty of rules but the score is still coming in really low. I have lots of custom scores defined and they are very much on the high side because I don't mind a few false positives.

Here is and example of an email ...

Score: 0
tiago2023 avatar
windows client pptp can't connect to pptpd server
mu flag

I have pptpd server ubuntu 16.04 in a machine with several interfaces and I want to connect pptp through a tun0 but it doesn't connect.

If I debug in /var/log/syslog I have this error

LCP: timeout sending Config-Requests Connection terminated. Modem hangup pppd version 2.4.7 and pptp version 1.4.0 no iptables rules, no ufw enabled.

Any ideas??

Score: 0
compi avatar
Apache is not reading .htaccess file
tr flag

I'm having trouble getting an .htaccess file to work on my self-hosted server. I'm trying to redirect all visitors to HTTPS and non-www using the following directives:

RewriteEngine On
RewriteCond %{HTTPS} off [OR]
RewriteCond %{HTTP_HOST} ^www\. [NC]
RewriteRule ^(.*)$ https://example.com/$1 [L,R=301]

However, I've added some random text to the beginning of the .htaccess file to check if it's being r ...

Score: 0
Prof Von Lemongargle avatar
Can you specify the SSM parameter store as a target in an AWS Security Group egress rule?
mx flag

I would like to tightly restrict outbound network level access from groups of EC2 instances. For these instances, I need to allow access to the Parameter Store. I also need to allow access to S3. For S3, AWS provides a Prefix List and I can use that Prefix List as the target of a Egress Rule. However, I cannot find a similar Prefix List for the SSM parameter store.

So, currently to allow this ...

Score: 0
AZinNC avatar
Multiple Quorum Disk Witnesses in Windows Failover Clustering?
au flag

I believe that I have a need to have 2 separate disk witnesses, but am having trouble finding anything that gives any advice or shows any examples. If anyone can provide some constructive advice, I would greatly appreciate it.

In a clustered Windows 2019 Hyper-V environment, we are migrating our VMs from an older iSCSI SAN device to a newer one. We currently have both iSCSI devices mapped and a ...

Score: 0
hide Archive in Outlook
uz flag

Is is possible to hide the Online Archive in Outlook? We have archive enabled because we have in-place hold enabled, but we don't want users to use the archive features, and we don't want the Online Archive listed on the left. We are using Exchange Online, if that makes a difference.

Score: 1
InLibrolivier avatar
Emails sent with Perl NET::SMTP through Exim and then Postfix slow down when coming from one particular server
gt flag

We have several servers set up on Debian 11 (Bullseye). One of the processes we run on all servers at regular interval during the day, with cron, is a perl script that reads from a MySQL database and sends emails with relevant data. The number of emails vary but is usually between 5 and 20 per batch. Except during the night, where another process will compile information and prepare hundreds of emails.  ...

Score: 0
Prestige VPS avatar
VMware ESXi 7.0 U3j Can't login via root after a few minutes
bq flag

I can't login via root user at the moment . If I do a hardware reboot on the server , the problem is solved and I can login for just once before I'm locked out again after like 5 minutes .

I have read similar topics and I have tried the following without success :

  • disabling SSH service
  • changing password to complex phrases

nothing works . Any ideas what is wrong ?

More Information :

It seems that  ...

Score: 0
Logan M. avatar
Nginx `ngx_http_stub_status_module` with multiple sites on the same server (VM)
aw flag

Server is a VM running Debian 11 with nginx-extras package.

I have the ngx_http_stub_status_module setup in /etc/nginx/conf.d/stub_status.conf as shown below.

server {
    listen 127.0.0.1:8080;
    server_name 127.0.0.1;

    location /stub_status {
        stub_status;
    }
}

I can curl 127.0.0.1:8080/stub_status and get results.

I have multiple Nginx sites enabled under /etc/nginx/sites-enabled/ ...

Score: 0
rolinger avatar
Apache htaccess denying requests for iOS connections when proper headers are passed
ca flag

In my the directory for my api, my htaccess file has the following lines:

Header always set Access-Control-Allow-Origin "*"
Header always set Access-Control-Allow-Methods "GET, POST, OPTIONS"
Header always set Access-Control-Allow-Headers "Pragma, Expires, Cache-Control, Content-Type, X-Requested-With, Authorization"
Header always set Access-Control-Expose-Headers "Content-Security-Policy, Location ...
Score: 0
user542457 avatar
How to install and start nfs server in initramfs environment?
ps flag

I am try to share filesystem as a server in initramfs. I think the best choose is use nfs server but after a lot of try still get some error like below:

(initramfs) rpc.nfsd
rpc.nfsd: unable to set any socket for nfsd

I also try to use smbd but still failed

(initramfs) smbd -D
...
SamInfo3_for_guest: Unable to locate guest account [nobody]!

So does anyone have idea to run a server to share filesyste ...

Score: 0
AaplMike avatar
Windows asks to install printer driver over and over
ke flag

I have over 400 users on a 2012 DC, and a Win2019 server configured as a print server, which serves about 279 printers of varying make/model. Some users are receiving driver install messages when trying to print. Some users are also seeing, "Do you trust this printer? Windows needs to download and install a software driver from the \ps01 computer to print to FL04-Copier Canon 55601." The popup has the b ...

Score: 0
akashavkin avatar
Occasional packet loss between bridge interfaces
fk flag

I have two virtualization servers based on libvirt and KVM. And sometimes I see packages get lost on one particular virtual machine. After restarting the virtualization host this problem is solved, but it helps for a while.

I have made filters in iptraph-ng and I see that packets are lost between bridge interfaces.

You can see it here::

Fri Mar  3 00:21:43 2023; ICMP; ens3f0; 84 bytes; from 10.10.10.68 t ...
Score: 0
Restrict Apache forward proxy to a remote url set
us flag

Is there a robust way to restrict Apache forward proxy to a set of remote URLs?

Now I can see the only solution with multiple identical <Proxy "..."> blocks as:

<Proxy "http://example1.com">
...
</Proxy>
<Proxy "http://example2.com">
...
</Proxy>
<Proxy "http://example3.com">
...
</Proxy>

-- that is not suitable.

Thanks for any tips.

Score: 1
k8yun avatar
(copy from Stackoverflow) Google Secret Manager- allow Compute Engine to auto-renew the certificates
bg flag

Below is what I've posted at stackoverflow here that is not getting attention. I hope someone here is able to guide me to find the right answer.

I come with Azure background. In Azure, I could establish Key Vault (Azure's version of Google's secret manager) to store SSL certificates and set up VMs accordingly to pull certs from this. New versions uploaded to the Key Vault will auto-renew all the V ...

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.