Latest Server related questions

Score: 0
vikash avatar
Getting a list of all project owners , folder path from GCP
fi flag

I am trying to get a list of all GCP projects on the domain and the project owners and export it to a CSV, I have written a script which provide me details of projectid, name, projectnumber date and time. But not able to fetch - projectowner, folderpath, cost centre, environment.

#!/bin/bash
> project_data.csv
gcloud projects list --format="value(project_id, name, project_number, project_owner,  ...
Score: 0
T.A. avatar
Unable to load nginx websites on LAN when remotely connected via OpenVPN
cn flag

Okay here is the basic issue: I can't connect to my HTML webpage (A Docker container's config - e.g. Unifi controller, SABnzbd, etc. - these are all behind a reverse proxy) when I'm connected to my LAN via a remote connection. When I'm locally connected to my LAN all the webpages load. When I'm outside my LAN, anywhere in the world (I travel for work) the webpages load. I CAN connect to webpages that ...

Score: -1
vicenac avatar
robo vsan cluster one node is almost full and the other half
sb flag

I have a 2 node vsan cluster. One server got an alarm something like vsan disk errors. But everything still works, so i am moving vms off of this storage.

But now I find that the "healthy" server is only half full, while the one with the error is 94% full, after I removed a lot of data.

My understanding is that these 2 servers were supposed to be mirrored. How can I fix this? Although I pay for Vmwa ...

Score: 0
cloud_IaaS avatar
GCP: Cannot create any VM with GPU -> No capacity
us flag

I subscribed to GCP and received the $300 credits. Then I upgraded my account to "paid account". Next, I increased the limit for multiple VM types with GPU, in multiple regions, and received approval emails.

I tried creating a VM with GPU in different regions, in all zones, with different configurations (T4, P4, etc), but all what I am getting is Operation type [insert] failed with message "The zone  ...

Score: 0
Wagner Duarte avatar
Migrating from Weblogic to Tomcat
ng flag

I now have a JAVA-EE application running with weblogic with several modules running locally 100%, however it is very slow with weblogic, mainly at republish times in some modules.

I would like to know if I can migrate it to run through tomcat 7, I believe it is possible because another team in another project was the same thing and managed to switch to using tomcat locally.

Currently I made the sett ...

Score: 0
sfanjoy avatar
CentOS firewall-cmd script to only allow access from IPs listed in sources
id flag

I use this script to set up my firewall. I expected to have ssh access from only one IP but that is not the case after testing. What is missing?

#!/bin/bash
#
# Reset to initial install of firewalld
#
rm -f /etc/firewalld/zones/*
firewall-cmd --complete-reload
firewall-cmd --runtime-to-permanent
firewall-cmd --reload
#
# Create / Setup custom zone
#
firewall-cmd --new-zone calzone --permanent
firew ...
Score: 0
Samba share only works debug/interactive
in flag

I set up a very simple samba share:

[files]
        path=/data
        browseable = Yes
        read only = No
        writable = Yes
        force user = nobody

Unfortunately, when I try to access the folder 'files' samba gives this error in the logs:

[2022/01/08 16:23:02.713103,  0] ../../source3/smbd/service.c:787(make_connection_snum)
  make_connection_snum: canonicalize_connect_path failed f ...
Score: 0
Robin Dieker avatar
NGINX Proxy Manager and Plesk Obsidian
cc flag

I am searching for an easy way to setup reverse proxy with nginx proxy manager in combination with Plesk (Obsidian) - how can I do this easy? WHenenver I disable nginx in plesk to use nginx proxy manager the Apache server takes over and interferes. But I dont want to disable the apache as I have websites hosted

Is there a way to easily change the ports used by apache ? I tried changing the apache ...

Score: 0
Error message in linux's dmesg: eno1: Detected Hardware Unit Hang
nc flag

photo with error here

  • Could somebody tell me whats that error means?
  • Is it serious problem or not really?
  • Or how to diagnose it?
  • Could that be related with my network? Seems that my router also got stuck in the same time.

I'm using ubuntu 20.04 on i5-2400, 4gb ram, hdd. CPU usually isn't going above 50%.

Score: 0
nils50122 avatar
Can't open PID file /run/opendkim/opendkim.pid (yet?) after start: Operation not permitted
va flag

i am about 2 hours on configure dkim with postfix on ubuntu 20.04. I try absolutly everything, but dkim wont work.

OpenDKIM-Service won´t start:

root@mail:~# service opendkim status
● opendkim.service - OpenDKIM DomainKeys Identified Mail (DKIM) Milter
     Loaded: loaded (/lib/systemd/system/opendkim.service; enabled; vendor preset: enabled)
     Active: activating (start) since Sat 2022-01-08 19: ...
Score: 1
AWS Free Tier Termination Projected Costs
cn flag

Is there a way to see what the past costs for an account would be without any free-tier discounting, or what the project monthly costs for that account will be after the free-tier has terminated?

I see no obvious strategy for this in the billing dashboard nor AWS forums, and got nowhere with any of my searches. Since this basically affects everyone, at one time or another, with a bias towards new  ...

Score: 28
SydMK avatar
Why are CentOS mirrors HTTP and not HTTPS?
us flag

As far as I know, HTTP is prone to man-in-the-middle attacks. As such, the repositories in Alpine Linux or the CentOS Mirrors are not HTTPS.

In the olden days, having HTTPS used to be an expensive matter. It cost server CPU time and the certificates weren't free. But it’s 2022 now, and we have plenty of ways to overcome those problems and security has been top priority than ever!

How can we obtain bin ...

Score: 0
iptables NAT With traffic shapping
cn flag

I have centos 7 as BGP Router with FRR, and have 2 interface 1. Public 1. Customer . On Public interface i put mikrotik as traffic shapping . There's 2 block with private IP (10.11.12.x/24 and 10.11.13.x/24) NAT behind BGP Router, there's no problem with SNAT they can reach internet without problem. Problem is in Traffic Shapping router just Private IP on queue can't limit. The Public IP no problem . H ...

Score: 0
nginx reverse proxy called my api multiple times
cn flag

I have webfarm with .net core 5 and nginx reverse proxy with 6 web server

My problem, sometimes my apis call my stored procedures multiple times in few miliseconds with same parameters.

I thought millions of possibilities but code doesn't run with sometimes pattern :)

For example sp called 2 times in 100 miliseconds, sometimes 9 times in 300 miliseconds

Often run normally.

Does nginx reverse proxy  ...

Score: 1
Stuck in initramfs after logical volume resize volume group not found
us flag

Hoping someone can help me recover my ubuntu server instance. Ran out of space on a VM and decided to extend the virtual disk.

lvextend -l +100%FREE /dev/mapper/ubuntu--vg-ubuntu--lv
  Size of logical volume ubuntu-vg/ubuntu-lv changed from 37.00 GiB (9472 extents) to <74.00 GiB (18943 extents).
  Logical volume ubuntu-vg/ubuntu-lv successfully resized.

This I noticed worked but only to 75GB so rea ...

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.