Latest Server related questions

Score: 0
Balu R avatar
kubeadm init failing while initializing a Kubernetes cluster
tn flag

VM OS Version - RHEL 8.2 (4.18.0-193.el8.x86_64)
Docker Version - 19.03.8
Kubernetes Version - 1.18.0
H/W Configuration - 4 CPU and 16 GB RAM (90% available)

execution logs from kubeadm init

$$kubeadm init --kubernetes-version="v1.18.0" --pod-network-cidr="10.244.0.0/16"

W0519 21:08:48.180818  913499 configset.go:202] WARNING: kubeadm cannot validate component configs for API groups [kubelet.config ...
Score: 1
Sachith Muhandiram avatar
Transient hostname was changed in a server
kr flag

In one of our production server automatically set transient hostname.
hostnamectl status shows

   Static hostname: abc11.example.com
Transient hostname: I
         Icon name: computer-vm
           Chassis: vm
        Machine ID: xxxxxx
           Boot ID: xxxxxx
    Virtualization: microsoft
  Operating System: CentOS Linux 7 (Core)
       CPE OS Name: cpe:/o:centos:centos:7
            Kernel: L ...
Score: 0
sed behaviour depending on the file I apply it to
jp flag

I have one file called test1.xml withe the following content:

Hello how are you doing?

And am trying to apply the following sed search and replace:

sed -i 's/Hello //g' test1.xml

And the file remains the same!!!

I am copying the content of that same file to a new file I name test2.xml, apply the same sed and it works, Hello gets removed. Any idea?

I'm on OSX BigSur 11.5.2.

Here are the two files: t ...

Score: 0
Why would drives become inaccessible after SQL Express 2016 installation
uy flag

I was preparing a new Windows Server 2016 VM to host SQL Server Express 2016. I created a virtual drive for the OS (C:) and installed the operating system. I also created 3 additional drives for DATA (E:), LOGS (F:), and TEMPDB (G:). I created a simple volume on each of the three new drives and performed a quick format and all good and showed sizes of 32GB, 32GB, and 16GB respectfully. I then installed  ...

Score: 1
Tymur Gubayev avatar
Windows Server 2012 R2 - User Account Single App
cn flag

I have a Windows Server 2012 R2 with multiple user accounts. One account ("test") is configured in such a way that on logon a program is started and when the program is closed the account is automatically logged out. This "test" account can log in via Remote Desktop or directly (the server is a Hyper-V machine). Other accounts behave normally.

I need to create a "test2" account with same properti ...

Score: 0
How to assign ipv6 address to the secondary vnic in oracle cloud
us flag

Running OS Ubuntu 18.4

How can i assign ipv6 address to the secondary vnic, to the primary vnic i can assign to the primary vnic and curl trough but in the secondary it not work. I assign secondary vnic over the GUI and configure it with the script on this site

https://docs.oracle.com/en-us/iaas/Content/Network/Tasks/managingVNICs.htm#Linux

I can curl trough the ipv4 address but ipv6 not work, i think the ...

Score: 0
Sri avatar
Automate GCP Service Account Creation
cn flag
Sri

Is it possible for my webapp to create service accounts on behalf of my users in their GCP?

Ideal flow would be:

  1. Use performs Google OAuth via my webapp
  2. Correct scopes are passed and permission is granted
  3. My app receives the authority to create service accounts on behalf of user

Is this at all possible? I'm struggling to find an example or find the relevant scopes via Google Oauth that grant such perm ...

Score: 0
Access to Administrator account from unknown computer names
cn flag

For a few weeks all our DCs has received thousands of failed logins for "Administrator". Event viewer logs below messages, NOTE we have no computers or servers on the network with the names, they seem very generic. We have tried to trace the connections but ProcessMonitor, Antimalware, internal ports etc shows nothing. Anyone with ideas how to trace this further?

EventID: 4776 Type: NETWORK

Logon Acco ...
Score: 0
Google Chrome incognito (private/anonymous browsing) not available in Google Workspace (GSuite) account
si flag

Recently, incognito mode disappeared in Chrome while signed-in as Google Workspace account (signed-in as regular gmail account has been working just fine).

So I did an obvious check on policies (chrome://policy/), everything looked just fine:

enter image description here

So I got quite confused and had started to Google around and came to this (https://chromeenterprise.google/policies/?policy=IncognitoModeAvailability):

1 means disabled - ?!

If anybody  ...

Score: 1
Why won't my recursive DNS resolver resolve this domain?
ph flag

I am using bind9 as a recursive resolver and it works beautifully for 99% of domains.

However it returns an NXDOMAIN for this one michaelkors.scene7.com even though some public nameservers return an answer for it.

What is curious is that in the linked online DNS utility, some servers report one IP, others another IP, and the authoritative servers don't return any records at all.

It seems like the namese ...

Score: 2
g4s8 avatar
Docker-compose can't connect via socks-proxy to SSH remote host
au flag

I'm trying to deploy containers using docker-compose to remote server via SSH. Remote server SSH can be accessed only via SOCKS proxy. I created ~/.ssh/config with valid SOCKS configuration for that:

Host <my.host>
  HostName <my.host>
  ProxyCommand socks-connect -S <socks-user>@<socks-host>:<socks-port> %h %p
  Port <ssh-port>
  User <ssh-user>
  IdentityFile ...
Score: 1
thecodeassassin avatar
Openlitespeed and Docker (logging to stdout)
cn flag

We are considering switching our Wordpress site from Apache2 to OpenLiteSpeed. We are just a little bit unsure how we can make OpenLiteSpeed log to stdout. Basically we run Docker containers and we have a FluentBit daemonset scraping the stdout and stderr and sending them to CloudWatch. In order to see those logs we'd have to make the container output the logs to stdout. I just couldn't find an easy way ...

Score: 1
Cannot install lsphp74-imagick: unmet dependencies
cn flag

I have an Ubuntu 20.04 LTS instance running on Amazon Lightsail and I have trouble installing lsphp74-imagick.

$ sudo apt install lsphp74-imagick

Response:

The following packages have unmet dependencies:
lsphp74-imagick : 
Depends: libmagickcore-6.q16-3 (>= 8:6.9.6.8) but it is not installable               
Depends: libmagickwand-6.q16-3 (>= 8:6.9.6.8) but it is not installable
Recommends: tt ...
Score: -1
ads avatar
How to make a private home server connected to a wireguard server in cloud vpn accessible to the public?
es flag
ads

Basically what I want to do is make a local home server accessible publicly in the internet. Unfortunately my ISP is using CGNAT and to get a public ip, I need to pay extra (around $50). I figured it's cheaper to use VPS instead.

So I have setup a Wireguard Server in Google Cloud via Compute Engine VM running Ubuntu 20.04. I also setup a Wireguard Client for my local server at home and connected  ...

Score: 0
Nginx redirect based on query string
in flag

I'm migrating old website links to new website, it will use same domain

Here is some old links.

Old Links New links
http://example.com/?p=contact /contact
http://example.com/?p=static&id=career /career
http://example.com/?p=static&id=about /about
http://example.com/?p=catalog&action=images&cat_id=1 /product-category/category-slug-1
http://example.com/?p=catalog&action ...

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.