Latest Server related questions

Score: 0
Lalit Fauzdar avatar
Access Node-TS app running in Windows server 2019 from any computer
cn flag

I've a Node-TS based Opensource ERP Gauzy deployed and running in a Windows server 2019 and I want to allow access and connect a domain to this app so that it can be accessed from anywhere by any number of users. Reason for windows server is this app just doesn't work with HTTPS in Ubuntu, wasted more than two weeks in that.

The problem is I've not found any link/resource mentioning the same.

Because the  ...

Score: 0
John Karasev avatar
default route does not work
pk flag
root@kolla02:~/dev-env# ip r s
default via 192.168.1.101 dev eno1 
10.0.0.0/16 dev eno2 proto kernel scope link src 10.0.0.1 
10.1.0.0/16 dev virbr2 proto kernel scope link src 10.1.0.1 
10.230.0.0/16 dev virbr3 proto kernel scope link src 10.230.0.1 
192.168.0.0/16 dev eno1 proto kernel scope link src 192.168.20.11 
192.168.1.101 dev eno1 proto dhcp scope link src 192.168.20.11 metric 100 
192.168.121.0/ ...
Score: 1
OpenDKIM-provided tools do not provide a usable key-pair for DKIM
in flag

I use opendkim-genkey -b 2048 -t -s default -d mydomain.com, resulting in files default.private and default.txt. Yes, default.private begins (correctly, SFAIK) with -----BEGIN RSA PRIVATE KEY----- and default.txt does not exceed 256 chars per segment (does not violate DNS coding requirements.) Also, opendkim-testkey returns nothing (without -v) and with -v -v -v it says Key not secure (but I'm not using ...

Score: 0
Owen avatar
Nginx giving precedence to subdomains based in alphabetical order of config files
in flag

TLDR: Nginx is giving precedence to subdomains in alphabetical order of the config files, and I want to know a way to prevent this from happening. This is similar to this question, but I am more interested in improving my system.

I (had) two sections on my server: One for a static website, and one for my dokuwiki instance. I wanted dokuwiki to load when someone went to example.com, and the static website  ...

Score: -1
How to fix domain redirect with slash using Apache2 and Bitnami?
in flag

I'm running a Wordpress website with Bitnami which confused me a lot of ways.

The issue is when you click a link www.domain.com/ja/ then it goes to www.domain.comja because there is a missing slash /

EDIT: I discovered how it handles www.domain.com/ja without "/" in the last works fine as I expected, otherwise www.domain.com/ja/ with "/" slash it ended up with www.domain.comja

I've tried a lot of  ...

Score: 0
garethhumphriesgkc avatar
Best way to disable default Azure proxy on on-prem hosts
in flag

I was recently doing some work on some servers, and had issues with outbound connectivity. I tracked down the file /usr/lib/systemd/system.conf.d/proxy.conf which contained the line DefaultEnvironment="https_proxy=http://100.79.11.37:8080" - this had the effect of making all https calls made by all systemd units go out via this proxy, which was the cause of the issues. I'm told this is part of a ...

Score: 1
dcol avatar
IIS serves wrong cert using SNI or CCS
bd flag

I have 3 websites all using the same IP in IIS 10. I first setup the https bindings to use SNI with 'all assigned' IP addresses on port 443 using the correct certificate. All the certs are known good. Only one website gets served the correct SSL cert. The other two get served the same cert as the working site. So then I switched to CCS. Loaded all my certs in the same folder with the correct names. Chan ...

Score: 1
s.abbaasi avatar
mpm-prefork apache increasing MaxRequestWorkers not affecting my RAM to much
fr flag

I read about the Apache mpm-prefork configuration and I tried to tune the MaxRequestWorkers parameter. My settings before the change were as follows:

<IfModule mpm_prefork_module>
        StartServers            10
        MinSpareServers           10
        MaxSpareServers          64
        ServerLimit           512
        MaxRequestWorkers         500
        MaxConnectionsPerChild   0 
 &l ...
Score: 0
Hostel avatar
How to use Azure AD in SaaS multi-tenant application
cn flag

I have an issue how to use Azure AD in context of my SaaS application. I have a feeling that Azure AD multi-tenant is a different term than SaaS multi-tenant. If I'm wrong, then I hope somebody will show my misinterpretation.

What is SaaS multi-tenant (IMO): separation of data and users in one application. In my case it is an application which works for many small companies. Application stores da ...

Score: 1
Replicate nginx reverse proxy config using apache
in flag

nginx config:

server {
    listen 443 ssl http2;
    listen [::]:443 ssl http2;
    ssl_certificate /path/to/tls/tls.crt;
    ssl_certificate_key /path/to/tls/tls.key;
    
    server_name the.domain.tld;
    
    location / {
        proxy_pass http://localhost:5001; 
    }

    location /api/socket {
        proxy_pass http://localhost:5001/api/socket;
        proxy_http_version 1.1;
        prox ...
Score: 0
haher avatar
How do we find where the rsync is scheduled and how can we reschedule it?
cn flag

How do we find where the rsync is scheduled? I have a rsync that's done in server A to server B, and I need to find in server A where rsync is called and where and how it's scheduled. Is there a file for this where the config are set like for cronjobs? I have some performance issues in server B and I need to reschedule the rsync so that it only happens outside of peak hours.

Score: 1
user3550166 avatar
Forwarding ipv6 link local destined traffic not working
in flag

Setup:

VM (eth0) -> hostveth -> ContainerVeth

eth0 and hostveth are in VM network namespace while containerveth is in different namespace

sysctl ipv6 forwarding and iptables FORWARD chain are allowed. Checked filter table and no rule to block link local ipv6.

Request coming from outside of VM to Linux pod (container). Pod receives a request from linklocal ip and it responded back to the reque ...

Score: 1
Auditd not sending logs to centralized auditd log server
cn flag

We have set up centralized logging of auditd messages for two machines:

  • machine (www22.domain.com) is the source (centos8)
  • machine (cls.domain.com) is the centralized log server (centos7)

This was done in the standard way using auditd+audisp plugin sending to auditd server listening on port 60, e.g. like described here:

https://luppeng.wordpress.com/2016/08/06/setting-up-centralized-logging-with-auditd/ ...

Score: 0
haher avatar
MySQL performance issue due to caching
cn flag
perl mysqltuner.pl --host 127.0.0.1

[--] Skipped version check for MySQLTuner script
[--] Performing tests on 127.0.0.1:3306
[!!] Successfully authenticated with no password - SECURITY RISK!
[!!] failed to execute: SHOW SLAVE STATUS\G
[!!] FAIL Execute SQL / return code: 256
[!!] failed to execute: SHOW SLAVE HOSTS\G
[!!] FAIL Execute SQL / return code: 256
[OK] Currently running supported MySQL version  ...
Score: 0
Milo S avatar
How to recreated users' home folders?
to flag

Users already have their home folders set through Active Directory to mount as U: drive to \\SRV\Usrs$\%UserName%

I had to create the folder again and share the $Usrs again but when a user logs into the workstation the new home folder is not created in that folder. Is there a way to force creation of those folder without setting the home folder again for all users? (I have the access to Storage serve ...

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.