Latest Server related questions

Score: 2
Ralf157 avatar
Ansible Search for parent-directory-names of files
id flag

I'm trying to get the parent directory Name of files identified by a pattern.

base/tool1/sub/test.log
base/tool2/abc/values.log
base/tool3/sub/test.log

I want to get every directory absolute path, where test.log is to find. so base/tool1/sub/ and base/tool3/sub/ would be the matches I want to get as result.

- name: "Loop-Playbook"
  hosts: all
  tasks:

  - name: "Filter File Matches"
    find:
      ...
Score: 0
OttoEisen avatar
Lightweight HTTPS reverse proxy
br flag

I have a need similar to this member: Single public IP, multiple HTTPS backends, Certs should stay on the backend servers. The answers to the post list NGINX, haproxy and sniproxy als possible solutions.

My public IP lives on a Debian server with really tight resources (1 vCPU, 512MB RAM), so that's an issue. Which of the listed solutions needs the least resources? Or are there other alternatives? TIA!

Score: 0
Asterisk - Conferencing MulticastRTP and SIP channel together AFTER commands on run on the SIP channel
br flag

I have a PA system in the building that requires dialing an extension and then #00 to signify "All Call". Also, the phones can do pages through multicast.

I'd like to tie these two systems together.

Right now I have the following through AEL to join them both together

_XXXX => Page(SIP/${EXTEN}@announcementpbx&MulticastRTP/basic/224.0.1.116:9999,q);

I can pick up any SIP phone, dial 7145 (f ...

Score: 0
Se ven avatar
Connecte to VPN server via VPN client which is a NAT instance
jp flag

Main question is how to connect to a vpn server via a vpn client which is a NAT instance, let me describe about it.

Scenes 1:

I have a group of service instance(ubuntu 18.04) named A

One instances which i use for NAT instance named B

both group A and instance B are in same vpc, A has no public ip ,B has one pulibc ip, and which i did is use B as a NAT and set SNAT in vpc so group A can access internet  ...

Score: 0
LilaQ avatar
Using 3 openvpn instances at the same time
pe flag

So I have 3 OpenVPN Access Servers, and downloaded the config for all 3 of them. Then on my raspberry I ran 3 instances of openvpn (even with a different subnet configured in the Access Servers) with each of the config files.

My goal is to be able to route incoming traffic to individual devices, e.g. IP_of_Access_Server_1 leads to Client_1 in my network, IP_of_Access_Server_2 leads to Client_2 etc. That' ...

Score: 0
bpftrace: Trying to get IP's and ports on tcp_cleanup_rbuf()
jp flag

I've hooked tcp_cleanup_rbuf() and I'm trying to get the IP and port information out of the skb queue. But it seems to be empty. Is that correct? Has it already been free'd at that point?

Here is a shell script that I'm testing with. Fix the path to your own kernel source directory, run it and also run an ncat --keep-open --listen 0.0.0.0 5555 and a ncat <server IP> 5555.

clear && bpftrace - ...
Score: 0
Dannyboy avatar
Remote mysql server in docker container - access using macvlan and wireguard?
co flag

Situation: Several VPS servers around the US connected to my laptop via wireguard mesh network. For wireguard mesh network Im using tool called innernet (https://github.com/tonarino/innernet).

So basically its like my laptop and vps servers are on same internal network.

VPS ip    = 10.32.89.1
laptop ip = 10.32.90.1

Looks like VPS and laptop has this virtual interface defined (not sure if this matters): ...

Score: 0
Roger Creasy avatar
Why are MySQL system user passwords incorrect?
sd flag

I was adding a user to my server via MySQL Workbench. Something went awry; the addition failed. Afterwards my root account could no longer access the DB via Workbench. (access denied)
I was able to connect as root from the command line mysql -uroot -p but root has no privileges.
This system has been in place and working, until now, for over a year

The log shows:
Found invalid password for user: 'mysql.in ...

Score: 0
Zabbix scheduled reports configuration - Cannot connect to web service: couldn't connect to server
in flag

I recently upgraded Zabbix to 5.4.1 and I wanted to start using scheduled report, but I've got some problems with conifguration (error Cannot connect to web service: couldn't connect to server).

My Zabbix is running in Docker on Debian Buster. Everything is based on official containers: Zabbix Server (PostgreSQL), Zabbix Frontend (Apache, PostreSQL) and PostgreSQL12.

According do documentation (https:// ...

Score: 0
Ayyanar sithanandhan avatar
User profile delete GPO
de flag

I created a GPO to delete the user profile within 90 days but it didn't work.

When I checked, I found the user profile folder and ntuser.dat file modified dates are not matching.

My client operations system is Window 10 20H2 version and Server 2016

Score: 0
Patrick Bucher avatar
Gitea offers wrong SSH key
in flag

I'm running Gitea on a virtual machine that is publicly accessible under gitea.myorg.foo. Here's the server part relevant to my SSH configuration of my configuration file:

[server]                                                                                                                       
SSH_DOMAIN       = gitea.myorg.foo                                                                           ...
Score: 0
alezotta avatar
Routing : route through vpn while allowing incoming traffic on local interface
in flag

I'm setting up a server that connects to an ovpn server through which it's able to access some remote devices. Some of these devices have private IPs (no problems here), however the ones that have a public IP have a strict rule that allows access only from the ovpn server's public IP .

My server therefore needs to redirect all internet traffic through this vpn. The trouble is that once i configur ...

Score: 1
Paul avatar
How can I setup multiple Django Apps using Supervisor (including Gunicorn and Nginx)? bind() to [::]:8090 failed (98: Address already in use)
us flag

I already deployed a Django/Wagtail App using Supervisor, Gunicorn and Nginx (on Debian Buster), so I can reach it with http://xx.xxx.xxx.xxx:8090.

/etc/nginx/sites-available/cms

server {
    server_name xx.xxx.xxx.xxx;
    listen 8090;
    listen [::]:8090 ipv6only=on;
    error_log /home/www.mysite.com/.local/share/virtualenvs/cms-WqsZ9qOt/var/log/gunicorn-error.log;
    access_log /home/www.mysite.com ...
Score: 0
CADENTIC avatar
inter cloud based heterogenous cluster aws and oci
ng flag

is it possible to configure apache2 in a heterogeneous cluster across 4 nodes while 2 nodes are in OCI and 2 nodes are within AWS ?

node 1 os : ubuntu 20.04 running wordpress node 2 os : ubunto 20.04 running magento node 3 os : ubuntu 20.4 running laravel application node 4 os : oracle autonomous linux zimbra

I am familiar with pacemakers but I am not sure about the inter-cloud and oracle autonomous L ...

Score: 0
Frankofoedu avatar
Https website shows login prompt, http shows normal website
fr flag

I have a new windows server that I set up IIS on. I used certify the web to install an SSL certificate on my server. The Https website shows a login prompt while non https loads the page normally. I have verified that only anonymous authentication is selected under authentication.

  • Here are the selected authentication modes Here are the selected authentication modes

  • The bindings of the website The bindings of the website

Score: 0
SQLCMD CMD Line Tools Fails install
cn flag

I recently installed the most recent version of SQL CMD Line Tools.

I installed it using these directions.

I ran the following command to make sure the module is installed:

Get-Module -ListAvailable -Name sqlserver

Which returns the sqlserver module in all locations version 21.1.18080.

When I run the following command sqlcmd /? or -? I don't get an error but I don't get any output. Is there more that  ...

Score: 2
Chris9834 avatar
linux page-cache size (host) performance impact to Virtualbox VMs
id flag

i have a small Virtualisation host that runs 7 Windows 10 and CentOS VMS. The host has only 32GB RAM and that RAM is nearly used by the VMs memory and the linux host OS. There are about 2,5GB RAM left that are used by the linux host page cache.

I#m now asking myself if i can upgrade performance of the VMs by adding additional RAM that more RAM can be used by the page.cache to buffer read/write HD ...

Score: 0
NET-WATCH avatar
MariaDB 10.3 Randomly crash
lb flag

I'm facing a very weird issue with a mariadb database, randomly it crash with this error:

free(): corrupted unsorted chunks
210804 20:05:16 [ERROR] mysqld got signal 6 ;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.

To r ...
Score: 0
user3726755 avatar
Debian 10 guest freezing on ESXi 6.5
vn flag

I have an ESXi 6.5.

Windows and CentOS guests are running fine but my 3 Debian guests freeze after a moment (4 days to 1 week).

Nothing responding, i need to reboot the guest. The logs files of the guest show no error.

I don't know where to look for and what to do. An idea ?

Thanks

Score: 2
fail2ban does not use DROP blocktype
cn flag

Using Ubuntu 20.04 LTS, I have this in /etc/fail2ban/jail.local:

[DEFAULT]
bantime   = 3600
banaction = iptables
blocktype = drop


[sshd]
enabled   = true
protocol  = tcp
port      = ssh
filter    = sshd
logpath   = /var/log/auth.log
maxretry  = 3

But this is what I see when I list iptables rules:

╰─# iptables -L f2b-sshd -n -v
Chain f2b-sshd (1 references)
 pkts bytes target     prot opt in ...
Score: 0
Why does booting in debian freeze at /dev/sda1: clean
cn flag

I need a new debian kernel to activate a module available only on version 5.13 and more. So I found a tutorial to configure, build and install it.

After rebooting the computer and selecting through grub the new kernel, the computer get stuck at /dev/sda1: clean. Booting on the new kernel in recovery mode don't avoid the problem.

I can ping and ssh into the computer when the main terminal is froze ...

Score: 0
mon avatar
AWS Network Firewall - How to log the blocked connections
ng flag
mon

Question

Is there a way to log the connections blocked by the AWS Network Firewall, or filter the logs of blocked connections?

Background

Currently having setup the rules, and would like to know which IP or domains have been blocked.

enter image description here

Looking at Logging network traffic from AWS Network Firewall but not clear if it is possible.

You can record flow logs and alert logs from your Network Firewall st ...

Score: 0
Why a process allocated many non-huge-page memory using library jemalloc when the transparent huge page has been enabled?
cn flag

I've enable transparent huge page in a process which uses jemalloc for memory allocation, by following steps:

  1. setting transparent huge page state to "madvice" :
echo madvise > /sys/kernel/mm/transparent_hugepage/enabled;
echo madvise > /sys/kernel/mm/transparent_hugepage/defrag;

2.setting jemalloc to always use thp

export MALLOC_CONF="thp:always,metadata_thp:always,dirty_decay_ms:-1";

Since th ...

Score: 0
Mikki Sørensen avatar
HP - BIOS - Invalid Opcode Exception
br flag

I have an HP DL360 Gen9. It is running Windows Server 2019, but after I restarted it, I'm not able to boot again after "Loading System Firmware Modules - Complete" it just dies with an "Invalid Opcode Exception" ass can be seen below.

("Loading System Firmware Modules - Start" POST Code: 2500 -> "Loading System Firmware Modules - Complete" POST Code: 2600, then the "Invalid Opcode Exception" P ...

Score: 0
Issues with site loading over HTTP/2
in flag

I have a Windows 2016 server with IIS 10 acting as a reverse proxy to an apache/tomcat running on the same server. When I try to access the application hosted on this server, I get a lot of errors when accessing this site over HTTP/2, with dev console in a browser showing a lot of "cancelled" requests. If I force HTTP/1.1 (from the client), then everything loads and works correctly.

I attempted t ...

Score: 0
Pod in ReplicaSet only 1 is ready
id flag

I'm using K3S (debian 10) and I'm super noob for kuber.

Here is the issue:

server:~# kubectl get pod 
NAME                  READY   STATUS    RESTARTS   AGE
vlmcsd-server-q4vfv   1/1     Running   0          15m
vlmcsd-server-b6qmk   0/1     Pending   0          3s
vlmcsd-server-tvsnr   0/1     Pending   0          3s
vlmcsd-server-lg6gw   0/1     Pending   0          3s

Here is the k8file:

apiVersion ...
Score: 1
xrisk avatar
Transparently tunnel HTTPS using squid with SNI filtering
cn flag

My requirements are:

  1. The proxy should be transparent.
  2. I should be able to filter websites by domain name.
  3. I do not want to decrypt traffic. I'm looking for an SNI sniffing based solution -- no installing certificates on clients.

There are plenty of answers floating around but they are either incorrect (claiming you need to decrypt traffic in order to do this) or incomplete.

Score: 0
coder avatar
Redirect IP to another if not available
tr flag

I have 4 IPs something like that

  1. 10.10.10.11
  2. 10.10.10.12
  3. 10.10.10.13
  4. 10.10.10.14

and two ports 1000 and 1001.

my Linux server should connect those IPs with ports. Now I want to make this process automatic. To be more precise, the server tried to connect 10.10.10.11:1000 but it failed now it should try to connect 10.10.10.11:1001 automatically and so on. The problem is that I do not know how to do it. ...

Score: 0
luchris avatar
example.com on A server and subdomain.example.com on B server - CentOS 7
fr flag

I am hosting a domain let says example.com on my own NS server say ns1.abc.com and i would like to host subdomain.example.com on another NS server ns2.abc.com which allows full control of bind/named to update DNS for subdomain.example.com.

ns1.abc.com is on AWS ns2.abc.com is on alicloud

If there a way to delegate subdomain.example.com to ns2.abc.com so that whatever xxx.subdomain.example.com will b ...

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.