Latest Server related questions

Score: 0
ellat avatar
How to allow subdomain in dnsmasq
ma flag

In my dnsmasq.conf file, I use the following rule o block all domains ending with .be:

address=/be/

But I would like to have an exception for youtu.be.

How can I do this?

Score: 1
Mike Hermary avatar
Memory consumption on virtual server too large for applications being run
in flag

I have a Linux Ubuntu virtual server at Digital Ocean with the following specs: 1 vCPU, 2GB of memory, and 25GB of SSD storage.

The server is running a single WordPress website with around 400 unique visitors per day. A caching plugin has been installed and configured. Redis is also installed and configured on the server.

I have setup a memory usage notice in the control panel of Digital Ocean and I ...

Score: 1
userskin avatar
how to make logrotate take filesize into consideration when rotating
jp flag

Lets say I want to logrotate when the filesize is 1kb . Before the run if the filesize of the log is 4kb I expect logrotate to create 4 different log files.

Before:

something.log (4kb) 

What I expect to happen.

something.log (0kb) 
something.log.1 (1kb)
something.log.2 (1kb)
something.log.3 (1kb)
something.log.4 (1kb)

But currently what is happening is

something.log (0kb) 
something.log.1 (4kb)
 ...
Score: 0
jotyhista avatar
pgloader + docker mariadb and postgres = no connection on localhost for my databases
cn flag

I am trying to migrate from mariaDB to postgres via pgLoader

I have two databases running on my computer

mariadb on 127.0.0.1 pass:pass user:app
postgres on 127.0.0.1 pass:pass user:app

I run the command pgloader mysql://app:[email protected]/mr_dev postgresql://app:[email protected]/mr_dev but nothing happens. no connection in the docker logs on either mariadb and postgres; no error anywhere. the script jus ...

Score: 0
Yonoss avatar
Keepalived how to define VIPs that persist across reboots, on both master and backup nodes?
sh flag

I'm trying to find a way to persits the keepalived virtual ips across the cluster, on master and backup nodes.

By default, keepalived only activates the virtual ip, on the node that is playing the master role. All the other nodes will have it removed.

What I want to achieve is the have this virtual ip active all the time on all the nodes (master and backup), even after the master gets restarted.

Up unt ...

Score: 0
Hisanth avatar
Start exe as current logged in user
cu flag

i am creating exe shortcut on Windows startup folder while installing application. It was automatically starts on Windows start and restart.

I want check on every 5 mins whether the exe running or not. If it's not running i want to start the exe like as current logged in user click.

I need to create a task scheduler for it. Let me know how to achieve it. If any samples

Score: 0
b-frid avatar
Is there a way to filter on a specific local user at the domain level?
cn flag

I have a local admin user account with the same username across all our domain machines. I want to apply a user level security filter on any local user with this particular username. So for instance, if my local username was 'local_admin', can I use something like 'LOCALUSER/local_admin' to tell the domain level GPO that I want to filter a policy for that specific local username only? (I think the answe ...

Score: -1
Oleg Gritsak avatar
How can I forward a copy of all passing mail in Microsoft Exchange?
fr flag

I'm writing an yet another mail archiving software. It has an SMTP-listener. External MTA should forward (both incoming and outgoing) mail to it.

It was very easy to setup forwarding in postfix through transport maps, there are also bcc maps and probably other options.

But it is not so good with MS Exchange. Admins have used Journalling + Send Connector. But I receive messages wrapped into attachmen ...

Score: 0
DNS Server returning only name, no IP
us flag

I am having DNS server service running on Windows 2016 Server Primary Domain controller. I have an additional domain smtw.in configured:

enter image description here

server config 2 The PDC is the primary server for the domain.

I have a host sfw3.smtw.in configured with an A record as follows:

host info in dns

Now, when I run nslookup query from the PDC itself, I am getting the correct result as follows: server nslookup

But when I run nslookup from a Win 11 Pro domain j ...

Score: 0
jrdevdba avatar
Windows Server Resource Monitor details are all blank
hr flag

I'm not a Windows admin, just a DBA using Windows. I don't know how it would be related, but we just did an in-place upgrade from SQL 2016 to SQL 2019. To be honest, I am not sure whether this was happening before the upgrade.

I'm seeing an odd issue on Windows Server 2016 Standard for this host. When I open Task Manager, I see the resource overview, but when I open Resource Monitor, all of the d ...

Score: 0
static external IP for azure hosts
uz flag

I am creating an Azure Virtual Desktop implementation. What is the correct way to make sure that the AVD's use a static IP address for outgoing connections?

Is it by creating a NAT Gateway?

Score: 0
Kraust123 avatar
Program started with Task Scheduler could not open my Printer
mo flag

I have a C# program that executes some commands that generates a pdf and print it to a printer. The printer is hosted in a print server, so the way I accessed the printer is through my app config. (\Print Server Name\Printer Name)

<add key="printServerPrinter" value="\\APPS-UATSVR\NPIFBCC54 (HP LaserJet MFP M430)"/>

This program works when I run it on visual studio or even when I release it and  ...

Score: 0
RobotusRex avatar
Setting up nginx as proxy between webservice docker containers
tn flag

I'm trying to set up a server to host a specific web application. I have registered a domain (lets say example.org) made a vps via digitalocean and set the DNS for example.org to point to it, so if I run a simple webserver, I get access to it by opening example.org in a web browser.

I want to use this server to host filebrowser (https://filebrowser.org/). If I just run it with default docker command, it w ...

Score: 0
amlanhldr avatar
Freeradius failed to start with dhcp port 67
me flag

I'm trying to use freeradius with dhcp on debian 12. I'm relaying DHCP packets from the router.

  1. FR setup with DHCP listen port 67 : freeradius -X works just fine, as expected. But systemd cannot start the service. And unfortunately I cannot find any related log to look into. only I can see there:
root@rpi:~# journalctl -xeu freeradius.service
Jul 26 13:09:41 rpi freeradius[544893]: rlm_sql (sql): A ...
Score: 0
Tadeas Vintrlik avatar
SSH CA-signed key does not work from certain hosts
ph flag

I've tried to setup CA signed ssh user keys.

I got my configuration working on most clients, there seems to be problem on a few specific ones. The key verification fails and they are prompted for password.

When I try to connect to the sftp user (one of the principals in the ssh key) this is what appears in the server ssh log

Failed publickey for sftp from 192.168.99.13 port 55830 ssh2: RSA-CERT SHA256:yY ...
Score: 0
Yonoss avatar
Keepalived load balancing not working on Fedora 38 - 2 nodes(VMs) setup
sh flag

I am trying to set up keepalived load balancing on a system setup composed of 2 fedora 38 VMs.

I've already setup a VIP on these 2 machines, which works as expected. Now I am trying to set up load balancing, but this part doen't want to work.

My keepalived.conf for node 1 is :

vrrp_instance VI_1 {
  state MASTER
  interface ens18
  virtual_router_id 55
  priority 150
  advert_int 1
  unicast_src_ip 192.1 ...
Score: 2
BenVida avatar
Systemd stops user manager and kills all user processes
mm flag

I have many podman containers running under a user. The processes running in them are resource intensive at times (CPU and memory).

Until recently we didn't have any problems. But after an unavoidable software update to the one of the programs running inside the containers, the containers keep dying daily all at the same time. I doubled the available RAM which helped temporarily but the problem i ...

Score: 0
Daniel avatar
VPN server+client without client-specific settings
cl flag

I have SBCs with Debian. These SBCs will send data to server (using e.g. REST), but I want to secure the connection using some VPN/tunnel and I want also to be able to remote access the SBCs for maintenance.

Now I want to set some VPN Server, which doesn't require client-specific settings (on the server side nor on the client side). I will have an complete Debian image for these SBC (which will b ...

Score: 0
Lennard K avatar
Unable to Set Up Subdomains on Plesk Server with TransIP Purchased Domains
br flag

I have my own Plesk server where I want to set up multiple subdomains for different projects. However, I'm facing an issue where the subdomains I create on my Plesk server do not seem to work. Here are the steps I've taken so far:

  • I purchased the domains from TransIP.
  • I configured the NS (Name Server) records on TransIP to point to my Plesk server's IP address.

Despite completing these steps, when ...

Score: -1
19mike95 avatar
Sending rotated files with syslog-ng
US flag

Hello I am currently sending the suricata logs from a probe to a Syslog-ng server(172.16.238.15):

@version: 3.25
options {
    keep-timestamp (no);
    chain_hostnames (off);
    keep_hostname (no);
};
source s_eve {
    wildcard-file(
        base-dir("/var/log/suricata/")
        filename-pattern("*.json")
        flags(no-parse) 
        keep-timestamp(no) 
        keep-hostname(no) 
    );   
} ...
Score: 0
vanishedd avatar
Show changes with diff using AIDE
eg flag

is it possible to compare the changed file when using AIDE? In the automatic Email only the SHA256 will be compared. It would be pretty cool if i can see what changed, maybe with a diff or something.

Thanks for your response! Greetings

Score: 0
sysdev avatar
H3C server requirement
sg flag

I am searching for a server that can best fulfill my requirements. I need it specifically for the best DB I/O performance for a 10-million record database. I am looking for generation-specific details of H3C servers. Please suggest.

Score: 0
Vladimir avatar
"Destination Port Unreachable" only on secondary IP of VM
my flag

An vmware VM is assigned two IPs. We can only ping one of the two IPs from VMs on the same network.

2: ens160: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 00:50:56:98:87:db brd ff:ff:ff:ff:ff:ff
inet 10.233.0.2/16 brd 10.233.255.255 scope global ens160
   valid_lft forever preferred_lft forever
inet 10.233.0.3/16 brd 10.233.255.255 scope glo ...
Score: 1
Kirill Nikitin avatar
Exim4: (gnutls_handshake): timed out
je flag

I'm using Exim4 on the Debian server.

Debian:

Distributor ID: Debian
Description:    Debian GNU/Linux 11 (bullseye)
Release:        11
Codename:       bullseye

Debian kernel:

uname -a
Linux mail.index3.ru 5.10.0-9-amd64 #1 SMP Debian 5.10.70-1 (2021-09-30) x86_64 GNU/Linux

Exim:

Exim version 4.94.2 #2 built 13-Jul-2021 16:04:57
Copyright (c) University of Cambridge, 1995 - 2018
(c) The Exim Mainta ...
Score: 0
Julia Mala avatar
Change mail from header in sendmail
US flag

We have two separate RTs (request trackers) configured on one server. They both are configured to send the emails through sendmail. We are trying to configure now SPF and DMARC records for these DNS names. What we achieved for now is that SPF passes but DMARC fails. If I understood correctly the reason for DMARC fail is that From header of the email is set to [email protected] while envelope From hea ...

Score: 0
lex avatar
Dovecot missed permissions to access mail directory
gb flag
lex

I'm trying to install a new mail server and I think I've done something completly wrong. I don't know how to fix/continue my current situation.

I've installed postfix on my Debian 11 system, working with virtual mailboxes. After that I installed Dovecot and configured it so that it get's access to the virtual mailboxes. But each time I receive a message, I get a message like this:

Jul 26 09:26:34 vps2 ...
Score: 0
paco tabasco avatar
drive went missing but came back on reboot, how to rebuild missing boot partition?
mn flag

I checked my server and found one drive to be missing:

root@tiefenkaese ~ # lsblk
NAME        MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT
nvme1n1     259:0    0 476.9G  0 disk
├─nvme1n1p1 259:2    0    32G  0 part
│ └─md0       9:0    0    32G  0 raid1 [SWAP]
├─nvme1n1p2 259:3    0     1G  0 part
│ └─md1       9:1    0  1022M  0 raid1 /boot
└─nvme1n1p3 259:5    0 443.9G  0 part
   ...
Score: 0
aldemarcalazans avatar
Memcached can not listen on a port different from 11211 in Alma Linux 8.8
ru flag

I installed successfully Memcached in Alma Linux 8.8 (a Red Hat 8.8 clone) but, when I changed the port number from 11211 to 11212 in the config file at /etc/sysconfig/memcached and restarted the service, I got the following message:

failed to listen on TCP port 11212: Permission denied

Other port numbers (11213, 11214, etc.) don't work either!

I am running a Vagrant machine (downloaded from the ...

Score: -4
InfiniPLEX avatar
Completely unable by any and all means to move Hyper-V VM from one computer to another due to "permission issue"
mq flag

This is completely incomprehensible how this issue is so pervasive. I want to do something VERY SIMPLE: move a VM from one computer (HOST1) to another (HOST2), but some bull$h!t error ALWAYS HAPPENS NO MATTER WHAT.

Attempt 1: Use the "Move" button

Simple, a button that will just move a VM from one computer to another, and it even does lve migrations. It didn't matter what security settings I changed ...

Score: -1
BLD Abderrahime avatar
Unable to install openjdk-8-jre-headless
kz flag
root@kvm6241 ~ # sudo apt install openjdk-8-jre-headless
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package openjdk-8-jre-headless is a virtual package provided by:
  oracle-java17-installer 17.0.6-1~linuxuprising0
  oracle-java11-installer-local 11.0.18-1~linuxuprising0
You should explicitly select one to install.

I already update and upgrade 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.