Latest Server related questions

Score: 0
bluecolor avatar
nginx reverse Proxy some url can't be access
cn flag

i have some issue for something...

i want to make some proxy pass to some url..

server {
listen 80;
  location / {
    proxy_pass http://www.xxx.xxx/;
  }  
}

but the problems was : when i go to some url with http://109.365.52.12/user.php?user=gigantic i was go to the url it use http://www.xxx.xxx. but i dont want it i want it still in my url..

Score: 0
peacht avatar
What if command (ethtool) to flash physical ports on NIC does not work? How can I identify which of the live ports are flapping?
cn flag

I have 2 live ports and one of which has network flapping issue. ethtool -p runs but does not flash my ports. What else can I do without pulling the wrong fiber?

Score: 2
Stargateur avatar
systemd network ipv6 gateway is not set up
mv flag

Cross posted on github

I don't understand why my systemd network config doesn't set up ipv6 gateway route, XXX.XXX.XXX.XXX and YYYY:YYYY:YYYY:YYYY:: are always the same ip. My server is hosted by OVH:

[Match]
Name=eth0
 
[Network]
DHCP=false
 
DNS=91.121.161.184
DNS=91.121.164.227
 
Address=XXX.XXX.XXX.XXX/24
Gateway=XXX.XXX.XXX.254
 
DNS=2001:41d0:1:e2b8::1
DNS=2001:41d0:1:e5e3::1
 
Address=YYYY:YYYY: ...
Score: 0
VictorLee avatar
how openstack remove offline host node by kolla-ansible
us flag

As the title, I have an offline host node which include( compute node, control node and storage node), this host node was shutdown by incident and can't recovery to online, all services about that node was down and enable but can't set to disable.

So I can't remove the host by:

kolla-ansible -i multinode stop --yes-i-really-really-mean-it --limit node-17

it get this error:

TASK [Gather facts] ***** ...
Score: 0
Anadi Misra avatar
ansible configured iptables rules in Packer AMI not working on the running VM instance
tr flag

I've built an apache nifi ami using packer and packer's ansible provisioner, NiFi starts bound to only the loopback IP be default, as can be seen from conf/nifi.properties

nifi.web.http.host=127.0.0.1
nifi.web.http.port=8080
nifi.web.http.network.interface.default=

the IP address to bind to cannot be know at the time of making the AMI so we leave this property as it is and create iptables rules ins ...

Score: 0
Unable to connect to the server: x509: certificate signed by unknown authority
ru flag

I am trying to convert a single master setup to multi-master. Load balancer is configured to accept traffic at port 443 and one of its backend is the single master IP and its port 6443.

I used LOAD_BALANCER_IP:PORT in my kubeconfig but I encountered the x509 error. Why is this error showing, how to resolve this?

sudo kubeadm init --control-plane-endpoint companykube.com:443 --kubernetes-version v1.21. ...
Score: 0
Hiep avatar
Risk of using a third-party nameserver
pt flag

I registered a domain from a company, and hosting my website in DigitalOcean. DigitalOcean offers a nameserver service, in which I have to point to DigitalOcean nameserver from my registrar. This is the instruction to do so, https://www.digitalocean.com/community/tutorials/how-to-point-to-digitalocean-nameservers-from-common-domain-registrars. From what I see, there is no procedure to ensure the o ...

Score: 0
asyba avatar
How to setup a VPN Gateway + normal host with 2 interfaces same server
bv flag

Is it possible and how I should do it to setup a VPN gateway using openvpn on interface eth1 and also have other interface eht0 as normal host user without VPN?

I want to setup VPN gateway on eth1. some guides that I found: OpenVPN and gateway on linux, https://ephams.com/2019/02/turns-your-raspberry-pi-into-a-vpn-gateway/.

And leave eth0 as normal user host.

Currently on my RPI I have docker servers runn ...

Score: 0
Suddenly SSH on all google cloud computing instance is stopped - I can't get it fixed
ky flag

I am passing a very hard time connecting VM instances on google cloud. Everything was fine, suddenly the VM is refused to connect, I can't get it to be fixed.

I have run this command in cloud shell :

gcloud beta compute ssh ceunix-ubuntu-server-instance -- -vvv 

and get the following message:

Welcome to Cloud Shell! Type "help" to get started.
Your Cloud Platform project in this session is set to ceuni ...
Score: 0
Session Manager Operation not Permitted ( ssm-user )
us flag

I'm trying to run the following command on Session Manager terminal

But I'm getting these errors

enter image description here

Commands:

chmod 0600 ssh_host_ecdsa_key

chmod 0600 ssh_host_rsa_key

chmod 0640 ssh_host_ed25519_key

I tried sudo but getting something like this

sudo: effective uid is not 0, is sudo installed setuid root?

Current user is ssm-user but is there any way to apply these command using session manager only ?

 ...
Score: 0
Jethro Cao avatar
OpenVPN client - session-start: ** ERROR ** Failed to start new session: Failed calling D-Bus method Connect: Timeout was reached
tv flag

First I run: $ openvpn3 config-import --config jethro-cao.ovpn, and get the expected output of: Configuration imported. Configuration path: /net/openvpn/v3/configuration/339401a6xf41ex483ex8ea4x60cfa3e2a844

Now I try to connect like shown below:

$ openvpn3 session-start --config-path /net/openvpn/v3/configuration/339401a6xf41ex483ex8ea4x60cfa3e2a844
Session path: /net/openvpn/v3/sessions/c398f1cesbd60s4a ...
Score: 0
D.K avatar
AWS SES Managing and Forwarding Incoming Mail
us flag
D.K

I'm probably in over my head with this one. Please bare with me while i fumble through my explanation of what it is that i am trying to accomplish here.

We own a domain name. Have access to the back end. It's hosted digitalocean. Its blank, has no end user interface, or any other editing done to it other than a few things SES requires for validation, which i will get into shortly.

What i am trying t ...

Score: 0
Kevin avatar
HTTPS Web Service and Backend Service on the same Server
ne flag

Is there a way for to setup a backend service to listen on HTTPS on an already existing Web Service that is already serving on HTTPS?

I originally had both being served on HTTP, but recently added a CA for the Web Service. Both work perfectly fine on HTTP, but when trying to access the backend (from port 5000) from HTTPS, I get no response (I was originally serving the backend with PM2). I needed ...

Score: 2
amir shariflou avatar
used colons for url htaccess http://localhost/1:1
cn flag

I have a problem with the colons used in url

this my url

http://localhost/1:1

this my htaccess

RewriteEngine On
RewriteRule ^/(.*):(.*) index.php/$1:$2

this error show Forbidden You don't have permission to access /1:1 on this server.

# Virtual Hosts
#
<VirtualHost *:80>
  ServerName localhost
  ServerAlias localhost
  DocumentRoot "${INSTALL_DIR}/www"
  <Directory "${INSTALL_DIR}/www/" ...
Score: 0
Chris Butler avatar
Azure Security Centre - "90213-Windows Registry Setting To Globally Prevent Socket Hijacking Missing" - Why does this only appear for Server 2016
de flag

I have approx. 10 Windows Server virtual machines in my Azure subscription, mostly Server 2019 with a handful of older Server 2016 VMs.

Azure Security Centre is reporting "90213-Windows Registry Setting To Globally Prevent Socket Hijacking Missing" as a vulnerability that should be remediated, but only for the Server 2016 machines.

There are none of the normal links to external information for the v ...

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.