Latest Server related questions

Score: 0
dranobob avatar
How to view current PHY master-slave settings in Linux (Centos Stream)
in flag

I am trying to view the current master-slave settings on my network cards (HPs with Intel controllers).

I see ethtool has the master-slave option to set the mode, but I didn't see how to view the current setting. When I try only "ethtool " it doesn't show any master-slave settings.

Score: 1
Jason Thompson avatar
How do I set environment variables so that they execute when calling WSL from PowerShell?
co flag

First let me clarify the question. I'm not asking how to sync environment variables. What I am asking is how to set JAVA_HOME so that when I call wsl echo `$JAVA_HOME from powershell it writes out the specified bash environment variable.

So far, I've tried setting the value in /etc/environments. I've also tried setting the value in ~/.bashrc and ~/.bash_profile. The command I'm executing in both of th ...

Score: 0
0diseuz avatar
Issue with build phase in AWS Pipeline (VUE)
cn flag

We would like to deploy this Node website using these aws artefacts (codepipeline, codebuild, etc.) The website's node version is 15.14.

We have all the code in AWS Codecommit. Everything in the pipeline runs fine until it reach the build phase. I think something is wrong with the yml file, it looks something like this:

version: 0.2

phases:
  install:
    commands:
      - pip install --upgrade pip
  ...
Score: 0
EXT4 partition became empty after reboot - why? possible to fix?
cn flag

TLDR: I had a 1TB RAID1 partition containing 800GB of files before rebooting, now after rebooting, the partition is empty.

Hardware: dual SATA 1TB drives in RAID1 (ASUS PIKE card, which is a LSI card). O/S is on a separate 320GB SATA drive, not part of the RAID array.

O/S: Centos 7.6.1810 (x64)

Scenario: I cleanly powered off the system (poweroff). When powering back on, the system boots from the  ...

Score: 0
hanarce avatar
How to setup Nginx container load balancer failover
cn flag

I am creating an API application which I want to deploy in the cloud and my application is made up of the following containers:

  1. Nginx Container: API Gateway
  2. API container
  3. SQL Server Database Container

I am using Nginx as a gateway to route all network traffic to the API container and I also have a dns which is https://www.example.com and points to the Nginx container endpoint.

In my production environ ...

Score: 0
user3637971 avatar
Error java.sql.SQLNonTransientConnectionException between Glassfish 3 and MariaDB
ve flag

I have a java web application deployed in glassfish. This application interacts with Mariadb server. Suddenly, the app stops working. I'm checking the app.log and glassfish server log and I have the following results:

app.log

Could not open JDBC Connection for transaction; nested exception is java.sql.SQLNonTransientConnectionException: Could not send query: Last packet not finished

server.log

### T ...
Score: 0
prometheus field remote_write not found in type config.plain
cn flag

I need help using prometheus remote_write and remote_read to/from influxdb. I got error below:

# promtool check config /etc/prometheus/prometheus.yml
Checking /etc/prometheus/prometheus.yml
  FAILED: parsing YAML file /etc/prometheus/prometheus.yml: yaml: unmarshal errors:
  line 5: field remote_write not found in type config.plain
  line 7: field remote_read not found in type config.plain

Here is my  ...

Score: 0
tunel ssh: set remote listen ip
br flag

I want set a ssh tunel and Forward de remote ip/port to local ip/port

local has ip 192.168.1.20 remote has ip 12.0.3.213

so

ssh -R 12.0.3.213:6666:localhost:6666 <my_remote_user>@<my_remote_host>
my_remote_user@my_remote_host:~$ netstat -natp | grep -i listen | grep 6666
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it a ...
Score: 0
neogeek23 avatar
Kubernetes k3s master node fails to ready with FailedCreatePodSandBox errors
ng flag

I'm trying to setup a small 4 worker node cluster atm and I just installed k3s on my raspberry pi 4s (8gb) and I'm getting a NotReady status. I'm new to kubernettes/k3s, but I believe with a totally fresh install, things should 'just work'. I have a fresh wipe and install of Ubuntu 22.04 server for 64 bit arm. Since the terminal output is so long, I have a pastbin here. It looks like the pods on the  ...

Score: 0
Naftali Macner avatar
WDS OS DEPLOYMENT WINDOWS 11
cn flag

I am trying to deploy windows 10 or 11 through MDT/WDS. Now I have done all the steps needed, the problem is When I create a vm in hyper v gen 1 everything is running fine as soon as I would like it to run in gen 2 am getting the following ERROR attached is a screenshots. I set up the dhcp with options 66 and 67 the pxe is working it loads the wim and starts to run but shortly after it starts it stops a ...

Score: -2
Imran Amar avatar
How to configure ISP IP address to esxi host?
in flag

I just bought a server for my organisation and installed vsphere esxi and i have installed windows server inside esxi host , and also i got an IP address for Internet from ISP, now i want to configure ISP IP address to esxi host to shere internet to client computer through esxi host and i don't know how to do that.

Score: 0
How to improve reliability of RADIUS (FreeRADIUS) when used for TOTP (LinOTP) authentication with possible packet loss?
sb flag

We're using AWS SSO with TOTP over RADIUS. Our RADIUS server is a FreeRADIUS with linotp-auth-freeradius-perl.

The problem is the connection between AWS SSO and FreeRADIUS is not completely reliable - there are some periods, when there seems to be significant packet loss between them.

RADIUS uses UDP, which means that even a single return packet lost can cause authentication failure. AWS SSO then tr ...

Score: 0
Fix 502 Bad Gateway
in flag

I have Nginx running on Ubuntu server (digital ocean), I've setup LEMP stack for hosting the Wordpress website. I'm getting 501 Bad Gateway when I try to reach website using the IP address.

I see this errors in the log:

2022/05/24 14:43:52 [error] 199802#199802: *3 connect() failed (111: Connection refused) while connecting to upstream, client: 212.58.120.29, server: localhost, request: "GET /ttemp.php H ...

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.