Latest Server related questions

Score: 0
wget is not able to get the correct ssl certifiicate expiration date
bt flag

When I execute this

wget -O /root/installer.php https://www.grscripts.com/install/installer.deluxe

I receive this error

ERROR: cannot verify https://www.grscripts.com's/ certificate, issued by ‘/C=US/O=Let's Encrypt/CN=R3’:   Issued certificate has expired.

but it's not true , indeed http://www.grscripts.com's/ certificate is ok and will expire on Feb 2022. Why wget is failing to get th ...

Score: 0
Running remote commands on Windows 10
dz flag

Recently i was trying to research deeper into running remote commands from windows to windows. It can be easy with ssh, ftp - but I wanted it to run the commands without knowing the password either username, just local ip and computer name and maybe some opened firewall ports.

I used couple commands that some people suggested me to:

  • wmic
  • powershell remote commands
  • winrs
  • psexec

However some errors appea ...

Score: 0
Adam avatar
Nginx "set_real_ip_from" use value from a local variable
us flag

I'm trying to set the value of set_real_ip_from from a variable but I'm getting an error.

NGINX Config:

set $frontendIP "104.22.100.4/32";

set_real_ip_from 103.21.244.0/22;
set_real_ip_from 103.22.200.0/22;

set_real_ip_from $frontendIP;

Error:

nginx: [emerg] host not found in set_real_ip_from "$frontendIP"

The problem is not in setting the variable, but set_real_ip_from returning an error.

Score: 0
redirecting VM's (ubuntu server) apache to its PROXMOX HV results in correct redirect except two paths
af flag

after long searches I figured out how to serve my redirect a subfolder of my apache to my host's web server.

this is the proxypass section in my 000-default-le-ssl.conf

        ProxyRequests Off

        SSLEngine On
        SSLProxyEngine On
        SSLProxyVerify none
        SSLProxyCheckPeerCN off
        SSLProxyCheckPeerName off
        ProxyPass /proxmox/ https://192.168.6.70:8006/
        Prox ...
Score: 0
OCFS2 allows multiple partitions?
ru flag

I have a perfectly working cluster of 13 nodes. I would like to add another (secondary) partition into this cluster. By running though the command "mkfs.ocfs2 "PartName" /dev/sxx" it is asking me to overwrite existing ocfs2 partition.

I dont want to mess with the existing, just to add another one. Whats the best way to achieve that?

Score: 0
Postfix test: I can't forwarding outgoing emails
br flag

I am configuring a Postfix server in a test environment. It can only forward local emails. Outbound email must be redirected to /dev/null or to a local account. I found a solution on your forum but it unfortunately does not work properly. I do not have much experience with Postfix. Please help me.

/etc/postfix/main.cfg

compatibility_level = 2
queue_directory = /var/spool/postfix
command_directory = /u ...
Score: 1
scaryhamid avatar
failed_to_parse_configuration_file on rabbitmq
us flag

So I just wanted to change default username password from guest to sth else on rabbitmq but nothing works for me... this is my rabbitmq.conf

[
  {rabbit,
    [
      {default_vhost,       <<"/">>},
      {default_user,        <<"itsme">>},
      {default_pass,        <<"ok">>}
    ]
  }
].

and my docker-compose:

  rabbitmq:
    image: rabbitmq:3-management-alpi ...
Score: 0
not2savvy avatar
Rekerberize fails with: Could not retrieve auth record
ar flag

We use Apple Open Directory (which is openLDAP actually), and we are experiencing a problem that for some users, user authentication fails with ldap_bind: Insufficient access (50).

Attempting to rekerberize, as recommended on https://support.apple.com/en-us/HT200018

$ sudo mkdir /var/db/openldap/migration/ 
$ sudo touch /var/db/openldap/migration/.rekerberize 
$ sudo slapconfig -firstboot

However, the la ...

Score: 0
simo avatar
How to set proxy_pass conditionally based on $host value?
ve flag

I am trying to set proxy_pass based on $host value, I tried this:

location /api/v1/ {
    if ($host = .*\.npreprod.company.com)
    {
            proxy_pass https://frontend-api.preprod.company.com/api/v1/;
    }
}

however, I got the error

nginx: [emerg] "proxy_pass" cannot have URI part in location given by regular expression, or inside named location, or inside "if" statement, or inside "limit_ex ...

Score: 0
papanito avatar
Flexvol: MountVolume.SetUp failed for volume "elasticsearch-backup", Refer to the .staticx.prog(8)
in flag

I have a stateful set with 3 replicas. The pods mount the following flexvol

      volumes:
        - flexVolume:
            driver: microsoft.com/smb
            options:
              mountoptions: 'vers=3.0,dir_mode=0777,file_mode=0777,,uid=1000,gid=1000'
              source: //sc.intra/data/backup/K8s/optimize
            secretRef:
              name: smbcreds-optimize
          name: elastics ...
Score: 1
K8s - How trigger refresh of LoadBalancer svc IP?
za flag

I'm using metallb to assign IPs to LoadBalancers in a home lab k8s cluster. I've had to shrink the IP pool though as I need to use some of them in another test cluster.

I've done this but the IPs of the existing LB svcs have remained the same afterwards -- I need to give the LB svcs a kick somehow to get them to request new IPs. How can I do this?

Score: 0
MatanyaP avatar
Can't restart apache (httpd.service) after replacing to new SSL cert (wildCard, working on other servers)
dk flag

I have a wildcard SSL cert that I need to replace in all related servers. It worked fine in all of them but one. I go by the exact same process as in other apache servers, but when I replace the files and try to restart it gives me this error:

Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.

I've che ...

Score: 0
Ubuntu configure Postfix mail server encoding to support IDN (internationalized domain names)
us flag

To my understanding the default mail server on Ubuntu is Postfix.

I have Virtualmin and Webmin installed on my Ubuntu installation. I'm trying to figure out where to configure encoding for sending and receiving emails to handle IDN in the email address.

I read somewhere that you can get this to work by changing the encoding on Postfix to SMTPUTF8 or IDNA encoding. Is it possible? If so, how do I change ...

Score: 0
user16894409 avatar
AWS EC2 | increase/decrease RAM dynamically
cn flag

Is there a way to choose a VM or other service in AWS to dynamically add memory in case of extra load?

I am going to deploy a small EC2 in AWS. And I don't need too much memory because it will be loaded only while downloading reports from DB. So basically I am looking for the cheapest possible solution, as the machine will be idle 90 % of the time.

Score: 0
How to generate sonar report with sonarqube version 9.2.1.49989. Which plugin i need to install for that?
in flag

How to generate sonar report with sonarqube version 9.2.1.49989. Which plugin i need to install for that?

I installed CNES Report .jar plugin to generate sonar report but this plugin(CNES) not supporting could you please help how to generate sonarqube report in latest sonarqube version 9.2.1.49989.

Score: 0
Abe avatar
Module ngx_http_realip_module and how to set_real_ip_from
de flag
Abe

I have a very basic question about Module ngx_http_realip_module. I checked the documentation and I saw this example:

set_real_ip_from  192.168.1.0/24;
set_real_ip_from  192.168.2.1;
set_real_ip_from  2001:0db8::/32;
real_ip_header    X-Forwarded-For;
real_ip_recursive on;

I also understand that these are:

real_ip_header X-Forwarded-For;
real_ip_recursive on;
set_real_ip_from <your VPC IPV4 CIDR her ...

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.