Latest Server related questions

Score: 0
jessieloo avatar
Credentials manager for LocalService - Azure Server to Local Server with Node.js
us flag

A colleague is having issues getting a node web service hosted on azure to be able to access a file server on premise. There must be a vpn tunnel setup b/c if you remote onto the azure server using our azure admin login, we can browse to the files without any issue and have told it to remember the connection which adds it to the Credentials Manager in Windows Control Panel. In my experience, in order  ...

Score: 0
Marco Ferrara avatar
Static route: RTNETLINK answers: File exists
ma flag

I need to access from Server A (eth0) to Server Log (eth0) on port 5044
http://10.10.192.2:5044

Server LOG (eth1) can access to Server A (eth0) using dedicated interface with this static route:
10.10.52.64/26 via 10.10.192.65 dev eth1

Now I need to use the same interfaces to access from Server A (eth0) to Server LOG (eth0)
I set on Server A (eth0) this static route:
ip route add 10.10.192.64/29 vi ...

Score: 1
Windows Update Error 0x80070005 on Server 2016
in flag

I frequently get error 0x80070005 on Windows 2016 servers when running Windows Update. It's really odd, other updates will install fine, and often future updates will install as well. Updates also install fine on other servers in the same domain. They all point to the same WSUS server and are all on the same OS (Windows Server 2016) and are configured identically on the same domain.

I've tried ...

Score: 4
AndreaCostanzo1 avatar
NGINX load balancing: upstream ssl name
tr flag

I have the following Nginx configuration to balance the load among different nodes. However, when I try to redirect the traffic I obtain 502 Bad gateway.

By reading the error log I found out that the problem is related to the fact that my Nginx load balancer is trying to verify the validity of the X509 certificate NOT for the various nodes (backend1.example.com,backend2.example.com), but for the nam ...

Score: 0
HenricF avatar
How can I troubleshoot the "specified input settings" for a WEF listener?
us flag

I'm trying to set up source-initiated Windows Event Forwarding, per the instructions on e.g. https://docs.microsoft.com/en-us/windows/win32/wec/setting-up-a-source-initiated-subscription. I have tried to set it up using both Powershell scripts (calling wecutil) and the Eventviewer GUI.

The subscriptions are not activated, and when retrying (e.g. using the EventViewer GUI), the following error is display ...

Score: 4
c0dehunter avatar
PHP scripts suddenly load very slow on Apache
jp flag

I am testing why sometimes my PHP scripts takes long to load over network (>30sec) on my Apache 2.4 Ubuntu server with PHP-FPM 7.4 using mpm_event. The server was working normally in the past few months, this started happening a few days ago and I didn't change anything. I did a reboot, it didn't help.

I've made a simple test.php. Sometimes it loads normally (<100ms), but sometimes it takes 1 minu ...

Score: 0
Nginx proxy pass alternative in AWS
ru flag

In my Nginx config I am setting up a reverse proxy rule to s3 bucket like below


location ~ /feeds/(.*\.rss$){
...
proxy_pass https://xxx.s3.amazonaws/feed/$1;
...
}

Is there a way that I can remove this proxy task from nginx. And use AWS managed service like ALB or API gateway?

I am aware with ALB I can write a redirection rule to different subdomain but I need to keep the URL as it is.

E.g. http ...

Score: 0
Forwarding SIP headers with asterisk (PJSIP)
ru flag

I'm trying to forward a specific incoming header to the other leg of the call, but can't figure out how to pass the value of the header in the incoming leg to the pre-dial handler

[addheaders]
exten => addheader,1,Verbose("Setting header")
exten => addheader,1,Verbose(${somevar}) ; The 'somevar' variable doesn't exist anymore
exten => addheader,n,Set(PJSIP_HEADER(add,X-MyHeader)=test)
exte ...
Score: 0
Thomas Lazar avatar
Is it possible to access MS Teams Team member tags via PowerShell or other means?
cz flag

I was thinking of using Tags assigned to Users in a MS Teams (on Office365) Team for some reporting related things and query them in some PowerShell scripts. Is there a way to get this information?

I was thinking something along the lines of the Get-TeamUser command. But I can't really find any PowerShell commands that are able to do that in any way.

If there isn't through PowerShell modules then ...

Score: 0
FTP gives an error 550 but file permissions are the same
th flag

Setup:

  • Windows Server 2008 R2 with updates.
  • Filezilla FTP Server 0.9.60 (for LAN use only)

Clients:

  • Total Commander 10
  • WinSCP 5.17

I have two files in the same folder. I can overwrite one of them via FTP and the other one I can't. I get error 550 "Could not open file for writing" in both clients.

I compared file permissions with icacls and they are exactly the same. The user on behalf of which Fil ...

Score: 0
Jumana Saad avatar
Is there a way to migrate google cloud git repo into another new cloud project?
ru flag

I'm working with source cloud (google cloud) repositories and I have a google cloud project that contains 4 cloud repositories.

I want to split those repos each into a new cloud project. Is there a way to do that without clone the repo locally and upload it again?

Score: 2
KiDo avatar
source venv/bin/activate isn't returning anything on CentOS
im flag

I'm trying to deploy a Python Flask app (for API endpoint) on CentOS for work, but every online guide I've followed isn't working for me!

python3 -m venv APIenv

The env was created successfully, but then trying to activate it:

source APIenv/bin/activate

Returns nothing, neither an error not is it activating it!

from what I understood, activating it should make the CLI look like this:

(venv) $ _

Score: 0
Amazon Linux 2 PECL_HTTP install fails
pl flag

Attempting to install pecl_http using Apache 2.0 & PHP 8.0.8 on Amazon Linux 2 AMI.

Full install below:

[ec2-user@ip-xxx-xxx-xxx-xxx ~]$ sudo yum install php-pear
Loaded plugins: extras_suggestions, langpacks, priorities, update-motd
Package 1:php-pear-1.10.12-9.amzn2.noarch already installed and latest version
Nothing to do
[ec2-user@ip-xxx-xxx-xxx-xxx ~]$ sudo yum install gcc
Loaded plugins: ext ...
Score: 1
TheCeylann avatar
mdadm : Cannot open /dev/sda: Device or resource busy
ng flag

I have 3 pendrive and I want to use for raid 5 When I run this command I get this output

 sudo mdadm --create --verbose /dev/md0 --level=5 --raid-devices=3 /dev/sda dev/sdb /dev/sdc
mdadm: layout defaults to left-symmetric
mdadm: layout defaults to left-symmetric
mdadm: super1.x cannot open /dev/sda: Device or resource busy
mdadm: ddf: Cannot use /dev/sda: Device or resource busy
mdadm: Cannot use  ...
Score: 3
Nirmit Shah avatar
Is there any limit on number of ports at which HAProxy can listen?
as flag

I want to configure a HAPRoxy that can listen on 200 ports. Is there any limit on number of ports it can bind to? Also, will there be any performance degradation if it is listening on 200 ports?

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.