Latest Server related questions

Score: 0
Unable to scrape kublet api from prometheus
us flag

I am setting up prometheus to scrape kubernetes cluster. I am trying to use "role: node" with kubernetes_sd_config to monitor one of the K8s cluster. I created certificate ashishcert.pem for user "ashish" and prometheus will use this cert to scrape the cluster. This certificate is signed by cluster CA.

Prometheus.yml

Now when i look back in my prometheus, it says "cannot validate certificate x.x.x ...

Score: 0
Does Azure Application Insights/Monitor have a way to check uptime of external REST APIs?
pk flag
eos

with AI, you can ping websites from different regions, like pingdom. However, we are looking for a way to call external (not hosted in Azure) rest endpoints, ideally being able to take the output of one, extract a token, then use it in the parameters of another. This can be done with Synthetics in NewRelic (extremely expensive), or "advanced" checks in pingdom (doesn't support UK as a source), but we w ...

Score: 0
Jacob Waters avatar
How to port forward on an ATT Router/Modem?
cn flag

I am trying to open port 2222 for an open-ssh server on my linux machine.

I am able to log into it just fine from my local IP address.

sudo systemctl status returns:

     Loaded: loaded (/lib/systemd/system/ssh.service; enabled; vendor preset: enabled)
     Active: active (running) since Sun 2021-10-10 19:25:19 PDT; 34min ago
       Docs: man:sshd(8)
             man:sshd_config(5)
    Process: 9445 E ...
Score: 0
clamav - clamd error when setup as daemon (mac osx)
in flag

Issue:

Setting up clamav as a daemon process in mac osx throws some cumbersome errors and warnings while doing the setup and the documentation is good, but not perfect. I ran into some permission issues, file location issues, etc.

Things that are working:

  • freshclam daemon via a cronjob(will post below)
  • getting the daemon to load via launchd and show via sudo launchctl list | grep clam
  • starting t ...
Score: 0
Best way to do simple new employee laptop setup for Windows 10/11 without Windows Server or cloning
cn flag

(Recommended I move here from SuperUser) I ran a few Windows based labs over a decade ago, past few years I've mostly been managing Macs and systems in AWS and GCP. Right now the company is hiring a lot of finance folks who want to work on Windows laptops. The basic setup is I setup a local admin account so we always can get back into the machine, add a user account for the new employee, and install bas ...

Score: 0
Ldap service not running on Windows Server 2019
ao flag

I have 2 windows server 2019. e.g. server1 and server2. server1 is the domain controller. server1 has below roles installed: ADDS, ADCS, DNS, FILE STORAGE, IIS.

server2 is connected to that domain controler. server1 has below roles installed: ADCS, FILE STORAGE, IIS.

I have setup PKI on server1 and everything works fine. I am able to use CRL as well as OCSP feature for certificate validation.

I wanted  ...

Score: 0
ThomasHunter avatar
Force the kernel to unregister a drive and then initialize it again
in flag

I had a drive that would seem to be mounted and busy no matter what I did. But since I didn't want to reboot the whole system, I ran echo 1 > /sys/block/sd*/device/delete to force the kernel to "unplug" or unregister the drive.

Then I unplugged and replugged the SATA power cable of the disk, it showed up again in the system and worked as expected.

But what could I've done if I didn't have  ...

Score: 0
drookie avatar
cannot mount iSCSI datastore on ESX 7.0u2
za flag

Cannot mount iSCSI datastore on ESX 7.0u2:

  • after an unexpected reboot, for quite some time iSCSI target was inaccessible (deconfigured on a iSCSI server).
  • datastore is easily mountable on neighbor nodes and is currently working/intact.
  • esxcli storage vmfs extent list doesn't show it
  • esxcfg-volume -l list is empty (already mounted all of the orphan datastores)
  • esxcli storage core adapter rescan -A vmhba ...
Score: 2
fairport avatar
Apache behind nginx reverse proxy, setting the correct Host header
nl flag

I'm running my application using Apache in a Docker container. I have nginx acting as a reverse proxy running in another Docker container which has Apache as its upstream. I'm using the proxy_pass directive for this.

Apache runs in the URL https://example-8gnm1aqrns-lz.a.run.app Nginx runs in the URL http://example.com

The whole thing is running on Google Cloud Run and the problem is that Google Clou ...

Score: 0
tymur999 avatar
502 gateway error on Kubernetes Ingress (K3S - Bare Metal)
ca flag

I have a k3s cluster with a master on a cloud VPS but with 2 remote worker nodes, both on the same network. They're connected via a VPN to the cloud provider. The worker nodes were able to join just fine and were able to create new pods, but it seems that communication is a problem because I can't contact the pods from an Ingress.

When I run my Traefik Ingress (I tried Nginx too, same result), it ...

Score: 0
Email click results in multiple requests from different ips and user agents
cn flag

i run a small website that tracks game attendance for teams. Email is dispatched to the team players with 3 links in the email, 1 for attending, 1 for not attending, 1 for might be attending. Each user simply clicks on the link in the email to indicate whether or not they are attending the next game. Easy peasy. Lately something strange happened and someone told me they clicked on Will Not Attend, but t ...

Score: 0
Osman Friyal avatar
Strongswan VPN packet not hitting the interface (eth0) when tunnel is up
in flag

VPN tunnel is getting established with Cisco router successfully and when we try to ping the remote host tcpdump doesnt see the packets but if I bring the tunnel down and ping the remote host tcpdump sees the icmp packet hitting eth0 interface tried tcpdump with all interfaces and still doest see the packet,

Please refer attached image for more refarance

Prompt support would be highly appricited

Score: 0
proxyd43 avatar
Create multiple directories with mode and loop via ansible
cn flag

I'm trying to play with loop and ask in a playbook to ansible creating multiple directories on a server with specific attributes : mode owner group .

I think i'm close but don't get it working.

I get this error:

Unsupported parameters for (file) module: recursive Supported parameters include: _diff_peek, _original_basename, access_time, access_time_format, attributes, backup, content, delimiter, dir ...

Score: 0
real ip in guacomole, nginx reverse proxy, domain name, tomcat9
ng flag

so the thing is guacomole showing host ip not clients real ip

    server {
      listen       80;
      server_name  domain-name.com;
      access_log   /var/log/nginx/localhost.com.access.log  main;

      location /custom-url {
            proxy_pass http://127.0.0.1:8080/guacamole/;
            proxy_buffering off;
            proxy_http_version 1.1;
            proxy_set_header X-Forwarded-For  ...
Score: 0
xdnroot avatar
SQUID Transparent Proxy: Error INVALID_URL and ACCESS_DENIED
iq flag

I configure squid proxy on Centos 7. I am using Squid version 3.5.20. I also try squid 4.10 on Ubuntu 20.04, but I got the same problem. Maybe my ACL was wrong.

I configure DSTNAT on Router to intercept HTTP traffic from 192.168.1.0/24 to Squid Proxy 10.10.10.10:3128.

topology

This is /etc/squid/squid.conf file:

acl localnet src 10.0.0.0/8     # RFC1918 possible internal network
acl localnet src 172.16.0.0/12   ...

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.