Latest Server related questions

Score: 1
7E10FC9A avatar
Port forwarding through VPN for NAT penetration
mp flag

Problem:

  • I want Service1 listening on port XXXX hosted on my local windows 10 machine to be accessible to public, but my local machine is behind ISP NAT.

  • I have a Remote Sever with static public IP

Question:

What should be configured on those nodes:

Public Client-->Remote Server-->VPN tunnel-->Local Router-->Local Machine-->Local Service

Progress:

I have done something similar successfu ...

Score: 0
Bazooka avatar
OpenStack: Too many Database idle Connections
us flag

I use PostgreSQL as a DB backend for all OpenStack Services on 3 Controllers. When all 3 controllers are started with no load, the number of connections are up to 700. And all of this conns are in idle mode.

Here are the Database parameters in Openstack service conf files:

max_overflow = 50
max_pool_size = 5
pool_timeout = 30
connection_recycle_time = 600

I have changed this parameter to smaller values,  ...

Score: 0
Tobia avatar
How do I log a particular user login event in my active directory
in flag

I have to log a particular "install" user logon in my Active directory. This user has the admin rights to install software and I need to understand where and who is using it.

My first attemp was to create a powershell script to send me a log email triggered by a scheduled task raised with event id 4624 (logon).

The script filters the username to discard all other logins and send the email. To access ...

Score: 0
creating a linux local update mirror (cache) and automating it
de flag

Hi i run a few different linux distributions and architectures and have some from server so slow that they update in KB/s for example with ubuntu on ARM. I'm learning up automation, how would i go about

  • creating a local only linux mirror/cache
  • updating that mirror/cache regularly automatically
  • automating the router to wake up the file server to update that cache and shutting it down when finished
  •  ...
Score: 0
Prevent Apache from writing to a file
jp flag

I have a website based on a CMS, running on Apache 2.4/PHP7.4. The CMS has an admin interface and changes you make there are written to config files inside the web root (/var/www/html/...). As a crude security measure, I thought I'd prevent writing to these files by changing file permission and ownership.

Apache runs as the www-data user, and the normal permissions for the files are 644 www-data:w ...

Score: 0
Muhammad Numan avatar
Changing database Elastic Pool disturb the indexes of the database
in flag

I have more the 5000 database and 15 Elastic Pools in Microsoft Azure and when I feel the database performance issue we change the Elastic Pool of that database. But today I note that our database indexes disturbed while changing the Elastic Pool. Any one knows that is there any drawback of changing the database elastic pool ?

Score: 0
NginX website to listen on both port 80 and port 8080
cn flag
RDK

I have a recent installation of NginX on a Raspberry Pi. In the sites-available/myserver I have the following:

server {

    listen 80 default_server;
#    listen 8080;
    listen [::]:80 default_server;
...

I want to have this server listening on both port 80 and 8080, but when I uncomment the Listen 8080 line above and restart NginX, the browser request times out. Port 80 requests work fine.

 ...
Score: 0
Unable to delete Azure recovery services vault
th flag

I'm unable to delete recovery services vault which is created for testing Azure-to-Azure replication with private endpoints. I've deleted all the associated resources(VM, Storage Account, Private Endpoints, VNets, Replicated Items, Replication container & policy, Network mapping, ASR Automation Account), but still not able to delete the vault. Tried deleting vault from azure portal and azure powersh ...

Score: 0
Avatar avatar
Running Chrome on Ubuntu Server? How to solve "xdg-settings: not found"? (Using Chromium without desktop session?)
ru flag

Preface: We would like to create website screenshots using our server directly and stop using an external service. The Chromium browser has an option to generate a PNG graphic from a website. Thus, we want to use it.

We installed Chromium on our server:

sudo apt-get update
sudo apt-get install chromium-browser

Then we tried to run the browser and got this error:

chromium-browser --no-sandbox
/usr/bi ...
Score: 0
Thirsty Six avatar
Debian 11: ClamAV not working to listen on TCP 3310
bf flag

I am using the Debian V11.

PRETTY_NAME="Debian GNU/Linux 11 (bullseye)" NAME="Debian GNU/Linux" VERSION_ID="11" VERSION="11 (bullseye)" it's working fine with Daemon mode (over Unix socket) Socket path: /var/run/clamav/clamd.ctl

I have installed sudo apt install clamav-daemon

But, in my case Daemon mode (over TCP/IP) with localhost port 3310 is not working.. I have tried with 127.0.0.1 with port 3310 i ...

Score: 0
Naz avatar
NFS mount fails over ipv6 with "Address family for hostname not supported"
us flag
Naz

NFS fails to mount through /etc/fstab configuration, which is as follows:

# NFS_SERVER:/PATH/TO/EXPORTED/DIR    /MOUNT_POINT_ON_CLIENT    TYPE_OF_FS   OPTIONS   DUMP     PASS
[REDACTED_IP_V6_OF_STORAGE_SERVER]:/var/nfs/cloud                 /var/nfs/cloud              nfs          auto,nofail,noatime,nolock,intr,tcp,actimeo=1800    0       0

When running an explicit mount command following error i ...

Score: 0
Why does PulseAudio's behavior vary over SSH?
jp flag

I have a server running Xorg. I have a user in the audio group who has an active X11 session. When this session starts, the user's startup script runs pulseaudio --start. There are no PULSE_SERVER or similar environment variables exported. At this point, audio works when applications are started from local login shells, but not when applications are started via SSH; PA connections are refused.

I c ...

Score: 0
Barry Chapman avatar
Why is a post/upload of a 100k JSON file to an AWS CloudFront endpoint resulting in 504 error?
cn flag

On a wordpress site, we have requests coming in to CloudFront, which sends the request to origin (if necessary) which goes through an ELB, and to two or three instances that will service the request.

Most requests work, but when we upload a JSON file to admin-ajax.php, it results in a 504 error that we captured from the CloudFront logs:

2022-01-31  21:32:24    MIA3-C2 1462    67.190.247.197  POST   ...
Score: -3
Harsh Harsh avatar
Can some please tell me why my rndc reload in Linux is not working?
cn flag
sudo rndc reload
rndc: connect failed: 127.0.0.1#953: connection refused
rndc reload
rndc: error: open: /etc/bind/rndc.key: permission denied
rndc: could not load rndc configuration

I am getting all these errors

Score: 0
After mailman upgrade to mailman3, can't use CLI utilities: ImportError: No module named Mailman
ru flag

After walking down the garden path of reading the documentation, and being led astray - in particular, by the materials I found here - out of pure frustration I eventually found my way to the "official Wiki", which is here, and it pointed me to the "missing" Command Line Interface (CLI) utilities. They're found, on my installation, at /lib/mailman/bin. However, they don't work!

For example, running as ...

Score: 0
Linux load balancing for udp services
in flag

I am trying to load balance ISAKMP using linux load balancing. Google searches indicate others have used LVS to load balance udp services successfully. I cant seem to get the load balancer to rewrite the source IP/port no matter what I do.

I have tried using ldirectord as well as direct ipvsadm commands. I am trying to get this to operate in masquerade mode using source IP hash as the scheduling  ...

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.