Latest Server related questions

Score: 0
Bruce avatar
How to make local port mappings with iptables
in flag

I usually have this command to do the local port mapping

socat TCP4-LISTEN:80,fork,reuseaddr TCP4:127.0.0.1:8080

So whenever the client talks to port 80 of my machine, it talks to port 8080 actually.

It is actually a proxy.

I am wondering if I could use iptables, instead of running a proxy, to achieve the same goal. Like, I tried the following command, which doesn't work.

iptables -t nat -A PREROUTING  ...
Score: 0
YD8877 avatar
Openoffice headless on CentOS 7 / 8
jp flag

We used to run Openoffice headless on CentOS 6.8 but are now upgrading to CentOS 8

However, I'm not able to install Openoffice headless using the following commands:

yum install openoffice.org-base
yum install openoffice.org-writer
yum install openoffice.org-headless

I keep getting the error (on both CentOS 7 and 8)

No match for argument: openoffice.org-base
Error: Unable to find a match: openoffice ...
Score: 0
Joe Kelson avatar
Nginx not showing 404 when attempting a nonexistent folder
ru flag

When trying to visit a folder that doesn't exist (i.e. https://domain/nonexistent) it just loads the root index.php.

It does show 404 when attempting to load a specific file (https://domain/nonexistent/index.php).

Here's my vhost config:

server {
listen 80;
listen [::]:80;
listen 443 ssl http2;
listen [::]:443 ssl http2;
{{ssl_certificate_key}}
{{ssl_certificate}}
server_name (domain);
{{root}}
{{nginx_a ...
Score: 0
Wtrnd avatar
How many KVM make sense to run ? (Proxmox)
jp flag

The company i work from are actually using a bunch of "commercial VPS" which actually, in my point of views, are really overpriced for what they have.

Having some basic and limited knowledge in virtualization, i was wondering if just taking 6-7 of dedicated server, install Proxmox on it and then, create a bunch of VM (which is, correct me if i'm wrong, a VPS) will be better, and for the financial ...

Score: 0
Vinayak avatar
Tomcat with HTTPD front end. Manager app not accessible
ca flag

I have an HTTPD server which does the LDAP Authentication in front of Tomcat server. My application resides in the Tomcat.

I am proxying the authenticated requests via AJP connector of tomcat to my application. Now I want to close the HTTP connector. But the manager app is not accessible (saying 403 error).

  • When I am accessing http://localhost/my_app. Everything works fine.
  • When I am accessing http://loc ...
Score: 2
Determining Linux block path from Redfish
cn flag

Context: I am trying to automated a preseeded Linux installation on a Redfish-capable server. Ideally I want to keep this as vendor-agnostic as possible so I can support multiple types of servers (i.e. Dell, HP, Cisco, etc.), but I am working on a Dell R430 (iDRAC 8 with the latest firmware).

Description: I'm trying to find some reliable way to take information on a storage volume from Redfish an ...

Score: 0
How to stop Let'sEncrypt checking my domain for acme-challenge
gb flag

Sorry if this question already asked before, but I can't found solution for my issue.
Previously I have site on Webmin server and use Let'sEncrypt SSL for the domain.

Now, I moved my site to Google Cloud Run. But the Let'sEncrypt engine keep check my site for acme-challange regularly every 30minutes.
Even after I delete site from my Webmin server, I still keep check my site for acme-challenge.
This make  ...

Score: 0
tsc_chazz avatar
How does Sendmail figure out where SASL is listening?
vn flag

I'm trying to get SMTP-AUTH working on a Mint Linux 20.2 machine, and I'm having trouble getting authentication to happen. I have installed Cyrus sasl2, and apparently configured it properly - testsaslauthd -u <user> -p <password> -s smtp returns 0: OK "Success." But when I try to send mail from my client using the same credentials, sendmail can't authenticate. What is curious to me is ...

Score: 1
Chris avatar
Log4j - Older app on Windows server using JRE 1.8.0.x - is it impacted?
jp flag

I can't find any info on whether specific versions of JRE are impacted? The app on my Windows Server 2012 uses JRE 1.8.0.x (1.8.0_91) but not sure if if uses Log4j logging service. Can anyone help clarify because oddly, I can't find anyone explaining this. Thanks much!!

Score: 0
Gaia avatar
Apticron warns on held packages despite `NOTIFY_HOLDS=0`
gn flag
$ sudo apt-cache show apticron
Package: apticron
Architecture: all
Version: 1.2.0
Priority: extra
Section: universe/admin
Origin: Ubuntu

$ sudo apt-mark showhold
linux-generic
linux-headers-generic
linux-image-generic

$ cat /etc/apticron/apticron.conf | grep NOTIFY_HOLDS | grep -v '#'
NOTIFY_HOLDS="0"

but $ sudo apticron still emails me

enter image description here

I can understand linux-modules-* showing up, but shouldn' ...

Score: 0
erihenrique avatar
Error in multiple domains with nginx when add certboot certificate
in flag

I'm using an Ubuntu 20.04 server on Azure, with Nginx, PHP-FPM, and two websites.
The sites are example.com and sub.example.com and They are with the certificate issued by certbot and working fine.
I added a third site with a different domain example2.com and it worked fine. But when I add certbot to this third site, they all stop working, and Nginx doesn’t stop and doesn't show any error. I added the c ...

Score: 1
jrd1989 avatar
Replace Self Signed RDP Cert with CA Signed Cert
cn flag

A few servers are getting picked up by security scans with the following message:

The following certificate was at the top of the certificate chain sent by the remote host, but it is signed by an unknown certificate authority. | Subject : CN=serverabc.local | Issuer : CN=serverabc.local

The port referenced in the scan is port 3389 (RDP). The default RDP certs on each server (in the Remote Desktop c ...

Score: 0
erfan mehralizadeh avatar
How to mark and separate connections?
us flag

I have a issabel Linux (based on Centos 7) with 3 ethernet, and I want this scenario:

eth0 with IP 172.16.3.30/16 ----gw(172.16.0.1)----> (I want to use as Default Gateway)

eth1 with IP 10.1.5.102/30 -----gw(10.1.5.101)----> (mark connections to 10.10.10.10:5160 for send via 10.1.5.101 with own src(10.1.5.102))

eth2 with IP 10.1.5.106/30 -----gw(10.1.5.105)----> (mark connections to 10.10. ...

Score: 0
Keith Stein avatar
Where are you supposed to purchase Windows Server 2019 RDS CALs?
ng flag

This seems like a very strange problem to me. I'm trying to get RDS User CALs for Windows Server 2019, but I can't seem to find any official place to purchase them. The Microsoft website only lists CALs for 2022. Other online stores, found by simple Google search, vary wildly in price point and appearance, and I can't figure out a good way to tell legitimate sellers from potential scams.

Windows  ...

Score: 0
nginx: prevent open first available site on different port
jp flag

Here is an example configuration.

    server {
    listen 8080;
    server_name a.x.com;
    ...
}

server {
    listen 8081 ssl;
    server_name a.x.com;
    ...
}       

    
server {
    listen 80;
    server_name  b.x.com;
}   

server {
    listen 443 ssl;
    server_name b.x.com;
    ...
}               

#supposedly the default folder  
server {
    #https://stackoverflow.com/a/9454825/4546 ...
Score: 0
Unable to get Outlook App (Android) to connect to on-premise Exchange 2019
ve flag
Tim

Overview

I have an Exchange hybrid deployment, with one Exchange 2019 server on-premise and an EXO subscription. Our autodiscover.domain.com is pointing to our on-premise Exchange environment. As is mail.domain.com.

Problem

I'm trying to configure the Outlook App on my Android phone, trying to connect to an on-premise mailbox and it is not working.

When I open the Android, I enter the users email address  ...

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.