Latest Server related questions

Score: 0
yen avatar
Alternative task runner to Make that lets you include arbitrary (bash) shell commands?
tr flag
yen

I am trying to add a step to a make command in a Makefile, specifically alias abc='xyz' and was shocked to find that it doesn't quite work like that. This is in a go project (learning go).

Is there something like Make that can be used like a task runner with very simple or similar syntax to make but lets you have actual shell commands as steps? Thanks!

Score: 1
IgorMonkey avatar
Dynamic traffic routing via multiple GRE over IPsec tunnels
tz flag

Initial data

I am learning networking based things and strongSwan proper configuration.

Using my own wildcard ssl certificate. All tunnels are successfully lifted and authorized among themselves, respond in any of sides designated in configurations. Remote devices cconnect successfully to master host, but their traffic remains within this master host without further forwarding. Authorization of remote ...

Score: 0
sm-a avatar
When I run envoyproxy I get a GLIBC_2.29 and GLIBC_2.30 not found error | Oracle Cloud (ARM - Ampere Processor) with Oracle Linux 8
im flag

When I try to execute envoy then I get the following error on Oracle Cloud ARM processor (ARM - Ampere Processor) on Oracle Linux 8:

envoy: /lib64/libm.so.6: version `GLIBC_2.29' not found (required by envoy)
envoy: /lib64/libpthread.so.0: version `GLIBC_2.30' not found (required by envoy)

How can I fix this? I have tried multiple guides (one guide was: https://github.com/jueve/build-glibc) but I c ...

Score: 0
2IRN avatar
how to setup socks5 proxy server on centos9 for network access behind firewall?
et flag

I need a socks proxy on centos 9, to access services from an (internal) network behind a firewall.

It should be a socks 5 proxy (dynamic port forwarding) that can only be used by the configured ssh users on the system.

Only destinations from the internal network should be reachable. For example, no external destinations/websites on the Internet should be addressed via the socks proxy.

client 
   ===SSH t ...
Score: 0
The Quantum Physicist avatar
IPTables: introduce a policy for a chain so that I can maintain the drop policy/rule without having to delete it when I need to add a new accept rule?
cn flag

Say I have a chain introduced with iptables -N SERVICES-VPN.

But then I want this chain to drop everything... so iptables -A SERVICES-VPN -j DROP.

The problem here is that I may need to add rules later to be accepted. Every time I need to add them, I have to manually delete the drop rule (annoyingly by line number, right?), and then introduce the new rules to accept that service, then reintroduce the dr ...

Score: 0
el sparrow avatar
Cannot connect to LDAP server ERRNO=0
cw flag

I have a php application (apache,redhat with selinux disabled) and I am struggling with ldap configuration. I am trying to connect to a ldap server and I am getting this error in apache logs:

ldap_bind(): Unable to bind to server: Can't contact LDAP server

when running ldapsearch command : I also get this error:

ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)

I tried to debug and used openssl ...

Score: 0
Felix941 avatar
Nginx: could not build map_hash, you should increase map_hash_bucket_size: 64 even when its set under http (stream module used)
ye flag

since I can only ask questions here but its more of a solution for other people that have this issues I hope its still fine to be posting here, I didnt know a better place since I don't own a website or anything.

After updating our nginx we use with the stream module to 1.24.0 today in our company we faced the issues on how to increase the size of the map_hash_bucket_size. Every other answer to a ...

Score: 6
jshen28 avatar
Does Windows zero out the memory pool after a driver frees it?
pw flag

I am researching the possibility of overcommitting memory on a host where many Windows servers are running. The virtual machines are QEMU/KVM backed and managed by Libvirt. My current observation is that as soon as the Windows Server boots, the QEMU process will occupy the same amount of RSS memory as defined in -m option. On the other hand, a Linux guest does not behave the same way, as it will  ...

Score: -1
F.I.V avatar
Behavior of longest prefix matching in Windows routing
id flag

Description

I face a scenario in which longest prefix matching does not occur.

Setup

On my lab machine, I have a virtual nic VMnet11 (VMWare) with the ip address 181.0.0.10/8. I have a physical nic with ip address 192.168.4.110/24 that routes traffic to 192.168.4.84 as the default gateway (can access the internet).

Issue

Although the metrics are the same (291), when I ping 181.0.0.1, the traffic i ...

Score: 2
SamAndrew81 avatar
Windows Server 2016 - Folder Redirection for Start menu -> right-click Windows PowerShell: "Windows cannot access ...Windows PowerShell.lnk"
dj flag

When I run this, PowerShell opens as expected:

    "\\Win-FileServer\Folder Redirection\myUsername\AppData\Microsoft\Windows\Start Menu\Programs\Windows PowerShell\Windows PowerShell.lnk"
  • Also when I right-click the Start Menu and run PowerShell while logged in as my user on the Domain Controller, PowerShell opens as expected.

However, we have this issue on our RDS servers:

When I right-click the ...

Score: 0
Gajus avatar
Google Cloud Load Balancer URL limit?
us flag

I've been in a process of migrating our application to use Gateway (gke-l7-global-external-managed).

Part of deployment are the 'review' applications, e.g.

apiVersion: gateway.networking.k8s.io/v1beta1
kind: HTTPRoute
metadata:
  labels:
  # {{ include "app.resource_labels" . | indent 4 }}
  name: '{{ .Release.Name }}'
spec:
  parentRefs:
    - namespace: contra
      sectionName: https
      nam ...
Score: 0
Tom avatar
Estimate requests per second on an Apache server
bf flag
Tom

How can I get the average requests per second on an Apache 2.4 server based on the logs?

I'm trying to use k6 to load test a new server, a new cloud provider, with new hardware, but I don't know how to estimate how many users there are today.

Score: 1
fejyesynb avatar
rsync uncompressed to single compressed archive
ca flag

Question

How can I rsync uncompressed (but highly compressible) data to a single compressed archive (.tar.gz, .zip, etc) without transferring all the data each time?

Current

This is what I am using now:

rsync -a --delete-during "/home/" "/mnt/external-hdd/backups/"

On the local side (/home/), there will be thousands of small text files that are compressible. On the "remote" side (/mnt/external-hdd/back ...

Score: 0
Dave0 avatar
ansible pause not working with when conditionals
us flag

example play:

- name: WTF
  debug:
    msg: THIS WORKS "{{ inventory_hostname }} UPGRADE VAR IS "{{ upgrade }}"
  when: upgrade and inventory_hostname is regex("switch.*a")

- name: Wait for routes to be removed
  pause:
    prompt: "Wait 30 seconds or so for routes to be removed, push enter when ready"
  when: upgrade and inventory_hostname is regex("switch.*a")

the debug works fine however the pause ...

Score: 1
J'e avatar
auditd.conf - when is "verify_email" actually checked?
eg flag
J'e

When using an email address in /etc/audit/auditd.conf, there is an option verify_email which is defined as,

This option determines if the email address given in action_mail_acct is checked to see if the domain name can be resolved. This option must be given before action_mail_acct or the default value of yes will be used.

When is the actual check performed? For example, when the service is started? Wh ...

Score: 2
Fardin avatar
Save commands used in shell to a file
tw flag

Someone is going to connect to my server and type some commands into the terminal. But after finishing his work, he deletes bash_history.

I am looking for a way to save every command entered into the terminal in a file so that if bash_history is deleted, these commands will be saved in another file automatically.

Score: 0
deconstruct avatar
Apache Httpd: Logging Access for Non-privileged Users
bo flag

I’m wondering if it is common for Apache HTTPD admins to allow read access or read access to copies of /var/log/httpd/${vhost}_error_log?

I administer an Apache web server for a University CS department. At times we get tickets in frustration that the vhost owner can’t determine what the solution to an error is because they have no access to said log files—as these log files are owned by ro ...

Score: 0
dr.ipkins avatar
Mariadb:10.6 in Docker cant start: Size of control file is smaller than expected when trying to use aria control file '/var/lib/mysql/aria_log_control
gb flag
db_1   | 2023-08-18 18:56:16 0 [ERROR] mariadbd: Got error 'Size of control file is smaller than expected' when trying to use aria control file '/var/lib/mysql/aria_log_control'
db_1   | 2023-08-18 18:56:16 0 [ERROR] Plugin 'Aria' init function returned error.
db_1   | 2023-08-18 18:56:16 0 [ERROR] Plugin 'Aria' registration as a STORAGE ENGINE failed.
db_1   | 2023-08-18 18:56:16 0 [ERROR] InnoDB: The Au ...
Score: -1
MedUSA avatar
Google Maps API Key applying to a website
ni flag

Google Maps is not loading post applied latest Google Maps API Key on 'date' and it was fine for 2 weeks & all of sudden stop loading complete maps in our prod environment. Could you please suggest us that do we need to consider anything apart from applied latest API key in source code since it is Google Web Toolkit application! The website is rca.medusarcm.com

Score: 0
Andrei avatar
Dovecot submission service: authentication failes
bg flag

I have trouble setting up submissions with Dovecot + Postfix.

doveadm auth login user pass gives the right output.

When I try to send a mail with submission(s) it gives authentication failed error.

doveconf -n output:

auth_mechanisms = plain login
disable_plaintext_auth = no
mail_location = maildir:/home/vmail/%d/%n
mail_privileged_group = vmail
namespace inbox {
  inbox = yes
  location =
  mailbox D ...
Score: 0
Jai Paras avatar
Certificate Template Purpose Unknown
lb flag

I am facing a strange issue with one certificate template. In CA console under certificate template box, it is showing with cross sign with “Unknown” as it’s intended purpose and neither I am able to see any attribute information or properties of this particular template from AD certificate template container. It’s totally blank there as well.

This particular template was designed for ocs ...

Score: 0
JJSCH avatar
mdadm copy superblock from drive to drive
tz flag

i have an RAID5 consisting of 7 HDDS. One Drive is only partially accessable anymore. Unfortunatly i used the create command which resetted the superblocks of the 6 healthy drives. is there a way to access a superblock backup, save it to a file and write this file to each hdd. there was a website stating that there are several superblock backups through the disk. the raid was created via openmediavault. ...

Score: -2
TheFiddlerWins avatar
How do I get my last 30 days of Azure cost from the CLI?
pt flag

I want to pull the last 30 days of cost per resource group using the AZ CLI.

I'd really like it as a value or JSON blob, not a file dumped to a storage container.

Score: 0
Steve Owen avatar
Allow Azure VMSS instances to connect to a mysql server running on a VM in another resource group
in flag

In Microsoft Azure, I've got a Virtual Machine Scale Set in (say) 'resourceGroup1' in region West EU. I also have a single Virtual Machine (let's call it 'VM1') which contains an instance of mySql, also in West EU, but in (say) 'resourceGroup2'.

I've been able to get individual VMs in resourceGroup1 to connect to the mysql server by opening up their IP address for access in the Networking section of VM ...

Score: 2
softdba avatar
32-bit software accessing files from system32 folder instead of syswow64 folder in Windows 10 64-bit
cl flag

I installed a 32-bit application on Windows 10 64-bit and it installed dll files in the syswow64 folder, but while running, it accesses files from system32 folder instead of the syswow64 folder.

The application is not running properly.

I tried reinstalling and compatibility check but it does not work.

Score: 0
Maxime Rossini avatar
Secure external database access from AWS application
bo flag

Today we have a solution whose infrastructure is entirely hosted on AWS. Among other things, there is an API (API Gateway + lambda) which communicates with a database through a VPC to VPC connection secured with Security Groups and database authentication. The database is exposed to the Internet only to a small set of well-known IP addresses for administration purposes (also using security groups). I th ...

Score: 0
Keith Stein avatar
Remote Desktop session appears frozen but is actually still working even though the screen doesn't show it
ng flag

One of those strange, sporadic problems that seems to happen randomly.

Here's what happens. A user is connected to a Windows Server via RDP, doing some work, when all of a sudden their screen seems to "freeze". Nothing they do makes any visible change, including clicking to open the start menu, using keyboard combinations to open task manager, closing apps, opening apps, no click or keystroke mak ...

Score: 0
freebie avatar
microk8s kubelet reboot loop
it flag

I have a k8 cluster using microk8s, and the cluster started to misbehave, unresponsive / providing stale states when scheduling pods, managing nodes, etc.

I have gone through and rebooted all manager nodes, and removed all worker nodes, to reduce the noise, and in the hopes of potentially evicting a problem node (as I was seeing long response times / timeouts in the /var/logs/syslogs.

On restart, ...

Score: 0
How to check several (n) last statuses of a systemd service?
bd flag

I asked google and ChatGPT about that, i.e. see a specified n recent status of a service, obviously in chronological order.

ChatGPT told me this would work:

systemctl  status --quiet example.service -n 5

But this does NOT work, at least for me.

Score: 0
Davidoffo avatar
Someone installed a cryptominer on my Ubuntu server
ma flag

It seems someone gained access to my ubuntu server and installed a cryptominer. This user added a crontab for the user "git" on my server. I disconnected the server from the internet and I am trying to find out how this person gained access to this git user. However I have not found any successful sshd connections. I did find a lot of failed password attemps.

In the sys.log I have found the follo ...

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.