Latest Server related questions

Score: 0
Damian Games avatar
Multiple logging managers for different services, or one with multiple databases (graylog)
gw flag

I am creating a logging infrastructure for a company with 2 unrelated services. Is it better to have:

  • a single graylog instance that routes the logs from the two services to different elasticsearch databases
  • or rather have two separate graylog instances running in 2 docker containers with their own elasticsearch clusters

I only have 1 server available for the logging stuff, there is not a huge vol ...

Score: 0
DzoniPfc avatar
Issabel PBX with call-center addon crashes
eg flag

I am using Issabel PBX with Asterisk 11.25.3 and Call center module (free edition). Every day once or more the system crashes. We mostly use outgoing calls. There are always 2 list. One with around 300 numbers and one with 5k numbers. The dialer.log starts rapidly filling with logs and it crashes because the memory gets used up and agents can't hangup or save form. This is the message from Dialer log th ...

Score: 0
Manoxs avatar
Redirect rules for multiple enviroments
ad flag

I have written a set of rules for 3 different environments on the same server. In a nutshell I would redirect the users to the Dev, Stage and Prod single sites. Also enforce https and www for the production environment.

// DEV environment rules

http://exampledev.prod.example.com  -> https://wwwdev.example.com
http://wwwdev.example.com -> https://wwwdev.example.com

// TEST environment rules



										
Score: 0
silsa avatar
Restrict access to IP's exposed through VPN
in flag

We have the following requirement.

A back end service of our app runs in GCP. The application is SaaS and tenants are pooled. So this backend handles requests from multiple tenants. When a request for a particular tenant is processed, the backend service needs to call a set of API's which are exposed by a service that runs in the tenant specific data center. The tenant specific data center is con ...

Score: 0
Erzsebet113 avatar
Nginx permanent redirects from subfolder
mk flag

What im trying to achieve is redirects from mysite.com/en/something/something1 to mysite.com/something/something1 is there any way to remove static subpath /en/ from the url using nginx conf?

Score: 2
MirroredFate avatar
Why does xinetd try to close file descriptors on startup?
cn flag

I have xinetd running inside a docker container (base image centos:7) on a rockylinux 9 host machine.

On starting xinetd service in the docker image, it appears to hang. So I used strace, and found the following output, rapidly counting up:

close(181189)                           = -1 EBADF (Bad file descriptor)
close(181190)                           = -1 EBADF (Bad file descriptor)
close(181191 ...
Score: 0
user3265051 avatar
rndc Zone transfer completed but where is the hosts file?
in flag

Good day

When I run the following command from slave

 rndc retransfer example.com 

(or rndc addzone example.com '{ type slave; masters { masterip; }; };') before it was created

the log returns:

 received control channel command 'retransfer example.com'
 zone example.com/IN: Transfer started.
 transfer of 'example.com/IN' from masterip#53: connected using myslaveip #55162
 zone example.com/IN: t ...
Score: 1
Daxcor avatar
Changing out all Control Plane Nodes safely - Best Practice
to flag

I have a 3 control plane node HA kubeadm cluster that I need to completely replace. I have already replaced the worker nodes. How do I completely replace the control plane without downtime?

I use a LB in front for the api endpoint. This is a production env so I want to be sure I get it right. Failure is not an option.

My initial plan of attack is this:

  1. add 3 new nodes with the following command o ...
Score: 1
Kevin Powell avatar
systemctl list-units for type target not behaving as expected
uy flag

Summary: 'systemctl list-units --type=target --all' does not always list targets that I've added

Detail:

I have a project that consists of several related daemons; let's call this project 'Foo.' The daemons are managed by systemd service units, and the services are grouped together for easier management in a target. I have 'production' and 'testing' deployments of projcet Foo. So, I've created foo_t ...

Score: 1
Greg avatar
Mariadb instance won't start, what are some troubleshooting steps?
ca flag

An existing mariadb instance that has existed for a number of years and been through multiple upgrades over the years will not start anymore. Running on Linux Mint I just noticed that it was down and not exactly sure when the problem started.

    systemctl status mariadb.service
    mariadb.service - MariaDB 10.1.48 database server
      Loaded: loaded (/lib/systemd/system/mariadb.service; enabled; ...
Score: 0
Exit Code 1 avatar
Uptime Kuma - Server not loading CSS changes
gl flag

So I'm trying to change the title on the dashboard from "Uptime Kuma" to something else Example: link to the temporarily changed title via devtools from "Uptime Kuma" to something else. Doing that could be (by cheating a little bit) done by manipulating CSS. Now, I found the CSS file ("/home/user/uptime-kuma/dist/assets/index.c9e49ca8.css") that belongs to the dashboard site.

So when you are analysing ho ...

Score: 0
How to monitor backbone link for bandwidth problems?
de flag

Is it possible to monitor the performance of specific internet backbone links, without special access? Or are there any maps or reports publicly available to show the current health of such links?

I have a situation where I believe that there was reduced network speed between my servers in a datacenter in Toronto, and some fraction of their users. It performed consistently well for requests from  ...

Score: 1
centurian avatar
Apache 2.4 VHosts with FastCGI and suexec-custom
za flag

I have setup at my local machine Ubuntu 22.04 Apache 2.4 with suexec-custom. In fact, this setup was working from Ubuntu 16 up to this update to 22.04. I only load some modules, reload some other and suexec was working fine for a test site say it: /home/test After the update I typed some commands:

sudo apt-get update
sudo apt install libapache2-mod-fcgid
sudo apt-get -y install apache2-suexec-custom
# rem ...
Score: 0
michacassola avatar
Are multiple TLS Certificates/Keys used in Order in NGINX? How does NGINX determine the best Match in this Case?
se flag

Using Cloudflare's "Full" encyption mode, one can use self signed certificates for origin to Cloudflare connections:

The certificate presented by the origin will not be validated in any way. It can be expired, self-signed, or not even have a matching CN/SAN entry for the hostname requested.

-- https://developers.cloudflare.com/ssl/origin-configuration/ssl-modes/full/

Recently my self signed cert ...

Score: 0
DrunkMice avatar
postfix configuration to prevent bounces when relaying to 3rd party (e.g. src -> my@work -> my@gmail)
fr flag

i have an active mail relay that is using aliases as a main tool, at some point we started to get bounces for some emails.

Source: somerandomsenderdomain.com
Destination: myemaildomain.com

        mailinglist1: [email protected], [email protected]

Actual Target: gmail.com

so typical email route will be like this:

[email protected] -> [email protected] 
             ...
Score: 0
SamErde avatar
Manage UniFi DHCP reservations on UDM via shell
gg flag

I'd like to be able to manage DHCP reservations on my Ubiquiti Dream Machine (UDM) directly via shell. I've tried to locate dhcpd or dnsmasq configuration files that can be edited and persist through reboots or upgrades but am coming up blank. Is this possible on Unifi OS (1.12.38)? Are the service and config actually inside the unifi container?

Score: 0
Matti vL avatar
How to route certain traffic in OpenVPN from one client through another client?
la flag

Scenario

ClientA (Windows 10) and ClientB (Raspberry Pi OS) are both connected via OpenVPN to ServerA (Debian 10) over the internet. The OpenVPN network is 10.0.0.0/24.

Machine OpenVPN IP
ServerA 10.0.0.1
ClientA 10.0.0.2
ClientB 10.0.0.3

ClientB has access to network 192.168.0.0/24. 192.168.0.250 runs a webserver.

Goal

All internet traffic of ClientA goes through ServerA's internet connec ...

Score: 1
nginx: Uncaught (in promise) ChunkLoadError: Loading chunk
et flag

I installed Sentry self-hosted 23.1.1, and configured nginx/1.22.1 as frontend proxy. If I access the Docker port, Sentry loads fine, while if I pass through nginx I get the error in the subject. It looks like an application error, but it works without nginx, so it must be something on the webserver side. I raised an issue to Sentry itself, but the configuration looks correct.

I tried clearing cookies, pr ...

Score: 1
kcfez avatar
Configuring postfix to use SendGrid SMTP relay with fixed FROM address but need to append REPLY-TO of original sender
bb flag

I have been trying to resolve for a couple of months using multiple different configurations.

The local delivery to a Dovecot mailbox ([email protected]) keeps the original sender ([email protected]) in the FROM address. The remote delivery using SendGrid SMTP server via a virtual forward to ([email protected]) works if:

in smtp_header_checks if there is

/^From:(.*)$/   REPLACE From: no-reply@do ...
Score: 0
bentolor avatar
"rsync: [generator] mknod … failed: File name too long (36)" though file & path name lengths are way shorter than 255 & 4096
ne flag

On a QNAP NAS I'm trying to copy a huge backup directory from internal to an USB disk. The backup set was created using back-in-time, therefore it uses hard-links for deduplication and encfs generated file & directory names.

Running rsync -aH --inplace /share/MD0_DATA/Backups/ /mnt/t2/B/ I receive the following errors:

rsync 3.0.7 (QNap stock)

sync: mknod "/mnt/t2/B/home/8QxnYj…iE0pCkQxr" failed ...

Score: -1
Patrick G avatar
Windows 10: How to view another user's enviormental variables
bj flag

I know how to check my enviormental variables and change them.

But how can I view the enviormental variables of another user on the same PC?

Score: 0
El-Salatinie avatar
postfix stops to receive or send mails once weekly. Restart Server always fix it
cn flag

i have an issue i can't deal with, that my mail server always stops about once weekly. i have every time to restart my server then every thing works fine.

in the log i can find the following error:

NOQUEUE: client=a68-116.smtp-out.amazonses.com[54.240.68.116]
Feb 14 12:29:26 mail postfix/smtpd[23528]: warning: connect to proxy filter inet:[127.0.0.1]:10024: Connection refused
Feb 14 12:29:26 mail post ...
Score: 1
Fabio Pereira Araujo Da Silva avatar
Nginx performance issues

I made a website using React and connected to Strapi. But I need to keep some background videos mainly on the home page. The main banner has 4 videos and the background of the page is also a video. The site was very heavy and overloaded, but the customer wants to continue with the background videos in infinite loop and autoplay. Is there any way to configure nginx to compress or add to cache, or optimiz ...

Score: 0
Jorge Yanes Diez avatar
k3s kubectl logs times out after 50 seconds
us flag

TLDR: Depending on my k3s version, kubectl logs -f drops back to the console (timeouts?) exactly after 50 seconds without new log entries, instead of remaining attached until a Ctrl-C is issued. I can't seem to find where this is configured or why it happens.

OS: Ubuntu Server 22.04 (virtual machine) with 6GB RAM that can grow up to 8GB and plenty of disk space. VM is vanilla (no weird configuration ...

Score: 0
Pejman  avatar
limit users to use ssh nologin to one use at a time in ssh tunneling?
py flag

I have provided ssh nologin access for family members(with useradd -s /sbin/nologin newuser) to use it in ssh/http injector app in Android devices and NapsternetV app in iPhone devices to use as SSH Tunneling method and bypass GFW in Iran or China and access to free uncensored internet.

however, I have a big problem limiting each user to use his/her username and password to one device only at a time!(i. ...

Score: 1
Baa avatar
Will disk compression impact the performance of a MySQL database?
jp flag
Baa

I've recently setup a TrueNAS storage server and hosted on it is a MySQL database. It's about 3GB; I'm not too concerned with how much space it's utilising.

By default, TrueNAS enables LZ4 compression on the ZFS filesystem. There's nothing else on this disk.

I'd like to know if this disk compression is going to have a significant effect on the performance of the database, if I should use something e ...

Score: 0
Tromador avatar
Rainmeter doesn't show disk performance for disk arrays, but performance monitor does
st flag

RainMeter is making me scratch my head. My understanding is that to make any kind of meter for any purpose, one needs to use the same Category/Counter as are selectable in Performance Meter (perfmon)

If I create an array, for example either microsoft's built in striping, or Intel's RST to create a RAID5, then create a LogicalDisk/%Disk Time counter in perfmon I see the activity I expect, up to 10 ...

Score: 0
legendv33r avatar
GKE backup got struck in Creating phase and it's not throwing any error
zm flag

GKE restore got struck indefinitely for many hours and it's not getting completed. I thought it might be because of my home network but it's still the same for my office network. I tried many steps but everything went in vein. I'm a gcp beginner please help me in solving this issue.

Score: 0
abdullah-manzoor avatar
Jenkins groovy Pipline code is stop working with Docker Build steps
ne flag

Jenkins was working fine after update stopped working and I roll back manually from latest version to previous and remove the plugins from Plugin Folder and install again as per the requirements:

Jenkins Version: 2.346.2

Note: Jenkins is running on base machine and connected with a agent on which build the Docker Images.

For info I am sharing the pipeline logs:

Pipe Line logs:

[Pipeline] End of Pipel ...
Score: 1
How to make Wireguard and Tasilscale coexist on the same machine?
mx flag

Seems that restarting the wg service always creates a routing table with higher priority than Tailsales which results in the inability to. connect to the machine via Tailscale until both services are stopped, firewall rules are flushed and services are started again.

I'd like to be able to test new wg configs and restart the service whenever without this procedure messing up my connectivity to th ...

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.