Latest Server related questions

Score: 0
user3105 avatar
Freeradius log - Opening additional connection (rlm_sql)
jp flag

forgive my lack of knowledge but I am new to this topic and there are a few concepts that elude me. When I view the radius logs in my server I get the following information:

root@pabx:~# tail -f /var/log/freeradius/radius.log
Tue Jun  8 17:21:27 2021 : Info: rlm_sql (sql): Opening additional connection (49), 1 of 32 pending slots used
Tue Jun  8 17:21:27 2021 : Info: Need 2 more connections to reac ...
Score: 0
poypoy avatar
apache how configure multi domain https redirection?
eg flag

I've an apache running under AWS Elastic beanstalk. I've got several different domains and I want all of them to end in a specific domain name, in HTTPS.

The redirection from other domains e.g. https://domain1.com to https://maindomain.com returns a SSL certificate error.

In apache, I've two virtual host config, one for the *:80, and one for *:443. Both are set for the maindomain.com. They were created w ...

Score: -1
Linux Delete Files Older Than and the Same Time Smaller Than
cz flag

I use this command to delete MP3 files older than 90 days.

find MP3/ -type f -name "*.mp3" -mtime +90 -delete

I want to make it delete those older than 3 days but with file size less than 100KB.

How to write the arguments for < 100KB and is -size good to go or should I use something else as as far as I know the file size itself is different that the size on the disk...

find MP3/ -type f -name "*.mp3" ...
Score: 0
simon avatar
How to connect to Qemu from ssh
es flag

I run a Qemu file (debian 10 server) with network configuration in static in 192.168.10.7 on my My, I can start my qemu everything works I can connect on my server.

But now I would like to coonect to my Qemu from my mac directly in ssh, I've tried many tutorials without succes. I've tried these options

-net user,hostfwd=tcp::10022-:22
-net nic

After that from my mac ssh vmuser@localhost -p10022 but ...

Score: 0
user15013406 avatar
AWS CDK add route 53 alias record the most simple way
us flag

I have created an API Gateway for websockets with CDK. For easier remembering of the URL, I want to give the sadjl342r.execute-api.amazonaws an ALIAS in Route53

Something like "my-ws-api.mydomain.tld"

This is the way I created the API gateway

const websocketEventsLambda: IFunction = this.createWebsocketsLambda(props.stage);

this.apiGatewayWebSockets = new CfnApi(this, apiGatewayId, {
    name: apiGatewa ...
Score: 1
jeefo avatar
Postfix + Dovecot, Sieve execution flow and auto reply
in flag

I'm using Postfix and Dovecot LMTP on my server. My question is how do I create a silently discarding recipient address and respond auto reply? Also I want to learn Postfix and Dovecot execution control flow. This is part of my Postfix main.cf:

alias_maps = hash:/etc/aliases

# Virtual domains
virtual_uid_maps        = static:5000
virtual_gid_maps        = static:5000
virtual_minimum_uid     = 115
virtual ...
Score: 2
masonrye avatar
What is the best way to compress postgres database dump file?
cn flag

I have large databases which im dumping with pg_dump and I need to make dump file smaller. What is the best way to compress this postgres database dump file?

Score: -4
Keep using IE11 functionality after expiry
ng flag

I am trying to understand how to keep using a legacy intranet "web application" based on VBScript (a scripting language supported by IE11, a still supported product, at the moment of writing).

I am afraid that at some point, after Windows update and the planned IE11 EoL, that intranet application will not be usable any more, so I am looking for a configuration to keep using IE11 or a migration opt ...

Score: 0
Herculeon avatar
how to get a scsm service request to close a scom alert
cn flag

I am able to get SCOM to create SCSM incidents fine. I am able to convert the incidents to service requests fine. I need to figure how to work the service request and complete it then have that close the scom alert. Anyone have any ideas on how to do that?

Score: 2
sneusse avatar
How to find out which kernel module opened a socket?
in flag

When I try to find the process for an opened socket using e.g. ss I get the following output:

❯ sudo ss -tulpen
Failed to open cgroup2 by ID
Failed to open cgroup2 by ID
Netid State  Recv-Q Send-Q         Local Address:Port   Peer Address:Port Process
udp   UNCONN 0      0                    0.0.0.0:33333       0.0.0.0:*     ino:14386 sk:1 cgroup:unreachable:9e4 <->
udp   UNCONN 0      0    ...
Score: 0
Bani avatar
openstack server uptime api
sg flag

How can I get the usage time i.e., uptime of the server? I have used this link. However, it does not show me the uptime in nova version 2.1. In addition, the cpu_time changes from 25420000000 to 25550000000 in one minute. If the numbers are in nono second, it seems incorrect. vcpu is equal to 1.

I have also used this api. However, it does not subtract the shut off time.

Score: 0
Hans_R avatar
Setting up VPN between macOS and Windows server with certificate authentication
in flag

As an outfit that has always worked on a full Windows stack, we now want to introduce our first Macs into our office for a proof of concept. Our VPN solution is also based on the Windows VPN server (RRAS with NPS) and while I can connect the Mac to that with the help of L2TP using the user password and a preshared key for machine authentication, we would like to get the authentication done with the help ...

Score: 1
user728874 avatar
How to have auth ip/user|pass auth per port. Squid Proxy
cn flag

i'm trying to launch what should be a simple commercial proxy server. I have bought a subnet of IPs, and I want to make those IPs accessible to some paying customers. These are the base requirements I'm going for:

  1. 1 port to 1 IP, static connection - Done
  2. 1 port/port range to 1 or a few acl auth ips or user auth. - Problems here.

The issue is I'm trying to add the acl to each port individually, unf ...

Score: 0
user728899 avatar
Benchmark script performance against CPU/RAM consumption for different parameters
ke flag

I have an image processing shell script that can be provided with different sets of parameters that all produce a valid output for me. I'm trying to identity the set of parameters that has the lowest resources (CPU/RAM) usage as this script is going to run on the cloud. Are there any tools I can use to benchmark? I'm looking for something that would give me the total cpu cycles used by the script or any ...

Score: 0
Tomcat Web Application Manager: Log files for deployed *.war files
us flag

i am auditing a tomcat server for the first time and could not find a sufficient solution for my problem. I guess i am here on the right platform for my question. The client uses Tomcat Web Application Manager for deploying *.war files. For sampling reasons i need a reliable list of all deployed war-files in a specific time period. Is there a log which contains all deployments or is there a log file for ...

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.