Latest Server related questions

Score: 0
Thilo Schwarz avatar
How to stop munin from calculating the values in millis?
in flag

I wrote my own munin-plugin and I'm confused, how munin represents values between 0 and 1. Many values uses a notation with 'm'. I found the meaning of 'm' in this post: what does the 'm' unit in munin mean?

I am a bit confused, why munin is using it in this context! I just want a common floating point value like 0.33! Is there any possibility to avoid this?

Here is the plugin configuration:

graph_title T ...
Score: 0
Syn Romana avatar
PPTP VPN connecting issue
sa flag

I got into weird issue with PPTP VPN. For some reason the same configuration works fine (I am able to connect) on Ubuntu 20.04 but it doesn't work in Debian 10 or 11. On Debian in the logs I am getting:

Oct 12 17:44:51 x pppd[567]: Connect: ppp0 <--> /dev/pts/1
Oct 12 17:44:51 x systemd-udevd[569]: ethtool: autonegotiation is unset or enabled, the speed and duplex are not writable.
Oct 12 17: ...
Score: 0
restoring a DB snapshot to a different zone
cn flag

I'd like to restore a snapshot from a DB instance in one region to a DB instance in another region.

I can copy the DB identifier but in the Connectivity section I only have two options for "Virtual private cloud (VPC)" - "Default VPC (vpc-21cbe95b)" and "Create new VPC". The VPC I want, however, that's in a different zone, has a totally different ID - vpc-e681478d.

Is what I'm trying to do possible? ...

Score: 0
TS_ avatar
How does logrotate work?
mx flag
TS_

What exactly does logrotate do when it "rotates" a log file? For example, does it rename the existing file and create a new one with the old name?

This article describes restarting a service after the logs are rotated, so that it can use the new log file. Is this just because the process might keep an open handle to the old file? If my process opens a new file handle every time it writes to the log, will  ...

Score: 0
Ansible get authentification timeout when using a domain account on a server running winbind
ge flag

I installed a new domain controller hosted by Samba 4.11 on Ubuntu 20.04 (using ubuntu packages). I configured the system authentication to use AD credentials with the use of winbind. On others (members) servers I usually use sssd instead of winbind but my understanding is I can't use sssd on a server running samba as a DC.

At first, it works fine. The server operate as a DC as it should. I can l ...

Score: 1
Oscar Andersson avatar
Reverse proxy SSH using NGINX. (Subdomains to Docker containers running SSH)
jp flag

TDLR: x.a.se:22 and y.a.se:22 should accept and lead to machine x and machine y respectively. NGINX just coordinates traffic by reverse proxying.

Hi there awesome community, Oscar from Sweden here.

Current setup

I have a host machine that accepts a.se, let's call the host machine A. So ssh root@a.se leads to the SSH-service at port 22 on machine A. Machine A run docker containers: machine B and some  ...

Score: 0
eraz avatar
Bonding two NICs on ubuntu - each one is connected to different subnet with internet connection
cn flag

I am struggling with this for over a week. I am new to the networking so I am learning everything from the start past few days.

I am in need to implement seamless switch between two network interfaces. For example I have one internal network wifi in my laptop and one external connected through usb. From the internal wifi I connect to one router and from external wifi I connect to mobile hotspot.  ...

Score: 0
Sencer H. avatar
Allowed IP's are logged as blocked by UFW
de flag

The rule in UFW for SR.CSR.CS.RC IP is:

ufw allow from SR.CSR.CS.RC

As described in the rule, SR.CSR.CS.RC can access this server over any enabled port.

But, when UFW is up and running, some lines are appears in UFW log file about request from SR.CSR.CS.RC IP has been blocked.

[UFW BLOCK] IN=ens3 OUT= MAC=11:00:11:00:11:ff:00:11:11:bb:ee:00:00:00 SRC=SR.CSR.CS.RC DST=D.ST.DST.DST LEN=52 TOS=0x00 PREC=0x0 ...
Score: 0
The_Honkler avatar
Using InTune for BitLocker enabling TPM+PIN+USB
cn flag

I am tasked with enabling BitLocker via InTune and I am struggling to understand why the following settings are not taking effect on the endpoint.

In the OS drive settings

Compatible TPM Startup - Blocked
Compatible TPM startup PIN - Blocked
Compatible TPM startup key - Blocked
Compatible TPM startup key and PIN - Required

I have had the solution working for TPM and PIN, but the people I work for want TP ...

Score: 0
user12158726 avatar
is there file that keep my config of network mapped drive?
cn flag

I have mapped network drive by IP. is there a config file that storing the info? so I can copy to new machine and have them auto map

Score: 0
Exim catch_all_outgoing not working? redirect all outgoing emails to single one
eg flag

I'm researching around to see how I can configure Exim to reroute all outgoing emails to a single email address (possibly external), to be used on a development server when during tests I don't want to accidentally email real people.

It seems like something that should be simple to do, and apparently there's the catch_all_outgoing router as a solution, but it doesn't work as it seems is deprecate ...

Score: 0
hymie avatar
Puppet/Augeas -- ins command worked on RH6, fails on RH7
cn flag

I have this construct in my puppet module to add a line in /etc/sudoers after the last "Defaults" line:

  augeas { "sudoers.ssh_auth_sock" :
    lens => "Sudoers.lns",
    incl => "/etc/sudoers",
    onlyif  => "match Defaults/env_keep/var[. = 'SSH_AUTH_SOCK'] size==0",
    changes => [
       # Create a new Defaults line for the two variables
       "ins Defaults after Defaults[last()]",
     ...
Score: 0
Pavan Kumar avatar
how to allow ipsec connection only with pre shared key authentication and rest of connections should be rejected
bq flag

l2tpd configuration file :

remote access vpn configuration conn L2TP-PSK authby=psk pfs=no rekey=no keyingtries=3 keyexchange=ikev1 forceencaps=yes leftfirewall=yes leftnexthop=%defaultroute type=transport

    # ---------------------------------------------
    # The VPN server.
    #
    # Allow incoming connections on the external network interface.
    # If you want to use a different interface or  ...
Score: 0
Kaan refik Kaan avatar
Apache or NGINX + GitHub runner
mp flag

I have a development server that I'm currently using for beta-level production (mostly sending out to my clients for proof of work). So what I wanna do is use my runner to automatically sync with main branch (which I'm doing right now without any issues). However, I wanna automate my process a bit further. Basically, what I wanna do is every time I assign a project with the runner I also want apache to  ...

Score: 0
Error adding a new node to Windows Failover Cluster Service - Parameter is incorrect
la flag

We are trying to add new nodes to an existing Windows Failover Cluster (WFCS). When we run the Add Node wizard in Failover Cluster Manager, or run the Add-ClusterNode in PowerShell, we get the same cryptic error "The parameter is incorrect". No further information is provided in the cluster logs or any of the event logs.

The server 'servername' could not be added to the cluster. An error occurred whil ...

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.