Latest Server related questions

Score: 0
Montassar Billeh Hazgui avatar
Error 502 that randomly occur
sy flag

I migrated from AWS t3.large to c5.xlarge after that I got a lot of 502 errors.

Here is what the Nginx error log looks like

2021/07/04 14:20:41 [error] 6445#6445: *349471 upstream sent unexpected FastCGI record: 3 while reading response header from upstream, client: 15.160.*.***, server: www.maparatunisie.tn, request: "GET /categorie-produit/cheveux/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/p ...
Score: -1
Jamil Aslam avatar
Lost RDP session on gcp VM(windows server 2016) afer changing firewall settings
cn flag

I lost my RDP session after setting up some firewall settings on my GCP windows VM and now that is unreachable via IP or RDP or URL. I tried pinging that IP but request timed out.

Can someone please help?

Score: 2
merlin avatar
How can I restore an LVM snapshot of a larger volume on a smaller disk?
in flag

I am trying to backup/restore an LVM volume on a local Ubuntu 20.04 (Focal Fossa) server. The production server has an LV of 500 GB, however there are only 19 GB used so far.

The local development server has 24 GB free space where I intend to restore the 19 GB from production. I do use -L 24G as a parameter while doing the LVM snapshot. The process fails to restore with the message: "no space left  ...

Score: 0
install multple php version on centos 8
cn flag

I have a server running on centos 8 PHP 7 is installed already and I'm new to centos 8.

I used to use centos 7 and I use the 2 PHP versions 7 and 5 I am using the php5 for some older scripts until I upgrade them when I moved to centos 8.

I found that it doesn't support The Software Collections ( SCL ) Repository, where I found tutorials about how to use, it to install multiple PHP versions on centos ...

Score: 0
Azure Virtual Network Appliance Routing
in flag

In the diagram, we have one vnet, two subnets, and three systems.

  • Azure "IP Forwarding" is enabled on the router interfaces.
  • Routing tables are created for "trust" and "untrust" subnets
  • Static routes are created on the machines (the obscured routes are host routes to make sure I don't cut myself off)

We can see that bob is successfully pinging alice.

Despite bob's default route being the router, the ...

Score: 1
Parsa avatar
set domain to a ubuntu 20.04 vps with bind
us flag

so I have a ubuntu 20.04 vps and a website running on it, I wanted to point my domain to it. but nslookup railnet.ir gives ** server can't find railnet.ir: SERVFAIL
the vps ip is 87.236.210.159 and the domain is railnet.ir the thing I did:
apt install bind9 and then the configs: /etc/bind/named.conf.options:

options {
    directory "/var/cache/bind";
    allow-query { any; };
    forwarders {
         ...
Score: 1
남유송 avatar
Limit access to GCP
us flag

Our company recently start using GCP. Mainly, we use bigquery to store data. We provide access to GCP based on user account(gmail). Now, we want more secure access to all GCP services because the staff can connect to bigquery everywhere as long as they have account created by our company. We want to limit access to GCP services if they are not in head offices or branch offices physically. We want to sec ...

Score: 0
LeRouteur avatar
Single AD/DHCP/DNS Server - multiple subnets
de flag

I'm subnetting the small network of our business for management and security reasons. Prior to this I had:

  • 172.16.1.0/24

And now I want this:

  • 172.16.1.0/24 -> corporate LAN
  • 172.17.0.0/24 -> management of servers
  • 172.17.1.0/24 -> hosting - managed services
  • 172.17.2.0/24 -> game servers hosting
  • 172.17.127.0/24 -> storage resources
  • 172.17.128.0/20 -> hosting - servers (VPS, apps, etc ...
Score: 0
Gediz GÜRSU avatar
How to get iSCSI multipath work on Windows 10 , should I do any adjustment in linux server side?
in flag

I have 8x18TB Raid10 mdadm volume on Ubuntu server. When I connect from Windows iSCSI speeds 220MB/sec read 375MB/sec write. I guess it is a iSCSI protocol bottleneck could not improve it. It leaves me multipath.

I have 2 nics on both server and client. I tried many things but could not figure out how to use Multipath or multiple sessions (in windows interface). Tried to connect sessions as

192.168.12 ...
Score: 0
Louis Websdale avatar
HTTP redirect not working
za flag

My website: https://www.louiswebsdale.co.uk/ keeps giving the "400 bad request invalid header" error when trying to visit it without the https. So www.louiswebsdale.co.uk or http://www.louiswebsdale.co.uk give the "400 bad request invalid header" error.

Is there some code I need to change in the .htaccess file?

It currently is the following:

RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION ...
Score: 0
Disconnecting postgres proxy for many connections to single database
gw flag

We're currently looking into how we could scale a system in which we have many users, each with their own postgres schema, and their own DB user credentials to ensure isolation. This however means that each user will effectively need their own connection to the database, and since the number of concurrent open connections to a postgres server is fairly limited due to the memory overhead for each connect ...

Score: 0
E235 avatar
How to block container communication (172.17.0.0/16) except of the default gateway with iptables
cn flag

I am using docker to run containers.
I don't want the containers to have access to the other containers but I want them to still have access to external communication like using apt update.

The containers network is 172.17.0.0/16, if I just block like that:

iptables -I FORWARD -i docker0 -d 172.17.0.0/16 -j DROP

It works but then they can't use apt update, it can't find from where to download because  ...

Score: 0
Jakob Erpf avatar
External network not working when setting up openstack-kolla as test env on proxmox VMs
us flag

i am trying to setup a testing environment for our kolla-openstack deployment based on proxmox vms. I have a kolla-openstack project and a base setup with terraform for the external network and so on working on baremetal (production). When i deploy the same configuration inside of proxmox vms my external network configuration does not work anymore. Instances are not able to ping 1.1.1.1 and neither are  ...

Score: 0
System has not been booted with systemd as init system (PID 1). Can't operate. ( Openvpn )
mx flag

I'm pretty new to Linux and i'm still learning the ropes of it. I tried starting the openvpn service using both "systemd start openvpn@server" and "sudo systemctl start openvpn@server" but I still got the error "System has not been booted with systemd as init system (PID 1). Can't operate." I still can't understand the problem since I booted with systemd. Any ideas are welcomed. Thanks

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.