Latest Server related questions

Score: 0
creatldd1 creatldd1 avatar
Socat udp client/server with truncated message
ax flag

Using nodejs I can transmit udp packets with a payload of 50000 chars. But I fail to do so with socat (Linux ubuntu 20.04 on both the client and server).

For this test I've been using a vpn connecting my home host to my work host. I was kind of expecting some data loss with socat but not to that extent !

On the remote (work) host, a socat server waits for request to send back a bloated udp response  ...

Score: 0
Aron avatar
firewalld: interface autonomously changing zones
in flag

I have an RHEL8 system serving as a Docker Swarm worker node. It has firewalld enabled, and has a docker zone to which the docker0 and docker_gwbridge interfaces are assigned.

$ cat /etc/firewalld/zones/docker.xml
<?xml version="1.0" encoding="utf-8"?>
<zone version="1.0" target="ACCEPT">
  <short>docker</short>
  <description>zone for docker bridge network interfaces& ...
Score: 0
Miles Fidelman avatar
Seeking Advice re. IPFS Clustering - Overhead, Performance, Design Guidance
de flag

I’m about to rebuild a server cluster - currently set up for high reliability & availability - RAID, disk mirroring, automatic failover, all that good stuff.

I’ve been thinking about replacing the storage “plumbing” with a distributed filesystem - that extends beyond the cluster to another location, and to various laptops & desktops - one big file system for an organization &  ...

Score: 0
Boardy avatar
Make ip route add and ip rule add commands persistent on startup
us flag

I need to make the below two lines persistent so that they are available on server reboot now that I have proved that the route and the rules works as expected on AlmaLinux 8 (AlmaLinux is basically the same as CentOS)

ip route add default via x.x.x.x dev eno5 src x.x.x.x table 1
ip rule add from x.x.x.x table 1

Everything I've seen shows I should be able to create a file in /etc/sysconfig/network-scri ...

Score: 0
LosmiNCL avatar
Best solution for a small Discord bot and external file/db
in flag

I made a Discord bot. Its only function is if a DC member writes a keyword, the bot will send the:

  • link to an image
  • Link to a post

So, for each keyword, I have 2 URLs. Currently, this data is written in code. I wish to store this data in an external file or a database.

Now the problem is what is the best solution to host a bot and a file or database. I need a small free hosting service. Bot and data  ...

Score: 0
holian avatar
Local administrator temporary profile after add server to RDS session host group
hm flag

Two weeks ago we have to install a new server (Windows S. 2012R2) as terminal server. There was ServerA ; ServerB; and now ServerC We tried to clone the ServerB to ServerC but because of issue with the Uid we decided to install a brand new system.

After the clean install of windows ready, we:

  • install some application
  • patches
  • put to domain
  • etc..etc..

After this step we put this ServerC to the session ho ...

Score: 0
dami3n avatar
Mount smb remote storage on debian with local disk caching using FS-Cache for CIFS
mv flag

I am trying to connect a smb remote storage to my debian server and use the available space on the local disk as a cache using FS-Cache for CIFS. I have already tried the following code but it doesn't seem to work because the local disk space is not decreasing

 mount -t cifs -o ro,fsc,vers=3.0,user=xxxx,pass=xxxx, //xxxx.your-storagebox.de/backup /www/wwwroot/xxxx.com/samba
Score: 0
Ralph avatar
Why is ceph is not detecting ssd device on a new node?
aw flag

I have installed a ceph cluster (quincy) with already 2 nodes and 4 OSDs. Now I added a 3rd host running Debian (bullseye) to the cluster. The new host is deteced correctly and runs a mom.

The problem is that no OSDs are listed on the new host even if there should be 2 disks available. When I run the command on one of my nodes:

$ sudo ceph orch device ls

I can only see the devices from the other nodes. B ...

Score: 0
namelivia avatar
What is missing in this client-to-client OpenVPN setup?
us flag

I've been able to set up an OpenVPN server with several clients using static ips, the static ip is set by adding a line like ifconfig-push 192.168.254.6 192.168.255.1 in the ccd for each of the clients. I can ping or ssh from the server to each of these clients. In my server configuration I have the following lines (among other config):

server 192.168.255.0 255.255.255.0

and

route 192.168.254.0 255.255. ...
Score: 0
george007 avatar
Why does ec2 monitoring show 10% cpu and htop 100%?
sd flag

I am confused. I have an EC2 t2.micro (I know, micro, but until recently it was ok) instance with 5 Kafka consumers which, according to htop, use 100% CPU all the time. It seems to be confirmed by Kafka, which shows that we have lags, so consumers can't keep up.

However, when I look at CloudWatch for this instance's CPUUtilisation, I see that it never goes above 10%. It is always right below this  ...

Score: 1
Maitri Rathod avatar
Websocket with Apache 2.4.52 and Ubuntu
in flag

I am trying to follow tutorial located here for messaging system using RatChet PHP https://www.twilio.com/blog/create-php-websocket-server-build-real-time-even-driven-application I have my domain called example.com which have normal html page and need to serve it as normal website. for messaging system, I want port called 8445

so I have installed apache2 on ubuntu 22.04 installed lets encrypt ssl site is ...

Score: 0
BWads001 avatar
Permission denied to home dir and files when logging in from a new laptop
dj flag

After having issues with my initial login, I've used sudo perms to remove the /home/bwadsworth dir but I still get errors accessing home even though it was just created as part of my login... the only thing that's changed is that I got a new laptop, but I set my username using ~/.ssh/config and I'm able to log in ok

λ ssh [hostname]
Password:
Last login: Sat Dec  3 09:20:52 2022 from myipaddress
A ...
Score: 0
Dario Seidl avatar
What are the differences between the migration options for Elastic Beanstalk Multi-container Docker environments to AL2?
ng flag

We're running an Elastic Beanstalk Multi-container Docker environment on Amazon Linux 1, which has been deprecated and needs to be migrated to Amazon Linux 2.

The documentation presents two options for doing so:

As far as I understand, they recommend the first option, because the ECS platform it is more similar ...

Score: -2
Carlo avatar
RSAT Server manager cannot manage domain controller in Azure
cn flag

I have DC1 VM in Azure and DC2 VM on site. I tried everything I could think of but I cannot get this to work. On my domain signed pc I have server manager installed but I can not manage DC1 from that pc.

Server manager

Any suggestions on what I can try? I can normally browse DC1 through windows explorer. Firewall ports are open and winrm is listening

Score: 0
Alex S avatar
HTTPS Redirect Not Allowing Access On Port 443 (Apache2, letsencrypt)
bm flag

ERR_CONNECTION_TIMED_OUT

...is what I'm getting trying to access my domain

wget (website), VH config, netstat, ufw status

The issue lies somewhere between sending the request to apache through 443 and accessing the /var/www/ folder. Either some apache2 setting is blocking me (which is weird because connection works all the way to folder on HTTP), or some HTTPS setting is blocked somewhere. Oh, and I don't ...

Score: 0
Michael K. avatar
Debian 11 (+OMV) not booting with attached HDD
sx flag

I have experienced some Issues with my current NAS. I have used OpenMediaVault 5 for years, but yesterday I decided to upgrade to OMV 6. My NAS is equipped with 3 x 4TB RAID 5 and one 20TB seperate drive. After the update I experice some quiet wired boot behavior.

  • After restart, the system frezze right after the boot screen.
  • If I unplug the 20TB HDD the System startup normal.
  • My NAS supports hotplug sl ...
Score: 0
rd1218 avatar
Read "source IP" from a forwarded connection
mq flag

My firewall is working ok: the connection from internet is forwarded to a NGINX server, which then distribute accordingly and application server works correctly except for the internal LOGs.

The issue I'm facing is regarding the IP being received by our application server: they are not the "client IP", instead, they are currently the NGINX IP.

Consider this network: client IP 1, firewall IP 2, NGINX ...

Score: 0
Karnalta avatar
Ubuntu KVM - Permission denied on volume
bb flag

I am converting my homelab from ESXi to Ubuntu + KVM + Cockpit for my virtual machines.

I am having a problem with volumes from a storage pool.

I have a VM with it's default boot disk attached as a "File" (that's how cockpit created it) and I have added another disk to it. Which has created a new volume on my storage pool.

Problem :

When I try to turn on the VM with the second disk attached as "Volume fro ...

Score: 2
Marcelo Andrade avatar
Trying to Install HP-HEALTH for Proliant DL585N G5 on Debian Bullseye
pm flag

I'm building a small personal server room with some older servers and exploring running new tools like proxmox.

One such machine is an HP ProLiant DL585 G5, Quad Opteron with 40GB DDR2 that I would like to create a virtualization server with proxmox. That said, I installed Debian 11 and now I'm trying to configure the old HP-HEALTH to be able to automate the reading of the machine's sensors.

But sin ...

Score: 0
Tim avatar
cannot connect port 1883 on google cloud VM
sm flag
Tim

I am trying to host a mqtt broker on google VM and open port 1883.The external IP address of VM is ephemeral. Can I know why the telnet to the IP of VM is failed?

firewall config port 1883

telnet local machine

Score: -1
Adam avatar
Azure AD Group users management through a 3rd party software
in flag

My organization is fully on Azure AD. Access to the applications in the organization and roles in the applications are managed by AAD groups.

Is there a 3rd party application or an open source project we can host, that delegates authority of managing users in a particular group to a business admin (usually a team lead) where he or she can select an already existing AAD user and add them to the gr ...

Score: 0
newcat1000 avatar
How to install memcashed on a LAMP stack with PHP FPM?
in flag

I have a LAMP stack with PHP FPM and multiple virtual hosts with Wordpress sites on.

I have tried to install memcashed using this tutorial.

In Wordpress sitehealth I get: "You should use a persistent object cache".

In /etc/memcached.conf I have:

-l my IP address
-l ::1

I have set this ufv rule:

sudo ufw allow from client_system_private_IP/32 to any port 11211

In /var/log/apache2/error.log I get:

Score: 0
Love Grover avatar
After setting up Apache it's not serving PHP files, but showing the contents of the files instead
tk flag

The error I got is in this url: url in browser: http://localhost/ error in browser: https://justpaste.it/d82bd

What am I missing here?

I copied the file ipconfig.php (given below) from ipconfig.php.example but no luck.

I give permission to the files using this:


cat /etc/systemd/system/php-fpm.service.d/override.conf

ReadWritePaths = /srv/http/ipconfig.php
ReadWritePaths = /srv/http/uploads/
ReadWritePa ...
Score: 0
user995295 avatar
Assigning single DHCP server for multiple subnets on vlans (dnsmasq.conf)
et flag

I have 3 hosts each connect to a different VLAN, the DHCP server is working fine, it gives all hosts dynamic IPs. My issue is when it comes to iptables rules I can't prevent host 2,3 from a specific service, I wanted only host 1 to communicate with it. But the issue is all my IPs are dynamic (172.16.28.0/22) so I couldn't figure a way to prevent host 2 and 3 as they all in the same subnet. My query is h ...

Score: 0
Mohammed Tellesy avatar
TCP Session drops because of FIN signal
eu flag

I have two servers communicating with each other through ISO 8385 messages over TCP sessions. Basically host-to-host interface between two payment switches. The problem is that the session keeps dropping and when we investigated the reason (TCP dump), we found that the client-server sends a FIN message after each new transaction. We are not sure where this FIN signal is coming from, and we are confident ...

Score: 0
Import past log files into Sentry
cn flag

We're exploring sentry.io

Is it possible to import historical logs into Sentry?

We're also looking at Prometheus and Grafana, and it looks like general SQL queries work for them, but it seems to me that I'd want to review error logs in the same place as new error logs are analyzed.

Score: 0
vomitHatSteve avatar
How do I configure AWS EC2 instances to selectively bypass default DNS resolver in all regions?
pk flag

I have a network of AWS EC2 instances. Most of them are using the default VPC's DNS resolver to prevent exfiltration and to resolve internal domains (using a custom TLD). That all works fine.

However, there is one (Ubuntu) instance that needs to use a general, public resolver to reach the Internet at large (e.g. 8.8.8.8)

I managed to get this work in us-east-1 by replacing /etc/systemd/resolved.conf ...

Score: 0
moosehead42 avatar
Inconsistent iperf behaviour
cn flag

I am currently setting up some tests with iperf to add artificial load between two linux servers node0 and node1.

When I run it without any bandwidth specification, iperf goes for the maximum (that is 25Gbits/sec) and we can see that we are quite good as we reach 23.5Gbits/s.

nh0@node0:~$ iperf -c node1 -f 'g'
---------------------------------------------
Client connecting to node1, TCP port 5001
TCP w ...
Score: 1
lospejos avatar
Find process that makes outbound HTTP calls, trying auditd with syslog-ng
in flag

Some of application (it's unknown) makes sporadic nonregular rare short outbound HTTP(S) requests to a known host/port/url (this is a WAF honeypot, host/url/port is known) using HTTPS protocol. Requests may occur once per 3-5 days. It's literally one short request per 3-5 days. The goal is to define what application (path to binary, PID etc) makes these requests. Server has plenty of software installed  ...

Score: -1
user14013917 avatar
Azure AD B2C use case - SSO between 2 applications
in flag

I have 2 applications .

Application 1 : A .NET backend / Angular frontend app with AD B2C for authentication. (This application is already developed and working.) Application 2 : A similar stack application using database for authentication (basic email/password authentication)

Application 2 users are also created in Application 1 and AD B2C also (via App1 API and Graph API)

From application 2 I want t ...

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.