Latest Server related questions

Score: 0
New netstat Ubuntu 20.10
ru flag

I have been using netstat 1.42 without any problem but yesterday I installed a fresh VPS and when I try to set commands netstat does not show anything.

I use this command to see all active TCP connections:

netstat -tn 2>/dev/null | grep :80| awk '{print $5}' | cut -d: -f1 | sort | uniq | sort -nr | paste -sd, - 

When I check the version I see the version 2.10-alpha. How do I change to the 1.42 version ...

Score: 1
Run NextCloud PHP script ‘occ’ as webserver user, on Ansible connection
co flag

How do I write an Ansible task to run a PHP script as a third user; not the root user and not the connecting user, but the “webserver” user?

The NextCloud administration program occ, according to the documentation, must be run as the webserver user:

sudo -u www-data php occ

To become a different user for running a command, Ansible provides the become feature. The Ansible documentation sternl ...

Score: 0
Considerations for Server OS Upgrade (Win2012R2 to 2019) hosting SQL Server?
cn flag

I am not a DBA so I am not well versed on the intricacies, considerations, potential issues with in-place upgrading just the OS of an existing SQL Server.

A client has several stand-alone SQL Server 2012 servers on Windows Server 2012 R2. Their current mandate is to upgrade their server OSes to Windows 2016 or 2019.

In place upgrades of the OS is straight forward enough but are there any special co ...

Score: 2
Tim avatar
Does slow file IO impact networking?
cn flag
Tim

We are using php7, php-fpm, nginx on gke, services communicated by clusterIP.

In php7, we found out that occasionally writing the log needed to take 1~2 seconds to complete, it usually took less than 1ms.

And there is latency between our services, when frontend service communicate to backend by clusterIP (frontend php7 curl to backend nginx), it occasionally takes 1~2 seconds, but backend nginx's ac ...

Score: 0
Squid Proxy - Accepted wildcards in dstdomain lists
cn flag

In my setup I have specific source IPv4 range whitelists and specific destination domain whitelists , both setup as separated whitelist files.

Now I would want to have the possibility to limit the destination domain lists one by one. Allowing the non restricted destination domain lists without any destination domain restrictions.

My guess it would look something like this ./ - would this wildcard ...

Score: 1
Anthony J. Bustamante avatar
Balancing with MX records - How does this work?
cn flag

enter image description hereplease can you help me with this, I have this scenario to balance email traffic, currently, most of the emails are going towards imail2.test.com.pe and imail.test.com.pe and some fewer towards imaill3.test.com.pe and imail1.test.com.pe, the first thing I would like to know is why, honestly Ive not had this case before and I dont know why I have 4 MX records.

MX records for tes ...

Score: 2
stannage avatar
Error trying to set my site up with Cloudflare
jp flag

I'm trying to add Cloudflare to my site - my site is a basic Azure site - it doesn't have a custom domain, (e.g. https://mysite20210708071234.azurewebsites.net/ - this is not the actual site).

I go to Cloudflare and add a new website, and I get the error:

mysite20210708071234.azurewebsites.net is not a registered domain

I've done a fair bit of googling, but all I can come up with is instructions to c ...

Score: 0
Openstack image create cli and python sdk create different size images
us flag
xyz

I am fairly new at using the openstack APIs. We have VMware Integrated Openstack environment where we store images in .vmdk or .qcow2 format. As a feature of our python application, we upload the images in the .vmdk format which are stored on the VIO. The problem is when we upload the image to VIO using our python application/sdk, the size of the volume image(~49 GB) created is much smaller as compared  ...

Score: 1
tbe3910 avatar
SOCKS_dante(1.4.3)_Separate processing by port number
ar flag

I have installed dante and it is working fine. In addition, I want to divide the process according to the port number of the client, but it doesn't work.

I want to divide the processing as follows. Access from port 3080 is PAM authentication. Access from port 4080 does nothing.

My settings are below, how can I change them to work? I have been working on this issue for 96 hours. It's very troubled. ...

Score: 0
SMBClient does not accept domain.example.com@SSL URL format, until it sometimes does for a while - WebDAV redirect not triggering
pk flag

So I have set up an SMB server running over HTTPS, and am trying to connect to it via a URL like \\domain.example.com@SSL\path\to\file.txt

However, Windows fails to connect to it, and the SMBClient logs reveal an object not found error relating to domain.example.com@SSL - clearly it does not like that syntax

So I tried removing it - \\domain.example.com\path\to\file.txt, thinking that when SMB fails, th ...

Score: 0
John Heyer avatar
Docker error - "cannot open path of the current working directory: Permission denied"
ng flag

I'm currently learning Docker and just migrated to an Ubuntu 20.04.2 VM running in VMware workstation player as my Raspberry Pi 2 running Debian 9 has kicked the bucket. Seems Docker requires some special permissions in Ubuntu and I'm baffled as to what those are. The primary error message when running any docker command is:

cannot open path of the current working directory: Permission denied

My hom ...

Score: 0
Madushan Perera avatar
Nginx proxy pass Server runs in port 4443 with lets encrypt ssl
us flag

I am trying to proxy java application runs on port 4443 using nginx. My nginx server block is like below:

map $http_upgrade $connection_upgrade {
     default upgrade;
     ''      close;
}

 upstream ovserver {
    server example.com:4443;
 }

 server {
    server_name ov.example.com www.ov.example.com;


    location / {
            proxy_pass https://ovserver;
            proxy_set_header Upgrade $http ...
Score: 0
Ben avatar
ip route not respected
bd flag
Ben

I have a win10 gateway box with the following route setup.

8 ----- Adapter#1  [   10.0.1.0/24 -> 10.0.1.254 ]
                                         \--> other subnets  -> Internet ]
7 ----- Adapter#2  [192.168.1.0/24 -> 192.168.1.99 -> other subnets]
Active Routes:

IPv4 Route Table
======================================================================
Active Routes:
Network Desti ...
Score: 0
REDHAT8.2: libpython3.6m.so.rh-python36-1.0: cannot open shared object file: No such file or directory
bm flag

I have a problem where Red Hat Enterprise Linux release 8.2 (Ootpa) is failing to load,

libpython3.6m.so.rh-python36-1.0 as follows

[root@sl2artemisapp04 1.0.0.1]# /opt/intuitive/dvmt-human-readable-api/1.0.0.1/bin/gunicorn  --bind 0.0.0.0:8188 --workers=6 --worker-class sanic_gunicorn.Worker app_runner:app

Error: class uri 'sanic_gunicorn.Worker' invalid or not found:

[Traceback (most recent cal ...
Score: 0
hbquikcomjamesl avatar
Does Amazon have anything like EFS, only with redundancy?
do flag

We have an application on AWS, that uses a MySQL database and an EFS file store. We've got the database set up with multi-AZ redundancy, but I don't see anything similar for the EFS file store.

Is there a way to get a similar redundancy and failover capability for EFS? Or for something else that an EC2 Linux instance can mount as a file system?

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.