Latest Server related questions

Score: 0
Eleasar avatar
Cannot mount NFS Share from Windows Server
ng flag

I am trying to mount an NFS Share from a Windows Server File-Server Cluster on a Ubuntu Host.

The connection times out when I try to mount the share like this:

sudo mount -t nfs fs01:/longhorn /testlonghorn
mount.nfs: Connection timed out

Using the IP of the 'active' node instead, I get a 'no such file or directory' error message:

sudo mount -t nfs 10.75.20.12:/longhorn /testlonghorn
mount.nfs: moun ...
Score: 1
Tim avatar
GCP log Explorer and slow SQL query log with Cloud SQL
kp flag
Tim

Is there a way to analyze SQL Slow query logs easily on log explorer or on some other GCP tool? Now log explorer writes log entries to multiple lines (textPayload divided) and it's hard to find out those slow performing queries.

So far I managed to get this, by help of article here (I think that article is outdated): enter image description here

Score: 0
Shashikant Rohit avatar
Load on VPS / Apache Optimization / Need help on PHP-FPM Pool Options
ws flag

Looking for some technical help here. I am running a Wordpress/Woocommerce website on a VPS of 8GB Ram, 120GB of SSD Disk Space & 4 Core processor.

The load average increases all the time & I had to restart the server almost twice or thrice a week. The traffic on the website is also not that high that the server should come down.

Could someone help me with proper PHP-FPM Pool Options for bet ...

Score: 0
Bani avatar
Can not login to server by password set in user_data
sg flag

When I create server by api and set the user_data, the server is created successfully without any errors. However, I have incorrect login. The user_data is generated like below in php.

base64_encode('#cloud-config\npassword: 123456\nchpasswd: { expire: False }\nssh_pwauth: True');

The generated code is something like below:

I2Nsb3VkLWNvbmZpZ1xucGFzc3dvcmQ6IDEyMzQ1NlxuY2hwYXNzd2Q6IHsgZXhwaXJlOiBGY ...
Score: 0
IIS IP Address and Domain Restrictions or Dynamic IP Address Restrictions?
ky flag

I would like to implement dynamic ip address based restrictions in my IIS 10 on Windows Server 2019, and find a way (even it involves some programming/scripting/automation) to integrate it with blacklists provided by Project Honeypot.

I am not sure which one (if any) should I use. I do not want to blacklist domain names, because of DNS query performance cost, just IPs

Score: 0
pepoluan avatar
How to Pre-seed Salt Minion's Archives
tr flag

So I am creating a state file to install MatterMost on a minion. So far it looks like this:


mattermost-usergroup:
  user.present:
    - name: mattermost
    - shell: /bin/sh
    - createhome: False
    - usergroup: True
    - system: True
    - require:
      # From postgresql-formula:
      # https://github.com/saltstack-formulas/postgres-formula/blob/master/postgres/server/init.sls#L278
      - s ...
Score: 0
Devtools avatar
Configuring multiple external subnets
cn flag

Basically i have 2 routed subnets with distinct gateways and ip ranges from external ips. I am able to configure one just fine routing to the gateway and adding the ip address. However, am i able to use 2 distinct subnets on the same bare metal server? This is not for local subnetting for for external subnetting

Score: 0
D4v1dH03 avatar
How to prevent query string accessing attempts like /?hfsagrs=XXX
in flag

I am a new site owner and do not have so much traffic, but recently my NGINX access logs are flooded with requests as shown in this picture below.

I have attempted to block access with the pattern \?.* in the location block but it has no effect. How to block requests like this and return 444 ("blackhole" the requuest)?

Nginx logs showing this scenerio

For privacy reasons, IPs are redacted

Score: 0
IIS losing session variables
cn flag

I have a VB.Net website running on IIS8. There are about 200 users using the site.

I have a session variables which are kept from when the user logs in with the username and user permissions.

At random times during the day, with random users, the session variable becomes nothing. I know this as I do an insert into a database which includes the username. Also, on all page loads it checks for a user.  ...

Score: 0
Are WebSocket Active Requests a subset of Active Requests?
br flag

I've noticed two metrics in Performance Monitor in the W3WVC_W3WP dropdown:

  • Active Requests

    Current number of requests being processed by the worker process.

  • WebSocket Active Requests

    WebSocket requests currently being processed by the worker process.

Are WebSocket Active Requests a subset of Active Requests? My simple test seems to confirm that but I was unable to find any official confirmatio ...

Score: 0
mouchin777 avatar
Can't connect to my docker services in docker when using my vpn
us flag

Im trying to setup all my docker services so they will only be accesible when using my vpn, but it isnt working.

Those are my ufw rules

22/tcp                     ALLOW       192.168.1.0/24
51820/udp                  ALLOW       Anywhere
9443                       ALLOW       192.168.1.0/24
51820/udp (v6)             ALLOW       Anywhere (v6)

ssh only from my local network

51820 is my vpn

and I want  ...

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.