Latest Server related questions

Score: 0
Giovanni Passetti avatar
KVM bridged guest ssh permission denied
aw flag

I am able to ping my virtual machine and also have a satisfying response from ssh service using telnet, but I get 'permission denied' error whenever I attempt a ssh connection from a remote host. Connection is just fine when connecting in loopback on 127.0.0.1 with the same credentials.

Any hints?

Score: 2
Arun Vinod avatar
How to create Ceph OSDs on Partitions using cephadm, on ceph-pacific?
cn flag

In the pacific version of Ceph, OSD creation is not allowing by cephadm on partitions.(We have NvMes with partitions). The command used is:

ceph orch daemon add osd <host>:<device-path>

The above command only accepts, disks or lvm, and throws error when a partition is provided. As a tweak, pre-creating PV, VG, LV on the partition and providing the same to 'ceph orch' is possible, but  ...

Score: 0
Output iptables drooping 443 even when rule allows it
cn flag

Output iptables drooping 443 even when rule allows it

This are my current rules

INPUT DROP [2:406]
:FORWARD DROP [0:0]
:OUTPUT DROP [0:0]
:DOCKER - [0:0]
:DOCKER-ISOLATION-STAGE-1 - [0:0]
:DOCKER-ISOLATION-STAGE-2 - [0:0]
:DOCKER-USER - [0:0]
:LOGGING - [0:0]
-A INPUT -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A INPUT -s 192.168.1.1/32 -p udp -m udp --sport 53 -m co ...
Score: 0
Ian Straton avatar
Nginx Reverse proxy can only find one site out of 3
lr flag

Update the behaviour of only being able to load one site at a time appears to be client side browser related - If I open all 3 sites in one browser window (one tab each) then we get the behaviour described below. If I use 3 separate browsers (I used Edge, Opera and Chrome) then all 3 sites load as expected. /Update

I have an Nginx reverse proxy setup to pass external traffic to one of 3 internal server ...

Score: 0
John Doe avatar
Ansible playbook to install Java from within Cygwin
cz flag

Is it possible to install Java on Windows through Cygwin and ansible roles?

I've been told to install Java using ansible playbook but ansible is running inside cygwin. I'm not clear about the fact if the Java has to be inside cygwin or on windows. But I wanted to know if its possible both ways using ansible playbook running inside cygwin.

Score: -1
t09 avatar
KVM nat command line
wf flag
t09

What is the correct way to setup NAT networking between KVM vm and host?

KVM vm:

No firewall Installed

$ sudo arp-scan -r 5 -t 1000 --interface=eth0 --localnet

10.0.2.2     52:55:0a:00:02:02    locally administered
10.0.2.3     52:55:0a:00:02:03    locally administered

$ ip r

default via 10.0.2.2 dev eth0 proto dhcp metric 100
10.0.2.0/24 dev eth0 proto kernel scope link src 10.0.2.15 metric 100
Score: 0
Neil Simpson avatar
Append URL parameter to request URI using Nginx
ng flag

I'm trying to append URL parameters to specific request URI's within the server block.

This is what I have so far:

if ( $request_uri = "/testing/signup" ) {
    rewrite ^ https://www.example.com/testing/signup?org=7689879&type_id=65454 last;
}

location /testing/ {
    try_files $uri $uri/ /testing/index.php;
}

However, this only works when the original request URI does not have any of it's own URL p ...

Score: 1
something is "blocking" my images from loading faster tried apache configs, nginx, cache header stuff, nothing changes
bq flag

THE ISSUE : the images in my site takes a bit to start loading... like if something is blocking, but unable to pinpoint what could be the cause.

PHP 8 / latest WHM

LIVE EXAMPLE : https://www.stubfeed.com/crypto

WHAT I TRYED [.0A.] : changing web hosting company => no change, there is something in my web code...

WHAT I TRYED [.0B.] : I was with centos 7 and changed to centos 8 => still the same

 ...
Score: -1
krishna shakya avatar
How to create a shared folder as a domain admin in DC environment?
us flag

how can I create a shared folder on the windows server? I am a domain admin with a full administrative right logged on from windows 10 domain-joined PC.

I was able to access the server drive using UNC path "\srvname\c$", however, I can't edit the share permission of the newly created folder even though I have administration rights.

Is there any other way for a domain admin to manage share folders? A ...

Score: 3
Updated VirtIO SCSI driver on my Windows 2012 R2, and now only boots into recovery. How to recover?
us flag

I have a Hetzner W2012 R2 Cloud VM, and I updated the VirtIO vioscsi driver on it. Now it only boots into recovery mode and I cannot access the C-drive even from command prompt.

Is there any way to save this VM or is it a goner?
I have no (recent) snapshot of it :(

I can mount the old previous VirtIO ISO, but how can I reinstall the old driver when I have no access to the C-drive?

Update 1:
Am able to ge ...

Score: 0
Am3Y avatar
CentOS 8 compiling kernel 5.13.7 BTF Error
co flag

I'm compiling Kernel 5.13.7 for Centos 8.4.2105

I've got the below error

  MODPOST vmlinux.symvers
  MODINFO modules.builtin.modinfo
  GEN     modules.builtin
BTF: .tmp_vmlinux.btf: pahole (pahole) is not available
Failed to generate BTF for vmlinux
Try to disable CONFIG_DEBUG_INFO_BTF
make: *** [Makefile:1205: vmlinux] Error 1

I tried searching on Google and got this solution https://stackoverflow.com ...

Score: 0
Nilesh avatar
How to set header in request for HAProxy based on script output?
in flag

I have haproxy which runs fine, but we have backend, which validate token against our identity service.

I want to move that logic to HAProxy, where we can run some python or sh script, and get the user name and its ldap groups.

Then we don't have to check for token in each services. We just have to check it the user request has that username and ldapgroup headers or not. If its not, backend will not ...

Score: 0
potato avatar
How to do SSL termination on load balancer for HiveServer2?
us flag

I've currently set up a classic AWS loadbalancer with an SSL listener and a public certificate issued through AWS certificate manager, e.g. query.mydomain. This redirects to a HiveServer2/Thrift instance.

I'm connecting to the public endpoint using beeline like this:

beeline -u "jdbc:hive2://query.mydomain:10100/default;ssl=true" -n <username> -p <password> --verbose=true -d org.apache. ...
Score: 2
named/bind is refusing to serve some domains after resolving them itself
co flag

Why is bind refusing some of my queries? This only happens for certain domains.

A query through named fails:

$ dig -t A fedoraproject.org @127.0.0.1
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 33117

$ journalctl -n10
...
Aug 01 17:07:11 ns3.r3.mclarkdev.com named[10807]: resolver priming query complete
Aug 01 17:09:57 ns3.r3.mclarkdev.com named[10807]: timed out resolving 'fedora ...
Score: 3
If KVM is working, why does VMX show as disabled?
bq flag

I have VT-x enabled in the BIOS. I'm running qemu/kvm/Manjaro. lscpu says

$ lscpu
Architecture:            x86_64
  Model name:            Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz
Flags: ... vmx ... 
Virtualization features:
  Virtualization:        VT-x
Vulnerabilities:         
  Itlb multihit:         KVM: Mitigation: VMX disabled

In addition,

$ sudo rdmsr -f 2:0 0x3A
5

which means that

  • The ...

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.