Latest Server related questions

Score: 0
Maciek Semik avatar
Apache AliasMatch with Wildcard Not Working As Intended
vn flag

I am trying map all wildcards for a directory /a/* onto on file article.php using AliasMatch ^/a/(.*) /article.php but without redirecting (I want to keep the url looking the same). But I am getting a The requested URL was not found on this server. error.

Is AliasMatch even the right way to do this? Or is there a better way.

I am trying to achieve something like:

example.com/a/hello
example.com/a/this-is- ...
Score: 0
John Oxley avatar
SSHD: Dynamic deny port forwarding
sr flag

From the current ssh session on a server, what -L params did the client specify?

I am trying to build a jumphost using sshd that can be used for port forwarding. The goal is to be able to get into a secure zone and forward the RDP port out so remote desktop can be used.

On my workstation I want to run

ssh -NL 1234:my-server:3389 the-jumphost

then connect my RDP client to localhost:1234 (or VNC or $wh ...

Score: 0
hudac avatar
Route an incoming ICMP packet to a different interface/process
fr flag

I have an interface enp4s0 with several IPs.
I get ICMP packets (type 8, echo request) from external device to my device on enp4s0.
I'm trying to route only packets sent to 192.168.1.90 into another interface on the same device. On that interface there's a process which should handle these packets.

7: enp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1 ...
Score: -1
Luigi avatar
Error install exchange 2016 coexistence with exchange 2010
cn flag

When installing exchange 2016.

Error: step 7 of 14 mailbox role: Transport service

The following error was generated when "$error.Clear(); 

          if ( ($server -eq $null) -and ($RoleIsDatacenter -ne $true) )
          {
            Update-RmsSharedIdentity -ServerName $RoleNetBIOSName
          }
        ": "Microsoft.Exchange.Data.DataValidationException: Database is mandatory in UserMailbox.
   in ...
Score: 1
Trying to clone old linux machines using to img methods
in flag

I found this handy website to show how to clone drives to a img file:

https://www.maketecheasier.com/clone-entire-hard-drive-linux/

What neatish looking option was partimage, so I wanted to get that rolling on our very old, very not updated systems (updating would break the very old scientific hardware they have on them).

sudo yum install partimage
Loaded plugins: kernel-module
http://ftp.scienti ...
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 ...

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.