Latest Server related questions

Score: 0
Windows-to-Windows SSH: Get remote environment variable
ad flag
kol

From a Windows 10 host I connect to a Windows 10 target machine via SSH to read one of its environment variables, say, %COMPUTERNAME%. OpenSSH is installed on both machines. The remote shell is cmd, and I'd like to use cmd commands. I tried this:

ssh someuser@somecomputer echo %COMPUTERNAME%

Unfortunately I get the host computer's name. Apparently the local cmd substitutes the local %COMPUTERNAM ...

Score: 0
Uday Kiran Reddy avatar
How to execute remote commands on linux and update return value?
cn flag

As part of automation in gitlab ci.

I am running a terraform template and creating a linux machine.

After that, I need to run few commands on the remote machine. I am running those using the ssh remote command. But at the end, even if it is failure, it is showing as successful.

Please let me know how to setup this kind of environment. Installing any tool as a step is also feasible

Score: 0
forgondolin avatar
TCP communication on port not responding on different Availability Zone or Subnet
sa flag

I'm a little curious and confused about this situation. We setup a monitoring instance scraping an exposed endpoint on 2 different instances. Both on same VPC, same security group, same route table and ACL. Also, both instances uses the same AMI. For some reason the tcp communication on port 5001 doesn't work on the machine that's using the subnet 10.0.1.0 , but it works on the using the subnet 10.0.0.0 ...

Score: 1
Remember Monica avatar
Perc H740P: raid5 volume split into two foreign configurations, cannot import
ru flag

After a power supply replacement we had a cabling issue which caused some disks to be missing, after debugging and fixing this in the BIOS, on the first boot, the preexisting raid5 volume was split into two foreign configurations - one contained 5 disks, the other contained the 2 remaining disks of the 7 volume raid5 (see below).

We are unable to import the foreign configuratins with perccli /c0/ ...

Score: 1
WeaponX86 avatar
Octopus deployment causes 100% CPU usage in PHP-FPM
bm flag

Environment: AWS
OS: GoldenImage-amazonLinuxV2-2021-01-04_19.43.07
Nginx: 1.20.0
PHP-FPM: 7.3.33
Octopus tentacle: 6.1.1351

The old method
So we currently use a simple push script to deploy a PHP site to 14 AWS EC2 instances. This script simply connects to each server via SSH and runs a git pull in /mnt/web/public_html. After the code is updated the CPU usage remains steady around 20-60%.

The new method

Score: 0
Criwran avatar
Start Hive failed: java.net.NoRouteToHostException: No Route to Host from xxx to xxx:22332 failed
cn flag

I start mysql docker container on CentOS machine 172.20.237.80, installed Apache Hive 3.1.3 on 172.20.237.84. The hive-site.xml is:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<configuration>
<property>
  <name>javax.jdo.option.ConnectionURL</name>
  <value>jdbc:mysql://172.20.237.80:330 ...
Score: 1
marafado88 avatar
Customize start menu from Windows through GPO not working
in flag

I am trying to implement through a GPO, a new Start Menu Layout but no matter what I do it simply dont apply.

This is the XML of this Layout:

<?xml version="1.0" encoding="utf-8"?>
<LayoutModificationTemplate
    xmlns="http://schemas.microsoft.com/Start/2014/LayoutModification"
    xmlns:defaultlayout="http://schemas.microsoft.com/Start/2014/FullDefaultLayout"
    xmlns:start="http://schemas ...
Score: 0
Sidra Khan avatar
How to open website in ubuntu placed in www folder
cn flag

I have uploaded my website folder to www/html/ named as web.zip. but when i open ip address it is not displaying any content of page. am I missing something? apache2 is active and running

Score: 0
Why does api.nuget.org not resolve within my docker-compose devcontainer?
ru flag

I am running Windows Subsystem for Linux v2 with Ubuntu 20.04. Within my WSL I am running a VS Code dev container based on the docker-from-docker-compose container. From within my dev container I cannot resolve api.nuget.org, but everywhere else it works fine. I can also ping other domains within my dev container, it's just this one that fails. I am pretty much a beginner when it comes to networkin ...

Score: 1
MySQL Errors / Corruption after updating WordPress
cn flag

Yesterday I updated my Wordpress website to the latest version of WordPress (6.0), and I updated several other plugins to their latest versions. After the updates everything appeared to be working fine, so I disabled my maintenance page. Several hours later my remote MySQL server (used for the WP database) crashed and this morning my WebServer (Nginx) couldn’t connect to the database.

I restore ...

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.